* cpperror.c: Fix formatting.
[official-gcc.git] / gcc / ChangeLog
blob7f8208c5367a4e0354602e02e455145732b98d4e
1 2002-05-22  Kazu Hirata  <kazu@cs.umass.edu>
3         * cpperror.c: Fix formatting.
4         * cppexp.c: Likewise.
5         * cppfiles.c: Likewise.
6         * cpphash.c: Likewise.
7         * cpphash.h: Likewise.
8         * cppinit.c: Likewise.
9         * cpplex.c: Likewise.
10         * cpplib.c: Likewise.
11         * cppmacro.c: Likewise.
12         * cppmain.c: Likewise.
13         * cppspec.c: Likewise.
15 2002-05-22  Jakub Jelinek  <jakub@redhat.com>
17         * combine.c (force_to_mode): Use gen_int_mode.
18         Don't clear CONST_INT bits outside of mode.
20 2002-05-22  Richard Henderson  <rth@redhat.com>
22         * fixinc/inclhack.def (thread_keyword): Match __thread as last arg.
23         * fixinc/fixincl.x, fixinc/tests/base/pthread.h: Rebuild.
25 2002-05-22  Jakub Jelinek  <jakub@redhat.com>
27         PR c/6643
28         * emit-rtl.c (widen_memory_access): Only call compare_tree_int
29         if DECL_SIZE_UNIT is INTEGER_CST.
31 2002-05-22  Richard Henderson  <rth@redhat.com>
33         * flow.c (life_analysis): Delete broken reg_label check.
35 2002-05-22  Richard Henderson  <rth@redhat.com>
37         * fixinc/inclhack.def (thread_keyword): Allow as any prototype arg.
38         * fixinc/fixincl.x, fixinc/tests/base/pthread.h: Rebuild.
40 Wed May 22 18:39:57 2002  J"orn Rennecke <joern.rennecke@superh.com>
42         * t-sh (LIB2FUNCS_EXTRA): Now embed-bb.c.
43         (embed-bb.c): New rule.
44         * t-sh64 (LIB2FUNCS_EXTRA): Don't change.
45         * config/sh/embed_bb.c: Delete.
47 Wed May 22 18:25:29 2002  J"orn Rennecke <joern.rennecke@superh.com>
49         * c-common.c (cb_register_builtins): Don't indent '#' of #define.
51 2002-05-22  Kazu Hirata  <kazu@cs.umass.edu>
53         * config/h8300/h8300.md (*andorqi3): New.
55 2002-05-22  Neil Booth  <neil@daikokuya.demon.co.uk>
57         PR preprocessor/6517
58         * Makefile.in: Update.
59         * c-common.c (c_common_post_options): Add preprocessor
60         errors to the error count.
61         * c-lang.c (c_post_options): Kill.
62         (LANG_HOOKS_POST_OPTIONS): Use c_common_post_options.
63         * hooks.h: Add header guards.
64         * langhooks-def.h: Include hooks.h.
65         (LANG_HOOKS_POST_OPTIONS): Update.
66         * langhooks.h (struct lang_hooks): Update post_options.
67         * toplev.c (parse_options_and_default_flags): Update.
68 objc:
69         * objc-lang.c (objc_post_options): Kill.
70         (LANG_HOOKS_POST_OPTIONS): Use c_common_post_options.
72 2002-05-21  Bruce Korb  <bkorb@gnu.org>
74         * fixinc/tests/base/pthread.h(THREAD_KEYWORD_CHECK): add fix check
75         * fixinc/inclhack.def(thread_keyword): use c_fix = format.
76         * fixinc/fixincl.x: regen.
78 2002-05-21  Kazu Hirata  <kazu@cs.umass.edu>
80         * cfgbuild.c: Fix formatting.
81         * cfg.c: Likewise.
82         * cfgcleanup.c: Likewise.
83         * cfglayout.c: Likewise.
84         * cfgloop.c: Likewise.
85         * cfgrtl.c: Likewise.
87 2002-05-21  Richard Henderson  <rth@redhat.com>
89         * c-common.h (enum rid): Add RID_THREAD.
90         * c-decl.c (start_decl): Do not set DECL_COMMON for tls variables.
91         (grokdeclarator): Grok __thread.
92         * c-parse.in (reswords): Add __thread.
93         (rid_to_yy): Add RID_THREAD.
95         * tree.h (DECL_THREAD_LOCAL): New.
96         (struct tree_decl): Add thread_local_flag.
97         * print-tree.c (print_node): Dump DECL_THREAD_LOCAL.
98         * tree.c (staticp): TLS variables are not static.
100         * target-def.h (TARGET_HAVE_TLS): New.
101         * target.h (have_tls): New.
102         * output.h (SECTION_TLS): New.
103         * varasm.c (assemble_variable): TLS variables can't be common for now.
104         (default_section_type_flags): Handle .tdata and .tbss.
105         (default_elf_asm_named_section): Handle SECTION_TLS.
106         (categorize_decl_for_section): Handle DECL_THREAD_LOCAL.
108         * flags.h (flag_tls_default): Declare.
109         * toplev.c (flag_tls_default): Define.
110         (display_help): Display help for it.
111         (decode_f_option): Set it.
113         * doc/extend.texi (Thread-Local): New node describing language-level
114         thread-local storage.
115         * doc/invoke.texi (-ftls-model): Document.
117         * fixinc/inclhack.def (thread_keyword): New.
118         * fixinc/fixincl.x: Rebuild.
120 2002-05-21  Jeffrey A Law  <law@redhat.com>
122         * optabs.c (expand_binop): For double-word integer multiplies,
123         do not compute intermediate results into something that is
124         not a register (such as a SUBREG or MEM).
126         * i386.c (ix86_sched_reorder_ppro): Fix typo/thinko.
127         (ix86_sched_reorder): Make sure to initialize scheduling
128         data even when there's only one insn in the ready queue.
130 2002-05-21  Vladimir Makarov  <vmakarov@redhat.com>
132         * genautomata.c (reserv_sets_hash_value): Fix a typo.
134 2002-05-21  Vladimir Makarov  <vmakarov@redhat.com>
136         * genautomata.c (reserv_sets_hash_value): Define hash_value as
137         set_el_t.  Transform the hash value into unsigned.
138         (output_cycle_reservs): Fix bug with output of repeated `nothing'.
139         (transform_3): Add code to process `(A,B)+(D,E)'.
141 2002-05-21  NIIBE Yutaka  <gniibe@m17n.org>
143         * reload1.c (do_output_reload): Run delete_output_reload
144         only if optimizing.
146 2002-05-21  Roger Sayle  <roger@eyesopen.com>
148         PR middle-end/6600
149         * expr.c (STORE_MAX_PIECES): New macro to avoid immediate constants
150         larger than INTEGER_CST.  (store_by_pieces_1): Use it here...
151         (can_store_by_pieces): ... and here to limit the largest mode used.
152         Add a comment to document this function.
154 2002-05-21  Richard Henderson  <rth@redhat.com>
156         * flow.c (life_analysis): Fix test for deleted label.
158 2002-05-21  Neil Booth  <neil@daikokuya.demon.co.uk>
160         * doc/tm.texi: Fix typo.
162 2002-05-21  Zack Weinberg  <zack@codesourcery.com>
164         * c-common.c (c_common_init): Set options->unsigned_char from
165         flag_signed_char.
166         (cb_register_builtins): Define __STRICT_ANSI__ and
167         __CHAR_UNSIGNED__ here...
168         * cppinit.c (init_builtins): Not here.
169         (cpp_create_reader): unsigned_char option defaults to 0, not
170         !DEFAULT_SIGNED_CHAR.
171         (COMMAND_LINE_OPTIONS, cpp_handle_option): Lose -fsigned-char
172         and -funsigned-char.
174         * cpphash.h (struct spec_nodes): Kill n__STRICT_ANSI__.
175         * cpphash.c (_cpp_init_hashtable): Don't set it.
176         * cppmacro.c (builtin_macro) [BT_STDC]: Use the language setting
177         directly.  Clarify comment.
179 2002-05-21  Zdenek Dvorak  <rakdver@atrey.karlin.mff.cuni.cz>
181         * bb-reorder.c (make_reorder_chain_1): Use prev_bb/next_bb to get to
182         neighbouring basic blocks.  Use ENTRY_BLOCK_PTR->next_bb instead of
183         BASIC_BLOCK (0).  Use EXIT_BLOCK_PTR->prev_bb instead of
184         BASIC_BLOCK (n_basic_blocks - 1).
185         * cfganal.c (can_fallthru, flow_call_edges_add,
186         flow_preorder_transversal_compute): Too.
187         * cfgbuild.c (make_edges, find_basic_blocks, find_many_sub_basic_blocks,
188         find_sub_basic_blocks): Too.
189         * cfgcleanup.c (try_simplify_condjump, try_optimize_cfg): Too.
190         * cfglayout.c (skip_insns_after_block, fixup_reorder_chain,
191         fixup_fallthru_exit_predecessor, cfg_layout_redirect_edge): Too.
192         * cfgrtl.c (tidy_fallthru_edges, verify_flow_info): Too.
193         * combine.c (this_basic_block): Type changed to basic_block.
194         (combine_instructions, set_nonzero_bits_and_sign_copies, try_combine,
195         nonzero_bits, num_sign_bit_copies, get_last_value_validate,
196         get_last_value, distribute_notes, distribute_links): Too.
197         * final.c (compute_alignments): Too.
198         * flow.c (regno_uninitialized, regno_clobbered_at_setjmp): Too.
199         * function.c (thread_prologue_and_epilogue_insns): Too.
200         * gcse.c (compute_code_hoist_vbeinout): Too.
201         * global.c (build_insn_chain): Too.
202         * ifcvt.c (find_if_block, find_cond_trap): Too.
203         * predict.c (last_basic_block_p, note_prediction_to_br_prob): Too.
204         * regmove.c (regmove_optimize): Too.
205         * resource.c (find_basic_block): Too.
206         * sched-ebb.c (schedule_ebbs): Too.
207         * ssa-dce.c (find_control_dependence, find_pdom): Too.
209 2002-05-21  Andreas Jaeger  <aj@suse.de>
211         * cppinit.c (sanity_checks): Avoid printf mismatch warnings.
213 2002-05-21  Richard Henderson  <rth@redhat.com>
215         * reg-stack.c (swap_rtx_condition, subst_stack_regs_pat): Use
216         unspec names, not numbers.
218 2002-05-21  Joseph S. Myers  <jsm28@cam.ac.uk>
220         * doc/sourcebuild.texi: Mention snapshot-README and
221         snapshot-index.html as needing updating for new front ends.
223 2002-05-21  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
225         * rtl.h (SUBREG_PROMOTED_UNSIGNED_SET): Avoid warnings when
226         disabling checking, and avoid multiple evaluation of RTX.
228 2002-05-21  Richard Earnshaw  <rearnsha@arm.com>
230         * bitmap.c (bitmap_find_bit): Return early if we have the correct
231         element cached.
233 Tue May 21 10:51:54 CEST 2002  Jan Hubicka  <jh@suse.cz>
235         * profile.c (gen_edge_profiler):  Set alias set before the memory is
236         used.
238 2002-05-20  David S. Miller  <davem@redhat.com>
240         * cselib.c (max_value_regs): New.
241         (cselib_lookup, cselib_invalidate_regno): Initialize it when
242         adding new entries to the REG_VALUES table and we are dealing with
243         a hard register.
244         (clear_table): Initialize it.
245         (cselib_invalidate_regno): Use it to determine which hard
246         registers to scan when mode is not VOIDmode.
248 2002-05-20  Duraid Madina   <duraid@fl.net.au>
250         * tradcpp.c (fixup_newlines): Use old-style function header.
252 2002-05-20  Krister Walfridsson  <cato@df.lth.se>
254         * reload1.c (reload_cse_simplify): Fix typo in rtx code check.
256 2002-05-20  H.J. Lu  (hjl@gnu.org)
258         Base on suggestions from Zhang Fuxin <fxzhang@ict.ac.cn>:
260         * config/mips/mips.h (DFMODE_NAN): Defined.
261         (SFMODE_NAN): Likewise.
263 2002-05-20  Dale Johannesen  <dalej@apple.com>
265         * combine.c (cant_combine_insn_p):  Back out my
266         previous patch.
268 2002-05-20  Kazu Hirata  <kazu@cs.umass.edu>
270         * params.c: Fix formatting.
271         * params.h: Likewise.
272         * predict.c: Likewise.
273         * prefix.c: Likewise.
274         * print-rtl.c: Likewise.
275         * print-tree.c: Likewise.
276         * profile.c: Likewise.
278 2002-05-20  H.J. Lu  (hjl@gnu.org)
280         * gcc/config/mips/linux.h (SDB_DEBUGGING_INFO): Undefine.
282 2002-05-20  Nick Clifton  <nickc@cambridge.redhat.com>
284         * config/arm/arm-wince-pe.h (ASM_SPEC): Pass -mcpu and -march
285         switches straight on to the assembler, do not abbreviate them.
286         * config/arm/elf.h (ASM_SPEC): As above.
287         * config/arm/semi.h (ASM_SPEC): As above.
288         * config/arm/unknown-elf-oabi.h (ASM_SPEC): As above.
289         * config/arm/xscale-coff.h (SUBTARGET_ASM_SPEC): Pass
290         -mcpu=xscale on to the assembler by default.
291         * config/arm/xscale-elf.h (SUBTARGET_ASM_SPEC): As above.
293 2002-05-20  Richard Henderson  <rth@redhat.com>
295         * cse.c (canon_hash): Reorder do_not_record test.  Always
296         allow pic_offset_table_rtx.
298 2002-05-19  Toon Moene  <toon@moene.indiv.nluug.nl>
300         * optabs.c (expand_cmplxdiv_wide): Use complex_part_zero_p.
301         (expand_binop): Ditto (3 times).
303 2002-05-19  Mark Mitchell  <mitchell@doubledemon.codesourcery.com>
305         * Makefile.in (distclean): Remove QMTest stuff.
306         (QMTEST_PATH): New variable.
307         (QMTESTFLAGS): Likewise.
308         (QMTESTRUNFLAGS): Likewise.
309         (QMTEST): Likewise.
310         (QMTEST_GPP_TESTS): Likewise.
311         (QMTEST_DIR): Likewise.
312         (QMTEST_DIR/context): New target.
313         (qmtest-g++): Likeise.
314         (qmtest-gui): Likewise.
315         (QMTEST_DIR/gpp-expected.qmr): Likewise.
317 2002-05-19  Aldy Hernandez  <aldyh@redhat.com>
319         * config/rs6000/rs6000.h (FUNCTION_VALUE): Only return vectors in
320         an altivec register if TARGET_ALTIVEC.
322         * config/rs600/rs6000.c (rs6000_emit_move): Change VECTOR_MODE_P
323         to ALTIVEC_VECTOR_MODE.
324         (rs6000_va_arg): Only vectors of type AltiVec are 16 byte aligned.
325         (rs6000_va_arg): Vectors may go in registers if they are not
326         altivec vectors.
328 2002-05-19  Kazu Hirata  <kazu@cs.umass.edu>
330         * protoize.c: Fix formatting.
332 2002-05-19  Richard Henderson  <rth@redhat.com>
334         * gensupport.c (init_include_reader): Merge into ...
335         (process_include): ... here.  Simplify composite path creation.
336         Plug memory leaks.  Fix file/line number tracking.  Do not
337         process_define_cond_exec.  Return void.
338         (process_rtx): Don't check process_include return value.
340 2002-05-20  Zdenek Dvorak  <rakdver@atrey.karlin.mff.cuni.cz>
342         * basic_block.h (struct basic_block_def): Added prev_bb and next_bb
343         fields.
344         (FOR_BB_BETWEEN, FOR_ALL_BB, FOR_ALL_BB_REVERSE): New macros for
345         traversing basic block chain.
346         (create_basic_block_structure, create_basic_block): Declaration changed.
347         (link_block, unlink_block): Declare.
348         * cfg.c (entry_exit_blocks): Initialize new fields.
349         (link_block, unlink_block): New.
350         (expunge_block_nocompact): Unlink basic block.
351         (dump_flow_info): Print prev_bb/next_bb fields.
352         * cfgbuild.c (find_basic_blocks_1, find_basic_blocks): Modified.
353         * cfgcleanup.c (merge_blocks_move_predecessor_nojumps): Modified.
354         * cfglayout.c (fixup_reorder_chain, cfg_layout_duplicate_bb): Modified.
355         * cfgrtl.c (create_basic_block_structure, create_basic_block,
356         split_block, force_nonfallthru_and_redirect, split_edge): Modified.
357         (verify_flow_info): Check that list agrees with numbering.
359 2002-05-19  Neil Booth  <neil@daikokuya.demon.co.uk>
361         * c-common.c (preprocessing_asm): New macro.
362         * c-lex.h (builtin_define, builtin_assert): Use pfile.
363 doc:
364         * tm.texi: Update.
365 config/alpha:
366         * alpha.h (CPLUSPLUS_CPP_SPEC): Remove.
367         (CPP_SPEC): Simplify.
368         (TARGET_CPU_CPP_BUILTINS): Update.
369         * freebsd.h (TARGET_OS_CPP_BUILTINS): New.
370         (CPP_SPEC): Simplify.
371         * linux.h (CPLUSPLUS_CPP_SPEC): Remove.
372         (TARGET_OS_CPP_BUILTINS): Update.
373         * osf.h (CPP_XFLOAT_SPEC): Kill.
374         (TARGET_OS_CPP_BUILTINS): Update.
375         (CPP_SUBTARGET_SPEC, SUBTARGET_EXTRA_SPECS): Simplify.
376         * osf5.h (CPP_XFLOAT_SPEC): Kill.
377         * vms.h (CPP_SUBTARGET_SPEC): Kill.
378         (TARGET_OS_CPP_BUILTINS): Update.
380 2002-05-19  Richard Henderson  <rth@redhat.com>
382         * varasm.c (default_binds_local_p): Fix typo.
384 2002-05-19  Marek Michalkiewicz  <marekm@amelek.gda.pl>
386         * config/avr/avr.c (machine_dependent_reorg): Sign extend the
387         CONST_INT operand to the correct mode after adding 1 to it.
389 2002-05-19  Mark Mitchell  <mark@codesourcery.com>
391         * config.gcc (powerpc-wrs-windiss*): New target.
393 2002-05-19  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
395         * config/rs6000/rs6000.md (ashrdi3_no_power): New.
396         (ashrdi3): Use it.
398 2002-05-18  Mark Mitchell  <mark@codesourcery.com>
400         * configure.in (AC_CHECK_FUNCS): Add checks for scandir and
401         alphasort.
402         * config.in: Regenerated.
403         * configure: Regenerated.
405 2002-05-19  Richard Henderson  <rth@redhat.com>
407         * target-def.h (TARGET_BINDS_LOCAL_P): New.
408         * target.h (struct gcc_target): Move boolean fields to the end.
409         Add binds_local_p.
410         * varasm.c (default_binds_local_p): New.
411         * output.h: Declare it.
413         * config/alpha/alpha.c (alpha_encode_section_info): Use the new hook.
414         * config/cris/cris.c (cris_encode_section_info): Likewise.
415         * config/i386/i386.c (i386_encode_section_info): Likewise.
416         * config/ia64/ia64.c (ia64_encode_section_info): Likewise.
417         * config/sh/sh.c (sh_encode_section_info): Likewise.
419         * doc/tm.texi (TARGET_IN_SMALL_DATA_P): New.
420         (TARGET_BINDS_LOCAL_P): New.
422 2002-05-19  Richard Henderson  <rth@redhat.com>
424         * system.h (BLOCK_PROFILER, BLOCK_PROFILER_CODE,
425         FUNCTION_BLOCK_PROFILER, FUNCTION_BLOCK_PROFILER_EXIT,
426         MACHINE_STATE_SAVE, MACHINE_STATE_RESTORE): Poison.
428         * toplev.c (display_help): Kill -a -ax help.
430         * config/1750a/1750a.h, config/alpha/alpha.h,
431         config/clipper/clipper.h, config/dsp16xx/dsp16xx.h,
432         config/h8300/h8300.h, config/i960/i960.h, config/m68k/tower-as.h,
433         config/m88k/m88k.h, config/vax/vax.h, config/we32k/we32k.h:
434         (FUNCTION_BLOCK_PROFILER, BLOCK_PROFILER): Kill.
436         * libgcc2.c [L_bb] (BLOCK_PROFILER_CODE): Kill.
437         * config/m68k/sun3.h (BLOCK_PROFILER_CODE): Kill.
439         * config/i386/i386-protos.h (ix86_output_block_profiler): Kill.
440         (ix86_output_function_block_profiler): Kill.
441         * config/m68hc11/m68hc11.c (m68hc11_block_profiler): Kill.
442         (m68hc11_function_block_profiler): Kill.
443         * config/m68hc11/m68hc11-protos.h: Update.
444         * config/m88k/m88k.c (output_block_profiler): Kill.
445         (output_function_block_profiler): Kill.
446         * config/m88k/m88k-protos.h: Update.
448 2002-05-19  Richard Henderson  <rth@redhat.com>
450         * system.h (STRIP_NAME_ENCODING): Poison it.
451         * output.h (STRIP_NAME_ENCODING): Remove.
452         (default_strip_name_encoding): Declare.
453         * target-def.h (TARGET_STRIP_NAME_ENCODING): New.
454         * target.h (strip_name_encoding): New.
455         * varasm.c (default_strip_name_encoding): New.
457         * dwarf2asm.c, varasm.c, config/darwin.c, config/darwin.h,
458         config/alpha/alpha.c, config/arm/pe.c, config/avr/avr.c,
459         config/cris/cris.c, config/i386/cygwin.h, config/i386/interix.c,
460         config/i386/winnt.c, config/m32r/m32r.h, config/mcore/mcore-elf.h,
461         config/mcore/mcore-pe.h, config/mcore/mcore.c, config/mcore/mcore.h,
462         config/mips/mips.c, config/mn10200/mn10200.h, config/mn10300/mn10300.h,
463         config/pa/pa.c, config/pa/pa.h, config/pa/som.h,
464         config/rs6000/rs6000.c, config/rs6000/sysv4.h, config/rs6000/xcoff.h,
465         config/v850/v850.h: Use the hook, not the macro.
467         * config/darwin-protos.h, config/darwin.c, config/darwin.h,
468         config/alpha/alpha.c, config/alpha/alpha.h, config/h8300/h8300.c,
469         config/h8300/h8300.h, config/i386/cygwin.h, config/i386/i386-interix.h,
470         config/i386/i386-protos.h, config/i386/win32.h, config/i386/winnt.c,
471         config/ia64/ia64.c, config/ia64/ia64.h, config/m32r/m32r.c,
472         config/m32r/m32r.h, config/mcore/mcore.c, config/mcore/mcore.h,
473         config/pa/pa.c, config/rs6000/rs6000.c, config/rs6000/sysv4.h,
474         config/rs6000/xcoff.h, config/sh/sh.c, config/sh/sh.h,
475         config/v850/v850.c, config/v850/v850.h:
476         Move STRIP_NAME_ENCODING to out-of-line function and add
477         TARGET_STRIP_NAME_ENCODING.
479         * config/arm/arm.c, config/arm/arm.h, config/mmix/mmix-protos.h,
480         config/mmix/mmix.c, config/mmix/mmix.h: Replace STRIP_NAME_ENCODING
481         with TARGET_STRIP_NAME_ENCODING referencing existing function;
482         make function static.
484         * xcoffout.c: Include target.h
485         * Makefile.in (xcoffout.o): Update.
487         * config/avr/avr.c (avr_encode_section_info): Correct prototype.
488         * config/avr/avr.h (STRIP_NAME_ENCODING): Remove.
489         * config/rs6000/rs6000.c (rs6000_xcoff_unique_section): Mark
490         reloc argument unused.
491         * config/sh/sh.c (TARGET_ENCODE_SECTION_INFO): New.
493         * doc/tm.texi (TARGET_STRIP_NAME_ENCODING): Update from previous
494         STRIP_NAME_ENCODING docs.
496 2002-05-19  Andreas Jaeger  <aj@suse.de>
498         * gengenrtl.c: Add prototype for excluded_rtx.
500         * real.h: Add prototype for exact_real_truncate.
502 2002-05-18  Richard Henderson  <rth@redhat.com>
504         * system.h (ENCODE_SECTION_INFO): Poison it.
505         * target-def.h (TARGET_ENCODE_SECTION_INFO): New.
506         * target.h (encode_section_info): New.
507         * varasm.c (make_decl_rtl, output_constant_def): Use it.
508         * hooks.c (hook_tree_int_void): New.
509         * hooks.h: Declare it.
511         * config/darwin.h, config/alpha/alpha-protos.h, config/alpha/alpha.c,
512         config/alpha/alpha.h, config/arm/pe.h, config/avr/avr-protos.h,
513         config/avr/avr.c, config/avr/avr.h, config/c4x/c4x-protos.h,
514         config/c4x/c4x.c, config/c4x/c4x.h, config/cris/cris-protos.h,
515         config/cris/cris.c, config/cris/cris.h, config/i386/cygwin.h,
516         config/i386/win32.h, config/ia64/ia64-protos.h, config/ia64/ia64.c,
517         config/ia64/ia64.h, config/m32r/m32r-protos.h, config/m32r/m32r.c,
518         config/m32r/m32r.h, config/m68hc11/m68hc11-protos.h,
519         config/m68hc11/m68hc11.c, config/m68hc11/m68hc11.h,
520         config/mcore/mcore-protos.h, config/mcore/mcore.c,
521         config/mcore/mcore.h, config/mmix/mmix-protos.h, config/mmix/mmix.c,
522         config/mmix/mmix.h, config/rs6000/rs6000-protos.h,
523         config/rs6000/sysv4.h, config/stormy16/stormy16-protos.h,
524         config/stormy16/stormy16.c, config/stormy16/stormy16.h:
525         Replace ENCODE_SECTION_INFO with TARGET_ENCODE_SECTION_INFO
526         referencing existing function.  Make function static.
528         * config/a29k/a29k.c, config/a29k/a29k.h, config/arc/arc.c,
529         config/arc/arc.h, config/arm/arm.c, config/arm/arm.h,
530         config/h8300/h8300.c, config/h8300/h8300.h, config/i370/i370.c,
531         config/i370/i370.h, config/i386/i386-interix.h, config/i386/i386.c,
532         config/i386/i386.h, config/i386/interix.c, config/m88k/m88k.c,
533         config/m88k/m88k.h, config/mips/mips.c, config/mips/mips.h,
534         config/ns32k/ns32k.c, config/ns32k/ns32k.h, config/pa/pa.c,
535         config/pa/pa.h, config/romp/romp.c, config/romp/romp.h,
536         config/rs6000/linux64.h, config/rs6000/xcoff.h, config/s390/s390.c,
537         config/s390/s390.h, config/sh/sh.c, config/sh/sh.h,
538         config/sparc/sparc.c, config/sparc/sparc.h, config/v850/v850.c,
539         config/v850/v850.h, config/vax/vax.c, config/vax/vms.h,
540         config/xtensa/xtensa.c, config/xtensa/xtensa.h:
541         Move ENCODE_SECTION_INFO to out-of-line function and add
542         TARGET_ENCODE_SECTION_INFO.
544         * config/darwin.h (ASM_DECLARE_FUNCTION_NAME): Use hook, not macro.
545         (ASM_DECLARE_OBJECT_NAME, ASM_OUTPUT_ALIGNED_DECL_LOCAL): Likewise.
547         * config/arm/pe.h (EXTRA_SECTIONS, EXTRA_SECTION_FUNCTIONS): Rename
548         from SUBTARGET_*
549         (switch_to_section): Replace in_rdata case with in_readonly_data.
551         * config/h8300/h8300.c (h8300_encode_label): Make static.
552         * config/h8300/h8300-protos.h: Update.
554         * config/rs6000/rs6000.c (rs6000_elf_encode_section_info): Rename
555         from rs6000_encode_section_info; make static.
556         (rs6000_xcoff_encode_section_info): New.
558         * config/v850/v850.c (v850_encode_data_area): Make static.
559         * config/v850/v850-protos.h: Update.
561         * config/vax/vax.c: Include flags.h.
562         (vms_select_section): Fix typo.
564         * doc/tm.texi (TARGET_ENCODE_SECTION_INFO): Update from previous
565         ENCODE_SECTION_INFO docs.
567 2002-05-18  Richard Henderson  <rth@redhat.com>
569         * config/darwin.h (DARWIN_REGISTER_TARGET_PRAGMAS): Rename from
570         REGISTER_TARGET_PRAGMAS.
571         * config/rs6000/darwin.h (REGISTER_TARGET_PRAGMAS): Redefine.
573         * config.gcc: Do not use rs6000-c.c on powerpc-darwin.
575 2002-05-18  Richard Henderson  <rth@redhat.com>
577         * system.h (SELECT_RTX_SECTION): Poison.
578         * target-def.h (TARGET_ASM_SELECT_RTX_SECTION): New.
579         * target.h (select_rtx_section): New.
580         * varasm.c (output_constant_pool): Use it.
581         (default_select_rtx_section, default_elf_select_rtx_section): New.
582         * output.h: Declare them.
584         * config/darwin.h (SELECT_RTX_SECTION): Move ...
585         * config/darwin.c (machopic_select_rtx_section): ... here.
586         * config/darwin-protos.h: Update.
588         * config/nextstep.h (SELECT_RTX_SECTION): Move ...
589         * config/nextstep.c (machopic_select_rtx_section): ... here.
590         (nextstep_select_section): Rename variable to avoid macro clash.
591         * config/nextstep-protos.h: Update.
593         * config/elfos.h, config/svr3.h, config/arm/aof.h, config/c4x/c4x.h,
594         config/i386/dgux.h, config/i386/osfrose.h, config/i386/sco5.h,
595         config/i386/svr3gas.h, config/i860/paragon.h, config/ia64/aix.h,
596         config/m32r/m32r.h, config/m68k/dpx2.h, config/m68k/lynx.h,
597         config/m68k/m68k.h, config/m68k/tower-as.h, config/m88k/dgux.h,
598         config/mcore/mcore-pe.h, config/mips/mips.h, config/mmix/mmix.h,
599         config/pa/pa-linux.h, config/pa/pa.h, config/romp/romp.h,
600         config/rs6000/lynx.h, config/rs6000/sysv4.h, config/s390/linux.h,
601         config/sparc/sysv4.h, config/xtensa/elf.h, config/xtensa/linux.h
602         (SELECT_RTX_SECTION): Remove.
604         * config/darwin.h, config/elfos.h, config/nextstep.h,
605         config/ia64/aix.h, config/ia64/sysv4.h, config/alpha/alpha.c,
606         config/mips/mips.c, config/romp/romp.c, config/rs6000/sysv4.h,
607         config/rs6000/xcoff.h, config/s390/s390.c, config/sparc/aout.h,
608         config/sparc/lynx.h, config/xtensa/xtensa.c
609         (TARGET_ASM_SELECT_RTX_SECTION): New.
611         * config/alpha/elf.h (SELECT_RTX_SECTION): Move ...
612         * config/alpha/alpha.c (alpha_elf_select_rtx_section): ... here.
613         * config/ia64/sysv4.h (SELECT_RTX_SECTION): Move ...
614         * config/ia64/ia64.c (ia64_select_rtx_section): ... here.
615         (ia64_aix_select_rtx_section): New.
616         * config/mips/iris6.h (READONLY_DATA_SECTION_ASM_OP): Undef before
617         redefining.
618         * config/mips/mips.c (mips_select_rtx_section): Make static.
619         Support ELF SHF_MERGE features.
620         * config/mips/mips-protos.h: Update.
621         * config/rs6000/xcoff.h (SELECT_RTX_SECTION): Move ...
622         * config/rs6000/rs6000.c (rs6000_xcoff_select_rtx_section): ... here.
623         (rs6000_elf_select_rtx_section): Rename from rs6000_select_rtx_section;
624         make static, fall back to default_elf_select_rtx_section.
625         * config/rs6000/rs6000-protos.h: Update.
626         * config/sparc/sparc.h (SELECT_RTX_SECTION): Move ...
627         * config/sparc/sparc.c (sparc_aout_select_rtx_section): ... here.
628         * config/sparc/sunos4.h (on_exit): Declare only if IN_LIBGCC2.
629         * config/romp/romp.c (romp_select_rtx_section): New.
630         * config/s390/s390.c (s390_select_rtx_section): New.
631         * config/xtensa/xtensa.c: Include output.h.  Shuffle local function
632         declarations before target macro definition.
633         (xtensa_emit_call): Use static buffer.
634         (xtensa_select_rtx_section): New.
635         * config/xtensa/xtensa.h (MAX_INT_TYPE_SIZE): Remove.
636         (IMPLICIT_FIX_EXPR, EASY_DIV_EXPR): Remove.
637         (ASM_OUTPUT_POOL_PROLOGUE): Update call to resolve_unique_section.
639         * doc/tm.texi (TARGET_ASM_SELECT_RTX_SECTION): Update from
640         SELECT_RTX_SECTION docs.
642 Sun May 19 00:24:23 CEST 2002  Jan Hubicka  <jh@suse.cz>
644         * i386.md (movsi/movdi): Fix template.
645         (sse2 patterns): Set attributes consistently.
647         * i386.md (pushqi2, ashrqi_*): Fix constraint.
649 2002-05-18  Toon Moene  <toon@moene.indiv.nluug.nl>
651         * optabs.c (complex_part_zero_p): New.
652         * (expand_cmplxdiv_straight): Use it.
653         * (expand_cmplxdiv_wide): Ditto.
654         * (expand_binop): Ditto.
656 2002-05-18  Richard Henderson  <rth@redhat.com>
658         * final.c (HAVE_READONLY_DATA_SECTION): New.
659         (shorten_branches): Use it instead of ifdefs.
660         * varasm.c (enum in_section): Add in_readonly_data.
661         (text_section, data_section): Tidy.
662         (readonly_data_section): Use READONLY_DATA_SECTION_ASM_OP if present.
664         * config/darwin.h, config/nextstep.h, config/h8300/elf.h,
665         config/i860/paragon.h, config/m68k/dpx2.h, config/m68k/hp320.h
666         (READONLY_DATA_SECTION): Don't undef.
668         * config/alpha/unicosmk.h, config/h8300/elf.h, config/i386/aix386ng.h,
669         config/i860/paragon.h, config/m68k/dpx2.h, config/m68k/hp320.h,
670         config/rs6000/lynx.h (READONLY_DATA_SECTION_ASM_OP): Undef.
672         * config/elfos.h, config/svr3.h, config/alpha/alpha-interix.h,
673         config/alpha/elf.h, config/c4x/c4x.h, config/i386/i386-interix.h,
674         config/i386/sco5.h, config/i386/svr3gas.h, config/i860/sysv3.h,
675         config/m88k/m88k.h, config/pa/pa64-hpux.h (USE_CONST_SECTION): Remove.
677         * config/elfos.h, config/netware.h, config/alpha/alpha-interix.h,
678         config/alpha/elf.h, config/alpha/vms.h, config/arc/arc.h,
679         config/arm/coff.h, config/c4x/c4x.h, config/dsp16xx/dsp16xx.h,
680         config/i386/dgux.h, config/i386/i386-interix.h, config/i386/sco5.h,
681         config/ia64/hpux.h, config/m32r/m32r.h, config/m68k/tower-as.h,
682         config/m88k/m88k.h, config/mcore/mcore-pe.h, config/mips/iris6.h,
683         config/mips/mips.h, config/mmix/mmix.h, config/pa/pa64-hpux.h,
684         config/sparc/sysv4.h (READONLY_DATA_SECTION_ASM_OP): Rename from
685         CONST_SECTION_ASM_OP/READONLY_SECTION_ASM_OP/RDATA_SECTION_ASM_OP.
687         * config/elfos.h, config/netware.h, config/1750a/1750a.h,
688         config/a29k/a29k.h, config/alpha/alpha-interix.h, config/alpha/alpha.h,
689         config/arm/coff.h, config/h8300/h8300.h, config/i386/aix386ng.h,
690         config/i386/i386-interix.h, config/i386/osfrose.h, config/mmix/mmix.h,
691         config/pa/pa64-hpux.h, config/sparc/litecoff.h
692         (EXTRA_SECTIONS, EXTRA_SECTION_FUNCTIONS): Remove.
694         * config/elfos.h, config/netware.h, config/svr3.h,
695         config/alpha/alpha-interix.h, config/alpha/alpha.h, config/alpha/elf.h,
696         config/arm/coff.h, config/c4x/c4x.h, config/dsp16xx/dsp16xx.h,
697         config/h8300/h8300.h, config/i386/i386-interix.h,
698         config/i386/osfrose.h, config/i386/svr3gas.h, config/mmix/mmix.h,
699         config/pa/pa64-hpux.h (READONLY_DATA_SECTION): Remove.
701         * config/elfos.h, config/netware.h, config/svr3.h,
702         config/alpha/alpha-interix.h, config/alpha/alpha.h, config/alpha/elf.h,
703         config/c4x/c4x.h, config/i386/aix386ng.h, config/i386/i386-interix.h,
704         config/i386/sco5.h, config/i386/svr3gas.h, config/mmix/mmix.h,
705         config/pa/pa64-hpux.h (CONST_SECTION_FUNCTION): Remove.
707         * config/lynx.h, config/svr3.h, config/alpha/elf.h, config/alpha/vms.h,
708         config/c4x/c4x.h, config/dsp16xx/dsp16xx.h, config/i386/sco5.h,
709         config/i386/svr3gas.h, config/i860/sysv3.h, config/i860/sysv4.h,
710         config/ia64/sysv4.h, config/m32r/m32r.h, config/m88k/m88k.h,
711         config/mcore/mcore-elf.h, config/mcore/mcore-pe.h, config/mips/elf.h,
712         config/mips/elf64.h, config/mips/iris6.h, config/mips/linux.h,
713         config/mips/mips.h, config/mips/rtems64.h, config/mips/vxworks.h,
714         config/rs6000/sysv4.h, config/v850/v850.h
715         (EXTRA_SECTIONS): Remove in_const/in_rdata.
716         (EXTRA_SECTION_FUNCTIONS): Remove accompanying function.
718         * config/svr3.h, config/c4x/c4x.h, config/i386/dgux.h,
719         config/i386/sco5.h, config/i386/svr3gas.h, config/ia64/aix.h,
720         config/m88k/dgux.h, config/mcore/mcore-pe.h, config/mmix/mmix.h,
721         config/sparc/sysv4.h (SELECT_RTX_SECTION): Use readonly_data_section.
722         * config/alpha/alpha.c (alpha_start_function): Likewise.
723         (alpha_write_linkage): Likewise.
724         * config/m32r/m32r.c (m32r_select_section): Likewise.
725         * config/m88k/m88k.c (m88k_select_section): Likewise.
726         * config/mips/mips.c (mips_select_rtx_section): Likewise.
727         * config/rs6000/rs6000.c (rs6000_select_rtx_section): Likewise.
728         (rs6000_elf_select_section): Likewise.
729         * config/v850/v850.c (v850_select_section): Likewise.
731         * config/1750a/1750a.h, config/i860/sysv3.h
732         (READONLY_DATA_SECTION_ASM_OP): New.
733         READONLY_DATA_SECTION_ASM_OP.
734         * config/i386/interix.c, config/i386/winnt.c
735         (i386_pe_unique_section): Always use .rdata prefix.
736         * config/pa/som.h (readonly_data): Always switch to read-only section.
737         (READONLY_DATA_SECTION): Predicate on flag_pic.
738         * config/we32k/we32k.h (READONLY_DATA_SECTION): Remove parenthesis.
739         * doc/tm.texi (READONLY_DATA_SECTION_ASM_OP): New.
740         (READONLY_DATA_SECTION): Update.
742 2002-05-18  Jason Thorpe  <thorpej@wasabisystems.com>
744         * c-common.c (c_common_post_options): Warn if -Wformat-zero-length
745         is used without -Wformat.
746         * c-common.h (warn_format_zero_length): Declare extern.
747         * c-decl.c (warn_options): Add "format-zero-length".
748         * c-format.c (warn_format_zero_length): Declare.
749         (set_Wformat): Set warn_format_zero_length for -Wformat.
750         (check_format_info): Only warn about zero-length formats if
751         warn_format_zero_length is true.  Include the format type
752         name in the warning message.
753         * doc/invoke.texi: Document -Wformat-zero-length.
754         * testsuite/gcc.dg/format/zero-length-1.c: New test.
756 2002-05-18  Kazu Hirata  <kazu@cs.umass.edu>
758         * timevar.c: Fix formatting.
759         * tlink.c: Likewise.
760         * toplev.c: Likewise.
761         * tree-dump.c: Likewise.
762         * tree-inline.c: Likewise.
764 2002-05-18  Neil Booth  <neil@daikokuya.demon.co.uk>
766         * cppinit.c (cpp_post_options): If preprocessed, turn off
767         traditional.  If traditional, turn off column numbers.
768         * cpplib.c (cpp_push_buffer): Lex from stage 3 if traditional.
769         * cpptrad.c (handle_newline): Update line_base.
770         (skip_comment): Handle -Wcomment.
772 2002-05-17  Zack Weinberg  <zack@codesourcery.com>
774         * cppinit.c (struct builtin): Remove unused fields.
775         (CPLUS, BUILTIN, OPERATOR, O, builtin_array_end): Kill.
776         (operator_array): New - was second half of builtin_array.
777         (init_builtins): Simplify loop over builtin_array/operator_array.
779 2002-05-18  Neil Booth  <neil@daikokuya.demon.co.uk>
781         * defaults.h (UNIQUE_SECTION): Remove.
782         * system.h (UNIQUE_SECTION, SELECT_SECTION): Poison.
784 2002-05-17  Richard Henderson  <rth@redhat.com>
786         * expr.c (init_expr_once): Don't use start/end_sequence.
787         Use rtx_alloc instead of emit_insn.
788         * toplev.c (lang_dependent_init): Run init_expr_once here ...
789         (lang_independent_init): ... not here.
791 2002-05-17  Jason Thorpe  <thorpej@wasabisystems.com>
793         * config/sh/lib1funcs.asm (GLOBAL): Use __USER_LABEL_PREFIX__.
795 2002-05-17  Marek Michalkiewicz  <marekm@amelek.gda.pl>
797         * config/avr/avr.c (avr_regs_to_save): New function.  Also check
798         for fixed registers, possibly used for global register variables.
799         (initial_elimination_offset, avr_output_function_prologue,
800         avr_output_function_epilogue):  Move common code to avr_regs_to_save.
802 2002-05-17  Neil Booth  <neil@daikokuya.demon.co.uk>
804         * Makefile.in: Update for cpptrad.c.
805         * cpphash.h (struct cpp_buffer): New members for buffer
806         overlays.
807         (struct cpp_reader): New members for traditional output.
808         (_cpp_read_logical_line, _cpp_overlay_buffer): New.
809         * cppinit.c (cpp_create_reader): Set trad_line.
810         (cpp_destroy): Free trad_out_base if used.
811         (cpp_read_main_file): Overlay an empty buffer if traditional.
812         (cpp_finish_options): Don't do builtins.
813         (COMMAND_LINE_OPTIONS): Add -traditional-cpp.
814         (cpp_handle_option): Handle it.
815         * cpplex.c (continue_after_nul): New.
816         (_cpp_lex_direct): Use handle_nul.
817         * cpplib.h (struct cpp_options): New traditional option.
818         * cpptrad.c: New file.
820 2002-05-17  Neil Booth  <neil@daikokuya.demon.co.uk>
822         * c-common.c (c_common_init_options): Use C89 for Objective-C,
823         and set the options flag.
824         * cppinit.c (lang_flags): Remove objc.
825         (lang_defaults): Remove OBJC and OBJCXX.
826         (set_lang): Update.
827         (COMMAND_LINE_OPTIONS): Remove -+ and -lang-objc++.
828         (cpp_handle_option): Remove -+ and -lang-objc++.
829         For ObjC, just set a flag.
830         (print_help): Update.
831         * cpplib.h (enum c_lang): Remove CLK_OBJC and CLK_OBJCXX.
833 2002-05-17  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
835         * doc/install.texi (Specific, mips-sgi-irix6): Document need to
836         bootstrap with -mips3.
838 2002-05-17  Kazu Hirata  <kazu@cs.umass.edu>
840         * final.c: Fix formatting.
841         * fix-header.c: Likewise.
842         * flow.c: Likewise.
843         * fold-const.c: Likewise.
844         * function.c: Likewise.
846 2002-05-17  David S. Miller  <davem@redhat.com>
848         PR c/6689, PR optimization/6615
849         * local-alloc.c (struct equivalence): Rename 'src' to 'src_p'
850         and make it a pointer to rtx.  Update comments.
851         (update_equiv_regs): When scanning for equivalences, record
852         address of SET_SRC (set) in reg_equiv[].src_p.  Dereference
853         it while making the equiv replacements.
855 2002-05-17  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
857         * config/sparc/sparc.c (sparc_aout_select_section): Fixed typo.
859 2002-05-17  kaz Kojima  <kkojima@rr.iij4u.or.jp>
861         * config/sh/sh.h (ENCODE_SECTION_INFO): Consider MODULE_LOCAL_P
862         when encoding visibility into SYMBOL_REF_FLAG.
864 2002-05-17  Richard Sandiford  <rsandifo@redhat.com>
866         * expr.c (force_operand): Fix reversed move.
868 2002-05-17  Kurt Wall <kwall@kurtwerks.com>
870         * doc/install.texi (Testing): Mention two common DejaGnu warnings
871         that can be ignored.
873 2002-05-16  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
875         * doc/install.texi (Final install): Recommend to install into a
876         "clean" target directory.
878 2002-05-17  Richard Henderson  <rth@redhat.com>
880         * config/ia64/ia64.md: Use braced strings instead of quoted strings
881         for code blocks.  Tidy whitespace.
883 2002-05-17  Richard Henderson  <rth@redhat.com>
885         * hooks.c (hook_tree_bool_false): New.
886         * hooks.h: Declare it.
887         * target-def.h (TARGET_ASM_SELECT_SECTION): New.
888         (TARGET_ASM_UNIQUE_SECTION, TARGET_IN_SMALL_DATA_P): New.
889         * target.h (select_section, unique_section): New.
890         (in_small_data_p): New.
891         * varasm.c (resolve_unique_section): Use hooks instead of macros.
892         (variable_section, output_constant_def_contents): Likewise.
893         (default_select_section, default_unique_section): New.
894         (categorize_decl_for_section, default_elf_select_section): New.
895         * output.h: Declare them.
897         * config/darwin.h (ALIAS_SECTION, try_section_alias): Remove.
898         (TARGET_ASM_SELECT_SECTION): New.
899         (SELECT_SECTION): Move ...
900         * config/darwin.c (machopic_select_section): ... here.
901         * config/darwin-protos.h: Update.
903         * config/nextstep.h (TARGET_ASM_SELECT_SECTION): New.
904         (SELECT_SECTION): Move ...
905         * config/nextstep.c (nextstep_select_section): ... here.
906         * config/nextstep-protos.h: Update.
908         * config/elfos.h (UNIQUE_SECTION, SELECT_SECTION): Remove.
909         (TARGET_ASM_SELECT_SECTION): New.
910         * config/svr3.h (SELECT_SECTION): Remove.
912         * config/alpha/alpha.c (unicosmk_unique_section): Make static.
913         (TARGET_ASM_UNIQUE_SECTION) [UNICOS]: New.
914         (TARGET_IN_SMALL_DATA_P, alpha_in_small_data_p): New.
915         (alpha_encode_section_info): Use it.
916         * config/alpha/alpha-protos.h: Update.
917         * config/alpha/elf.h (DO_SELECT_SECTION): Remove.
918         (SELECT_SECTION, UNIQUE_SECTION): Remove.
919         (TARGET_ASM_SELECT_SECTION): New.
920         * config/alpha/unicosmk.h (UNIQUE_SECTION): Remove.
922         * config/arm/pe.h (UNIQUE_SECTION): Remove.
923         (TARGET_ASM_UNIQUE_SECTION): New.
925         * config/avr/avr.c (TARGET_ASM_UNIQUE_SECTION): New.
926         (avr_unique_section): Rename from unique_section; make static.
927         * config/avr/avr-protos.h: Update.
928         * config/avr/avr.h (UNIQUE_SECTION): Remove.
930         * config/c4x/c4x.h (SELECT_SECTION): Remove.
932         * config/i386/cygwin.h (UNIQUE_SECTION): Remove.
933         (TARGET_ASM_UNIQUE_SECTION): New.
934         * config/i386/i386-interix.h: Likewise.
935         * config/i386/win32.h: Likewise.
936         * config/i386/djgpp.h (UNIQUE_SECTION): Remove.
937         * config/i386/i386.c (ix86_asm_file_end): Use target hook not macro.
938         * config/i386/sco5.h (SELECT_SECTION): Remove.
939         (TARGET_ASM_SELECT_SECTION): New.
940         * config/i386/svr3gas.h (SELECT_SECTION): Remove.
942         * config/i860/paragon.h: Undef TARGET_ASM_SELECT_SECTION
943         instead of SELECT_SECTION.
944         * config/m68k/dpx2.h: Likewise.
945         * config/rs6000/lynx.h: Likewise.
947         * config/ia64/aix.h (SELECT_SECTION, UNIQUE_SECTION): Remove.
948         (TARGET_ASM_SELECT_SECTION, TARGET_ASM_UNIQUE_SECTION): New.
949         * config/ia64/ia64.c (TARGET_IN_SMALL_DATA_P): New.
950         (ia64_in_small_data_p): New.
951         (ia64_encode_section_info): Use it.  Reorganize overlarge conditional.
952         (ia64_aix_select_section, ia64_aix_unique_section): New.
953         * config/ia64/sysv4.h (DO_SELECT_SECTION): Remove.
954         (SELECT_SECTION, UNIQUE_SECTION): Remove.
956         * config/m32r/m32r.h (SELECT_SECTION): Remove.
957         (TARGET_ASM_SELECT_SECTION): New.
958         * config/m32r/m32r.c (m32r_select_section): Take align argument.
959         * config/m32r/m32r-protos.h: Update.
961         * config/m88k/m88k.h (TARGET_ASM_SELECT_SECTION): New.
962         (SELECT_SECTION): Move ...
963         * config/m88k/m88k.c (m88k_select_section): ... here.
965         * config/mcore/mcore-pe.h (SELECT_SECTION): Remove.
966         * config/mcore/mcore.h (UNIQUE_SECTION): Remove.
967         * config/mcore/mcore.c (TARGET_ASM_UNIQUE_SECTION): New.
968         (mcore_unique_section): Make static.
969         * config/mcore/mcore-protos.h: Update.
971         * config/mips/elf.h (UNIQUE_SECTION): Remove.
972         (TARGET_ASM_UNIQUE_SECTION): New.
973         * config/mips/elf64.h: Likewise.
974         * config/mips/iris6gld.h: Likewise.
975         * config/mips/linux.h: Likewise.
976         * config/mips/mips-protos.h: Update.
977         * config/mips/mips.c (mips_select_section): Add align argument.
978         * config/mips/mips.h (SELECT_SECTION): Remove.
979         (TARGET_ASM_SELECT_SECTION): New.
981         * config/mmix/mmix.h (SELECT_SECTION, UNIQUE_SECTION): Remove.
982         * config/mmix/mmix.c (mmix_select_section): Remove.
983         (mmix_unique_section): Remove.
984         * config/mmix/mmix-protos.h: Update.
986         * config/pa/pa.h (TARGET_ASM_SELECT_SECTION): New.
987         (SELECT_SECTION): Move ...
988         * config/pa/pa.c (pa_select_section): ... here.
989         * config/pa/pa64-hpux.h (UNIQUE_SECTION): Remove.
991         * config/rs6000/rs6000.c (rs6000_elf_select_section): Rename
992         from rs6000_select_section and make static.
993         (rs6000_elf_unique_section): Similarly.
994         (rs6000_xcoff_select_section): From xcoff.h.
995         (rs6000_xcoff_unique_section): Likewise.
996         * config/rs6000/rs6000-protos.h: Update.
997         * config/rs6000/sysv4.h (SELECT_SECTION, UNIQUE_SECTION): Remove.
998         (TARGET_ASM_SELECT_SECTION, TARGET_ASM_UNIQUE_SECTION): New.
999         * config/rs6000/xcoff.h: Likewise.
1001         * config/sparc/aout.h (TARGET_ASM_SELECT_SECTION): New.
1002         (SELECT_SECTION): Move ...
1003         * config/sparc/sparc.c (sparc_aout_select_section): ... here.
1005         * config/v850/v850.h (SELECT_SECTION): Move ...
1006         * config/v850/v850.c (v850_select_section): ... here.
1007         (TARGET_ASM_SELECT_SECTION): New.
1009         * config/vax/vms.h (SELECT_SECTION): Move ...
1010         * config/vax/vax.c (vms_select_section): ... here.
1011         (TARGET_ASM_SELECT_SECTION): New.
1013         * doc/tm.texi: Update SELECT_SECTION and UNIQUE_SECTION docs
1014         for the target hooks.
1016 2002-05-17  Nick Clifton  <nickc@cambridge.redhat.com>
1018         * config/arm/arm.c (emit_multi_reg_push): Do not set
1019         RTX_FRAME_RELATED_P on the SEQUENCE.
1021 2002-05-16  Richard Henderson  <rth@redhat.com>
1023         * config/ia64/ia64.c (ia64_reorg): Rebuild bb_for_insn before
1024         splitting.  Use split_all_insns; update_life_info_in_dirty_blocks.
1026 2002-05-16  Richard Henderson  <rth@redhat.com>
1028         * config/alpha/unicosmk.h (TARGET_OS_CPP_BUILTINS): Fix typo.
1030         * config/ia64/ia64.c (saveable_obstack): Do not declare.
1032 2002-05-16  Richard Henderson  <rth@redhat.com>
1034         * basic-block.h, bb-reorder.c, cfg.c, cfganal.c, cfgbuild.c,
1035         cfgcleanup.c, cfglayout.c, cfgloop.c, cfgrtl.c, combine.c,
1036         conflict.c, df.c, df.h, dominance.c, final.c, flow.c, function.c,
1037         gcse.c, global.c, graph.c, haifa-sched.c, ifcvt.c, lcm.c,
1038         local-alloc.c, loop.c, predict.c, print-rtl.c, profile.c,
1039         recog.c, reg-stack.c, regclass.c, regmove.c, regrename.c,
1040         reload1.c, reorg.c, resource.c, sbitmap.c, sched-deps.c,
1041         sched-ebb.c, sched-rgn.c, sibcall.c, ssa-ccp.c, ssa-dce.c, ssa.c:
1042         Revert "Basic block renumbering removal", and two followup patches.
1044 2002-05-16  Jason Thorpe  <thorpej@wasabisystems.com>
1046         * lcm.c (optimize_mode_switching): Revert previous change.
1048 2002-05-16  Zdenek Dvorak  <rakdver@atrey.karlin.mff.cuni.cz>
1050         * sched-rgn.c (schedule_insns): Initialize large_region_blocks
1051         with only extant block numbers.
1053 2002-05-16  Jason Thorpe  <thorpej@wasabisystems.com>
1055         * lcm.c (optimize_mode_switching): Fix typo.
1057 2002-05-16  Zdenek Dvorak  <rakdver@atrey.karlin.mff.cuni.cz>
1059         * flow.c (calculate_global_regs_live): Queue blocks in program order.
1061 2002-05-16  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
1063         * doc/install.texi (Configuration): Document PWDCMD.
1065 2002-05-16  Dale Johannesen  <dalej@apple.com>
1067         * combine.c (cant_combine_insn_p):  Reenable combinations
1068         involving hard regs unless CLASS_LIKELY_SPILLED_P.
1070 2002-05-16  Neil Booth  <neil@daikokuya.demon.co.uk>
1072         * c-common.c (cb_register_builtins): Handle more built-ins
1073         here rather than in gcc.c specs.
1074         * gcc.c (cpp_unique_options): Move many built-ins to c-common.c.
1075         (cpp_options): Pass -O flags even when only preprocessing.
1076         * toplev.c (set_fast_math_flags): New prototype.
1077         (fast_math_flags_set_p): New.
1078         (set_no_fast_math_flags): Remove.
1079         (decode_f_option): Update.
1080         * toplev.h (set_fast_math_flags): Update.
1081         (fast_math_flags_set_p): New.
1082         (set_no_fast_math_flags): Remove.
1083 config:
1084         * c4x/c4x.c (c4x_override_options): Update.
1086 2002-05-16  Zack Weinberg  <zack@codesourcery.com>
1088         * c-common.c (STDC_0_IN_SYSTEM_HEADERS, REGISTER_PREFIX):
1089         Default-define here.
1090         (builtin_define_with_value): Can now wrap the expansion in
1091         quotation marks if such is wanted.
1092         (cb_register_builtins): Update calls to builtin_define_with_value.
1093         Define __REGISTER_PREFIX__, __USER_LABEL_PREFIX__, and __VERSION__
1094         here.
1095         (c_common_init): Set options->stdc_0_in_system_headers.
1096         * c-lex.h: Update prototype of builtin_define_with_value.
1097         * cppdefault.h: Remove default definitions of USER_LABEL_PREFIX
1098         and REGISTER_PREFIX.
1100         * cppinit.c (VERS, ULP, C, X): Kill.
1101         (builtin_array): Remove entries for __VERSION__,
1102         __USER_LABEL_PREFIX__, __REGISTER_PREFIX__, and
1103         __HAVE_BUILTIN_SETJMP__.  Make __STDC__ always a builtin, not
1104         a constant.
1105         (init_builtins): Kill off a bunch of now-dead code.
1106         (COMMAND_LINE_OPTIONS): Remove -fleading-underscore and
1107         -fno-leading-underscore.
1108         (cpp_handle_option): Remove code to set user_label_prefix.
1109         (cpp_post_options): Likewise.
1111         * cpplib.h (struct cpp_options): Remove user_label_prefix.
1112         (stdc_0_in_system_headers): New.
1113         * cppmacro.c (builtin_macro): Check CPP_OPTION (pfile,
1114         stdc_0_in_system_headers) too to decide the value of __STDC__.
1116         * tradcpp.c (user_label_prefix): Kill.
1117         (main): Remove code handling -f(no-)leading-underscore.
1118         (initialize_builtins): Don't define __REGISTER_PREFIX__
1119         or __USER_LABEL_PREFIX__.
1120         (install_value): Wrap compound statement in dummy loop so the
1121         macro works properly in an if statement.
1124 2002-05-16  Janis Johnson  <janis187@us.ibm.com>
1126         * loop.h (struct loop_info): Add member has_prefetch.
1127         * loop.c (PREFETCH_CONDITIONAL): Change default to 1.
1128         (prescan_loop): Initialize has_prefetch.
1129         (struct prefetch_info): Change prefetch_in_loop and
1130         prefetch_before_loop from bit fields to ints.
1131         (emit_prefetch_instructions): Several small fixes.
1132         (check_dbra_loop): Don't reverse loop that uses prefetch.
1134 2002-05-16  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
1136         * Makefile.in: Allow for PWDCMD to override hardcoded pwd.
1137         * configure.in: Likewise.
1138         * fixinc/check.tpl: Likewise.
1139         * fixinc/fixinc.dgux: Likewise.
1140         * fixinc/fixinc.svr4: Likewise.
1141         * fixinc/fixinc.winnt: Likewise.
1142         * fixinc/fixincl.sh: Likewise.
1143         * fixproto: Likewise.
1144         * configure: Regenerate.
1146 2002-05-16  Zdenek Dvorak  <rakdver@atrey.karlin.mff.cuni.cz>
1148         Basic block renumbering removal:
1149         * basic_block.h (struct basic_block_def): Renamed index to sindex,
1150         added prev_bb and next_bb fields.
1151         (n_basic_blocks): Renamed to num_basic_blocks.
1152         (last_basic_block): New, index of last basic block.
1153         (FOR_BB_BETWEEN, FOR_ALL_BB, FOR_ALL_BB_REVERSE): New macros for
1154         traversing basic block chain.
1155         (BLOCK_NUM): index -> sindex.
1156         (create_basic_block_structure, create_basic_block): Declaration changed.
1157         (debug_num2bb): Declare.
1158         (expunge_block_nocompact): Declaration removed.
1159         (link_block, unlink_block, compact_blocks): Declare.
1160         * bb-reorder.c (make_reorder_chain, make_reorder_chain_1): Modified.
1161         * cfg.c (entry_exit_blocks): Initialize new fields.
1162         (clear_edges, alloc_block, expunge_block, cached_make_edge,
1163         redirect_edge_pred, dump_flow_info, dump_edge_info,
1164         alloc_aux_for_blocks, clear_aux_for_blocks, alloc_aux_for_edges,
1165         free_aux_for_edges): Modified.
1166         (link_block, unlink_block, compact_blocks, debug_num2bb): New.
1167         (expunge_block_nocompact): Removed.
1168         * cfganal.c (can_fallthru, mark_dfs_back_edges, flow_call_edges_add,
1169         find_unreachable_blocks, create_edge_list, print_edge_list,
1170         verify_edge_list, flow_edge_list_print, remove_fake_successors,
1171         remove_fake_edges, flow_reverse_top_sort_order_compute,
1172         flow_depth_first_order_compute, flow_preorder_transversal_compute,
1173         flow_dfs_compute_reverse_init, flow_dfs_compute_reverse_add_bb,
1174         flow_dfs_compute_reverse_execute): Modified.
1175         * cfgbuild.c (make_edges, make_eh_edge, find_basic_blocks_1,
1176         find_basic_blocks, find_many_sub_basic_blocks, find_sub_basic_blocks):
1177         Modified.
1178         * cfgcleanup.c (try_simplify_condjump, try_forward_edges,
1179         merge_blocks_move_predecessor_nojumps,
1180         merge_blocks_move_successor_nojumps, merge_blocks,
1181         outgoing_edges_match, try_crossjump_to_edge, try_crossjump_bb,
1182         try_optimize_cfg, delete_unreachable_blocks, cleanup_cfg): Modified.
1183         * cfglayout.c (skip_insns_after_block, label_for_bb,
1184         record_effective_endpoints, scope_to_insns_finalize,
1185         fixup_reorder_chain, verify_insn_chain, cleanup_unconditional_jumps,
1186         fixup_fallthru_exit_predecessor, cfg_layout_redirect_edge,
1187         cfg_layout_duplicate_bb): Modified.
1188         * cfgloop.c (flow_loops_cfg_dump, flow_loop_dump, flow_loops_dump,
1189         flow_loop_entry_edges_find, flow_loop_exit_edges_find,
1190         flow_loop_nodes_find, flow_loop_pre_header_find, flow_loop_scan,
1191         flow_loops_find, flow_loop_outside_edge_p): Modified.
1192         * cfgrtl.c (create_basic_block_structure, create_basic_block,
1193         flow_delete_block, compute_bb_for_insn, split_block,
1194         try_redirect_by_replacing_jump, redirect_edge_and_branch,
1195         force_nonfallthru_and_redirect, tidy_fallthru_edge,
1196         back_edge_of_syntactic_loop_p, split_edge, commit_one_edge_insertion,
1197         commit_edge_insertions, commit_edge_insertions_watch_calls,
1198         dump_bb, print_rtl_with_bb, verify_flow_info, purge_dead_edges,
1199         purge_all_dead_edges): Modified.
1200         * combine.c (combine_instructions, set_nonzero_bits_and_sign_copies,
1201         try_combine, nonzero_bits, num_sign_bit_copies, get_last_value_validate,
1202         get_last_value, reg_dead_at_p, distribute_notes, distribute_links):
1203         Modified.
1204         * conflict.c (conflict_graph_compute): Modified.
1205         * df.c (FOR_ALL_BBS): Removed.
1206         (df_bitmaps_alloc, df_bitmaps_free, df_alloc, df_analyse_1,
1207         df_modified_p, df_analyse, df_refs_unlink, df_insn_modify,
1208         df_dump, hybrid_search_bitmap, iterative_dataflow_sbitmap): Modified.
1209         * df.h (DF_BB_INFO, DF_REF_BBNO): Modified.
1210         * dominance.c (init_dom_info, calc_dfs_tree_nonrec, calc_dfs_tree,
1211         calc_idoms, idoms_to_doms, calculate_dominance_info): Modified.
1212         * final.c (compute_alignments, final_scan_insn): Modified.
1213         * flow.c (verify_local_live_at_start, update_life_info,
1214         update_life_info_in_dirty_blocks, free_basic_block_vars,
1215         delete_noop_moves, calculate_global_regs_live,
1216         initialize_uninitialized_subregs, allocate_bb_life_data,
1217         regno_uninitialized, regno_clobbered_at_setjmp, mark_set_1,
1218         mark_used_reg, count_or_remove_death_notes): Modified.
1219         * function.c (thread_prologue_and_epilogue_insns): Modified.
1220         * gcse.c (struct null_pointer_info): Change typo of current_block
1221         to basic_block.
1222         (gcse_main, alloc_gcse_mem, compute_local_properties, compute_sets,
1223         oprs_unchanged_p, load_killed_in_block_p, record_last_reg_set_info,
1224         compute_hash_table, alloc_rd_mem, handle_rd_kill_set, compute_kill_rd,
1225         alloc_avail_expr_mem, expr_killed_p, compute_ae_kill,
1226         expr_reaches_here_p_work, expr_reaches_here_p, handle_avail_expr,
1227         classic_gcse, one_classic_gcse_pass, compute_transp, cprop,
1228         one_cprop_pass, compute_pre_data, pre_expr_reaches_here_p_work,
1229         pre_expr_reaches_here_p, insert_insn_end_bb, pre_edge_insert,
1230         pre_delete, one_pre_gcse_pass, compute_transpout,
1231         invalidate_nonnull_info, delete_null_pointer_checks_1,
1232         free_code_hoist_mem, compute_code_hoist_vbeinout,
1233         hoist_expr_reaches_here_p, hoist_code, one_code_hoisting_pass,
1234         compute_ld_motion_mems, store_ops_ok, find_moveable_store,
1235         compute_store_table, build_store_vectors, insert_insn_start_bb,
1236         insert_store, replace_store_insn, free_store_memory, store_motion):
1237         Modified.
1238         * global.c (global_alloc, global_conflicts, mark_elimination,
1239         build_insn_chain): Modified.
1240         * graph.c (print_rtl_graph_with_bb): Modified.
1241         * haifa-sched.c (sched_init): Modified.
1242         * ifcvt.c (SET_ORIG_INDEX, ORIG_INDEX): Removed.
1243         (find_if_block, find_cond_trap, find_if_case_1, find_if_case_2,
1244         if_convert): Modified.
1245         * lcm.c (compute_antinout_edge, compute_earliest, compute_laterin,
1246         compute_insert_delete, pre_edge_lcm, compute_available,
1247         compute_farthest, compute_nearerout, compute_rev_insert_delete,
1248         pre_edge_rev_lcm, make_preds_opaque, optimize_mode_switching):
1249         Modified.
1250         * local-alloc.c (alloc_qty, local_alloc, update_equiv_regs): Modified.
1251         * loop.c (loop_dump_aux): Modified.
1252         * predict.c (combine_predictions_for_insn, estimate_probability,
1253         last_basic_block_p, process_note_prediction, process_note_predictions,
1254         note_prediction_to_br_prob, propagate_freq, counts_to_freqs,
1255         expensive_function_p, estimate_bb_frequencies,
1256         compute_function_frequency): Modified.
1257         * print-rtl.c (print_rtx): Modified.
1258         * profile.c (GCOV_INDEX_TO_BB, BB_TO_GCOV_INDEX, instrument_edges,
1259         get_exec_counts, compute_branch_probabilities, compute_checksum,
1260         branch_prob, find_spanning_tree): Modified.
1261         * recog.c (split_all_insns, peephole2_optimize): Modified.
1262         * reg-stack.c (reg_to_stack, convert_regs_entry, compensate_edge,
1263         convert_regs_1, convert_regs_2, convert_regs): Modified.
1264         * regclass.c (scan_one_insn, regclass): Modified.
1265         * regmove.c (mark_flags_life_zones, regmove_optimize,
1266         combine_stack_adjustments): Modified.
1267         * regrename.c (regrename_optimize, copyprop_hardreg_forward): Modified.
1268         * reload1.c (reload, reload_combine, copy_eh_notes): Modified.
1269         * reorg.c (dbr_schedule): Modified.
1270         * resource.c (find_basic_block, init_resource_info): Modified.
1271         * sbitmap.c (sbitmap_intersection_of_succs,
1272         sbitmap_intersection_of_preds, sbitmap_union_of_succs,
1273         sbitmap_union_of_preds): Modified.
1274         * sched-deps.c (init_dependency_caches): Modified.
1275         * sched-ebb.c (schedule_ebbs): Modified.
1276         * sched-rgn.c (is_cfg_nonregular, build_control_flow, debug_regions,
1277         find_rgns, compute_trg_info, init_regions, schedule_insns): Modified.
1278         * sibcall.c (optimize_sibling_and_tail_recursive_call): Modified.
1279         * ssa-ccp.c (examine_flow_edges, optimize_unexecutable_edges,
1280         ssa_ccp_substitute_constants, ssa_ccp_df_delete_unreachable_insns,
1281         ssa_const_prop): Modified.
1282         * ssa-dce.c (set_control_dependent_block_to_edge_map_,
1283         find_control_dependence, find_pdom, ssa_eliminate_dead_code): Modified.
1284         * ssa.c (remove_phi_alternative, find_evaluations,
1285         compute_dominance_frontiers_1, compute_iterated_dominance_frontiers,
1286         insert_phi_node, rename_block, convert_to_ssa, eliminate_phi,
1287         make_regs_equivalent_over_bad_edges,
1288         make_equivalent_phi_alternatives_equival,
1289         compute_conservative_reg_partition,
1290         coalesce_regs_in_successor_phi_nodes, compute_coalesced_reg_partition,
1291         rename_equivalent_regs, convert_from_ssa, for_each_successor_phi):
1292         Modified.
1294 2002-05-16  Mark Mitchell  <mark@codesourcery.com>
1296         * cfgrtl.c (purge_dead_edges): Correct handling of EDGE_EH.
1298 2002-05-16  Nick Clifton  <nickc@cambridge.redhat.com>
1300         * config/arm/arm.c (arm_rtx_costs): Check for RTX being a
1301         SYMBOL_REF before calling CONSTANT_POOL_ADDRESS_P.
1302         (arm_adjust_cost): Check for RTX being a SYMBOL_REF before
1303         calling CONSTANT_POOL_ADDRESS_P.
1304         * config/arm/arm.h (TARGET_CPU_CPP_BUILTINS): Fix typo in code
1305         to decide whether to define __arm__ or __thumb.
1306         (THUMB_GO_IF_LEGITIMATE_ADDRESS): Check for RTX being a
1307         SYMBOL_REF before calling CONSTANT_POOL_ADDRESS_P.
1309 2002-05-16  Neil Booth  <neil@daikokuya.demon.co.uk>
1311         * config/arc/arc.h (CPP_PREDEFINES): Remove.
1312         (CPP_SPEC): Update.
1313         (TARGET_CPU_CPP_BUILTINS): New.
1315 2002-05-16  Neil Booth  <neil@daikokuya.demon.co.uk>
1317         * cpphash.h (cpp_macro): Move here, and make expansion a union.
1318         * cppmacro.c (cpp_macro): Remove.
1319         (enter_macro_context, replace_args, warn_of_redefinition,
1320         _cpp_create_definition, cpp_macro_definition): Update.
1322 2002-05-16  Jason Merrill  <jason@redhat.com>
1324         * config/mips/mips.c (mips_output_external): Don't do sdata
1325         optimization for a variable with DECL_COMDAT set.
1327 2002-05-15  Aldy Hernandez  <aldyh@redhat.com>
1329         * config/rs6000/altivec.h: Cleanups for tighter typechecking.
1330         Cleanups for accepting modifiers on pointers.
1331         Fix predicate typos.
1332         Allow long pointers as well as int pointers.
1334 2002-05-15  Richard Henderson  <rth@redhat.com>
1336         * varasm.c (merge_weak): Remove special case for extern and common.
1338 2002-05-15  Matt Hiller  <hiller@redhat.com>
1340         * testsuite/gcc.c-torture/compile/20000804-1.x: Don't return 1 if
1341         XFAILing.
1342         * testsuite/gcc.c-torture/compile/20001226-1.x: Ditto.
1343         * testsuite/gcc.c-torture/compile/920520-1.x: Ditto.
1344         * testsuite/gcc.c-torture/compile/mipscop-1.x: XFAIL for now.
1345         * testsuite/gcc.c-torture/compile/mipscop-2.x: Ditto.
1346         * testsuite/gcc.c-torture/compile/mipscop-3.x: Ditto.
1347         * testsuite/gcc.c-torture/compile/mipscop-4.x: Ditto.
1349 2002-05-15  Aldy Hernandez  <aldyh@redhat.com>
1351         * reload1.c (forget_old_reloads_1): Do not use subreg offset.
1353 2002-05-15  Aldy Hernandez  <aldyh@redhat.com>
1355         * config/rs6000/rs6000.md ("altivec_mtvscr"): Set VSCR register.
1356         ("altivec_mfvscr"): Read from VSCR.
1358         Add vscr sets for the following insns: altivec_vctuxs,
1359         altivec_vaddubs, altivec_vaddsbs, altivec_vadduhs,
1360         altivec_vaddshs, altivec_vadduws, altivec_vaddsws, altivec_vctsxs,
1361         altivec_vmhaddshs, altivec_vmhraddshs, altivec_vmsumuhs,
1362         altivec_vmsumshs, altivec_vpkuhss, altivec_vpkshss,
1363         altivec_vpkuwss, altivec_vpkswss, altivec_vpkuhus,
1364         altivec_vpkshus, altivec_vpkuwus, altivec_vpkswus,
1365         altivec_vsububs, altivec_vsubsbs, altivec_vsubuhs,
1366         altivec_vsubshs, altivec_vsubuws, altivec_vsubsws,
1367         altivec_vsum4ubs, altivec_vsum4sbs, altivec_vsum4shs,
1368         altivec_vsum2sws, altivec_vsumsws.
1370         * config/rs6000/rs6000.h: Add VSCR fixed register.
1371         (CALL_REALLY_USED_REGISTERS): Add vscr.
1372         (CALL_USED_REGISTERS): Same.
1373         (FIXED_REGISTERS): Same.
1374         (REG_ALLOC_ORDER): Same.
1375         (reg_class): Add VSCR_REGS.
1376         (REG_CLASS_NAMES): Same.
1377         (REG_CLASS_CONTENTS): Same.
1378         (VSCR_REGNO): New.
1379         (REGISTER_NAMES): Add vscr.
1380         (DEBUG_REGISTER_NAMES): Same.
1381         (ADDITIONAL_REGISTER_NAMES): Same.
1382         (FIRST_PSEUDO_REGISTER): Increment.
1383         (CONDITIONAL_REGISTER_USAGE): Set VSCR as a global register.
1385 2002-05-15  Jakub Jelinek  <jakub@redhat.com>
1387         * fold-const.c (fold): Fix a typo.
1389 2002-05-15  Eric Botcazou  <ebotcazou@multimania.com>
1391         * fold-const.c (fold) [LT_EXPR]: Move the transformation of a
1392         comparison against the highest or lowest integer value before
1393         the 'X >= CST to X > (CST - 1)' and 'X < CST to X <= (CST - 1)'
1394         transformation and that of an unsigned comparison against 0
1395         right after.
1397 2002-05-15  Richard Henderson  <rth@redhat.com>
1399         * varasm.c (merge_weak): Error for any weakening after definition.
1400         Adjust weakening after use warning to catch more cases.
1401         (assemble_alias): Set TREE_USED and TREE_ASM_WRITTEN consistently.
1402         * config/alpha/alpha.c (alpha_encode_section_info): Do not abort.
1404 Wed May 15 10:38:27 CEST 2002  Jan Hubicka  <jh@suse.cz>
1406         * invoke.texi (-malign-double): Re-add lost warning.
1408         * i386-protos.h (x86_output_mi_thunk): Declare.
1409         * unix.h (ASM_OUTPUT_MI_THUNK): Move offline to ...
1410         * i386.c (x86_output_mi_thunk): ... here; handle 64bits.
1412         * dwarf2out.c (output_call_frame_info): Do not skip unwind info
1413         when flag_asynchronous_unwind_tables is set.
1415         * flags.h (flag_reorder_functions): Declare.
1416         * function.c (prepare_function_start): Initialize frequnecy.
1417         * params.def (HOT_BB_COUNT_FRACTION, HOT_BB_FREQUENCY_FRACTION): New.
1418         * Makefile.in (predict.o): Add dependency on target.h and params.h
1419         * defaults.h (HOT_TEXT_SECTION_NAME,
1420         UNLIKELY_EXECUTED_TEXT_SECTION_NAME): New macros.
1421         * predict.c (choose_function_section): New function.
1422         (estimate_bb_frequencies): Use it.
1423         * toplev.c (flag_reorder_functions): New global variable.
1424         (lang_independent_options): New.
1425         (parse_options_and_default_flags): Set.
1426         * varasm.c (assemble_start_function): Bypass functdion alignment
1427         for never executed functions.
1428         * invoke.texi (-freorder-blocks, -freorder-functions): Document.
1429         (param hot-bb-count-fraction, hot-bb-frequency-fraction): New.
1430         * tm.texi (HOT_TEXT_SECTION_NAME, UNLIKELY_EXECUTED_TEXT_SECTION_NAME):
1431         Document.
1433         Thu Jan  3 21:52:09 CET 2002  Jan Hubicka  <jh@suse.cz>
1435         * predict.c: Inlude profile.h
1436         (MIN_COUNT): Rename to MIN_COUNT_FRACTION
1437         (maybe_hot_bb_p, probably_cold_bb_p, probably_never_executed_bb_p):
1438         Use the information about maximal counter in the program.
1440         Thu Dec 20 22:14:00 CET 2001  Jan Hubicka  <jh@suse.cz>
1442         * basic-block.h (maybe_hot_bb_p, probably_cold_bb_p,
1443         probably_never_executed_bb_p): New functions.
1444         * cfgcleanup.c (outgoing_edges_match): Use them.
1445         * predict.c (MIN_COUNT, MIN_FREQUENCY): New macros.
1446         (maybe_hot_bb_p, probably_cold_bb_p,
1447         probably_never_executed_bb_p): New functions.
1449         * function.h (function): Add new field function_frequency.
1450         * predict.c (compute_function_frequency): New function.
1451         (estimate_probability): Call it.
1453 2002-03-09  Jakub Jelinek  <jakub@redhat.com>
1455         PR optimization/5172, optimization/5200
1456         * gcse.c (gcse_main): Disable store_motion.
1458 2002-05-14  Zack Weinberg  <zack@codesourcery.com>
1460         * c-parse.in (MODIFIED_WCHAR_TYPE): New macro.
1461         (c_common_nodes_and_builtins): Use it.
1462         (builtin_define_with_value): New function.
1463         (cb_register_builtins): Define __SIZE_TYPE__,
1464         __PTRDIFF_TYPE__, __WCHAR_TYPE__, and __WINT_TYPE__ here,
1465         using builtin_define_with_value.  Use consistent notation when
1466         defining __GXX_WEAK__.
1467         (WCHAR_TYPE_SIZE): Don't redefine.
1468         (combine_strings): Don't use WCHAR_TYPE_SIZE.
1470         * cppdefault.h: Don't provide defaults for SIZE_TYPE,
1471         PTRDIFF_TYPE, WCHAR_TYPE, or WINT_TYPE.
1472         * cppinit.c (builtin_array): Remove entries for __SIZE_TYPE__ etc.
1473         * tradcpp.c (initialize_builtins): Likewise.
1474         * gcc.c (cpp_unique_options): Don't muck with __WCHAR_TYPE__.
1476         * c-lex.h (builtin_define_with_value): Prototype.
1477         * system.h: Poison NO_BUILTIN_SIZE_TYPE, NO_BUILTIN_WCHAR_TYPE,
1478         NO_BUILTIN_PTRDIFF_TYPE, and NO_BUILTIN_WINT_TYPE.
1479         * doc/tm.texi: Remove mention of NO_BUILTIN_SIZE_TYPE etc.
1481         * config/avr/avr.h, config/h8300/h8300.h, config/i386/i386.h,
1482         config/ia64/ia64.h, config/mips/dec-osf1.h, config/mips/iris6.h,
1483         config/mips/linux.h, config/mips/mips.h, config/mips/netbsd.h,
1484         config/mips/osfrose.h, config/mips/sni-svr4.h, config/rs6000/aix51.h,
1485         config/s390/linux.h, config/sh/sh.h, config/sh/sh64.h,
1486         config/sparc/linux64.h, config/sparc/netbsd-elf.h,
1487         config/sparc/sol2-bi.h, config/sparc/sparc.h:
1488         Do not define NO_BUILTIN_SIZE_TYPE etc.  Remove all references
1489         to __SIZE_TYPE__ etc from all spec strings. When this makes
1490         extra specs empty, delete them.
1492 2002-05-14  John David Anglin  <dave@hiauly1.hia.nrc.ca>
1494         * pa.c (override_options): Override TARGET_JUMP_IN_DELAY when scheduling
1495         for PA8000 or generating dwarf2 call frame information.
1496         (output_call): Remove DO_FRAME_NOTES check from return pointer
1497         optimization.
1498         (following_call): Return 0 when scheduling for PA8000 or generating
1499         dwarf2 call frame information.  Revise comment.
1501 2002-05-14  Neil Booth  <neil@daikokuya.demon.co.uk>
1503 config/alpha:
1504         * alpha.h (TARGET_CPU_CPP_BUILTINS): Define __IEEE_FP
1505         and __IEEE_FP_INEXACT as appropriate.
1506         (CPLUSPLUS_CPP_SPEC): Don't define __cplusplus.
1507         (CPP_SPEC): Remove ieee defines.
1508         * freebsd.h, netbsd.h: Remove ieee defines and cpp_cpu.
1510 2002-05-14  Richard Henderson  <rth@redhat.com>
1512         * config/i386/i386.c (ix86_save_reg): Make regno unsigned.
1513         (ix86_safe_length, ix86_safe_length_prefix, ix86_safe_memory): Kill.
1515 2002-05-14  Neil Booth  <neil@daikokuya.demon.co.uk>
1517         * arm/arm.h (TARGET_CPU_CPP_BUILTINS): Define.
1518         (CPP_SPEC): Update.
1519         (CPP_APCS_PC_SPEC, CPP_APCS_PC_DEFAULT_SPEC,
1520         CPP_FLOAT_SPEC, CPP_FLOAT_DEFAULT_SPEC, CPP_ENDIAN_SPEC,
1521         CPP_ENDIAN_DEFAULT_SPEC, CPP_INTERWORK_DEFAULT_SPEC,
1522         CPP_INTERWORK_SPEC, CPP_PREDEFINES): Remove.
1523         (EXTRA_SPECS): Update.
1524         * arm/conix-elf.h, arm/linux-elf.h, arm/netbsd.h, arm/riscix.h,
1525         arm/riscix1-1.h, arm/rtems-elf.h, arm/semiaof.h, arm/unknown-elf.h,
1526         arm/unknown-elf-oabi.h, arm/vxarm.h: Remove CPP_PREDEFINES and
1527         define TARGET_OS_CPP_BUILTINS if necessary.
1529 2002-05-14  Neil Booth  <neil@daikokuya.demon.co.uk>
1531         * gcc.c (cpp_options): Must pass -m* and -f* options
1532         to the front end even when only preprocessing.
1533         (cc1_options): Remove redundant -lang-c.
1534         * tradcpp.c (main): Ignore -m options.
1535 objc:
1536         * lang-specs.h: Similarly.
1538 2002-05-14  Vladimir Makarov  <vmakarov@redhat.com>
1540         * genautomata.c (transform_3): Add code for transformation
1541         `(A,B,...)+C -> A+C,B,...'.
1543 Tue May 14 12:48:22 CEST 2002  Jan Hubicka  <jh@suse.cz>
1545         * final.c (end_final): Do not output profile_arcs constructor, when
1546         no functions are instrumented.
1548 Tue May 14 12:38:30 CEST 2002  Jan Hubicka  <jh@suse.cz>
1550         * i386.md (testsi to testqi_zext_1 splitter): Fix typo.
1552 2002-05-14  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
1554         * doc/install.texi: Remove special markup originally required for
1555         HTML generation with texi2html.
1557 2002-05-14  Andreas Schwab  <schwab@suse.de>
1559         * config/ia64/sysv4.h (DO_SELECT_SECTION): Factored out of
1560         SELECT_SECTION.
1561         (UNIQUE_SECTION): Define to get small data correctly.
1563         * varasm.c (resolve_unique_section): Add third parameter
1564         flag_function_or_data_sections and use it instead of
1565         flag_function_sections.
1566         (assemble_start_function): Pass flag_function_sections.
1567         (asm_emit_uninitialised): Pass flag_data_sections.
1568         (assemble_variable): Likewise.
1570 2002-05-14  Richard Henderson  <rth@redhat.com>
1572         * config/i386/i386.md: Use define_constants for unspec numbers.
1573         * config/i386/i386.c: Likewise.
1575 2002-05-13  Neil Booth  <neil@daikokuya.demon.co.uk>
1577         * doc/contrib.texi: Update my entry.
1579 2002-05-13  Mark Mitchell  <mark@codesourcery.com>
1581         * fixinc/inclhack.def (winidss_valist): Limit applicability.
1582         * fixinc/fixincl.x: Regenerated.
1583         * fixinc/tests/base/math.h: Update.
1584         * fixinc/tests/base/testing.h: Likewise.
1586 2002-05-13  Zack Weinberg  <zack@codesourcery.com>
1588         * genattr.c (gen_attr): Don't emit a comma after the last
1589         enumerator.
1591 2002-05-13  Richard Henderson  <rth@redhat.com>
1593         * cfgrtl.c (purge_dead_edges): Handle abnormal call edges created
1594         by non-local gotos.
1595         * recog.c (peephole2_optimize): Likewise.
1597 2002-05-13  Andris Pavenis  <pavenis@lanet.lv>
1599         * cppfiles.c (open_file): Change mode (DJGPP only) of redirected
1600         input to O_BINARY.
1602 2002-05-13  Jeffrey A Law  (law@redhat.com)
1604         * flow.c (invalidate_mems_from_autoinc): Rewrite to use for_each_rtx.
1605         Update prototype and callers.
1606         (propagate_one_insn): Stack pointer adjustments kill MEMs on
1607         the mem_set_list which reference the stack pointer, as do
1608         calls to constant functions as they may clobber outgoing
1609         argument space.
1611         * i386.c (ia32_multipass_dfa_lookahead): Prototype.
1613         * i386.c (TARGET_SCHED_FIRST_CYCLE_MULTIPASS_DFA_LOOKAHEAD): Define.
1614         (ia32_multipass_dfa_lookahead): New function.
1616 2002-05-13  Neil Booth  <neil@daikokuya.demon.co.uk>
1618         * gcc.c (SWITCH_TAKES_ARG): Remove 'V'.
1619         (translate_options): Remove 'V'.
1620         (process_command): Similarly.
1621 doc:
1622         * invoke.texi: Remove documentation of 'V'.
1624 2002-05-13  Ulrich Weigand  <uweigand@de.ibm.com>
1626         * config/s390/linux.h: Revert 2002-04-22 changes.
1628 2002-05-13  Scott Marks <SMarks@mobile-mind.com>
1630         * config/fr30/fr30.md: Only allow splits of immediate loads
1631         if the destination is a register.
1633 2002-05-13  Neil Booth  <neil@daikokuya.demon.co.uk>
1635         * Makefile.in (c-common.o, cppinit.o): Update.
1636         * c-common.c: Include except.h.
1637         (cb_register_builtins): Handle __USING_SJLJ_EXCEPTIONS__.
1638         Call TARGET_CPU_CPP_BUILTINS and TARGET_OS_CPP_BUILTINS.
1639         * cppinit.c (__USING_SJLJ_EXCEPTIONS): Not here.
1640         * defaults.h (TARGET_OS_CPP_BUILTINS, TARGET_CPU_CPP_BUILTINS,
1641         CPP_PREDEFINES): Handle here.
1642 config:
1643         * alpha/alpha-interix.h, alpha/gnu.h, alpha/linux.h,
1644         alpha/netbsd.h, alpha/openbsd.h, alpha/osf.h, alpha/unicosmk.h,
1645         alpha/vms.h, alpha/vxworks.h: Remove CPP_PREDEFINES, define
1646         TARGET_OS_CPP_BUILTINS.
1647         * alpha/alpha.h (TARGET_CPU_CPP_BUILTINS): Define.
1648         (CPP_SPEC, EXTRA_SPECS): Update.
1649         (CPP_AM_BWX_SPEC, CPP_AM_MAX_SPEC, CPP_AM_FIX_SPEC,
1650         CPP_AM_CIX_SPEC, CPP_IM_EV4_SPEC, CPP_IM_EV5_SPEC,
1651         CPP_IM_EV6_SPEC, CPP_CPU_EV4_SPEC, CPP_CPU_EV5_SPEC,
1652         CPP_CPU_EV56_SPEC, CPP_CPU_PCA56_SPEC, CPP_CPU_EV6_SPEC,
1653         CPP_CPU_EV67_SPEC, CPP_CPU_DEFAULT_SPEC, CPP_CPU_SPEC): Remove.
1654 doc:
1655         * tm.texi (TARGET_REGISTER_CPP_BUILTINS): Remove.
1656         (TARGET_OS_CPP_BUILTINS, TARGET_CPU_CPP_BUILTINS): Define.
1658 2002-05-12  Zack Weinberg  <zack@codesourcery.com>
1660         * emit-rtl.c (global_rtl): Update comment.
1661         (const_double_htab, const_double_htab_hash,
1662         const_double_htab_hash, lookup_const_double): New.
1663         (const_int_htab_hash, const_int_htab_eq): Remove const
1664         qualifiers, which cause tons of warnings with RTL checking on.
1665         (gen_rtx_CONST_DOUBLE): Deleted.
1666         (const_double_from_real_value): New function - bears some
1667         resemblance to the former immed_real_const_1.
1668         (immed_double_const): Moved here from varasm.c and
1669         simplified.
1670         (gen_rtx_REG): Make REGNO unsigned to squelch warnings.
1671         (gen_rtx_SUBREG): Use gen_rtx_raw_SUBREG.
1672         (gen_rtx): Use immed_double_const.
1673         (init_emit_once): Initialize the const_double_htab.  Use
1674         REAL_VALUE_FROM_INT where possible.  Can now use
1675         CONST_DOUBLE_FROM_REAL_VALUE when setting up const_tiny_rtx.
1676         * varasm.c (struct varasm_status): Remove x_const_double_chain.
1677         (const_double_chain, immed_real_const, clear_const_double_mem): Delete.
1678         (immed_double_const, immed_real_const_1): Moved to emit-rtl.c.
1679         (init_varasm_status, mark_varasm_status): Don't touch
1680         x_const_double_chain.
1682         * output.h: Delete prototype for clear_const_double_mem.
1683         * real.h: Make REAL_VALUE_TYPE a macro again.  Remove leading
1684         '0' slot from all CONST_DOUBLE_FORMAT definitions.  Prototype
1685         const_double_from_real_value, not immed_real_const_1, and use
1686         it to define CONST_DOUBLE_FROM_REAL_VALUE.  Define new macro
1687         CONST_DOUBLE_ATOF.
1688         * rtl.h (CONST_DOUBLE_CHAIN): Kill.
1689         (CONST_DOUBLE_LOW, CONST_DOUBLE_HIGH): Adjust.
1690         (gen_rtx_CONST_DOUBLE, immed_real_const): Delete prototypes.
1691         (gen_rtx_REG): Second arg is unsigned.
1693         * gengenrtl.c (special_rtx): Take out CONST_DOUBLE.
1694         (excluded_rtx): New, return true for CONST_DOUBLE.
1695         (genmacro): Write nothing for excluded codes.
1696         * combine.c (combine_simplify_rtx): Use CONST_DOUBLE_FROM_REAL_VALUE.
1697         * expr.c (expand_expr): Likewise.
1698         * ggc-common.c (ggc_mark_rtx_children_1): Don't mark the
1699         CONST_DOUBLE_CHAIN.
1700         * toplev.c (rest_of_compilation): Don't call
1701         clear_const_double_mem.
1703         * config/rs6000/rs6000.c (rs6000_float_const): Delete.
1704         (rs6000_hash_constant): Remove CONST_DOUBLE special case.
1705         (toc_hash_eq): Remove CONST_DOUBLE and LABEL_REF special cases.
1706         * config/rs6000/rs6000-protos.h: Don't prototype rs6000_float_const.
1707         * config/c4x/c4x.md, config/rs6000/rs6000.md: Use CONST_DOUBLE_ATOF.
1708         * config/dsp16xx/dsp16xx.md, config/mips/mips.md,
1709         config/pa/pa.md: Use CONST_DOUBLE_FROM_REAL_VALUE.
1710         * config/sparc/sparc.md, config/sparc/sparc.c: Use immed_double_const.
1712 2002-05-12  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1714         * mips/iris6.h (CPLUSPLUS_CPP_SPEC): Define.
1716 2002-05-12  Tom Tromey  <tromey@redhat.com>
1718         * tree.h (copy_node): Don't mention TREE_PERMANENT.
1720 2002-05-12  Zack Weinberg  <zack@codesourcery.com>
1722         * gensupport.c (n_comma_elts): Moved here from genattrtab.c.
1723         (scan_comma_elt): New function.  Accepts whitespace in comma lists.
1724         * gensupport.h: Prototype new routines.
1725         * genattr.c (gen_attr): Use scan_comma_elt.  Avoid unnecessary
1726         use of printf.
1727         * genattrtab.c (n_comma_elts): Moved to gensupport.c.
1728         (next_comma_elt): Use scan_comma_elt.
1730         * config/i386/i386.md: Use new attribute notation to break up
1731         long lines in define_attr forms.
1733 2002-05-12  Richard Henderson  <rth@redhat.com>
1735         * expr.c (compress_float_constant): New.
1736         (emit_move_insn): Use it.
1737         (float_extend_from_mem): New.
1738         (init_expr_once): Initialize it.
1739         * real.c (exact_real_truncate): New.
1741         * config/i386/i386.h (CONST_COSTS): Assume CONST_DOUBLE gets
1742         dropped into memory; penalize for size.
1743         (RTX_COSTS): FLOAT_EXTEND is free.
1744         * config/i386/i386.md (extendsfdf2, extendsfxf2, extendsftf2,
1745         extenddfxf2, extenddftf2): Accept constants and drop them to memory.
1747 2002-05-12  Richard Henderson  <rth@redhat.com>
1749         * profile.h (profile_info): Add missing extern to declaration.
1750         * profile.c (profile_info): Define it.
1752 2002-05-11  John David Anglin  <dave@hiauly1.hia.nrc.ca>
1754         * pa/pa32-regs.h (HARD_REGNO_MODE_OK): Revise sets of general registers
1755         used for DImode and TImode.
1757 2002-05-11  Neil Booth  <neil@daikokuya.demon.co.uk>
1759         * cpplex.c (_cpp_lex_direct): When in a directive at EOF
1760         fake a newline.
1762 2002-05-11  Zack Weinberg  <zack@codesourcery.com>
1764         * config/rs6000/rs6000.c (rs6000_default_long_calls,
1765         rs6000_longcall_switch, rs6000_set_default_type_attributes): New.
1766         (TARGET_SET_DEFAULT_TYPE_ATTRIBUTES): Set it.
1767         (rs6000_override_options): Handle -m(no-)longcall.
1768         (init_cumulative_args, output_mi_thunk): Check for both
1769         longcall and shortcall attributes on the function.
1770         (rs6000_attribute_table): Add "shortcall".
1771         (rs6000_handle_longcall_attribute): Update comment.
1772         (altivec_expand_unop_builtin, altivec_expand_binop_builtin,
1773         altivec_expand_ternop_builtin): Add default clauses to switches
1774         to silence warnings.
1776         * config/rs6000/rs6000.h: Declare rs6000_longcall_switch and
1777         rs6000_default_long_calls.  Define REGISTER_TARGET_PRAGMAS.
1778         (TARGET_OPTIONS): Add longcall and no-longcall.
1780         * config/rs6000/rs6000.md (call_nonlocal_sysv,
1781         call_value_nonlocal_sysv): Split by alternatives.  One pair
1782         accepts only SYMBOL_REFs and rejects if CALL_LONG is set in
1783         the call cookie.  The other pair accepts only LR/CTR and has
1784         no restriction.
1786         * config.gcc (rs6000-*-* | powerpc*-*-* trailer stanza):
1787         Set c_target_objs, cxx_target_objs; add t-rs6000-c-rule to
1788         tmake_file.
1789         * config/rs6000/rs6000-c.c: New file.
1790         * config/rs6000/t-rs6000-c-rule: New file.
1791         * config/rs6000/rs6000-protos.c: Add multiple-include guard.
1792         Prototype rs6000_pragma_longcall.
1794         * doc/extend.texi: Document shortcall attribute.
1795         * doc/invoke.texi: Document -mlongcall, -mno-longcall.
1797 2002-05-11  John David Anglin  <dave@hiauly1.hia.nrc.ca>
1799         * reorg.c (dbr_schedule): Remove unnecessary test.
1801 Sat May 11 14:34:35 CEST 2002  Jan Hubicka  <jh@suse.cz>
1803         * i386.md (testsi to testqi spliters): New.
1805         2002-01-14  Josef Zlomek  <zlomek@matfyz.cz>
1807         cfg.c (dump_edge_info): added dumping of EDGE_CAN_FALLTHRU.
1809         Wed Jan  9 2002  Josef Zlomek  <zlomj9am@artax.karlin.mff.cuni.cz>
1811         * basic-block.h: New flag EDGE_CAN_FALLTHRU
1812         * cfganal.c (set_edge_can_fallthru_flag): New function; marks the edges
1813         that can be made fallthru.
1815         Mon Nov 12 16:25:53 CET 2001  Jan Hubicka  <jh@suse.cz>
1817         * cfglayout.c (cleanup_unconditional_jumps): New static function.
1818         (cfg_layout_initialize): Use it.
1820 2002-05-11  Marek Michalkiewicz  <marekm@amelek.gda.pl>
1822         * config/avr/avr.c (avr_mcu_types): Update supported devices.
1823         * config/avr/avr.h (CPP_SPEC, LINK_SPEC, CRT_BINUTILS_SPECS): Likewise.
1824         * config/avr/t-avr (MULTILIB_MATCHES): Likewise.
1826 2002-05-11  Kazu Hirata  <kazu@cs.umass.edu>
1828         * dbxout.c: Fix formatting.
1829         * dependence.c: Likewise.
1830         * df.c: Likewise.
1831         * diagnostic.c: Likewise.
1832         * doloop.c: Likewise.
1833         * dominance.c: Likewise.
1834         * doschk.c: Likewise.
1835         * dwarf2asm.c: Likewise.
1836         * dwarf2out.c: Likewise.
1837         * dwarfout.c: Likewise.
1839 2002-05-10  Richard Henderson  <rth@redhat.com>
1841         * final.c (end_final): Tidy whitespace.  Don't honor flag_pack_struct.
1842         Convert integers constants as needed.  Replace "nwords" field with
1843         "sizeof_bb".
1844         (final): Save profile data if cfun->arc_profile, not profile_arc_flag.
1845         * function.h: Fix typo in comment.
1846         * libgcc2.c (struct bb): Replace "nwords" with "sizeof_bb".
1848 2002-05-10  Roger Sayle  <roger@eyesopen.com>
1850         * fold-const.c (build_range_check): Optimize (c>=1) && (c<=127)
1851         into the equivalent (signed char)c > 0.
1853 2002-05-10  Janis Johnson  <janis187@us.ibm.com>
1855         * loop.c: (PREFETCH_EXTREME_DIFFERENCE, PREFETCH_BEFORE_LOOP): New.
1856         (PREFETCH_CONDITIONAL): Renamed from PREFETCH_NOT_ALWAYS.
1857         (struct prefetch_info): Fix spelling of member bytes_accessed.
1858         (emit_prefetch_instructions): Make dump messages more regular;
1859         restructure code to add more dump messages; use new macros for
1860         heuristics. (There are no code generation changes in any of this).
1862 2002-05-10  David S. Miller  <davem@redhat.com>
1864         * rtl.h (INSN_ANNULLED_BRANCH_P): Accept INSN too, update comment.
1865         (struct rtx_def): Update unchanging flag comment.
1866         * doc/rtl.texi (INSN_ANNULLED_BRANCH_P): Update description.
1867         * reorg.c (delete_from_delay_list): INSN_ANNULLED_BRANCH_P needs
1868         to be handled to INSN too.
1869         (dbr_schedule): Likewise.
1870         * resource.c (next_insn_no_annul): Likewise.
1872         * cse.c (rtx_cost): Remove multiplication by power of 2 special
1873         casing.
1875 2002-05-14  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
1877         * doc/install.texi (Specific, *-*-solaris2*): Update passus on
1878         setting CONFIG_SHELL to /bin/ksh and remove alternate trick to
1879         (possibly) work around broken /bin/sh.
1881 2002-05-10  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
1883         * config/mips/t-iris6 (SHLIB_SLIBDIR_SUFFIXES): Use mabi=64 and
1884         . as N64/N32 libgcc_s.so subdirs.
1886 2002-05-10  David S. Miller  <davem@redhat.com>
1888         * config/sparc/sparc.md: Use define_constants for unspec numbers.
1890         * rtl.h (struct rtx_def): Document unchanging and in_struct flags
1891         more accurately.
1892         (INSN_ANNULLED_BRANCH_P): Only valid for JUMP_INSN and CALL_INSN, fix
1893         comment.
1894         (INSN_FROM_TARGET_P): Valid also for CALL_INSN.
1895         * doc/rtl.texi: Document these macros more accurately.
1896         * recog.c (whole file): Only mess with INSN_ANNULLED_BRANCH_P for
1897         JUMP_INSNs and CALL_INSNs.
1898         * resource.c (whole file): Only mess with INSN_ANNULLED_BRANCH_P
1899         or INSN_FROM_TARGET_P if the code is appropriate.
1901 2002-05-10  Marek Michalkiewicz  <marekm@amelek.gda.pl>
1903         * config/avr/avr.c (print_operand): Check that addr is a SYMBOL_REF
1904         before using SYMBOL_REF_FLAG (addr).
1906         * config/avr/avr-protos.h (avr_io_address_p): Declare.
1907         * config/avr/avr.c (io_address_p): Rename to avr_io_address_p.
1908         Make non-static.  Update all callers.
1909         * config/avr/avr.md (*cbi, *sbi, *sbix_branch, *sbix_branch_bit7):
1910         New insns to clear/set/test a single bit in I/O address space.
1912 2002-05-09  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1914         * rtl.h (ENABLE_RTL_FLAG_CHECKING): Also check for gcc >= 2.7.
1916 2002-05-09  Neil Booth  <neil@daikokuya.demon.co.uk>
1918         * Makefile.in: Update.
1919         * c-common.c (flag_iso, flag_undef, cb_register_builtins,
1920         builtin_define_std): New.
1921         (c_common_init): Register CPP builtins callback.
1922         * c-common.h (flag_iso, flag_undef): New.
1923         * c-decl.c (c_decode_option): Set flag_iso and flag_undef.
1924         * c-lex.c: Don't include target.h.
1925         (cb_register_builtins): Move to c-common.c.
1926         (init_c_lex): Don't register hook here.
1927         * c-lex.h (builtin_define, builtin_assert, builtin_define_std): New.
1928         (cpp_define, cpp_assert): Remove.
1929         * gcc.c (cc1_options): Pass -undef to front end.
1930         * target-def.h (TARGET_REGISTER_CPP_BUILTINS): Remove.
1931         (TARGET_INITIALIZER): Update.
1932         * target.h (struct cpp_reader): Don't predeclare.
1933         (struct gcc_target): Remove cpp builtin hook.
1934         * tree.c (default_register_cpp_builtins): Remove.
1935 doc:
1936         * tm.texi: Update.
1938 2002-05-09  Neil Booth  <neil@daikokuya.demon.co.uk>
1940         * cppexp.c (_cpp_expand_op_stack): Set op_limit.
1942 2002-05-09  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
1944         * config/mips/t-iris6 (SHLIB_SLIBDIR_SUFFIXES): Define.
1945         (SHLIB_LINK, SHLIB_INSTALL): Adjust.
1947 2002-05-09  Jakub Jelinek  <jakub@redhat.com>
1949         * config/sparc/t-linux64 (SHLIB_MAPFILES): Set.
1950         * config/sparc/libgcc-sparc-glibc.ver: New file.
1951         * config/cris/t-linux (SHLIB_MAPFILES): Remove.
1952         * mklibgcc.in: Preprocess SHLIB_MAPFILES with ml flags.
1954 2002-05-09  Jakub Jelinek  <jakub@redhat.com>
1956         PR target/6429
1957         * Makefile.in (libgcc.mk): Pass SHLIB_SLIBDIR_SUFFIXES to mklibgcc.
1958         * mklibgcc.in: If SHLIB_SLIBDIR_SUFFIXES is defined, put libgcc_s
1959         shared libraries into multilib dirs, with SONAME libgcc_s.so.1 for
1960         base multilibs.
1961         * config/t-slibgcc-elf-ver (SHLIB_LINK): Adjust for the above.
1962         * config/t-slibgcc-sld (SHLIB_LINK): Likewise.
1963         * config/sparc/t-linux64 (SHLIB_SLIBDIR_SUFFIXES): Define.
1964         * config/sparc/t-sol2-64 (SHLIB_SLIBDIR_SUFFIXES): Define.
1966 2002-05-09  Richard Henderson  <rth@redhat.com>
1968         * config/ia64/ia64.md: Use define_constants for unspec numbers.
1969         * config/ia64/ia64.c: Likewise.
1971 2002-05-09  Richard Sandiford  <rsandifo@redhat.com>
1973         * config/mips/mips.c (mips_add_large_offset_to_sp): Remove FILE arg.
1974         (save_restore_insns): Likewise.
1975         (mips_expand_prologue, mips_expand_epilogue): Update callers.
1976         (highpart_shift_operator): Attach ATTRIBUTE_UNUSED to mode argument.
1978 Thu May  9 11:50:09 2002  Jeffrey A Law  (law@cygnus.com)
1980         * athlon.md, k6.md, pentium.md, ppro.md): New files.
1981         * i386.md: Move scheduling information into new files.
1983         * i386.md (type attribute): Add "rotate" for rotate insns.
1984         (rotate insns): Set type to "rotate".
1985         (various attributes and function units): Treat rotate like shift.
1986         (pent_pair attribute): Only rotates by one bit position are
1987         pairable.
1988         (sbb insns): Explicitly set pent_pair attribute on a couple
1989         that were missing it.
1991 Thu May  9 18:29:24 2002  J"orn Rennecke <joern.rennecke@superh.com>
1993         * sh.c (sh_builtin_saveregs): If starting with an odd fp register,
1994         make sure that buffer starts on odd word address.
1995         (sh_va_arg): Skip odd fp registers when reading a double precision
1996         value.
1998 2002-05-09  Neil Booth  <neil@daikokuya.demon.co.uk>
2000         * tree.h (preserve_data, object_permanent_p, type_precision):
2001         Remove.
2003 2002-05-09  Neil Booth  <neil@daikokuya.demon.co.uk>
2005         * cpplib.c (cpp_init_internal_pragmas): Remove #pragma poison.
2006         * cppmacro.c (paste_all_tokens): Bad pastes are a hard error.
2007 doc:
2008         * cpp.texi: Update for removal of obsolete features.
2010 Thu May  9 07:46:18 2002  Jan Hubicka <jh@suse.cz>
2011                           Jeffrey A Law  (law@redhat.com)
2013         * i386.c (ia32_use_dfa_pipeline_interface): New function.  Use
2014         the DFA interface for Pentium processors.
2015         (TARGET_SCHED_USE_DFA_PIPELINE_INTERFACE): DEFINE.
2016         (attr_pent_pair, ix86_pent_find_pair): Remove.
2017         (ix86_sched_reorder_pentium): Remove.
2018         (ix86_sched_reorder): Remove reordering for Pentium.
2019         * i386.md (Pentium scheduling): Rewrite using DFA description.
2021 Thu May  9 14:55:39 CEST 2002  Jan Hubicka  <jh@suse.cz>
2023         * cfganal.c (can_fallthru): Fix fast path.
2024         * cfgrtl.c (verify_flow_info): Avoid crash on conditionals
2025         with edges to the next block.
2027 Thu May  9 14:52:45 CEST 2002  Jan Hubicka  <jh@suse.cz>
2028                                Pavel Nejedly  <bim@atrey.karlin.mff.cuni.cz>
2030         * final.c (end_final): Use C trees to output data structures for profiling.
2032         * Makefile.in (LIBGCC_DEPS): Added missing dependency on gcov-io.h
2033         (profile.o): New dependency profile.h
2034         (final.o): New dependency profile.h
2035         * profile.h: New file. New global structure profile_info.
2036         * final.h (count_edges_instrumented_now): Declare.
2037         (current_function_cfg_checksum): Declare.
2038         (function_list): New structure.
2039         (functions_head, functions_tail): New static variables.
2040         (end_final): Emits more data, removed some -ax stuff.
2041         (final): Stores function names and chcksums.
2042         * gcov-io.h (__write_gcov_string): New function.
2043         (__read_gcov_string): New function.
2044         * gcov.c (read_profile): New function.
2045         (create_program_flow_graph): Uses read_profile instead of reading
2046         da_file.
2047         (read_files): Removed da_file checking, it's done by read_profile now.
2048         * libgcc2.c (bb_function_info): New structure.
2049         (bb): New field in structure, removed some -ax stuff.
2050         (__bb_exit_func): Changed structure of da_file.
2051         * profile.c (count_edges_instrumented_now): New global variable.
2052         (current_function_cfg_checksum): New global variable.
2053         (max_counter_in_program): New global variable.
2054         (get_exec_counts): New function.
2055         (compute_checksum): New function.
2056         (instrument_edges): Sets count_edges_instrumented_now.
2057         (compute_branch_probabilities): Uses get_exec_counts instead of
2058         reading da_file.
2059         (branch_prob): Calls compute_checksum and writes extra data to bbg_file.
2060         (init_branch_prob): Removed da_file checking, done in get_exec_counts
2061         now.
2062         (end_branch_prob): Removed da_file checking, done in get_exec_counts
2063         now.
2064         * gcov.texi: Updated information about gcov file format.
2066 2002-05-09  Kazu Hirata  <kazu@cs.umass.edu>
2068         * sbitmap.c: Fix formatting.
2069         * scan.c: Likewise.
2070         * scan-decls.c: Likewise.
2071         * sched-deps.c: Likewise.
2072         * sched-ebb.c: Likewise.
2073         * sched-rgn.c: Likewise.
2074         * sched-vis.c: Likewise.
2075         * sdbout.c: Likewise.
2076         * sibcall.c: Likewise.
2077         * simplify-rtx.c: Likewise.
2078         * ssa.c: Likewise.
2079         * ssa-ccp.c: Likewise.
2080         * ssa-dce.c: Likewise.
2081         * stmt.c: Likewise.
2082         * stor-layout.c: Likewise.
2083         * stringpool.c: Likewise.
2085 2002-05-09  David S. Miller  <davem@redhat.com>
2087         * config/sparc/sol2.h (ASM_CPU_SPEC): Handle -mcpu=v9.
2089 2002-05-07  David S. Miller  <davem@redhat.com>
2091         * config/sparc/sparc.h (TARGET_BUGGY_QP_LIB): Define to zero.
2092         * config/sparc/sol2.h (TARGET_BUGGY_QP_LIB): Override to one.
2093         * config/sparc/sparc.c (emit_soft_tfmode_libcall): If the Qp
2094         library implementation clobbers the output before the inputs
2095         are fully consumed, use stack temporary for the output.
2097 2002-05-09  Jason Thorpe  <thorpej@wasabisystems.com>
2099         * config/netbsd.h (CPP_SPEC): Remove.
2100         * config/i386/netbsd-elf.h (CPP_SPEC): Define.
2101         * config/i386/netbsd.h (CPP_SPEC): Define.
2102         * config/ns32k/netbsd.h (CPP_SPEC): Define.
2103         * config/sparc/netbsd-elf.h (CPP_SPEC): Remove.
2104         * config/sparc/netbsd.h (CPP_SPEC): Define.
2105         * config/vax/netbsd.h (CPP_SPEC): Define.
2107 2002-05-08  Kazu Hirata  <kazu@cs.umass.edu>
2109         * read-rtl.c: Fix formatting.
2110         * real.c: Likewise.
2111         * recog.c: Likewise.
2112         * regclass.c: Likewise.
2113         * regmove.c: Likewise.
2114         * reg-stack.c: Likewise.
2115         * reload1.c: Likewise.
2116         * reload.c: Likewise.
2117         * resource.c: Likewise.
2118         * rtlanal.c: Likewise.
2119         * rtl.c: Likewise.
2120         * rtl-error.c: Likewise.
2122 2002-05-08  John David Anglin  <dave@hiauly1.hia.nrc.ca>
2124         * pa/pa-64.h (MAX_WCHAR_TYPE_SIZE): Delete.
2125         * pa/pa.h (MAX_WCHAR_TYPE_SIZE): Delete.
2127 2002-05-08  Bernd Schmidt  <bernds@redhat.com>
2129         * config/i386/i386.h (CPP_CPUCOMMON_SPEC): Tweak previous change to
2130         use __SSE2__ macro instead.
2131         * config/i386/xmmintrin.h: Likewise.
2133 2002-05-08  Janis Johnson  <janis187@us.ibm.com>
2135         * rtl.h (RTL_FLAG_CHECK*): Add an argument for the macro name,
2136         and use it in all invocations of these macros.  Clean up comments.
2137         * rtl.c (rtl_check_failed_flag): Add an argument for the name
2138         of the flag access macro whose check failed.
2139         * doc/rtl.texi (Flags): Document additional flag uses.
2141 2002-05-08  Robert Spier <rspier@pobox.com>
2142             Neil Booth  <neil@daikokuya.demon.co.uk>
2144         PR preprocessor/6521
2145         * cppfiles.c (handle_missing_header): Don't do anything
2146         different for <> includes.
2147 doc:
2148         * cppopts.texi: Update documentation for -MG.
2150 2002-05-08  Neil Booth  <neil@daikokuya.demon.co.uk>
2152         * cpplex.c (cpp_interpret_charconst): Truncate as well as
2153         sign-extend.
2154 doc:
2155         * cpp.texi: Clarify multichar charconst valuation.
2157 2002-05-08  Mark Mitchell  <mark@codesourcery.com>
2159         * doc/invoke.texi: Document -mwindiss option.
2161 2002-05-08  Jason Merrill  <jason@redhat.com>
2163         * dwarf2out.c (output_call_frame_info): Don't emit a CIE with no FDEs.
2165         * dwarf2out.c (gen_type_die): Abort on broken recursion.
2167         PR c++/6381
2168         * dwarf2out.c (rtl_for_decl_location): Only expand INTEGER_CST and
2169         REAL_CST.
2171 2002-05-08  Nick Clifton  <nickc@cambridge.redhat.com>
2173         * config/arm/t-arm-elf (MULTILIB): Do not allow big-endian/
2174         little-endian multilibs to override arm/thumb multilibs.
2175         Do not build hardware floating point multilibs, nor apcs-26
2176         multilibs for the Thumb.
2178 2002-05-08  Mark Mitchell  <mark@codesourcery.com>
2180         PR c/6569.
2181         * varasm.c (mark_weak): New function.
2182         (merge_weak): Use it.  Do not call declare_weak.
2183         (declare_weak): Use merge_weak.
2185 Wed May  8 13:12:11 CEST 2002  Jan Hubicka  <jh@suse.cz>
2187         * cse.c (dead_libcall_p): Update counts.
2188         (delete_trivially_dead_insns): Update call of dead_libcall_p.
2190 Wed May  8 11:08:50 CEST 2002  Jan Hubicka  <jh@suse.cz>
2192         * cfglayout.c (function_tail_eff_head): Rename to ...
2193         (function_footer): ... this one.
2194         (unlink_insn_chain): New functions.
2195         (label_for_bb): Only call block_label and emit debug message.
2196         (record_effective_endpoints): Actually unlink the headers and footers.
2197         (fixup_reorder_cahin): Re-insert the unlinked sequences.
2198         (cfg_layout_duplicate_bb): Use duplicate_insn_chain.
2199         * cfglayout.h (struct reorder_block_def): New fields footer/header;
2200         remove eff_head/eff_end.
2201         * rtl.h (set_first_insn): Declare.
2202         * emit-rtl.c (set_first_insn): New function.
2204         * cfglayout.c (fixup_reorder_chain): Dump duplicated
2205         (cfg_layout_can_duplicate_bb_p, cfg_layout_rerirect_edge,
2206         cfg_layout_duplicate_bb): New global function.
2207         (duplicate_insn_chain): New static function.
2208         * cfglayout.h (cfg_layout_can_duplicate_bb_p, cfg_layout_rerirect_edge,
2209         cfg_layout_duplicate_bb): Declare.
2210         (struct reorder_block_def): Add "original" field.
2211         * emit-rtl.c (emit_copy_of_insn_after): New function.
2212         * rtl.h (emit_copy_of_insn_after): Declare.
2214         * cfglayout.c (fixup_fallthru_exit_predecessor): Kill.
2215         (fixup_reorder_chain): properly handle edges to exit block.
2217 Wed May  8 11:10:31 CEST 2002  Zdenek Dvorak  <rakdver@atrey.karlin.mff.cuni.cz>
2218                                Jan Hubicka  <jh@suse.cz>
2220         * basic-block.h (note_prediction_to_br_prob): declare.
2221         * c-semantics.c: Inlucde predit.h
2222         (expand_stmt): predict GOTO_STMT as not taken.
2223         * cfgcleanup.c: (delete_unreachable_blocks): Make global.
2224         (cleanup_cfg): Do not free tail_recursion_list.
2225         * cfgrtl.c (can_delete_note_p): Delete NOTE_INSN_PREDICTION.
2226         (flow_delete_block): Kill predictions past end of basic block.
2227         * output.h (delete_unreachable_blocks): Declare.
2228         * predict.c (predicted_by_p, process_note_predictions,
2229         process_note_prediction, last_block_p): New function.
2230         (estimate_probability): Bypass loop on PRED_CONTINUE;
2231         do not handle noreturn heuristics; kill PRED_RETURN; add
2232         PRED_EARLY_RETURN.
2233         * predict.def (PRED_CONTINUE, PRED_EARLY_RETURN, PRED_GOTO,
2234         PRED_CONST_RETURN, PRED_NEGATIVE_RETURN, PRED_NULL_RETURN): New.
2235         * predict.h (IS_TAKEN): New constant.
2236         * print-rtl.c (print_rtx): Pretty print NOTE_INSN_PREDICTION.
2237         * rtl.c (NOTE_INSN_PREDICTION): New.
2238         * rtl.h (NOTE_PREDICTION, NOTE_PREDICTION_ALG, NOTE_PREDICTION_FLAGS):
2239         New macro.
2240         (insn_note): add NOTE_INSN_PREDICTION.
2241         * sibcall.c (optimize_sibling_and_tail_recursive_call): Do not build
2242         CFG; free tail_recursion_label_list.
2243         * stmt.c: Include predict.h;
2244         (return_prediction): New.
2245         (expand_value_return): Use it.
2246         * toplev.c: Lower NOTE_INSN_PREDICTION before sibcall.
2248 2002-05-08  Richard Sandiford  <rsandifo@redhat.com>
2250         * config/mips/mips.md: Name the unspecs with define_constant.
2251         (*HILO_delay): Rename to 'hilo_delay' (no star).
2252         (reload_indi): Replace gen_rtx_UNSPEC with gen_hilo_delay.
2253         (reload_outdi, reload_outsi): Likewise.
2255 2002-05-07  Kazu Hirata  <kazu@cs.umass.edu>
2257         * toplev.c: Fix formatting.
2259 2002-05-07  Janis Johnson  <janis187@us.ibm.com>
2261         * config.in (ENABLE_RTL_FLAG_CHECKING): New.
2262         * configure.in (ac_rtlflag_checking): New.
2263         * doc/install.texi (--enable-checking): Document RTL flag checking.
2265 2002-05-07  Neil Booth  <neil@daikokuya.demon.co.uk>
2267         * c-common.c (c_common_init): Set options->unsigned_wchar.
2268         * cppinit.c (cpp_create_reader): Default unsigned_wchar,
2269         group target dependencies.
2270         (init_builtins, cpp_handle_option): Update.
2271         * cpplex.c (cpp_interpret_charconst): Update.
2272         * cpplib.h (struct cpp_options): Add unsigned_wchar, rename
2273         signed_char to unsigned_char, group target dependencies.
2274         * defaults.h (WCHAR_UNSIGNED): Remove.
2275         * system.h (WCHAR_UNSIGNED, MAX_CHAR_TYPE_SIZE): Poison.
2276 config:
2277         * freebsd.h, interix.h, alpha/freebsd.h, arm/freebsd.h,
2278         i386/386bsd.h, i386/beos-elf.h, i386/bsd386.h, i386/cygwin.h,
2279         i386/djgpp.h, i386/freebsd-aout.h, i386/i386-interix.h,
2280         i386/win32.h, ia64/freebsd.h, mips/netbsd.h, rs6000/freebsd.h,
2281         sh/elf.h, sh/sh.h, sparc/freebsd.h: Remove WCHAR_UNSIGNED.
2282 doc:
2283         * tm.texi: Remove MAX_CHAR_TYPE_SIZE.
2285 2002-05-07  Mark Mitchell  <mark@codesourcery.com>
2287         * fixinc/inclhack.def (windiss_math1): New fix.
2288         (windiss_math2): Likewise.
2289         (windiss_valist): Likewise.
2290         * fixinc/fixincl.x: Regenerated.
2292 2002-05-07  Andreas Jaeger  <aj@suse.de>
2294         * genautomata.c (output_internal_min_issue_delay_func): Add
2295         ATTRIBUTE_UNUSED to avoid warning with empty dfa.
2296         (output_internal_trans_func): Likewise.
2298 Tue May  7 10:06:22 2002  Jeffrey A Law  (law@redhat.com)
2300         * pa.c (hppa_profile_hook): Use force_reg to get the address
2301         of the profile hook into an appropriate pseudo register.
2303 2002-05-07  Mark Mitchell  <mark@codesourcery.com>
2305         * config/rs6000/sysv4.h (SUBTARGET_SWITCHES): Add -mwindiss.
2306         (LINK_START_SPEC): Handle it.
2307         (LINK_OS_SPEC): Likewise.
2308         (CPP_SPEC): Likewise.
2309         (STARTFILE_SPEC): Likewise.
2310         (LIB_SPEC): Likewise.
2311         (ENDFILE_SPEC): Likewise.  Do not assume crtsavres.o is used on
2312         all platforms.
2313         (CRTSAVRES_DEFAULT_SPEC): New macro.
2314         (LIB_WINDISS_SPEC): New macro.
2315         (CPP_OS_WINDISS_SPEC): Likewise.
2316         (STARTFILE_WINDISS_SPEC): Likewise.
2317         (ENDFILE_WINDISS_SPEC): Likewise.
2318         (LINK_START_WINDISS_SPEC): Likewise.
2319         (LINK_OS_WINDISS_SPEC): Likewise.
2320         * config/rs6000/windiss.h: New file.
2322 2002-05-07  Aldy Hernandez  <aldyh@redhat.com>
2324         * config/rs6000/rs6000.c (bdesc_2arg): Fix vmax typos.
2326 2002-05-06  David S. Miller  <davem@redhat.com>
2328         * config/sparc/sparc.md (shift insns): Do not mask off
2329         second operand, 'I' constraint and SHIFT_COUNT_TRUNCATED
2330         take care of it.
2332 2002-05-06  Richard Henderson  <rth@redhat.com>
2334         PR c++/6212
2335         * expr.c (highest_pow2_factor_for_type): New.
2336         (expand_assignment): Use it.
2338 2002-05-06  Aldy Hernandez  <aldyh@redhat.com>
2340         * config/rs6000/rs6000.md ("altivec_mtvscr"): Change to
2341         unspec_volatile.
2342         ("altivec_mfvscr"): Same.
2344 2002-05-06  Janis Johnson  <janis187@us.ibm.com>
2346         * rtl.h (struct rtx_def): Update comments.
2347         (RTL_FLAG_CHECK[12345678]): New.  (rtl_check_failed_flag): Declare.
2348         (RTL_FLAG): New.  (CLEAR_RTX_FLAGS): New.  (flag access macros): Use
2349         RTL_FLAG_CHECK macros with list of expected RTL codes.
2350         * rtl.c (copy_rtx, shallow_copy_rtx): Use RTX_FLAG macro.
2351         (rtl_check_failed_flag): New.
2352         * reload1.c (reload): Use REG macro before changing rtx to MEM.
2353         (reload_cse_noop_set_p): Check rtx code before using access macro.
2354         * config/ia64/ia64.c (process_for_unwind_directive): Check rtx code
2355         before using access macro.
2357 2002-05-06  Janis Johnson  <janis187@us.ibm.com>
2359         * doc/rtl.texi (Flags): Update to reflect current usage.
2361 2002-05-06  Roger Sayle  <roger@eyesopen.com>
2363         PR opt/3995
2364         * fold-const.c (sign_bit_p): New function.
2365         (fold) [EQ_EXPR]: Use this to convert (A & C) == 0 into A >= 0 and
2366         (A & C) != 0 into A < 0, when constant C is the sign bit of A's type.
2367         Reapply fold when converting (A & C) == C into (A & C) != 0.
2368         (fold_binary_op_with_conditional_arg): Fix typo in comment.
2370 2002-05-07  Neil Booth  <neil@daikokuya.demon.co.uk>
2372         * c-common.c (warn_multichar): New.
2373         (c_common_init): Set CPP's warn_multichar.
2374         * c-common.h (warn_multichar): New.
2375         * c-decl.c (warn_multichar): Remove.
2376         * c-lex.c (lex_charconst): Update.
2377         * c-tree.h (warn_multichar): Remove.
2378         * cppexp.c (eval_token): Sign-extend charconst value.
2379         * cppinit.c (cpp_create_reader): Set warn_multichar.
2380         * cpplex.c (cpp_interpret_charconst): Don't sign-extend
2381         each character.  Update prototype.  Sign-extend the result.
2382         * cpplib.h: Fix conditions.
2383         (struct cpp_options): Add new warning flag.
2384         (cpp_interpret_charconst): Update prototype.
2385 doc:
2386         * cpp.texi: Update documentation.
2388 2002-05-06  Vladimir Makarov  <vmakarov@redhat.com>
2390         * genautomata.c (form_the_same_automaton_unit_lists_from_regexp):
2391         Fix typo in usage of allof instead of unit.
2393 2002-05-06  Richard Henderson  <rth@redhat.com>
2395         * recog.c (if_test_bypass_p): Accept multiple set insns for OUT,
2396         and any jump or call for IN.
2398 2002-05-06  Bernd Schmidt  <bernds@redhat.com>
2400         * config/i386/i386.h (CPP_CPUCOMMON_SPEC): Define __SSE2_BUILTINS__ if
2401         -msse2.
2402         * config/i386/xmmintrin.h: Use it to conditionalize SSE2 support.
2404 2002-05-06  Roger Sayle  <roger@eyesopen.com>
2406         * fold-const.c (lshift-double): Cast the high word to an unsigned
2407         HOST_WIDE_INT when extracting sign bit to avoid compiler warning.
2408         (div_and_round_double): Cast carry to a signed HOST_WIDE_INT to
2409         avoid compiler warning.  (fold): Remove redundant code from
2410         BIT_AND_EXPR as integer operands are canonicalized to be arg1.
2412 2002-05-06  Jeff Law  <law@redhat.com>
2414         * pa-protos.h (hppa_fpstore_bypass_p): Declare.
2415         * pa.c (pa_adjust_cost): Remove all true dependency cost
2416         adjustments.  Also remove support for non-DFA scheduling.
2417         * pa.md (700, 7100, 7100lc, 7200, 7300): Use bypass mechanism
2418         to adjust true dependency costs.  Update various comments.
2419         (7100lc, 7200, 7300 scheduling): Simplify by combining the
2420         FP ALU & MPY units into a single unit.
2422 2002-05-06  Catherine Moore  <clm@redhat.com>
2424         * config/v850/v850.c (compute_register_save_size): Make sure
2425         to count all of the registers that will be saved.
2427 Mon May  6 18:03:11 CEST 2002  Jan Hubicka  <jh@suse.cz>
2429         * i386.c (q_regs_operand): Use ANY_QI_REGS_P.
2431 2002-05-06  David S. Miller  <davem@redhat.com>
2433         * config/sparc/sparc.c (emit_soft_tfmode_libcall): Do not
2434         allow result to overlap input operands in memory.
2436 2002-05-06  Neil Booth  <neil@daikokuya.demon.co.uk>
2438 doc:
2439         * cpp.texi: Update multichar charconst docs.
2441 2002-05-06  Neil Booth  <neil@daikokuya.demon.co.uk>
2443         * cpplex.c (cpp_interpret_charconst): Sign-extend each
2444         character.  Don't ignore excess characters.  Treat
2445         multicharacter character constants as signed.
2446         (cpp_parse_escape): Clarify diagnostic.
2448 2002-05-05  Jakub Jelinek  <jakub@redhat.com>
2450         * config/sparc/sparc.md (ashlsi3): If shift count is const1_rtx,
2451         use add instead of shift.
2452         (ashldi3_sp64): Likewise.
2453         (ashlsi3_const1, ashldi3_const1): Remove.
2454         * config/sparc/sparc.h (PREDICATE_CODES): Add const1_operand.
2455         * config/sparc/sparc.c (const1_operand): New.
2457 2002-05-05  Jason Thorpe  <thorpej@wasabisystems.com>
2459         * config.gcc (alpha*-*-netbsd*): Don't use crtstuff.
2461 2002-05-05  Jakub Jelinek  <jakub@redhat.com>
2463         PR target/6561
2464         * config/sparc/sparc.md (muldi3_v8plus): Handle %1 equal to %2.
2466 2002-05-05  Richard Henderson  <rth@redhat.com>
2468         * config/alpha/alpha.c (alpha_adjust_cost): Remove everything but
2469         memory latency adjustments.
2470         (alpha_variable_issue): Remove.
2471         (alpha_use_dfa_pipeline_interface): New.
2472         (alpha_multipass_dfa_lookahead): New.
2473         * config/alpha/alpha.md: Remove define_function_unit scheduling;
2474         include new dfa scheduling.
2475         (attr type): Add none.
2476         (blockage): Use it.
2477         * config/alpha/ev4.md: New.
2478         * config/alpha/ev5.md: New.
2479         * config/alpha/ev6.md: New.
2481 2002-05-05  David S. Miller  <davem@redhat.com>
2483         * recog.c (store_data_bypass_p): Handle CLOBBER inside PARALLEL.
2485 2002-05-05  Kazu Hirata  <kazu@cs.umass.edu>
2487         * cse.c: Fix formatting.
2488         * emit-rtl.c: Likewise.
2490 2002-05-05  Vladimir Makarov  <vmakarov@redhat.com>
2492         * genautomata.c (initiate_states): Add additional guard to
2493         initialize `units_array'.
2495 2002-05-05  Vladimir Makarov  <vmakarov@redhat.com>
2497         * genautomata.c (form_the_same_automaton_unit_lists_from_regexp,
2498         process_unit_to_form_the_same_automaton_unit_lists,
2499         form_the_same_automaton_unit_lists
2500         check_unit_distributions_to_automata): New prototypes and
2501         functions.
2502         (check_automata): Rename it into `check_automata_insn_issues'.
2503         (unit_decl): New fields `the_same_automaton_unit' and
2504         `the_same_automaton_message_reported_p'.
2505         (unit_decl_t): New typedef.
2506         (the_same_automaton_lists): New gloval variable.
2507         (unit_regexp, unit_set_el, units_array, units_cmp,
2508         output_get_cpu_unit_code_func): Use the typedef.
2509         (evaluate_max_reserv_cycles): Increment
2510         `description->max_insn_reserv_cycles'.
2511         (initiate_states): Don't increment `max_cycles_num'.
2512         (transform_insn_regexps): Move code around transformation of
2513         regexps from `generate'.
2514         (generate): Remove call of `transform_insn_regexps'.
2515         (expand_automata): Call `transform_insn_regexps' and
2516         `check_unit_distributions_to_automata'.  Check errors before
2517         `generate'.
2519         * config/sparc/ultra3.md (us3_a0, us3_a1): Move the units into
2520         automaton `ultrasparc3_1'.
2522 2002-05-05  Neil Booth  <neil@daikokuya.demon.co.uk>
2524         * c-common.c (c_common_init): Set up CPP arithmetic.
2525         * cppinit.c (cpp_create_reader): Default CPP arithmetic to
2526         something reasonable for the host.
2527         (sanity_checks): Add checks.
2528         (cpp_read_main_file): Call sanity_checks() from here...
2529         (cpp_post_options): ... not here.
2530         * cpplex.c (cpp_interpret_charconst): Get max_chars right.
2531         * cpplib.h (struct cpp_options): New member int_precision.
2533 2002-05-05  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
2535         * doc/install.texi (powerpc-*-linux-gnu*): Update build requirements.
2537 2002-05-04  David S. Miller  <davem@redhat.com>
2539         * config/sparc/linux.h, config/sparc/linux64.h
2540         (HANDLE_PRAGMA_PACK_PUSH_POP): Don't define twice.
2542         * config/sparc/sparc.c (sparc_rtx_costs): Describe costs of
2543         more RTX codes.
2544         * config/sparc/sparc.h (RTX_COSTS_CASES): List those new codes.
2546         * recog.c (store_data_bypass_p): Handle out_insn being a PARALLEL
2547         of SETs.
2549 2002-05-05  Tim Josling  <tej@melbpc.org.au>
2551         * treelang; New directory for new sample language treelang.
2553 2002-05-04  Neil Booth  <neil@daikokuya.demon.co.uk>
2555         * Makefile.in (c-lex.o): Update.
2556         * c-lex.c: Include target.h.
2557         (cb_register_builtins): New.
2558         (init_c_lex): Set builtins callback.
2559         * c-lex.h (cpp_define, cpp_assert): New prototypes.
2560         * cppinit.c (init_builtins): Use callback, including for
2561         GXX_WEAK.
2562         * cpplib.h (struct cpp_callbacks): New member.
2563         * target-def.h (TARGET_REGISTER_CPP_BUILTINS): New.
2564         (TARGET_INITIALIZER): Update.
2565         * target.h (struct gcc_target): New hook.
2566         * tree.c (default_register_cpp_builtins): New.
2567         * tree.h (default_register_cpp_builtins): New.
2568 doc:
2569         * tm.texi (TARGET_REGISTER_CPP_BUILTINS): Document.
2571 2002-05-04  Neil Booth  <neil@daikokuya.demon.co.uk>
2573         * cppinit.c (MAX_WCHAR_TYPE_SIZE): Move to cpplib.h
2574         (cpp_post_options): Move sanity checks to...
2575         (sanity_checks): New.
2576         * cpplex.c (maybe_read_ucs): Fix prototype.
2577         (parse_string, cpp_parse_escape): Cast for %c format specifier.
2578         * cpplib.h (cppchar_t): Use unsigned long or unsigned long long
2579         if necessary.
2581 2002-05-04  Bernd Schmidt  <bernds@redhat.com>
2583         * config/i386/i386.c (bdesc_2arg): Add a couple of missing SSE2
2584         builtins.  Use V2DI patterns instead of TI for logical operations.
2585         (ix86_init_mmx_sse_builtins): Add a couple of missing SSE2 builtins.
2586         Correct definitions of psadbw, pmovmskb128, movntdq, cvtdq2ps.
2587         (ix86_expand_builtins): Change the pattern used for movntdq.
2588         * config/i386/i386.md (sse2_andv2di3, sse2_iorv2di3, sse2_xorv2di3,
2589         sse2_nandv2di3): New patterns.
2590         (sse2_anddf3, sse2_nanddf3, sse2_iordf3, sse2_xordf3): Correct modes
2591         on operands.
2592         (sse2_movntv2di): Renamed from sse2_movntti and modes adjusted.
2593         (cvtdq2pd): Correct mode on operand 1.
2594         (sse2_umulsidi3): Describe without unspec.
2595         (sse2_psadbw, mmx_psadbw): Describe with unspec; use more appropriate
2596         machine modes.
2597         (lshrv2di3): Renamed from sse2_lshrv2di3 and removed unspec.
2598         (ashlv2di3): Likewise, from sse2_ashlv2di3.
2599         (ashrv8hi3, ashrv4si3, lshrv8hi3, lshrv4si3, lshrv2di3, ashlv8hi3,
2600         ashlv4si3, ashlv2di3): Use SImode for shift count.
2601         (ashrv8hi3_ti, ashrv4si3_ti, lshrv8hi3_ti, lshrv4si3_ti, lshrv2di3_ti,
2602         lshrv4si3_ti, lshrv2di3_ti, ashlv8hi3_ti, ashlv4si3_ti, ashlv2di3_ti):
2603         New patterns.
2604         * config/i386/xmmintrin.h (__v2df, __v2di, __v4si, __v8hi, __v16qi):
2605         New typedefs.
2606         (__m128i, __m128d): New macros.
2607         (_mm_add_pd, _mm_add_sd, _mm_sub_pd, _mm_sub_sd, _mm_mul_pd,
2608         _mm_mul_sd, _mm_div_pd, _mm_div_sd, _mm_sqrt_pd, _mm_sqrt_sd,
2609         _mm_min_pd, _mm_min_sd, _mm_max_sd, _mm_max_pd, _mm_and_pd,
2610         _mm_andnot_pd, _mm_xor_pd, _mm_or_pd, _mm_cmpeq_pd, _mm_cmplt_pd,
2611         _mm_cmple_pd, _mm_cmpgt_pd, _mm_cmpge_pd, _mm_cmpneq_pd,
2612         _mm_cmpnlt_pd, _mm_cmpnle_pd, _mm_cmpngt_pd, _mm_cmpnge_pd,
2613         _mm_cmpord_pd, _mm_cmpunord_pd, _mm_cmpeq_sd, _mm_cmplt_sd,
2614         _mm_cmple_sd, _mm_cmpgt_sd, _mm_cmpge_sd, _mm_cmpneq_sd,
2615         _mm_cmpnlt_sd, _mm_cmpnle_sd, _mm_cmpngt_sd, _mm_cmpnge_sd,
2616         _mm_cmpord_sd, _mm_cmpunord_sd, _mm_comieq_sd, _mm_comilt_sd,
2617         _mm_comile_sd, _mm_comigt_sd, _mm_comige_sd, _mm_comineq_sd,
2618         _mm_ucomieq_sd, _mm_ucomieq_sd, _mm_ucomilt_sd, _mm_ucomile_sd,
2619         _mm_ucomigt_sd, _mm_ucomige_sd, _mm_ucomineq_sd, _mm_cvtepi32_pd,
2620         _mm_cvtepi32_ps, _mm_cvtpd_epi32, _mm_cvtpd_pi32, _mm_cvtpd_ps,
2621         _mm_cvttpd_epi32, _mm_cvttpd_pi32, _mm_cvtpi32_pd, _mm_cvtps_epi32,
2622         _mm_cvttps_epi32, _mm_cvtps_pd, _mm_cvtsd_si32, _mm_cvttsd_si32,
2623         _mm_cvtsd_ss, _mm_cvtsi32_sd, _mm_cvtss_sd, _mm_unpackhi_pd,
2624         _mm_unpacklo_pd, _mm_loadh_pd, _mm_storeh_pd, _mm_storel_pd,
2625         _mm_movemask_pd, _mm_packs_epi16, _mm_packs_epi32, _mm_packus_epi16,
2626         _mm_unpackhi_epi8, _mm_unpackhi_epi16, _mm_unpackhi_epi32,
2627         _mm_unpacklo_epi8, _mm_unpacklo_epi16, _mm_unpacklo_epi32,
2628         _mm_add_epi8, _mm_add_epi16, _mm_add_epi32, _mm_add_epi64,
2629         _mm_adds_epi8, _mm_adds_epi16, _mm_adds_epu8, _mm_adds_epu16,
2630         _mm_sub_epi8, _mm_sub_epi16, _mm_sub_epi32, _mm_sub_epi64,
2631         _mm_subs_epi8, _mm_subs_epi16, _mm_subs_epu8, _mm_subs_epu16,
2632         _mm_madd_epi16, _mm_mulhi_epi16, _mm_mullo_epi16, _mm_mul_pu16,
2633         _mm_mul_epu16, _mm_sll_epi16, _mm_sll_epi32, _mm_sll_epi64,
2634         _mm_sra_epi16, _mm_sra_epi32, _mm_srl_epi16, _mm_srl_epi32,
2635         _mm_srl_epi64, _mm_slli_epi16, _mm_slli_epi32, _mm_slli_epi64,
2636         _mm_srai_epi16, _mm_srai_epi32, _mm_srli_epi16, _mm_srli_epi32,
2637         _mm_srli_epi64, _mm_and_si128, _mm_andnot_si128, _mm_or_si128,
2638         _mm_xor_si128, _mm_cmpeq_epi8, _mm_cmpeq_epi16, _mm_cmpeq_epi32,
2639         _mm_cmpgt_epi8, _mm_cmpgt_epi16, _mm_cmpgt_epi32, _mm_max_epi16,
2640         _mm_max_epu8, _mm_min_epi16, _mm_min_epu8, _mm_movemask_epi8,
2641         _mm_mulhi_epu16, _mm_maskmoveu_si128, _mm_avg_epu8, _mm_avg_epu16,
2642         _mm_sad_epu8, _mm_stream_si32, _mm_stream_si128, _mm_stream_pd,
2643         _mm_movpi64_epi64, _mm_clflush, _mm_lfence, _mm_mfence): New
2644         functions.
2645         (_mm_shufflehi_epi16, _mm_shufflelo_epi16, _mm_shuffle_epi32,
2646         _mm_extract_epi16, _mm_insert_epi16, _mm_shuffle_pd): New macros.
2648 2002-05-04  Kazu Hirata  <kazu@cs.umass.edu>
2650         * dwarf2out.c: Fix formatting.
2651         * varasm.c: Likewise.
2653 2002-05-04  David Edelsohn  <edelsohn@gnu.org>
2655         PR c/6543
2656         * config/rs6000/rs6000.md (sCC pattern and splitter): Remove
2657         clobber and use result as temporary value.
2659 Sat May  4 13:20:54 CEST 2002  Jan Hubicka  <jh@suse.cz>
2661         * expr.c (force_operand): Use expand_simple_* to handle more
2662         cases.
2664 2002-05-04  Neil Booth  <neil@daikokuya.demon.co.uk>
2666         * c-lex.c (lex_string): Let cpp_parse_escape handles truncation
2667         and sign-extension.
2668         (lex_charconst): Update for change in prototype of
2669         cpp_interpret_charconst.  Extend from cppchar_t to HOST_WIDE_INT
2670         appropriately.
2671         * cpphash.h (BITS_PER_CPPCHAR_T): New.
2672         * cppinit.c (cpp_create_reader): Initialize them for no
2673         change in semantics.
2674         (cpp_post_options): Add sanity checks.
2675         * cpplex.c (cpp_parse_escape): Handle precision, sign-extension
2676         and truncation issues.  Calculate in type cppchar_t.
2677         (MAX_CHAR_TYPE_SIZE, MAX_WCHAR_TYPE_SIZE): Remove.
2678         (cpp_interpret_charconst): Calculate in type cppchar_t.  Handle
2679         run-time dependent precision correctly.  Return whether the
2680         result is signed or not.
2681         * cpplib.c (dequote_string): Use cppchar_t; update.
2682         * cpplib.h (cppchar_signed_t): New.
2683         struct cpp_options): New precision members.
2684         (cpp_interpret_charconst, cpp_parse_escape): Update prototypes.
2685         * cppexp.c (eval_token): Update.
2687 2002-05-03  David S. Miller  <davem@redhat.com>
2689         * config/sparc/sparc-protos.h (sparc_rtx_costs): New.
2690         * config/sparc/sparc.c (sparc_rtx_costs): New function
2691         implementing RTX_COSTS and CONST_COSTS.
2692         * config/sparc/sparc.h (CONST_COSTS): Delete.
2693         (RTX_COSTS_CASES): Define.
2694         (RTX_COSTS): Expand RTX_COSTS_CASES and use sparc_rtx_costs to do
2695         the work.
2697         * config/sparc/sparc.md (DFA schedulers): Split out...
2698         * config/sparc/cypress.md, config/sparc/hypersparc.md,
2699         config/sparc/sparclet.md, config/sparc/supersparc.md,
2700         config/sparc/ultra1_2.md, config/sparc/ultra3.md: ... into here.
2702         * config/sparc/sparc.c (LEAF_REGISTERS): Do not do ifdef
2703         checks on it, always defined for Sparc.
2705         * config/sparc/sparc.h (REG_ALLOC_ORDER, REG_LEAF_ALLOC_ORDER):
2706         Tweak, and add more detailed comments.
2708 2002-05-03  Zack Weinberg  <zack@codesourcery.com>
2710         * Re-apply patch accidentally reverted with
2711         DFA scheduler merge: remove all rules and variables to slurp
2712         source files out of libiberty and rebuild them with HOST_CC.
2713         ($(HOST_PREFIX_1)varray.o): New rule.
2714         (genattrtab rule): Word wrap.
2716 2002-05-03  Jason Thorpe  <thorpej@wasabisystems.com>
2718         * config/i386/netbsd64.h (CPP_LP64_SPEC): Define.
2719         (CPP_SUBTARGET_SPEC): Define.
2720         (SUBTARGET_EXTRA_SPECS): Redefine, adding cpp_lp64 and
2721         cpp_subtarget specs.
2722         (CPP_SPEC): Redefine to include %(cpp_subtarget).
2724 2002-05-03  David S. Miller  <davem@redhat.com>
2726         * target-defs.h (TARGET_SCHED_CYCLE_DISPLAY): Delete.
2727         * target.h (struct gcc_target): Delete cycle_display member.
2729         * config/ia64/ia64.c (ia64_emit_insn_before): Put it back.
2730         (rtx_needs_barrier): Delete reference to cycle_display unspec.
2731         (ia64_sched_reorder2): Mention need for cycle display handling
2732         once such notes exist.
2734 2002-05-03  Richard Henderson  <rth@redhat.com>
2736         * real.c (etoasc): Strip most trailing zeros for clarity.
2737         * sched-vis.c: Include real.h.
2738         (print_value): Use REAL_VALUE_TO_DECIMAL as needed.
2739         * Makefile.in (sched-vis.o): Add real.h.
2741 2002-05-03  David S. Miller  <davem@redhat.com>
2743         * haifa-sched.c (rank_for_schedule): Revert 2002-05-02 change,
2744         no longer needed.
2746 2002-05-03  Aldy Hernandez  <aldyh@redhat.com>
2748         * config/rs6000/rs6000.c (altivec_expand_binop_builtin): Error out
2749         when we get an out of range literal.
2750         (altivec_expand_ternop_builtin): Same.
2751         (altivec_expand_unop_builtin): Same.
2752         (altivec_expand_builtin): Same, for dss.
2753         (altivec_expand_builtin): Use trees instead of rtl when
2754         determining literal argument validity.
2756 2002-05-03  David S. Miller  <davem@redhat.com>
2758         Delete cycle display scheduling hook.
2759         * config/ia64/ia64.c (ia64_cycle_display,
2760         TARGET_SCHED_CYCLE_DISPLAY, ia64_emit_insn_before): Delete.
2761         (ia64_sched_reorder2): Don't check for CODE_FOR_cycle_display
2762         and use emit_insn_before instead of ia64_emit_insn_before.
2763         * config/ia64/ia64.md (unspec usage): Delete cycle display.
2764         (cycle_display): Delete insn pattern.
2765         * config/sparc/sparc.md (unspec usage): Delete cycle display.
2766         (cycle_display): Delete insn pattern.
2767         * config/sparc/sparc.c (sparc_cycle_display,
2768         TARGET_SCHED_CYCLE_DISPLAY): Delete.
2769         * doc/md.texi (cycle_display): Don't mention.
2770         * doc/tm.texi (TARGET_SCHED_CYCLE_DISPLAY): Likewise.
2772 2002-05-03  Richard Henderson  <rth@redhat.com>
2774         * recog.c (store_data_bypass_p, if_test_bypass_p): New.
2775         * recog.h: Declare them.
2777         * config/sparc/sparc.c (ultrasparc_store_bypass_p): Remove.
2778         * config/sparc/sparc.md: Use store_data_bypass_p instead.
2779         * config/sparc/sparc-protos.h: Update.
2781 2002-05-03  Jason Thorpe  <thorpej@wasabisystems.com>
2783         * config/sparc/netbsd-elf.c (CPP_SUBTARGET_SPEC64): Remove
2784         -D__arch64__.  Add -D_LP64.
2785         (CPP_ARCH32_SPEC): Redefine to match the non-bi-arch version
2786         from sparc.h.
2787         (CPP_ARCH64_SPEC): Likewise.
2788         (NO_BUILTIN_PTRDIFF_TYPE): Undef.
2789         (NO_BUILTIN_SIZE_TYPE): Undef.
2791 2002-05-03  Vladimir Makarov  <vmakarov@redhat.com>
2793         * genautomata.c (min_issue_delay_pass_states): Change return type
2794         in the prototype.
2795         (min_issue_delay_pass_states): Change the algorithm.
2796         (min_issue_delay): Set up min_insn_issue_delay for the state.
2797         (output_min_issue_delay_table): Interchange the nested loops and
2798         and initiate min_insn_issue_delay for states.
2800 Fri May  3 22:59:15 CEST 2002  Jan Hubicka  <jh@suse.cz>
2802         * cfgcleanup.c (try_optimize_cfg):  Call merge_block only when
2803         jump is simplejump.
2805 Fri May  3 22:53:37 CEST 2002  Jan Hubicka  <jh@suse.cz>
2807         * i386.c  (expand_movstr, expand_clrstr): Fix inline-all-stringops
2808         sequence.
2810 2002-05-03  Richard Henderson  <rth@redhat.com>
2812         PR opt/6534
2813         * ifcvt.c (noce_try_store_flag, noce_try_store_flag_constants,
2814         noce_try_store_flag_inc, noce_try_store_flag_mask, noce_try_cmove,
2815         noce_try_cmove_arith, noce_try_minmax, noce_try_abs): Insert new
2816         code before JUMP, not EARLIEST.
2818 2002-05-03  Joseph S. Myers  <jsm28@cam.ac.uk>
2820         * c-format.c (check_format_info_main): Don't check for presence of
2821         parameter for * width until after operand number has been read,
2822         and only check for it if format parameters are available.
2823         Fixes PR c/6547.
2825 2002-05-03  Jason Thorpe  <thorpej@wasabisystems.com>
2827         * config/alpha/netbsd.h (CPP_PREDEFINES): Add -D_LP64.
2828         (LINK_SPEC): Undef before defining.
2830 2002-05-03  Jakub Jelinek  <jakub@redhat.com>
2832         PR preprocessor/6489
2833         * tradcpp.c (fixup_newlines): New.
2834         (main, finclude): Use it.
2836 2002-05-03  Richard Sandiford  <rsandifo@redhat.com>
2838         * config/mips/elf64.h (UNIQUE_SECTION): Use mips_unique_section.
2839         * config/mips/mips.c (mips_unique_section): Strip encoding from
2840         decl name.
2842 2002-05-03  Jakub Jelinek  <jakub@redhat.com>
2844         * config/i386/i386.c (ix86_expand_int_movcc): Truncate to proper
2845         mode.
2847 2002-05-03  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
2849         * doc/install.texi (Installing): Mention GCC 3.1 buildstats.
2850         (Specific): Removed buildstats references.
2851         (Specific, hppa*-hp-hpux11): Adjust for GCC versions > 3.0.
2852         (Specific, sparc-sun-solaris2*): Update 64-bit hints for GCC 3.1.
2853         Accomodate Solaris versions beyond 8.
2854         (Specific, sparc-sun-solaris2.7): Update as path for GCC 3.1.
2855         (Specific, *-*-solaris2.8): Removed, obsolete.
2857 2002-05-03  Jakub Jelinek  <jakub@redhat.com>
2859         PR target/6542
2860         * config/sparc/sparc.h (leaf_reg_remap): Remove const.
2861         (CONDITIONAL_REGISTER_USAGE): For TARGET_FLAT make
2862         fill leaf_reg_remap with identity.
2863         * config/sparc/sparc.c (leaf_reg_remap): Remove const.
2865 2002-05-03  Kazu Hirata  <kazu@cs.umass.edu>
2867         * config/h8300/crti.asm: Remove trailing spaces.
2868         * config/h8300/h8300.c: Likewise.
2869         * config/h8300/lib1funcs.asm: Likewise.
2871 2002-05-02  Jason Merrill  <jason@redhat.com>
2873         * defaults.h (BOOL_TYPE_SIZE): Move default here from cp/decl.c.
2874         * c-decl.c (c_init_decl_processing): Use it.
2875         * config/rs6000/darwin.h (BOOL_TYPE_SIZE): Define to INT_TYPE_SIZE.
2876         * config/i960/i960.h (BOOL_TYPE_SIZE): Don't define.
2877         * config/mcore/mcore.h (BOOL_TYPE_SIZE): Don't define.
2879 2002-05-03  Kazu Hirata  <kazu@cs.umass.edu>
2881         * regrename.c: Fix formatting.
2882         * tree.c: Likewise.
2884 Fri May  3 13:34:43 CEST 2002  Jan Hubicka  <jh@suse.cz>
2886         * i386.md (attribute memory): Handle compares properly.
2888 Fri May  3 10:51:38 CEST 2002  Jan Hubicka  <jh@suse.cz>
2890         * i386.md (sse_clrsf, sse_clrsi): Set memory attribute
2891         to none.
2893 2002-05-02  Kazu Hirata  <kazu@cs.umass.edu>
2895         * function.c: Fix formatting.
2897 2002-05-02  Jan Hubicka  <jh@suse.cz>
2899         * haifa-sched.c (schedule_insn): Print table of instructions and
2900         reservations.
2901         (sched_block): Do not print ready list at verbosity level 1.
2902         * sched-vis.c (print_insn): Make global.
2903         * sched-ebb.c (ebb_print_insn): Rename from...
2904         (print_insn): ... this one.
2905         * sched-int.h (print_insn): Declare
2907 2002-05-02  Richard Henderson  <rth@redhat.com>
2909         * haifa-sched.c (rank_for_schedule): Skip past last_scheduled_insn
2910         emitted by cycle_display.
2912 2002-05-02  Loren J. Rittle  <ljrittle@acm.org>
2914         * doc/install.texi (*-*-freebsd*): Update to latest status.
2916 2002-05-02  Jakub Jelinek  <jakub@redhat.com>
2918         PR target/6540
2919         * config.gcc (sparc*-*-solaris2*): Set float_format to i128.
2920         * config/float-sparc.h: Assume 128-bit long double if
2921         __LONG_DOUBLE_128__ is defined.
2923 2002-05-02  Vladimir Makarov  <vmakarov@redhat.com>
2925         * genattrtab.c (write_function_unit_info): Add a dummy element
2926         when num_units == 0.
2928 2002-05-02 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
2930         * predict.c: (propagate_freq, estimate_bb_frequencies): Use
2931         TYPE_MODE (double_type_node) instead of DFmode.
2933 Thu May  2 19:50:04 CEST 2002  Jan Hubicka  <jh@suse.cz>
2935         * cfgrtl.c (try_redirect_by_replacing_jump): Do not kill computed
2936         jumps post reload.
2937         * toplev.c (rest_of_compilation): Revert Richard's patch.
2939 2001-05-02  John David Anglin  <dave@hiauly1.hia.nrc.ca>
2941         * pa/x-ada (ADA_CFLAGS): Rename to X_ADA_CFLAGS.
2943 2002-05-02  Catherine Moore  <clm@redhat.com>
2945         * config/v850/v850.h (TRAMPOLINE_TEMPLATE): Change r5 to r20.
2947 2002-05-02  Kazu Hirata  <kazu@hxi.com>
2949         * combine.c: Fix comment typos.
2950         * expr.c: Likewise.
2951         * genautomata.c: Likewise.
2952         * stmt.c: Likewise.
2953         * tree.h: Likewise.
2955 2002-05-02  Joseph S. Myers  <jsm28@cam.ac.uk>
2957         * doc/install.texi: State GNAT version requirements.
2959 2002-05-02  Nick Clifton  <nickc@cambridge.redhat.com>
2961         * config/fr30/fr30.h (GO_IF_LEGITIMATE_ADDRESS): Accept any form
2962         of the frame pointer or arg pointer register which strict register
2963         checking is not enabled.
2965 2002-05-02  Aldy Hernandez  <aldyh@redhat.com>
2967         * gcc.dg/altivec-8.c: New.
2969         * config/rs6000/rs6000.c (rs6000_legitimate_address): Disallow
2970         PRE_INC and PRE_DEC for altivec modes.
2972 2002-05-01  Bruce Korb  <bkorb@gnu.org>
2974         * fixinc/check.tpl(set-writable): make sure the function exists first
2975         * fixinc/inclhack.def(alpha_assert): fix test_text
2976         * fixinc/tests/base/assert.h: add in missing result
2978 2002-05-01  Jeff Law  <law@redhat.com>
2980         * pa.h (EXTRA_CONSTRAINT): Don't accept PIC addresses for the
2981         'T' constraint.
2983 2002-05-01  Joel Brobecker  <brobecker@gnat.com>
2985         * dbxout.c (dbxout_type): Emit size information for range types,
2986         as well, but only when using GDB extensions.
2988 2002-05-01  Richard Henderson  <rth@redhat.com>
2990         * configure.in (HAVE_GAS_HIDDEN): Replace SPARC feature test with
2991         target-independent gnu binutils date test.
2993 2002-05-01  Richard Henderson  <rth@redhat.com>
2995         * cfgcleanup.c (merge_blocks_move_successor_nojumps): Emit dump
2996         info before expunging the block.
2998 2002-05-01  Jakub Jelinek  <jakub@redhat.com>
3000         * cppinit.c (cpp_handle_option) [-dM]: Don't set no_output here...
3001         (cpp_post_options): ...but here.  Disable -dD, -dN and -dI when
3002         -M -or -MM is in effect.
3004 2002-05-01  Zack Weinberg  <zack@codesourcery.com>
3006         * config.gcc: Correct test of --enable-obsolete.  Obsolete all
3007         A29k configurations.
3008         * doc/install.texi: Update to match.
3010 2002-05-01  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
3012         PR bootstrap/6514
3013         * varasm.c (globalize_decl): Compare DECL_ASSEMBLER_NAME to check
3014         for duplicates. Always loop over whole list.
3016 Wed May  1 10:32:37 2002  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
3018         * reload.c (find_reloads, case 'p'): Set BADOP to 0.
3020 2002-05-01      Joel Sherrill <joel@OARcorp.com>
3022         * config/sparc/t-elf (sparc-rtems, sparc-elf): Build assembly
3023         support routines.
3025 2002-05-01      Joel Sherrill <joel@OARcorp.com>
3027         * config/arm/rtems-elf.h: Add #undef TARGET_VERSION to prevent warning.
3029 2002-05-01  David Edelsohn  <edelsohn@gnu.org>
3031         * rs6000.md (abssi2_nopower): Convert to define_insn_and_split.
3032         (nabs_nopower): Same.
3033         (floatdisf2): New pattern.
3034         (absdi2): Convert to define_insn_and_split.
3035         (nabsdi2): Same.
3036         (trunctfsf2): Same.
3037         (floatditf2): Same.
3038         (floatsitf2): Same.
3039         (fix_trunctfdi2): Same.
3040         (fix_trunctfsi2): Same.
3042 2002-05-01  Joseph S. Myers  <jsm28@cam.ac.uk>
3044         * doc/install.texi: Update Texinfo version requirement
3045         documentation.
3047 2002-05-01  Jakub Jelinek  <jakub@redhat.com>
3049         PR target/6512, PR target/5628
3050         * config/sparc/sparc.md (movdf_insn_v9only_novis): Don't allow >= %f32
3051         when memory is not aligned.
3052         (movdf_insn_v9only_vis): Likewise.
3053         * config/sparc/sparc.h (SECONDARY_INPUT_RELOAD_CLASS): Request a FP_REGS
3054         temporary for EXTRA_FP_REGS DFmode load from unaligned memory.
3055         (SECONDARY_OUTPUT_RELOAD_CLASS): Similarly.
3057 2002-05-01  Aldy Hernandez  <aldyh@redhat.com>
3059         * gcc.dg/altivec-7.c: New.
3061         * config/rs6000/altivec.h: Cleanup.
3063 2002-04-30  Aldy Hernandez  <aldyh@redhat.com>
3065         * doc/invoke.texi (Option Summary): Add -mvrsave=.
3066         (RS/6000 and PowerPC Options): Document -mvrsave=.
3068         * config/rs6000/rs6000.c (rs6000_altivec_vrsave): New global.
3069         (rs6000_altivec_vrsave_string): Same.
3070         (rs6000_override_options): Call rs6000_parse_vrsave_option.
3071         (rs6000_parse_vrsave_option): New.
3072         (rs6000_stack_info): Only generate vrsave instructions when
3073         TARGET_ALTIVEC_VRSAVE.
3075         * config/rs6000/rs6000.h (TARGET_OPTIONS): Add -mvrsave= option.
3076         (rs6000_altivec_vrsave_string): Define extern.
3077         (rs6000_altivec_vrsave): Same.
3078         (TARGET_ALTIVEC_VRSAVE): New.
3080 2002-04-30  Richard Henderson  <rth@redhat.com>
3082         PR opt/6516
3083         * toplev.c (rest_of_compilation): Don't run cross-jump before
3084         bb-reorder.
3086 2002-04-30  Tom Rix  <trix@redhat.com>
3088         * regrename.c (build_def_use, copyprop_hardreg_forward_1): Sanity
3089         check which_alternative.
3091 2002-04-30  Kazu Hirata  <kazu@hxi.com>
3093         * cpplex.c: Fix comment formatting.
3094         * function.c: Likewise.
3095         * integrate.c: Likewise.
3096         * regrename.c: Likewise.
3097         * sibcall.c: Likewise.
3098         * simplify-rtx.c: Likewise.
3099         * tree-inline.c: Likewise.
3101 2002-04-30  John David Anglin  <dave@hiauly1.hia.nrc.ca>
3103         * config.gcc (hppa1.1-*-pro*, hppa1.1-*-osf*, hppa1.1-*-rtems*,
3104         hppa1.0-*-osf*, hppa1.1-*-bsd*, hppa1.1-*-hpux10*, hppa2*-*-hpux10*,
3105         hppa1.0-*-hpux10*, hppa*64*-*-hpux11*, hppa1.1-*-hpux11*,
3106         hppa2*-*-hpux11*, hppa1.0-*-hpux11*, hppa*-*-lites*): Define xmake_file.
3107         * pa/t-linux, pa/t-pa, pa/t-pa64, t-pro (T_ADAFLAGS): Delete.
3108         * pa/x-ada: New file.  Define ADA_CFLAGS.
3110 2002-04-30  Hans-Peter Nilsson  <hp@bitrange.com>
3112         * config/mmix/mmix.h (MMIX_LAST_STACK_REGISTER_REGNUM): Renamed
3113         from MMIX_LAST_REGISTER_FILE_REGNUM.
3114         (NO_IMPLICIT_EXTERN_C): Remove cryptic obsolete comment.
3115         (struct machine_function): New member highest_saved_stack_register
3116         previously static variable in mmix.c.
3117         (MACHINE_DEPENDENT_REORG): Define.
3118         * config/mmix/mmix.c (highest_saved_stack_register): Deleted.
3119         (MMIX_OUTPUT_REGNO): New.
3120         (mmix_target_asm_function_prologue): Move calculation of last used
3121         saved-stack-register into...
3122         (mmix_machine_dependent_reorg): New function.  Update to also handle
3123         !TARGET_ABI_GNU.
3124         (mmix_print_operand): Apply MMIX_OUTPUT_REGNO when emitting
3125         register names, simplify somewhat by new variable regno.
3126         <case 'p'>: Remove fixed FIXME.  Always emit highest used saved
3127         register.
3128         (mmix_print_operand_address): Apply MMIX_OUTPUT_REGNO when
3129         emitting register names.
3130         (mmix_asm_output_reg_push, mmix_asm_output_reg_pop): Ditto.
3131         (mmix_dbx_register_number): Apply MMIX_OUTPUT_REGNO here too.
3132         Remove fixed FIXME.
3133         * config/mmix/mmix-protos.h (mmix_machine_dependent_reorg):
3134         Declare.
3136         * config/mmix/mmix.md ("divmoddi4"): Update head comment.
3138 2002-04-30  Richard Henderson  <rth@redhat.com>
3140         * config/sparc/sparc.c (emit_soft_tfmode_libcall,
3141         emit_soft_tfmode_binop, emit_soft_tfmode_unop, emit_soft_tfmode_cvt,
3142         emit_hard_tfmode_operation, emit_tfmode_binop, emit_tfmode_unop,
3143         emit_tfmode_cvt): New.
3144         * config/sparc/sparc.md (extendsftf2, extenddftf2, trunctfsf2,
3145         trunctfdf2, floatsitf2, floatunssitf2, floatditf2, floatunsditf2,
3146         fix_trunctfsi2, fixuns_trunctfsi2, fix_trunctfdi2, fixuns_trunctfdi2,
3147         addtf3, subtf3, multf3, divtf3, sqrttf2): Use them.
3148         * config/sparc/sparc-protos.h: Update.
3150 2002-04-30  Janis Johnson  <janis187@us.ibm.com>
3152         * install.texi (Final install): Add to the list of info to include
3153         in a report of a successful bootstrap, and add link to 3.1 list.
3155 Tue Apr 30 19:15:36 CEST 2002  Jan Hubicka  <jh@suse.cz>
3157         * i386.md (type): Add new SSE/MMX subtypes, remove usused fop1.
3158         (mode): Add vector modes
3159         (i387): Kill attribute.
3160         (unit): New attribute.
3161         (length_immediate): Grok new types.
3162         (prefix_data16, prefix_rep, prefix_0f): Fix for SSE/MMX.
3163         (modrm): Use "unit".
3164         (memory): Handle MMX/SSE properly.
3165         (scheduling descriptions): Kill uses of fop1.
3166         (sse, mmx, fp patterns): Set type and mode properly.
3168 Tue Apr 30 09:31:59 2002  Jeffrey A Law  (law@cygnus.com)
3170         * pa.c (override_options): Default to PA8000 scheduling.
3171         * doc/invoke.texi (HP-PA options): Mention newly added 7300
3172         scheduling parameter.
3174         * pa.md (7100lc, 7200, 7300 scheduling): Slightly refine
3175         handling of double precision multiplies.
3177         * pa.md (7100lc, 7200, 7300 scheduling): Refine handling of
3178         fpdiv and fpsqrt instructions.
3179         (7200 & 7300 scheduling): Fix typo in handling of
3180         store-load and store-store penalties.
3182 2002-04-30  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
3184         * doc/contrib.texi (Contributors): Use MIPS instead of Mips and
3185         mips.  Add two missing commas.
3187 2002-04-30  Paolo Carlini  <pcarlini@unitus.it>
3189         * doc/contrib.texi (Contributors): Update Paolo Carlini's
3190         and Benjamin Kosnik's entries.
3192 2002-04-29  David S. Miller  <davem@redhat.com>
3194         * config/sparc/sparc.h (BRANCH_COST, PREFETCH_BLOCK,
3195         SIMULTANEOUS_PREFETCHES): Tune for UltraSPARC-III.
3196         * config/sparc/sparc.md (call + jmp 32-bit peepholes): Likewise.
3197         * config/sparc/sparc.c (sparc_initialize_trampoline): Likewise.
3199 2002-04-29  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
3201         * combine.c (find_split_point): Use gen_int_mode.
3203 2002-04-29  Vladimir Makarov  <vmakarov@redhat.com>
3205         Merging code from dfa-branch:
3207         2002-04-24  Vladimir Makarov  <vmakarov@redhat.com>
3209         * genautomata.c (output_reserv_sets): Fix typo.
3211         2002-04-23  Vladimir Makarov  <vmakarov@redhat.com>
3213         * genautomata.c (output_reserv_sets): Remove
3214         next_cycle_output_flag.
3216         Thu Apr 18 08:57:06 2002  Jeffrey A Law  (law@redhat.com)
3218         * sched-rgn.c (init_ready_list): Make the DFA code handle
3219         USE/CLOBBER insns in the same way as the traditional
3220         scheduler.
3221         (new_ready): Similarly..
3223         2002-04-17  Vladimir Makarov  <vmakarov@redhat.com>
3225         * haifa-sched.c (schedule_block): Change the DFA state only after
3226         issuing insn.
3228         Wed Apr 17 15:38:36 2002  Jeffrey A Law  (law@redhat.com)
3230         * pa.c (hppa_use_dfa_pipeline_interface): New function.
3231         (TARGET_SCHED_USE_DFA_PIPELINE_INTERFACE): Define.
3232         (override_options): Add PA7300 scheduling support.
3233         (pa_adjust_cost): Update various comments.  Properly
3234         handle anti and output dependencies when using the
3235         DFA scheduler.
3236         (pa_issue_rate): Add PA7300 scheduling support.
3237         (pa_can_combine_p): Call extract_insn before calling
3238         constrain_operands (taken from mainline tree).
3239         * pa.h (enum processor_type): Add PROCESSOR_PA7300.
3240         * pa.md (cpu attr): Add 7300.  Rewrite pipeline
3241         descriptions using DFA descriptions.  Add PA7300
3242         scheduling support.
3244         2002-03-30  David S. Miller  <davem@redhat.com>
3246         Add UltraSPARC-III DFA scheduling support.
3247         * config/sparc/sparc.md (define_attr type): Add fpcrmove.
3248         Update FP conditional move on register insn patterns to use it, as
3249         appropriate.
3250         (define_attr cpu): Add ultrasparc3.
3251         (define_attr us3load_type): New, update integer load patterns to
3252         set it, as appropriate.
3253         (define_automaton): Add ultrasparc3_0 and ultrasparc3_1.
3254         (rest): Add UltraSPARC3 scheduling description.
3255         * config/sparc/sparc.h (TARGET_CPU_ultrasparc3): New.
3256         (PROCESSOR_ULTRASPARC3): New.
3257         ({ASM,CPP}_CPU64_DEFAULT_SPEC): Handle ultrasparc3.
3258         ({ASM,CPP}_CPU_SPEC): Likewise.
3259         (REGISTER_MOVE_COST): Likewise.
3260         (RTX_COSTS): Likewise.
3261         * config/sparc/sparc.c (sparc_override_options,
3262         sparc_initialize_trampoline, sparc64_initialize_trampoline,
3263         sparc_use_dfa_pipeline_interface, sparc_use_sched_lookahead,
3264         sparc_issue_rate): Likewise.
3265         * config/sparc/sol2.h: Likewise.
3266         * config/sparc/sol2-sld-64.h: Likewise.
3267         * config/sparc/linux64.h: Likewise.
3269         2002-03-22  Vladimir Makarov  <vmakarov@redhat.com>
3271         * doc/md.texi: Add comments about usage the latency time for the
3272         different dependencies and about case when two or more conditions
3273         in different define_insn_reservations returns TRUE for an insn.
3275         * doc/md.texi: Add reference for automaton based pipeline
3276         description.
3278         2002-03-04  Vladimir Makarov  <vmakarov@redhat.com>
3280         * doc/passes.texi: Add missed information about genattrtab.
3282         2002-03-01  Vladimir Makarov  <vmakarov@redhat.com>
3284         * genautomata.c (output_automata_list_transition_code): Check
3285         automata_list on NULL.
3287         2002-02-28  Vladimir Makarov  <vmakarov@redhat.com>
3289         * genautomata.c (output_insn_code_cases,
3290         output_automata_list_min_issue_delay_code,
3291         output_automata_list_transition_code,
3292         output_automata_list_state_alts_code): Comment the functions.
3294         2002-02-22  Vladimir Makarov  <vmakarov@redhat.com>
3296         * genautomata.c (automata_list_el_t): New typedef.
3297         (get_free_automata_list_el,free_automata_list_el,
3298         free_automata_list, automata_list_hash, automata_list_eq_p,
3299         initiate_automata_lists, automata_list_start, automata_list_add,
3300         automata_list_finish, finish_automata_lists,
3301         output_insn_code_cases, output_automata_list_min_issue_delay_code,
3302         output_automata_list_transition_code,
3303         output_automata_list_state_alts_code, add_automaton_state,
3304         form_important_insn_automata_lists): New functions and prototypes.
3305         (insn_reserv_decl): Add members important_automata_list and
3306         processed_p.
3307         (ainsn): Add members important_p.
3308         (automata_list_el): New structure.
3309         (first_free_automata_list_el, current_automata_list,
3310         automata_list_table): New global variables.
3311         (create_ainsns): Initiate member important_p.
3312         (output_internal_min_issue_delay_func): Generate the switch and
3313         call output_insn_code_cases.
3314         (output_internal_trans_func, output_internal_state_alts_func):
3315         Ditto.
3316         (generate): Call initiate_automata_lists.
3317         (automaton_states): New global variable.
3318         (expand_automata): Call form_important_insn_automata_lists.
3319         (write_automata): Call finish_automata_lists.
3321         2002-02-21  Vladimir Makarov  <vmakarov@redhat.com>
3323         * genautomata.c (add_excls, add_presence_absence): Check that
3324         cpu units in the sets belong the same automaton.
3326         * rtl.def (EXCLUSION_SET, PRESENCE_SET, ABSENCE_SET): Add comment
3327         about that cpu units in the sets belong the same automaton.
3329         * doc/md.texi: Ditto.
3331         2001-12-20  Naveen Sharma  <naveens@noida.hcltech.com>
3332                     Nitin Gupta  <niting@noida.hcltech.com>
3334         * config/sh/sh.c (sh_use_dfa_interface): New function.
3336         (sh_issue_rate): New Function.
3337         TARGET_SCHED_USE_DFA_PIPELINE_INTERFACE: define.
3338         TARGET_SCHED_ISSUE_RATE: define.
3340         * config/sh/sh.md: Add DFA based pipeline description for SH4.
3342         (define_attr insn_class): New attribute used for DFA
3343          scheduling.
3344         (define_insn cmpgtsi_t): Set attribute insn_class mt_group.
3345         (cmpgesi_t,cmpgtusi_t,cmpgeusi_t,cmpeqsi_t,
3346          cmpeqdi_t): Likewise.
3348         (add,addc1,addsi3,subc,subc1,*subsi3_internal,
3349          negc,negsi2,ashldi3_k,lshrdi3_k,ashrdi3_k): Set insn_class
3350          ex_group.
3351         (iorsi3,rotlsi3_1,rotlsi3_31,rotlsi3_16): Likewise.
3353         2001-10-03  Vladimir Makarov  <vmakarov@toke.toronto.redhat.com>
3355         * haifa-sched.c (queue_to_ready): Remove unnecessary condition for
3356         break.
3358         2001-10-03  Vladimir Makarov  <vmakarov@toke.toronto.redhat.com>
3360         * genautomata.c (DFA_INSN_CODES_LENGTH_VARIABLE_NAME): New macro.
3361         (output_dfa_insn_code_func): Expand dfa_insn_codes if it is
3362         necessary.
3363         (output_dfa_start_func): Initiate new variable insn_codes_length,
3364         (write_automata): Output definition of the new variable.
3366         2001-10-02  David S. Miller  <davem@redhat.com>
3368         * haifa-sched.c (advance_one_cycle): New function.
3369         (schedule_block): Use it.
3370         (queue_to_ready): Use it, and also make sure to advance the DFA
3371         state on all stall cycles, not just those where insn_queue links
3372         are found.
3374         2001-10-02  Richard Sandiford  <rsandifo@redhat.com>
3376         * haifa-sched.c (max_issue): Remove last_p argument.  Only return
3377         non-zero if the highest-priority instruction could be scheduled.
3378         (choose_ready): Remove last argument from max_issue call.
3380         2001-09-28  David S. Miller  <davem@redhat.com>
3382         * config/sparc/sparc.c (sparc_use_sched_lookahead): Use 4 for
3383         ultrasparc and 3 for other multi-issue sparcs.
3385         2001-09-27  David S. Miller  <davem@redhat.com>
3387         * config/sparc/sparc.md (cycle_display): New pattern.
3388         * config/sparc/sparc.c (sparc_cycle_display): New.
3389         (TARGET_SCHED_CYCLE_DISPLAY): Set it.
3391         2001-09-25  David S. Miller  <davem@redhat.com>
3393         Convert all of Sparc scheduling to DFA
3394         * config/sparc/sparc.md: Kill all define_function_unit
3395         directives and replace with DFA equivalent.
3396         * config/sparc/sparc.c (ultrasparc_adjust_cost,
3397         mark_ultrasparc_pipeline_state, ultra_cmove_results_ready_p,
3398         ultra_fpmode_conflict_exists, ultra_find_type,
3399         ultra_build_types_avail, ultra_flush_pipeline,
3400         ultra_rescan_pipeline_state, ultrasparc_sched_reorder,
3401         ultrasparc_variable_issue, ultrasparc_sched_init,
3402         sparc_variable_issue, sparc_sched_reorder, ultra_code_from_mask,
3403         ultra_schedule_insn, ultra_code_names, ultra_pipe_hist,
3404         ultra_cur_hist, ultra_cycles_elapsed): Kill.
3405         (sparc_use_dfa_pipeline_interface, sparc_use_sched_lookahead,
3406         ultrasparc_store_bypass_p): New.
3407         * config/sparc/sparc-protos.h (ultrasparc_store_bypass_p):
3408         Declare.
3410         2001-09-24  David S. Miller  <davem@redhat.com>
3412         * haifa-sched.c (ready_remove): Fix thinko, we want to copy around
3413         ready->vec[foo] not ready[foo].
3415         2001-09-07  Vladimir Makarov  <vmakarov@redhat.com>
3417         * doc/md.texi: Correct examples for define_insn_reservations
3418         `mult' and `div'.
3420         2001-09-07  Vladimir Makarov  <vmakarov@redhat.com>
3422         * genautomata.c (create_automata): Print message about creation of
3423         each automaton.
3424         (generate): Remove printing meease about creation of
3425         automata.
3427         2001-09-05  David S. Miller  <davem@redhat.com>
3429         * config/sparc/linux.h: Set CPLUSPLUS_CPP_SPEC.
3430         * config/sparc/linux64.h: Likewise.
3432         2001-08-31  Vladimir Makarov  <vmakarov@redhat.com>
3434         * haifa-sched.c (insn_cost, schedule_insn, queue_to_ready,
3435         schedule_block, sched_init, sched_finish): Add missed calls of
3436         use_dfa_pipeline_interface.
3438         * sched-rgn.c (init_ready_list, new_ready, debug_dependencies):
3439         Ditto.
3441         * sched-vis.c (get_visual_tbl_length): Ditto.
3443         2001-08-27  Richard Henderson  <rth@redhat.com>
3445         * genattr.c (main): Emit state_t even when not doing scheduling.
3447         2001-08-27  Richard Henderson  <rth@redhat.com>
3449         * genautomata.c (expand_automata): Always create a description.
3451         2001-08-27  Vladimir Makarov  <vmakarov@touchme.toronto.redhat.com>
3453         * rtl.def (DEFINE_CPU_UNIT, DEFINE_QUERY_CPU_UNIT, EXCLUSION_SET,
3454         PRESENCE_SET, ABSENCE_SET, DEFINE_BYPASS, DEFINE_AUTOMATON,
3455         AUTOMATA_OPTION, DEFINE_RESERVATION, DEFINE_INSN_RESERVATION): New
3456         RTL constructions.
3458         * genattr.c (main): New variable num_insn_reservations.  Increase
3459         it if there is DEFINE_INSN_RESERVATION.  Output automaton based
3460         pipeline hazard recognizer interface.
3462         * genattrtab.h: New file.
3464         * genattrtab.c: Include genattrtab.h.
3465         (attr_printf, check_attr_test, make_internal_attr,
3466         make_numeric_value): Move protypes into genattrtab.h.  Define them
3467         as external.
3468         (num_dfa_decls): New global variable.
3469         (main): Process DEFINE_CPU_UNIT, DEFINE_QUERY_CPU_UNIT,
3470         DEFINE_BYPASS, EXCLUSION_SET, PRESENCE_SET, ABSENCE_SET,
3471         DEFINE_AUTOMATON, AUTOMATA_OPTION, DEFINE_RESERVATION,
3472         DEFINE_INSN_RESERVATION.  Call expand_automata and write_automata.
3474         * genautomata.c: New file.
3476         * rtl.h (LINK_COST_ZERO, LINK_COST_FREE): Remove them.
3478         * sched-int.h: (curr_state): Add the external definition for
3479         automaton pipeline interface.
3480         (haifa_insn_data): Add comments for members blockage and units.
3482         * target-def.h (TARGET_SCHED_USE_DFA_PIPELINE_INTERFACE,
3483         TARGET_SCHED_INIT_DFA_PRE_CYCLE_INSN,
3484         TARGET_SCHED_DFA_PRE_CYCLE_INSN,
3485         TARGET_SCHED_INIT_DFA_POST_CYCLE_INSN,
3486         TARGET_SCHED_DFA_POST_CYCLE_INSN,
3487         TARGET_SCHED_FIRST_CYCLE_MULTIPASS_DFA_LOOKAHEAD,
3488         TARGET_SCHED_INIT_DFA_BUBBLES, TARGET_SCHED_DFA_BUBBLE): New
3489         macros.
3490         (TARGET_SCHED): Use the new macros.
3492         * target.h (use_dfa_pipeline_interface, init_dfa_pre_cycle_insn,
3493         dfa_pre_cycle_insn, init_dfa_post_cycle_insn, dfa_post_cycle_insn,
3494         first_cycle_multipass_dfa_lookahead, init_dfa_bubbles,
3495         dfa_bubble): New members in gcc_target.sched.
3497         * haifa-sched.c (insert_schedule_bubbles_p): New variable.
3498         (MAX_INSN_QUEUE_INDEX): New macro for automaton interface.
3499         (insn_queue): Redefine it as pointer to array.
3500         (NEXT_Q, NEXT_Q_AFTER): Use MAX_INSN_QUEUE_INDEX instead of
3501         INSN_QUEUE_SIZE.
3502         (max_insn_queue_index_macro_value): New variable.
3503         (curr_state, dfa_state_size, ready_try): New varaibles for
3504         automaton interface.
3505         (ready_element, ready_remove, max_issue): New function prototypes
3506         for automaton interface.
3507         (choose_ready): New function prototype.
3508         (insn_unit, blockage_range): Add comments.
3509         (unit_last_insn, unit_tick, unit_n_insns): Define them for case
3510         FUNCTION_UNITS_SIZE == 0.
3511         (insn_issue_delay, actual_hazard_this_instance, schedule_unit,
3512         actual_hazard, potential_hazard): Add comments.
3513         (insn_cost): Use cost -1 as undefined value.  Remove
3514         LINK_COST_ZERO and LINK_COST_FREE.  Add new code for automaton
3515         pipeline interface.
3516         (ready_element, ready_remove): New functions for automaton
3517         interface.
3518         (schedule_insn): Add new code for automaton pipeline interface.
3519         (queue_to_ready): Add new code for automaton pipeline interface.
3520         Use MAX_INSN_QUEUE_INDEX instead of INSN_QUEUE_SIZE.
3521         (debug_ready_list): Print newline when the queue is empty.
3522         (max_issue): New function for automaton pipeline interface.
3523         (choose_ready): New function.
3524         (schedule_block): Add new code for automaton pipeline interface.
3525         Print ready list before scheduling each insn.
3526         (sched_init): Add new code for automaton pipeline interface.
3527         Initiate insn cost by -1.
3528         (sched_finish): Free the current automaton state and finalize
3529         automaton pipeline interface.
3531         * sched-rgn.c: Include target.h.
3532         (init_ready_list, new_ready, debug_dependencies): Add new code for
3533         automaton pipeline interface.
3535         * sched-vis.c: Include target.h.
3536         (get_visual_tbl_length): Add code for automaton interface.
3537         (target_units, print_block_visualization):  Add comments.
3539         * Makefile.in (GETRUNTIME, HASHTAB, HOST_GETRUNTIME, HOST_HASHTAB,
3540         USE_HOST_GETRUNTIME, USE_HOST_HASHTAB, HOST_VARRAY): New variables.
3541         (sched-rgn.o, sched-vis.o): Add new dependency file target.h.
3542         (getruntime.o, genautomata.o): New entries.
3543         (genattrtab.o): Add new dependency file genattrtab.h.
3544         (genattrtab): Add new dependencies.  Link it with `libm.a'.
3545         (getruntime.o, hashtab.o): New entries for canadian cross.
3547         * doc/md.texi: Description of automaton based model.
3549         * doc/tm.texi (TARGET_SCHED_ISSUE_RATE, TARGET_SCHED_ADJUST_COST):
3550         Add comments.
3551         (TARGET_SCHED_USE_DFA_PIPELINE_INTERFACE,
3552         TARGET_SCHED_DFA_PRE_CYCLE_INSN,
3553         TARGET_SCHED_INIT_DFA_PRE_CYCLE_INSN,
3554         TARGET_SCHED_DFA_POST_CYCLE_INSN,
3555         TARGET_SCHED_INIT_DFA_POST_CYCLE_INSN,
3556         TARGET_SCHED_FIRST_CYCLE_MULTIPASS_DFA_LOOKAHEAD,
3557         TARGET_SCHED_INIT_DFA_BUBBLES, TARGET_SCHED_DFA_BUBBLE): The new
3558         hook descriptions.
3559         (TRADITIONAL_PIPELINE_INTERFACE, DFA_PIPELINE_INTERFACE,
3560         MAX_DFA_ISSUE_RATE): New macro descriptions.
3562         * doc/contrib.texi: Add dfa based scheduler contribution.
3564         * doc/gcc.texi: Add more information about genattrtab.
3566 Mon Apr 29 17:19:10 2002  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
3568         * reload1.c (eliminate_regs, case SUBREG): Fix typo in
3569         adjust_address_nv call.
3571 2002-04-29  Janis Johnson  <janis187@us.ibm.com>
3573         * doc/install.texi (Testing): Provide additional information, and
3574         a stronger encouragement, for running the testsuites.
3576 2002-04-29  DJ Delorie  <dj@redhat.com>
3578         * config/mips/mips.c (mips_parse_cpu): Warn if the CPU name is
3579         given in upper case.
3581 2002-04-29  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
3583         * fixinc/inclhack.def (solaris_widec): Include <wchar.h> in
3584         Solaris 2 <widec.h> if missing.
3585         * fixinc/fixincl.x: Regenerate.
3586         * fixinc/tests/base/widec.h: New file.
3588 2002-04-29  Nick Clifton  <nickc@cambridge.redhat.com>
3590         * toplev.c (f_options): Add "profile" switch so that
3591         -fno-profile can be used to disable -p.
3593 2002-04-29  Bernd Schmidt  <bernds@redhat.com>
3595         * c-common.c (type_for_mode): Add support for V2DFmode, V2DImode,
3596         UV2DImode.
3597         * tree.c (build_common_tree_nodes_2): Likewise.
3598         * tree.h (enum tree_index): Likewise.
3599         (V2DF_type_node, V2DI_type_node, unsigned_V2DI_type_node): Define.
3601         * config/i386/i386.c (bdesc_comi, bdesc_2arg, bdesc_1arg): Add SSE2
3602         entries.
3603         (init_mmx_sse_builtins): Initialize SSE2 builtins.
3604         (ix86_expand_builtin): Add support for SSE2 builtins.
3605         * config/i386/i386.h (VALID_SSE2_REG_MODE): New macro.
3606         (VALID_SSE_REG_MODE): Use it.
3607         (VECTOR_MODE_SUPPORTED_P): Allow SSE2 modes here as well.
3608         (enum ix86_builtins): Add SSE2 builtins.
3609         * config/i386/i386.md (movv2df_internal, movv2df, movv8hi_internal,
3610         movv8hi, movv16qi_internal, movv16qi, pushv2df, pushv8hi, pushv16qi,
3611         addv2df3, vmaddv2df3, subv2df3, vmsubv2df3, mulv2df3, vmmulv2df3,
3612         divv2df3, vmdivv2df3, smaxv2df3, vmsmaxv2df3, sminv2df3, vmsminv2df3,
3613         sse2_anddf3, sse2_nanddf3, sse2_iordf3, sse2_xordf3, sqrtv2df2,
3614         vmsqrtv2df2, maskcmpv2df3, maskncmpv2df3, vmmaskcmpv2df3,
3615         vmmaskncmpv2df3, sse2_comi, sse2_ucomi, sse2_movmskpd, sse2_pmovmskb,
3616         sse2_maskmovdqu, sse2_movntv2df, sse2_movntti, sse2_movntsi, cvtdq2ps,
3617         cvtps2dq, cvttps2dq, cvtdq2pd, cvtpd2dq, cvttpd2dq, cvtpd2pi,
3618         cvttpd2pi, cvtpi2pd, cvtsd2si, cvttsd2si, cvtsi2sd, cvtsd2ss,
3619         cvtss2sd, cvtpd2ps, cvtps2pd, addv16qi3, addv8hi3, addv4si3, addv2di3,
3620         ssaddv16qi3, ssaddv8hi3, usaddv16qi3, usaddv8hi3, subv16qi3, subv8hi3,
3621         subv4si3, subv2di3, sssubv16qi3, sssubv8hi3, ussubv16qi3, ussubv8hi3,
3622         mulv8hi3, smulv8hi3_highpart, umulv8hi3_highpart, sse2_umulsidi3,
3623         sse2_umulv2siv2di3, sse2_pmaddwd, sse2_clrti, sse2_uavgv16qi3,
3624         sse2_uavgv8hi3, sse2_psadbw, sse2_pinsrw, sse2_pextrw, sse2_pshufd,
3625         sse2_pshuflw, sse2_pshufhw, eqv16qi3, eqv8hi3, eqv4si3, gtv16qi3,
3626         gtv8hi3, gtv4si3, umaxv16qi3, smaxv8hi3, uminv16qi3, sminv8hi3,
3627         ashrv8hi3, ashrv4si3, lshrv8hi3, lshrv4si3, sse2_lshrv2di3,
3628         ashlv8hi3, ashlv4si3, sse2_ashlv2di3, sse2_ashlti3, sse2_lshrti3,
3629         sse2_unpckhpd, sse2_unpcklpd, sse2_packsswb, sse2_packssdw,
3630         sse2_packuswb, sse2_punpckhbw, sse2_punpckhwd, sse2_punpckhdq,
3631         sse2_punpcklbw, sse2_punpcklwd, sse2_punpckldq, sse2_movapd,
3632         sse2_movupd, sse2_movdqa, sse2_movdqu, sse2_movdq2q, sse2_movq2dq,
3633         sse2_movhpd, sse2_movlpd, sse2_loadsd, sse2_movsd, sse2_storesd,
3634         sse2_shufpd, sse2_clflush, sse2_mfence, mfence_insn, sse2_lfence,
3635         lfence_insn): New patterns.
3636         (sse2_andti3, sse2_nandti3, sse2_iorti3, sse2_xorti3): Renamed from
3637         sse_andti3_sse2, sse_nandti3_sse2, sse_iorti3_sse2, sse_xorti3_sse2.
3639 Mon Apr 29 17:03:24 CEST 2002  Jan Hubicka  <jh@suse.cz>
3641         * i386.md (sse_mov?fcc*): Revert patch of Mar 14th.
3643 2002-04-29  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
3645         * doc/contrib.texi (Contributors): Add Paolo Carlini and
3646         Janis Johnson.
3647         Update Richard Henderson, Jakub Jelinek, and Mark Mitchell.
3648         Refer to Objective-C instead of ObjC, SPARC instead of sparc,
3649         and CPU instead of cpu.
3651 Mon Apr 29 13:36:41 CEST 2002  Jan Hubicka  <jh@suse.cz>
3653         * toplev.c (flag_if_conversion, flag_if_conversion2): New static
3654         variables.
3655         (lang_independent_options): Add -fif-conversion, -fif-conversion2
3656         (rest_of_compilation): Do if conversion only when asked for.
3657         (parse_options_and_default_flags): Set new variables to 1 for -O1
3658         * invoke.texi (-fif-conversion, -fif-conversion2): Document.
3660 Mon Apr 29 13:02:50 CEST 2002  Jan Hubicka  <jh@suse.cz>
3662         * i386.c (dbx64_register_map): Fix typo.
3664 Mon Apr 29 12:18:35 CEST 2002  Jan Hubicka  <jh@suse.cz>
3666         * predict.c (real_zero, real_one, real_almost_one, real_br_prob_base,
3667         real_one_half, real_bb_freq_max): New static variables.
3668         (debug_profile_bbauxs): Kill.
3669         (process_note_predictions): Kill unused variable.
3670         (block_info_def, edge_info_def): Use REAL_VALUE_TYPE instead of
3671         volatile double.
3672         (propagate_freq): Use REAL_ARITHMETICS.
3673         (estimate_bb_frequencies): Likevise; init new static variables.
3674         * Makefile.in (predict.o): Add dependency on real.h
3676 2002-04-28  David S. Miller  <davem@redhat.com>
3678         PR target/6500
3679         * config/sparc/sparc.md (prefetch): Emit properly for 32-bit vs.
3680         64-bit TARGET_V9.  Do not use prefetch page, use prefetch for
3681         several {reads,writes} instead.
3682         * config/sparc/sparc.h (PREFETCH_BLOCK, SIMULTANEOUS_PREFETCHES):
3683         Define.
3685 2002-04-27  David S. Miller  <davem@redhat.com>
3687         PR target/6494
3688         * config/sparc/linux64.h (MD_FALLBACK_FRAME_STATE_FOR): Be mindful
3689         of the stack bias.
3691         * config/sparc/linux.h, config/sparc/linux64.h: Don't bother
3692         including signal.h and sys/ucontext.h, not needed.
3694 2002-04-29  Hans-Peter Nilsson  <hp@bitrange.com>
3696         * varasm.c (output_constant_def): Correct test for not calling
3697         ENCODE_SECTION_INFO for INTEGER_CST.
3699 2002-04-29  Neil Booth  <neil@daikokuya.demon.co.uk>
3701         * cppexp.c (lex): Move some code to _cpp_parse_expr, but
3702         keep most cases as function eval_token.
3703         (eval_token): New function.
3704         (_cpp_parse_expr): Read token here for improved diagnostics.
3705         Don't use op_as_text.  Detect bad ':' here.
3706         (reduce): Don't detect bad ':' here.
3707         (op_as_text): Remove.
3708         * cpphash.h (_cpp_test_assertion): Change prototype.
3709         * cpplib.c (_cpp_test_assertion): Change prototype.
3711 2002-04-28  Richard Henderson  <rth@redhat.com>
3713         PR c/5154
3714         * ggc-common.c (ggc_mark_rtx_children_1): Rename from...
3715         (ggc_mark_rtx_children): New.
3717 2002-04-28  Jakub Jelinek  <jakub@redhat.com>
3719         PR target/6496
3720         * config/sparc/sparc.md (call + jump 32-bit peepholes): Disable jump
3721         after call peepholes for UltraSPARC.
3722         (call + jump 64-bit peepholes): Remove.
3724 2002-04-28  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
3726         PR c/6497
3727         * config/rs6000/rs6000.md (sCC patterns): Remove clobber and use
3728         result as temporary value.
3730 2002-04-28  Jakub Jelinek  <jakub@redhat.com>
3732         PR c++/6396
3733         * toplev.c (rest_of_compilation): Only run regrename and copy
3734         propagation if optimizing.
3736 2002-04-28  Jakub Jelinek  <jakub@redhat.com>
3738         PR optimization/6475
3739         * reload1.c (alter_reg): Only call set_mem_expr if I is home pseudo
3740         register of REGNO_DECL (i).
3741         * Makefile.in (reload1.o): Add $(TREE_H).
3743 2002-04-28  Neil Booth  <neil@daikokuya.demon.co.uk>
3745         * cppexp.c (lex): Update to use state.skip_eval.
3746         (struct op): Remove prio and flags members.
3747         (FLAG_BITS, FLAG_MASK, PRIO_SHIFT, EXTRACT_PRIO, EXTRACT_FLAGS,
3748         SHORT_CIRCUIT, RIGHT_ASSOC, ..._PRIO, op_to_prio): Remove.
3749         (LEFT_ASSOC): New macro.
3750         (optab): New table of operator priorities and flags.
3751         (SHIFT): Update.
3752         (_cpp_parse_expr): Clean up logic.  Return bool.  Use a
3753         malloc-ed parser stack.
3754         (reduce): New; reduce the operator stack.
3755         (_cpp_expand_op_stack): Expand the operator stack as necessary.
3756         * cpphash.h (struct op): Predeclare.
3757         (struct cpp_reader): New members op_stack, op_limit.
3758         (struct lexer_state): New member skip_eval.
3759         (_cpp_parse_expr): Update.
3760         (_cpp_expand_op_stack): New.
3761         * cpplib.c (do_if): Update.
3762         * cppinit.c (cpp_create_reader): Create op stack.
3763         (cpp_destroy): And destroy it.
3764         * cpplib.h (CPP_LAST_CPP_OP): Correct.
3765         (TTYPE_TABLE): Correct.
3767 2002-04-28  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
3769         PR c/6343
3770         * c-decl.c (duplicate_decls): Call merge_weak.
3771         * c-pragma.c (apply_pragma_weak): Warn about misuse.
3772         * output.h (merge_weak): Prototype merge_weak.
3773         * varasm.c (merge_weak): New function.
3774         (declare_weak): Make sure we don't give an error on VAR_DECLs.
3775         Mark RTL with SYMBOL_REF_WEAK.
3777 2002-04-27  Kurt Garloff <garloff@suse.de>
3779         * tree-inline.c (inlinable_function_p): Improve heuristics
3780         by using a smoother function to cut down allowable inlinable size.
3781         * param.def: Add parameters max-inline-insns-single,
3782         max-inline-slope, min-inline-insns that determine the exact
3783         shape of the above function.
3784         * param.h: Likewise.
3786 2002-04-26  Richard Henderson  <rth@redhat.com>
3788         * c-parse.in (malloced_yyss, malloced_yyvs): New.
3789         (yyoverflow): Re-add.  Set them.
3790         (free_parser_stacks): New.
3791         * c-common.h: Declare it.
3792         * c-lex.c (c_common_parse_file): Call it.
3794 2002-04-26  Richard Henderson  <rth@redhat.com>
3796         * cfgrtl.c (tidy_fallthru_edge): Don't use next_real_insn
3797         for fallthru search.
3799 2002-04-26  Eric Christopher  <echristo@redhat.com>
3801         PR optimization/3700
3802         * config/mips/mips.c (mips_issue_rate): Define.  New function.
3803         (TARGET_SCHED_ISSUE_RATE): Use.
3805 2002-04-25  David S. Miller  <davem@redhat.com>
3807         PR target/6422
3808         * reorg.c (optimize_skip): Do not allow exception causing
3809         instructions to be considered for delay slots.
3810         (fill_simply_delay_slots, fill_slots_from_thread): Likewise.
3811         (relax_delay_slots): Do not try to consider exception causing
3812         instructions as redundant.
3814 2002-04-26  Richard Henderson  <rth@redhat.com>
3816         PR c/5225
3817         * c-typeck.c (build_unary_op) [CONVERT_EXPR]: Invoke non_lvalue.
3819 2002-04-26  Mark Mitchell  <mark@codesourcery.com>
3821         PR bootstrap/6445
3822         * config/i386/i386.md (untyped_call): Return the value in a float
3823         register if TARGET_FLOAT_RETURNS_IN_80387, not just if
3824         TARGET_80387.
3826 2002-04-26  Alexandre Oliva  <aoliva@redhat.com>
3828         * tree.c (tree_int_cst_lt): Compare constants whose types differ
3829         in unsigned-ness correctly.
3831 2002-04-26  John David Anglin  <dave@hiauly1.hia.nrc.ca>
3833         * pa.h (FUNCTION_OK_FOR_SIBCALL): Don't do sibcalls when using the
3834         portable runtime model.
3836 2002-04-26  Richard Henderson  <rth@redhat.com>
3838         * c-parse.in (yyoverflow): Revert.
3840 2002-04-26  David Edelsohn  <edelsohn@gnu.org>
3841             Richard Henderson  <rth@redhat.com>
3843         * config/rs6000/rs6000.md (sCC pattern): Remove clobber and use
3844         result as temporary value.
3846 2002-04-26  Richard Henderson  <rth@redhat.com>
3848         PR c/3581
3849         * c-common.c (fix_string_type): Split out of ...
3850         (combine_strings): ... here.  Take a varray, not a tree list.
3851         (c_expand_builtin_printf): Use fix_string_type.
3852         * c-common.h: Update decls.
3853         * c-parse.in (string): Remove.  Update all uses to use STRING
3854         instead, and not call combine_strings.
3855         (yylexstring): New.
3856         (_yylex): Use it.
3857         * c-typeck.c (simple_asm_stmt): Don't call combine_strings.
3858         (build_asm_stmt): Likewise.
3859         * objc/objc-act.c (my_build_string): Use fix_string_type.
3860         (build_objc_string_object): Build varray for combine_strings.
3862 2002-04-26  Bo Thorsen  <bo@suse.co.uk>
3864         * config/i386/linux64.h (MD_FALLBACK_FRAME_STATE_FOR): Define for
3865         x86-64.
3867 2002-04-26  Neil Booth  <neil@daikokuya.demon.co.uk>
3869         * cppexp.c (CPP_UMINUS, CPP_UPLUS): New.
3870         (HAVE_NO_R_OPERAND): Remove.
3871         (HAVE_VALUE): Remove.
3872         (op_to_prio): Update.
3873         (UNARY): Don't alter flags.
3874         (_cpp_parse_expr): want_value used to indicate whether
3875         a number or unary operator is expected next.  Distinguish
3876         unary and binary +/-.
3877         (op_as_text): Update for unary operators.
3879 2002-04-25  Richard Henderson  <rth@redhat.com>
3881         PR c/2161
3882         * c-parse.in (yyoverflow): New.
3884 2002-04-25  Richard Henderson  <rth@redhat.com>
3886         PR c/2098
3887         * c-common.c (shorten_compare): Simplfy conditions leading to
3888         the generation of a warning.
3890 2002-04-25  Richard Henderson  <rth@redhat.com>
3892         PR c/2035
3893         * expmed.c (extract_bit_field): Fall through to generic code rather
3894         than aborting on subreg special case.
3896 2002-04-25  David S. Miller  <davem@redhat.com>
3898         * config/sparc/sparc.h (FUNCTION_OK_FOR_SIBCALL): Add back check
3899         for DECL being NULL.
3901 2002-04-25  Steve Christiansen  <smc@us.ibm.com>
3903         * doc/md.texi (Machine Constraints): Add IA-64 constraints.
3905 2002-04-25  Eric Botcazou  <ebotcazou@multimania.com>
3907         * c-decl.c (grokdeclarator): Remove outdated ??? note
3908         on invalid declaration of flexible array members.
3910 2002-04-25  Richard Henderson  <rth@redhat.com>
3912         * doc/invoke.texi: Document -gdwarf{,-2} vs debug level.
3914 2002-04-25  Ulrich Weigand  <uweigand@de.ibm.com>
3916         * config/s390/s390.c (s390_emit_epilogue): Always restore registers
3917         needed by the compiler, even if they are used as global regs.
3919 2002-04-25  Matt Hiller  <hiller@redhat.com>
3921         * mips.c (mips_class_max_nregs, mips_register_move_cost): New
3922         functions.
3923         * mips.h (CLASS_MAX_NREGS, REGISTER_MOVE_COST): Redefine as calls
3924         of the corresponding functions.
3925         * mips-protos.h (mips_class_max_nregs, mips_register_move_cost):
3926         New prototypes.
3928 2002-04-25  Matt Hiller  <hiller@redhat.com>
3930         * config/mips/mips.h (mips_sw_reg_names): Declare as extern.
3932         (ALL_COP_ADDITIONAL_REGISTER_NAMES): New macro.
3933         (FIRST_PSEUDO_REGISTER): Redefine considering coprocessor
3934         registers, adjust comment accordingly.
3935         (FIXED_REGISTERS, CALL_USED_REGISTERS, CALL_REALLY_USED_REGISTERS,
3936         reg_class, REG_CLASS_NAMES, REG_CLASS_CONTENTS, REGISTER_NAMES,
3937         DEBUG_REGISTER_NAMES, REG_ALLOC_ORDER): Adjust to include entries
3938         for coprocessor registers.
3939         (ADDITIONAL_REGISTER_NAMES): Include
3940         ALL_COP_ADDITIONAL_REGISTER_NAMES.
3942         (COP0_REG_FIRST, COP0_REG_LAST, COP0_REG_NUM,
3943         COP2_REG_FIRST, COP2_REG_LAST, COP2_REG_NUM,
3944         COP3_REG_FIRST, COP3_REG_LAST, COP3_REG_NUM,
3945         COP0_REG_P, COP2_REG_P, COP3_REG_P, ALL_COP_REG_P,
3946         COPNUM_AS_CHAR_FROM_REGNUM, COP_REG_CLASS_P): New macros.
3948         (mips_char_to_class): Adjust comment to include coprocessor
3949         constraint letters.
3951         * config/mips/mips.c (coprocessor_operand, coprocessor2_operand):
3952         New functions.
3953         (mips_reg_names, mips_regno_to_class): Include coprocessor
3954         information.
3955         (mips_sw_reg_names): Ditto, make non-static.
3956         (mips_move_1word): Handle moves to and from coprocessor registers.
3957         (mips_move_2words): Handle moves to and from coprocessor
3958         registers.
3959         (mips_class_max_nregs, mips_register_move_cost): Handle
3960         coprocessor register classes.
3961         (override_options): Initialize mips_char_to_class and
3962         mips_hard_regno_mode_ok properly for coprocessor registers.
3964         * config/mips/mips.md (movdi_internal, movdi_internal2,
3965         movsi_internal1, movsi_internal2): Add constraint-sets for
3966         coprocessor registers.
3967         * testsuite/gcc.c-torture/mipscop-1.c: New testcase.
3968         * testsuite/gcc.c-torture/mipscop-1.x: Disable above if target
3969         isn't mips.
3970         * testsuite/gcc.c-torture/mipscop-2.c: New testcase.
3971         * testsuite/gcc.c-torture/mipscop-2.x: Disable above if target
3972         isn't mips.
3973         * testsuite/gcc.c-torture/mipscop-3.c: New testcase.
3974         * testsuite/gcc.c-torture/mipscop-3.x: Disable above if target
3975         isn't mips.
3976         * testsuite/gcc.c-torture/mipscop-4.c: New testcase.
3977         * testsuite/gcc.c-torture/mipscop-4.x: Disable above if target
3978         isn't mips.
3980         * doc/tm.texi: Document feature.
3982 2002-04-25  Neil Booth  <neil@daikokuya.demon.co.uk>
3984         * integrate.c (function_attribute_inlinable_p): Simplify.
3985         Check the table pointer is not NULL.
3987 2002-04-25  Steven Bosscher  <S.Bosscher@student.tudelft.nl>
3989         * doc/c-tree.texi: Fix typo in introduction.
3991 2002-04-25  Neil Booth  <neil@daikokuya.demon.co.uk>
3993         * c-common.h (c_common_parse_file): Update.
3994         * c-lang.c (LANG_HOOKS_SET_YYDEBUG): Remove.
3995         * c-lex.c (YYDEBUG): Get from c-lex.h.
3996         (c_common_parse_file): Update.
3997         * c-lex.h (YYDEBUG, yydebug): New.
3998         * c-parse.in (YYDEBUG): Get from c-lex.h.
3999         (c_set_yydebug): Remove.
4000         * c-tree.h (c_set_yydebug): Remove.
4001         * langhooks-def.h (lhd_do_nothing_i): New.
4002         (lhd_set_yydebug, LANG_HOOKS_SET_YYDEBUG): Remove.
4003         (LANG_HOOKS_PARSE_FILE, LANG_HOOKS_INITIALIZER): Update.
4004         * langhooks.c  (lhd_do_nothing_i): New.
4005         (lhd_set_yydebug): Remove.
4006         * langhooks.h (struct lang_hooks): Update.
4007         * toplev.c (set_yydebug): New.
4008         (compile_file): Update call to parse_file hook.
4009         (decode_d_option): Update.
4010 objc:
4011         * objc-lang.c (LANG_HOOKS_SET_YYDEBUG): Remove.
4013 Wed Apr 24 23:45:37 2002  J"orn Rennecke <joern.rennecke@superh.com>
4015         * loop.c (load_mems): Don't change the interface of called functions.
4017         * calls.c (expand_call): Take current_function_pretend_args_size
4018         into account when setting argblock for sibcalls.
4020 2002-04-24  Matt Hiller  <hiller@redhat.com>
4022         * cpplex.c: Remove conditional #undef of MULTIBYTE_CHARS.
4023         * c-lex.c: Ditto.
4025         * cpplex.c (skip_line_comment): Process comment one multibyte
4026         character at a time rather than one char at a time, if
4027         appropriate.
4028         (parse_string): Process string one multibyte character at a time
4029         rather than one char at a time, if appropriate.
4030         * c-lex.c (lex_string): Lex and copy multibyte strings
4031         appropriately.
4032         * cpplib.h (cppchar_t): Change to unsigned.
4034 2002-04-24  Richard Henderson  <rth@redhat.com>
4036         PR c/3467
4037         * c-decl.c (grokdeclarator): Don't pedwarn variable sized arrays
4038         for c99.
4040 Wed Apr 24 21:51:54 2002  J"orn Rennecke <joern.rennecke@superh.com>
4042         * sh.c (sh_va_arg): If argument was passed by reference,
4043         dereference the pointer.
4045         * sh.h (PIC_OFFSET_TABLE_REGNUM): Conditionalize on flag_pic.
4047         * sh.md (divsi3_i4_media): Use match_operand for input values
4048         rather than hard registers.
4049         (divsi3 - TARGET_SHMEDIA_FPU case): Don't ferry values
4050         unnecessarily through hard registers.  Keep copies of pseudo
4051         registers outside of the libcall sequence.
4053         * sh.md (casesi_shift_media): Add modes.
4055         * sh.h (RETURN_IN_MEMORY): Return variable size BLKmode
4056         values in memory.
4058 2002-04-24  Neil Booth  <neil@daikokuya.demon.co.uk>
4060         * attribs.c (c_common_attribute_table): Move table and handlers
4061         to c-common.c.
4062         (format_attribute_table, lang_attribute_table,
4063         lang_attribute_common): Remove.
4064         (init_attributes): Replace NULL pointers with pointers to the
4065         empty table.
4066         (handle_packed_attribute, handle_nocommon_attribute,
4067         handle_common_attribute, handle_noreturn_attribute,
4068         handle_noinline_attribute, handle_always_inline_attribute,
4069         handle_used_attribute, handle_unused_attribute,
4070         handle_const_attribute, handle_transparent_union_attribute,
4071         handle_constructor_attribute, handle_destructor_attribute,
4072         handle_mode_attribute, handle_section_attribute,
4073         handle_aligned_attribute, handle_weak_attribute,
4074         handle_alias_attribute, handle_visibility_attribute,
4075         handle_no_instrument_function_attribute, handle_malloc_attribute,
4076         handle_no_limit_stack_attribute, handle_pure_attribute,
4077         handle_deprecated_attribute, handle_vector_size_attribute,
4078         vector_size_helper): Move to c-common.c.
4079         * c-common.c (c_common_attribute_table,
4080         handle_packed_attribute, handle_nocommon_attribute,
4081         handle_common_attribute, handle_noreturn_attribute,
4082         handle_noinline_attribute, handle_always_inline_attribute,
4083         handle_used_attribute, handle_unused_attribute,
4084         handle_const_attribute, handle_transparent_union_attribute,
4085         handle_constructor_attribute, handle_destructor_attribute,
4086         handle_mode_attribute, handle_section_attribute,
4087         handle_aligned_attribute, handle_weak_attribute,
4088         handle_alias_attribute, handle_visibility_attribute,
4089         handle_no_instrument_function_attribute, handle_malloc_attribute,
4090         handle_no_limit_stack_attribute, handle_pure_attribute,
4091         handle_deprecated_attribute, handle_vector_size_attribute,
4092         vector_size_helper): Move from attribs.c.
4093         * c-common.h (c_common_attribute_table,
4094         c_common_format_attribute_table): New.
4095         * c-lang.c (LANG_HOOKS_COMMON_ATTRIBUTE_TABLE,
4096         LANG_HOOKS_FORMAT_ATTRIBUTE_TABLE): Redefine.
4097         * langhooks-def.h (LANG_HOOKS_FORMAT_ATTRIBUTE_TABLE,
4098         LANG_HOOKS_COMMON_ATTRIBUTE_TABLE, LANG_HOOKS_ATTRIBUTE_TABLE): New.
4099         (LANG_HOOKS_INITIALIZER): Update.
4100         * langhooks.h (struct lang_hooks): 3 new attribute hooks.
4101         * target-def.h (TARGET_ATTRIBUTE_TABLE): Default to NULL.
4102         * target.h: Update comment.
4103         * tree.c (default_target_attribute_table): Remove.
4104         * tree.h (default_target_attribute_table, format_attribute_table,
4105         lang_attribute_table, lang_attribute_common): Remove.
4106 objc:
4107         * objc-lang.c (LANG_HOOKS_COMMON_ATTRIBUTE_TABLE,
4108         LANG_HOOKS_FORMAT_ATTRIBUTE_TABLE): Redefine.
4110 2002-04-24  Jason Merrill  <jason@redhat.com>
4112         * dwarf2.h (enum dwarf_attribute): Add DW_AT_GNU_vector.
4113         * dwarf2out.c (dwarf_attr_name): Support it.
4114         (gen_array_type_die): Emit it.
4115         (lookup_type_die): No special handling for VECTOR_TYPE.
4116         (gen_type_die): Hand VECTOR_TYPE off to gen_array_type_die.
4118 2002-04-24  Richard Henderson  <rth@redhat.com>
4120         * config/mips/mips.md (movdi_usd): Renumber.
4122 2002-04-24  David S. Miller  <davem@redhat.com>
4124         PR target/6420
4125         * config/sparc/sparc.h (FUNCTION_OK_FOR_SIBCALL): Return false if
4126         32-bit Sparc and current_function_returns_struct is true.
4128 Wed Apr 24 13:48:25 CEST 2002  Jan Hubicka  <jh@suse.cz>
4130         * loop.c (canonicalize_condition): Use gen_int_mode.
4132 2002-04-24  Aldy Hernandez  <aldyh@redhat.com>
4134         * config/rs6000/altivec.h: Cleanup file.  Add non individual
4135         variants.
4136         (vec_vaddubm): New.
4137         (vec_vadduhm): New.
4138         (vec_vadduwm): New.
4139         (vec_vaddfp): New.
4140         (vec_vaddcuw): New.
4141         (vec_vaddubs): New.
4142         (vec_vaddsbs): New.
4143         (vec_vadduhs): New.
4144         (vec_vadduws): New.
4145         (vec_vaddsws): New.
4146         (vec_vand): New.
4147         (vec_vandc): New.
4148         (vec_vavgub): New.
4149         (vec_vavgsb): New.
4150         (vec_vavguh): New.
4151         (vec_vavgsh): New.
4152         (vec_vavguw): New.
4153         (vec_vavgsw): New.
4154         (vec_vrfip): New.
4155         (vec_vcmpbfp): New.
4156         (vec_vcmpequb): New.
4157         (vec_vcmpequh): New.
4158         (vec_vcmpequw): New.
4159         (vec_vcmpeqfp): New.
4160         (vec_vcmpgefp): New.
4161         (vec_vcmpgtub): New.
4162         (vec_vcmpgtsb): New.
4163         (vec_vcmpgtuh): New.
4164         (vec_vcmpgtsh): New.
4165         (vec_vcmpgtuw): New.
4166         (vec_vcmpgtsw): New.
4167         (vec_vcmpgtfp): New.
4168         (vec_vcmpgefp): New.
4169         (vec_vcfux): New.
4170         (vec_vcfsx): New.
4171         (vec_vctsxs): New.
4172         (vec_vctuxs): New.
4173         (vec_vexptefp): New.
4174         (vec_vrfim): New.
4175         (vec_lvx): New.
4176         (vec_lvebx): New.
4177         (vec_lvehx): New.
4178         (vec_lde): Add vector float variant.
4179         (vec_lvewx): New.
4180         (vec_lvxl): New.
4181         (vec_vlogefp): New.
4182         (vec_vmaddfp): New.
4183         (vec_vmhaddshs): New.
4184         (vec_vmaxub): New.
4185         (vec_vmaxsb): New.
4186         (vec_vmaxuh): New.
4187         (vec_vmaxsh): New.
4188         (vec_vmaxuw): New.
4189         (vec_vmaxsw): New.
4190         (vec_vmaxsw): New.
4191         (vec_vmaxfp): New.
4192         (vec_vmrghb): New.
4193         (vec_vmrghh): New.
4194         (vec_vmrghw): New.
4195         (vec_vmrglb): New.
4196         (vec_vmrglh): New.
4197         (vec_vmrglw): New.
4198         (vec_vminub): New.
4199         (vec_vminsb): New.
4200         (vec_vminuh): New.
4201         (vec_vminsh): New.
4202         (vec_vminuw): New.
4203         (vec_vminsw): New.
4204         (vec_vminfp): New.
4205         (vec_vmladduhm): New.
4206         (vec_vmhraddshs): New.
4207         (vec_msumubm): New.
4208         (vec_vmsummbm): New.
4209         (vec_vmsumuhm): New.
4210         (vec_vmsumshm): New.
4211         (vec_vmsumuhs): New.
4212         (vec_vmsumshs): New.
4213         (vec_vmuleub): New.
4214         (vec_vmulesb): New.
4215         (vec_vmuleuh): New.
4216         (vec_vmulesh): New.
4217         (vec_vmuloub): New.
4218         (vec_mulosb): New.
4219         (vec_vmulouh): New.
4220         (vec_vmulosh): New.
4221         (vec_vnmsubfp): New.
4222         (vec_vnor): New.
4223         (vec_vor): New.
4224         (vec_vpkuhum): New.
4225         (vec_vpkuwum): New.
4226         (vec_vpkpx): New.
4227         (vec_vpkuhus): New.
4228         (vec_vpkshss): New.
4229         (vec_vpkuwus): New.
4230         (vec_vpkswss): New.
4231         (vec_vpkshus): New.
4232         (vec_vpkswus): New.
4233         (vec_vperm): New.
4234         (vec_vrefp): New.
4235         (vec_vrlb): New.
4236         (vec_vrlh): New.
4237         (vec_vrlw): New.
4238         (vec_vrfin): New.
4239         (vec_vrsqrtefp): New.
4240         (vec_vsel): New.
4241         (vec_vslb): New.
4242         (vec_vslh): New.
4243         (vec_vslw): New.
4244         (vec_vsldoi): New.
4245         (vec_vsl): New.
4246         (vec_vslo): New.
4247         (vec_vspltb): New.
4248         (vec_vsplth): New.
4249         (vec_vspltw): New.
4250         (vec_vspltisb): New.
4251         (vec_vspltish): New.
4252         (vec_vspltisw): New.
4253         (vec_vsrb): New.
4254         (vec_vsrh): New.
4255         (vec_vsrw): New.
4256         (vec_vsrab): New.
4257         (vec_vsrah): New.
4258         (vec_vsraw): New.
4259         (vec_vsr): New.
4260         (vec_vsro): New.
4261         (vec_stvx): New.
4262         (vec_stvebx): New.
4263         (vec_stvehx): New.
4264         (vec_stvewx): New.
4265         (vec_stvxl): New.
4266         (vec_vsububm): New.
4267         (vec_vsubuhm): New.
4268         (vec_vsubuwm): New.
4269         (vec_vsubfp): New.
4270         (vec_vsubcuw): New.
4271         (vec_vsububs): New.
4272         (vec_vsubsbs): New.
4273         (vec_vsubuhs): New.
4274         (vec_vsubshs): New.
4275         (vec_vsubuws): New.
4276         (vec_vsubsws): New.
4277         (vec_vsum4ubs): New.
4278         (vec_vsum4sbs): New.
4279         (vec_vsum4shs): New.
4280         (vec_vsum2sws): New.
4281         (vec_vsumsws): New.
4282         (vec_vrfiz): New.
4283         (vec_vupkhsb): New.
4284         (vec_vupkhpx): New.
4285         (vec_vupkhsh): New.
4286         (vec_vupklsb): New.
4287         (vec_vupklpx): New.
4288         (vec_vupklsh): New.
4289         (vec_vxor): New.
4291 2002-04-23  Eric Botcazou  <ebotcazou@multimania.com>
4293         PR c/5430
4294         * fold-const.c (split_tree): Add MINUS_LITP parameter; separate
4295         added literals from substracted literals.
4296         (associate_trees): Don't convert MINUS_EXPR into PLUS_EXPR.
4297         (fold) [associate]: Preserve MINUS_EXPR if needed.
4299 2002-04-23  Zack Weinberg  <zack@codesourcery.com>
4301         * doc/install.texi: Clarify which versions of alpha*-dec-osf*
4302         are obsoleted.
4304 2002-04-23  Tom Tromey  <tromey@redhat.com>
4306         * gcc.c: Added --resource.  For PR java/6314.
4308 2002-04-23  David O'Brien  <obrien@FreeBSD.org>
4310         * cp/g++spec.c: Use profiled libstdc++ and libm with -p/-pg.
4311         * config/freebsd.h (MATH_LIBRARY_PROFILE): Use the _p verions of
4312         these libraries.
4314 2002-04-23  David O'Brien  <obrien@FreeBSD.org>
4316         * config/freebsd.h(OBJECT_FORMAT_ELF): Define.
4318 Tue Apr 23 14:24:25 CEST 2002  Jan Hubicka  <jh@suse.cz>
4320         * i386.c (ix86_output_addr_diff_elt): Avoid x86_64 binutils bug
4321         workaround.
4322         (ix86_expand_int_movcc): Avoid x86_64 compilation chrash.
4323         (ix86_expand_clrstr): Fix typo.
4324         * loop.c (gen_load_of_final_value): New.
4325         (loop_givs_rescan, strength_reduce, check_dbra_loop):
4326         Use it.
4328 2002-04-23  Roger Sayle  <roger@eyesopen.com>
4330         * builtins.c (builtin_memset_gen_str): New function.
4331         (expand_builtin_memset): Optimize the case of constant length, but
4332         unknown value.
4334 2002-04-23  Aldy Hernandez  <aldyh@redhat.com>
4336         * config/rs6000/altivec.h (vec_step): Remove extraneous
4337         parentheses.
4338         (vec_ctu): Cast return.
4340 2002-04-23  Alan Modra  <amodra@bigpond.net.au>
4342         PR target/6413
4343         * function.h: (struct function): Add profile_label_no field.
4344         (current_function_profile_label_no): Define.
4345         * function.c: (profile_label_no): New static var.
4346         (expand_function_start): Increment it, and copy to
4347         current_function_profile_label_no.
4348         * output.h (profile_label_no): Delete.
4349         * final.c (profile_label_no): Delete.
4350         (profile_function): Use current_function_profile_label_no.
4351         (final_end_function): Don't increment profile_label_no here.
4352         * config/i386/i386.c (ix86_osf_output_function_prologue): Replace
4353         profile_label_no with current_function_profile_label_no.
4354         * config/pa/pa.c (current_function_number): Delete.
4355         (pa_output_function_prologue): Don't output profile label here.
4356         (hppa_profile_hook): Use label_no param rather than
4357         current_function_number.
4358         (FUNC_BEGIN_PROLOG_LABEL): Move to ..
4359         * config/pa/pa.h: .. here.
4360         (FUNCTION_PROFILER): Output profile label here.
4362 2002-04-22  Eric Christopher  <echristo@redhat.com>
4364         * config/mips/mips.h (ASM_OUTPUT_ALIGNED_DECL_COMMON): Revert
4365         patch of 2002-04-09 due to binutils issues.
4366         (FUNCTION_ARG_REGNO_P): Ensure even numbered float register.
4368 2002-04-22  Aldy Hernandez  <aldyh@redhat.com>
4370         * config/rs6000/rs6000.md ("*movv4si_internal"): Change 'm'
4371         constraint to 'o' for m=r and r=m alternatives.
4372         ("*movv8hi_internal1"): Same.
4373         ("*movv16qi_internal1"): Same.
4374         ("*movv4sf_internal1"): Same.
4376 2002-04-22  Janis Johnson  <janis187@us.ibm.com>
4378         * rtl.h (RTX_FLAG): New macro.
4379         * emit-rtl.c (copy_most_rtx): Use macros to access rtx flags.
4380         * final.c (alter_subreg): Use macro to access rtx flag.
4381         * integrate.c (copy_rtx_and_substitute): Use new access macro.
4382         * print-rtl.c (print_rtx): Use new access macro.
4384         * cse.c (insert): Check rtx code before accessing flag.
4386         * genattrtab.c (ATTR_IND_SIMPLIFIED_P, ATTR_CURR_SIMPLIFIED_P,
4387         ATTR_PERMANENT_P, ATTR_EQ_ATTR_P): New.
4388         (attr_hash_add_string, attr_rtx_1, attr_copy_rtx, check_attr_test,
4389         convert_const_symbol_ref, make_canonical, make_alternative_compare,
4390         evaluate_eq_attr, attr_rtx_cost, simplify_test_exp_in_temp,
4391         simplify_test_exp, optimize_attrs, simplify_by_exploding,
4392         find_and_mark_used_attributes, unmark_used_attributes,
4393         add_values_to_cover, simplify_with_current_value,
4394         simplify_with_current_value_aux, clear_struct_flag, walk_attr_value,
4395         copy_rtx_unchanging, main): Use new access macros.
4397 2002-04-22  Tom Rix  <trix@redhat.com>
4399         * expmed.c (init_expmed): Generate shifted constant once.
4401 2002-04-22  Zack Weinberg  <zack@codesourcery.com>
4403         * c-lex.c (lex_charconst): Call convert to get constant in
4404         proper type; don't just smash the type field.
4405         Fixes PR c/6300.
4407         * config.gcc: Add list of obsolete configurations.  Disallow
4408         building these without --enable-obsolete.
4409         * doc/install.texi: Document --enable-obsolete and obsoletion
4410         policy.  Mention obsoletion of individual targets in
4411         appropriate places.
4413 2002-04-22  Richard Henderson  <rth@redhat.com>
4415         * config/sparc/sol2-bi.h (ASM_DEBUG_SPEC): New.
4417 2002-04-22  Mark Mitchell  <mark@codesourcery.com>
4419         PR f/6138.
4420         * function.c (fixup_memory_subreg): Add promoted_mode parameter.
4421         (walk_fixup_memory_subreg): Likewise.
4422         (fixup_var_refs_insn): Adjust accordingly.
4423         (fixup_var_refs_1): Likewise.
4425 2002-04-22  Ulrich Weigand  <uweigand@de.ibm.com>
4427         * config/s390/linux.h: (LIBPATH_SPEC, LIBPATH_ARCH31_SPEC,
4428         LIBPATH_ARCH64_SPEC): Define.
4429         (EXTRA_SPECS): Add libpath, libpath_arch31, libpath_arch64.
4430         (STARTFILE_SPEC, ENDFILE_SPEC): Define; use libpath.
4431         (LINK_ARCH31_SPEC): Add libpath_arch31 to search path.
4432         (LINK_ARCH64_SPEC): Add libpath_arch64 to search path.
4434 2002-04-22      Joel Sherrill <joel@OARcorp.com>
4436         * gthr-rtems.h: Correct prototypes to remove warnings.
4438 2002-04-22  Richard Henderson  <rth@redhat.com>
4440         PR c/6344
4441         * alias.c (canon_true_dependence): Special case (mem:blk (scratch)).
4443         * gcse.c (free_insn_expr_list_list): New.
4444         (clear_modify_mem_tables): Use it.  Fix bit set usage.
4445         (canon_list_insert): Use EXPR_LISTs for expressions.
4446         (record_last_mem_set_info): Factor BLOCK_NUM (insn).
4448 2002-04-22  Neil Booth  <neil@daikokuya.demon.co.uk>
4450         * cppfiles.c (_cpp_pop_file_buffer): Return void.  Move
4451         file change and include code to _cpp_pop_buffer.
4452         * cpphash.h (struct pending_option): Predeclare.
4453         (struct cpp_reader): New member next_include_file.
4454         (_cpp_pop_file_buffer): Update.
4455         (_cpp_push_next_buffer): Update, rename.
4456         * cppinit.c (cpp_destroy): Free include chain and pending here.
4457         (cpp_finish_options): Simplify.
4458         (_cpp_push_next_buffer): Rename and clean up.
4459         * cpplib.c (cpp_pop_buffer): Move code from _cpp_pop_file_buffer.
4460         Clarify.
4461         * cppmacro.c (cpp_scan_nooutput): Set return_at_eof here.
4463 2002-04-22  Aldy Hernandez  <aldyh@redhat.com>
4465         * config/rs6000/altivec.h (vec_xor): Add variant for both args
4466         being vector signed int.
4467         (vec_andc): Same.
4468         (vec_xor): Add variant for both args being vector signed char.
4469         Remove redundant variant.
4470         (vec_andc): Same.
4472 2002-04-21  David S. Miller  <davem@redhat.com>
4474         * config/sparc/sparc.md (set then compare DI mode peephole2): Fix
4475         compare mode in output RTL.
4477 2002-04-22  David Edelsohn  <edelsohn@gnu.org>
4479         * config/rs6000/rs6000.c (rs6000_override_options): Correct
4480         style and formatting of previous patch.
4482 2002-04-22  Alan Modra  <amodra@bigpond.net.au>
4484         * config/rs6000/rs6000.c (rs6000_override_options): Always clear
4485         flag_pic for ABI_AIX.
4487 2002-04-21  Neil Booth  <neil@daikokuya.demon.co.uk>
4489         * cppexp.c (struct op, parse_number): Replace U_CHAR with uchar.
4490         * cppfiles.c (read_include_file): Similarly.
4491         * cpphash.h (DSC, U_CHAR, ustrcmp, ustrncmp, ustrlen,
4492         uxstrdup ustrchr, ufputs): Similarly.
4493         * cppinit.c (TRIGRAPH_MAP, cpp_destroy): Similarly.
4494         * cpplex.c (parse_slow, unescaped_terminator_p, save_comment,
4495         cpp_ideq, parse_identifier, parse_number): Similarly.
4496         * cpplib.c (struct directive, dequote_string, D, run_directive,
4497         cpp_push_buffer): Similarly.
4498         * cppmacro.c (new_string_token, builtin_macro, cpp_quote_string,
4499         _cpp_create_definition, check_trad_stringification,
4500         cpp_macro_definition): Similarly.
4502 2002-04-21  Neil Booth  <neil@daikokuya.demon.co.uk>
4504         * cppmacro.c (funlike_invocation_p): Don't step back
4505         over CPP_EOF.
4507 2002-04-21  David Edelsohn  <edelsohn@gnu.org>
4509         * config/rs6000/rs6000.c (output_profile_hook): Do not increment
4510         labelno.
4512 2002-04-20  Joseph S. Myers  <jsm28@cam.ac.uk>
4514         * doc/invoke.texi: Remove Chill references.
4515         * doc/gcc.texi: Update last modified date.
4517 2002-04-20  Kazu Hirata  <kazu@hxi.com>
4519         * config/h8300/lib1funcs.asm (___mulsi3): Remove unnecessary
4520         push and pop.  Replace add.l with add.w.
4522 2002-04-20  Toshiyasu Morita  <toshiyasu.morita@hsa.hitachi.com>
4524         * config/h8300/lib1funcs.asm (___mulsi3): Use hardware
4525         multiply instructions for H8/300H case.
4527 2002-04-20  Toshiyasu Morita  <toshiyasu.morita@hsa.hitachi.com>
4529         * config/h8300/lib1funcs.asm (___cmpsi2, ___ucmpsi2):
4530         Bum three instructions from each routine.
4532 2002-04-20  Neil Booth  <neil@daikokuya.demon.co.uk>
4534         * Makefile.in: Update.
4535         * decl.c (push_c_function_context, pop_c_function_context,
4536         mark_c_function_context): Rename for consistency.
4537         * c-objc-common.c (c_objc_common_init): Langhooks set elsewhere.
4538         * c-tree.h (push_c_function_context, pop_c_function_context,
4539         mark_c_function_context): Rename for consistency.
4540         * c-lang.c (LANG_HOOKS_FUNCTION_ENTER_NESTED,
4541         LANG_HOOKS_FUNCTION_LEAVE_NESTED, LANG_HOOKS_FUNCTION_MARK): Redefine.
4542         * function.c (init_lang_status, save_lang_status,
4543         restore_lang_status, mark_lang_status, free_lang_status):
4544         Move to langhooks.h.
4545         (push_function_context_to, pop_function_context_from,
4546         free_after_parsing, prepare_function_start, ggc_mark_struct_function):
4547         Update.
4548         * function.h (init_lang_status, save_lang_status,
4549         restore_lang_status, mark_lang_status, free_lang_status):
4550         Move to langhooks.h.
4551         * langhooks-def.h (LANG_HOOKS_FUNCTION_INIT,
4552         LANG_HOOKS_FUNCTION_FREE, LANG_HOOKS_FUNCTION_ENTER_NESTED,
4553         LANG_HOOKS_FUNCTION_LEAVE_NESTED, LANG_HOOKS_FUNCTION_MARK,
4554         LANG_HOOKS_FUNCTION_INITIALIZER): New.
4555         (LANG_HOOKS_INITIALIZER): Update.
4556         (lhd_do_nothing_f): New.
4557         * langhooks.h (struct lang_hooks_for_functions): New.
4558         (struct lang_hooks): New hooks.
4559         * langhooks.c (lhd_do_nothing_f): New.
4560 objc:
4561         * objc-lang.c (LANG_HOOKS_FUNCTION_ENTER_NESTED,
4562         LANG_HOOKS_FUNCTION_LEAVE_NESTED, LANG_HOOKS_FUNCTION_MARK): Redefine.
4564 2002-04-19  David S. Miller  <davem@redhat.com>
4566         * config/sparc/linux.h (MD_FALLBACK_FRAME_STATE_FOR): Define.
4567         * config/sparc/linux64.h (MD_FALLBACK_FRAME_STATE_FOR): Likewise.
4569 2002-04-19  Jakub Jelinek  <jakub@redhat.com>
4571         PR optimization/3756
4572         * config/i386/i386.c (ix86_expand_int_movcc): Optimize
4573         x = ((int) y < 0) ? cst1 : cst2.
4575 2002-04-19  Jakub Jelinek  <jakub@redhat.com>
4577         PR c/6358
4578         * function.c: Reapply patch for c/6358.
4579         (expand_function_end): Copy decl_rtl's mode, not
4580         current_function_return_rtx mode.
4582 2002-04-19  Joel Sherrill  <joel@OARcorp.com>
4584         * config/rtems.h (STARTFILE_SPEC, ENDFILE_SPEC): Fix for non-ELF
4585         targets.
4587 2002-04-19  Tom Tromey  <tromey@redhat.com>
4589         * doc/install.texi (Specific): Update status of Solaris 2.8.
4590         For PR libgcj/6158.
4592 2002-04-19  Andreas Schwab  <schwab@suse.de>
4594         * real.c: Allow sizeof (REAL_VALUE_TYPE) > 2*NE.
4595         (PUT_REAL): Restore old definition.
4597 2002-04-19  Dan Nicolaescu  <dann@godzilla.ics.uci.edu>
4598             Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
4600         * doc/install.texi (Specific, sparc-sun-solaris2*): Mention that
4601         binutils 2.11.2 and higher generate smaller binaries than Sun's
4602         native tools.
4604 2002-04-19  Mark Mitchell  <mark@codesourcery.com>
4606         PR c++/6352
4607         * toplev.c (rest_of_compilation): Do not defer functions for which
4608         TREE_SYMBOL_REFERENCED has already been set.
4610 Fri Apr 19 15:53:03 CEST 2002  Jan Hubicka  <jh@suse.cz>
4612         * i386.md (movsi_1, movhi_1): Force reload to use more flexible
4613         alternative.
4615 2002-04-19  Neil Booth  <neil@daikokuya.demon.co.uk>
4617         * builtins.c: Include langhooks.h.
4618         (lang_type_promotes_to): Remove.
4619         (expand_builtin_va_arg): Use new hook.
4620         * c-common.c (c_common_nodes_and_builtins): Don't set hook.
4621         (simple_type_promotes_to): Move to c-typeck.c.
4622         * c-common.h (simple_type_promotes_to): Remove.
4623         * c-decl.c (duplicate_decls, grokdeclarator): Update.
4624         * c-format.c: Include langhooks.h.
4625         (check_format_types): Update.
4626         * c-tree.h (c_type_promotes_to): New.
4627         * c-typeck.c (c_type_promotes_to): Move from c-common.c.
4628         (type_lists_compatible_p): Update.
4629         * langhooks-def.h (lhd_type_promotes_to): New.
4630         (LANG_HOOKS_TYPE_PROMOTES_TO): New.
4631         (LANG_HOOKS_FOR_TYPES_INITIALIZER): Update.
4632         * langhooks.c (lhd_type_promotes_to): New.
4633         * langhooks.h (struct lang_hooks_for_types): New hook.
4634         * tree.h (lang_type_promotes_to): Remove.
4635 objc:
4636         * objc-lang.c (LANG_HOOKS_TYPE_PROMOTES_TO): Redefine.
4638 2002-04-18  Richard Henderson  <rth@redhat.com>
4640         * function.c: Revert patch for c/6358.
4642 2002-04-18  Richard Henderson  <rth@redhat.com>
4644         * ifcvt.c (find_cond_trap): Handle cases with no proper THEN or JOIN
4645         blocks.  Handle multiple references to the TRAP block.  Handle
4646         non-adjacent THEN and OTHER blocks.
4648 2002-04-18  Richard Henderson  <rth@redhat.com>
4650         * config/ia64/ia64.c (ia64_function_arg_pass_by_reference): Don't
4651         crash with no type for by-mode libcalls.
4653         * config/ia64/ia64.md (conditional_trap): Fix predicate polarity.
4655 2002-04-18  Bob Wilson  <bob.wilson@acm.org>
4657         * config/xtensa/lib2funcs.S (__xtensa_libgcc_window_spill,
4658         __xtensa_nonlocal_goto): Use a syscall instructions to flush
4659         the register windows.
4661 2002-04-18  Zack Weinberg  <zack@codesourcery.com>
4663         * real.h: Define REAL_VALUE_TYPE_SIZE as 96 or 160, as
4664         appropriate.  Document need for extended precision even when
4665         MAX_LONG_DOUBLE_TYPE_SIZE is smaller.  Define REAL_WIDTH here,
4666         based on REAL_VALUE_TYPE_SIZE.  Use REAL_WIDTH to size
4667         REAL_VALUE_TYPE.  Define CONST_DOUBLE_FORMAT here.  Use #error
4668         instead of relying on later syntax error when REAL_WIDTH > 5.
4669         * real.c: Define NE based only on whether or not we have a
4670         full 128-bit extended type (not INTEL_EXTENDED_IEEE_FORMAT).
4671         Require sizeof(REAL_VALUE_TYPE) == 2*NE.  Unconditionally
4672         define GET_REAL and PUT_REAL as simple memcpy operations; no
4673         need to byteswap or round.
4674         Use #error instead of #ifdef-ing out the entire file, for
4675         prompt error detection.
4677         * rtl.c, gengenrtl.c: No need to calculate CONST_DOUBLE_FORMAT here.
4679 2002-04-18  David S. Miller  <davem@redhat.com>
4681         * config/sparc/sparc.h (BRANCH_COST): Define.
4683         * fold-const.c (BRANCH_COST): Don't provide default here, expr.h
4684         does it.
4686 2002-04-18  Hans-Peter Nilsson  <hp@bitrange.com>
4688         * flow.c (update_life_info): Ignore return value of cleanup_cfg.
4689         Mask out PROP_SCAN_DEAD_CODE | PROP_KILL_DEAD_CODE in
4690         propagate_block calls after relaxation loop using new variable
4691         stabilized_prop_flags.
4693 2002-04-18  Richard Henderson  <rth@redhat.com>
4695         * config/ia64/ia64.c (ia64_function_arg_pass_by_reference): New.
4696         (ia64_va_arg): Expect variable sized types by reference.
4697         * config/ia64/ia64-protos.h: Update.
4698         * config/ia64/ia64.h (FUNCTION_ARG_PASS_BY_REFERENCE): Use
4699         ia64_function_arg_pass_by_reference.
4701 2002-04-18  Richard Henderson  <rth@redhat.com>
4703         * ifcvt.c: Include except.h.
4704         (block_has_only_trap): Break out from find_cond_trap.
4705         (find_cond_trap): Use it.  Always delete the trap block.
4706         (merge_if_block): Allow then block null.  Be less simplistic about
4707         what insns can end a block.
4708         * Makefile.in (ifcvt.o): Depend on except.h.
4710         * config/ia64/ia64.md (trap, conditional_trap): New.
4712 2002-04-18  Jakub Jelinek  <jakub@redhat.com>
4714         PR c/6358
4715         * function.c (assign_parms): Assign hard current_function_return_rtx
4716         register here...
4717         (expand_function_end): ...not here.
4719 2002-04-18  Neil Booth  <neil@daikokuya.demon.co.uk>
4721         * c-lang.c (LANG_HOOKS_INCOMPLETE_TYPE_ERROR): Redefine.
4722         * c-tree.h (c_incomplete_type_error): New.
4723         * c-typeck.c (require_complete_type, build_component_ref): Update.
4724         (incomplete_type_error): Rename.
4725         * langhooks-def.h (lhd_incomplete_type_error): New.
4726         (LANG_HOOKS_INCOMPLETE_TYPE_ERROR): New.
4727         (LANG_HOOKS_FOR_TYPES_INITIALIZER): Update.
4728         * langhooks.c (lhd_incomplete_type_error): New.
4729         * langhooks.h (struct lang_hooks_for_types): New hook.
4730         * tree.c (size_in_bytes): Use new hook.
4731         * tree.h (incomplete_type_error): Remove.
4732 objc:
4733         * objc-lang.c (LANG_HOOKS_INCOMPLETE_TYPE_ERROR): Redefine.
4735 2002-04-18  Zack Weinberg  <zack@codesourcery.com>
4737         * config/arc/arc.md: Remove #if HOST_FLOAT_FORMAT !=
4738         TARGET_FLOAT_FORMAT blocks.
4740 2002-04-18  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
4742         * doc/install.texi (Downloading the source): Do not mention Chill
4743         any longer, but mention Ada.
4744         (Configuration): Do not mention Chill any longer.
4746 2002-04-18  Hans-Peter Nilsson  <hp@axis.com>
4748         * config/cris/cris.h (TARGET_VERSION): Remove local version number.
4750 Thu Apr 18 17:14:08 CEST 2002  Jan Hubicka  <jh@suse.cz>
4752         * i386.h (SSE_FLOAT_MODE_P): Fix bogus conflict resolution
4753         in last patch.
4755 2002-04-18  Jakub Jelinek  <jakub@redhat.com>
4757         * fold-const.c (fold): Use (*lang_hooks.types.unsigned_type)
4758         instead of unsigned_type.
4760 Thu Apr 18 15:49:12 CEST 2002  Jan Hubicka  <jh@suse.cz>
4762         * i386.h (SSE_FLOAT_MODE_P): Kill bogus TARGET_SSE_MATH check.
4763         * i386.md (sse_mov?fcc*): Swap operands for cases they will be swapped
4764         later.
4766 2002-04-18  Bernd Schmidt  <bernds@redhat.com>
4768         * attribs.c (vector_type_node_list): New static variable.
4769         (handle_vector_size_attribute): Use it to avoid generating a
4770         new type node each time we are called.
4772         * combine.c (subst): Avoid trying to make a vector mode subreg of
4773         an integer constant.
4774         (gen_lowpart_for_combine): Likewise.
4776 2002-04-18  Roger Sayle  <roger@eyesopen.com>
4777             Jakub Jelinek  <jakub@redhat.com>
4779         * fold-const.c (fold) [NOP_EXPR]: Convert (T)(x&c) into ((T)x&(T)c)
4780         for integer constant c (if x has unsigned type or sign bit is not
4781         set in c).  This folds the zero/sign extension into the bit-wise and
4782         operation.
4784 2002-04-18  Jakub Jelinek  <jakub@redhat.com>
4786         PR middle-end/6205
4787         * config/i386/i386.md (movsf_1): Use pxor only if TARGET_SSE2,
4788         otherwise xorps.
4790 2002-04-17  NIIBE Yutaka  <gniibe@m17n.org>
4792         * config/sh/elf.h: Undefine ASM_OUTPUT_CASE_LABEL.
4794 2002-04-17  Nick Clifton  <nickc@cambridge.redhat.com>
4796         * gcc.c (read_specs): Detect and fail if an attempt is made to
4797         rename a spec string to an already existing string.
4799 2002-04-17  Ulrich Weigand  <uweigand@de.ibm.com>
4801         * config/s390/s390.c (legitimize_pic_address): Do not generate
4802         illegal address constant without CONST.
4804 2002-04-17  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
4806         * sparc/linux64.h (CC1_SPEC): Error for -m32 and -m64.
4807         * sparc/netbsd-elf.h (CC1_SPEC32, CC1_SPEC64): Likewise.
4809 2002-04-17  Ulrich Weigand  <uweigand@de.ibm.com>
4811         PR optimization/6305
4812         * config/s390/s390.c (s390_expand_plus_operand): Use find_replacement
4813         to make sure previous reloads are taken into account.  Generate
4814         better code if one operand is an in-range immediate constant.
4816 2002-04-16  Andrew Haley  <aph@cambridge.redhat.com>
4818         * doc/install.texi (Building): libgcj requires GNU make.
4820 2002-04-17  Jakub Jelinek  <jakub@redhat.com>
4822         PR bootstrap/6315
4823         * config/sparc/sparc.md (movtf reg<-reg split): Allow spliting
4824         even if hard quad and register is not floating.
4825         (movtf reg<-mem split): Disallow splitting if hard quad and
4826         register is floating.
4827         (movtf mem<-reg split): Likewise.
4828         * config/sparc/sparc.c (fp_register_operand): New predicate.
4829         * config/sparc/sparc.h (PREDICATE_CODES): Add fp_register_operand.
4831 2002-04-17  Zack Weinberg  <zack@codesourcery.com>
4833         * Makefile.in (PROTO_OBJS): Add cppdefault.o.
4834         (protoize.o): Take $(PREPROCESSOR_DEFINES) off command line.
4835         (unprotoize.o): Ditto.  Build from protoize.c.  Define
4836         UNPROTOIZE on command line.
4837         * protoize.c: Include cppdefault.h.  Delete include_defaults.
4838         (in_system_include_dir): Use cpp_include_defaults (defined in
4839         cppdefault.o).
4840         * unprotoize.c: Delete file.
4842 2002-04-17  Aldy Hernandez  <aldyh@redhat.com>
4844         * config/rs6000/altivec.h (vec_ld): Add array variants.
4845         (vec_lde): Same.
4846         (vec_ldl): Same.
4848 2002-04-17  Alan Matsuoka  <alanm@redhat.com>
4849             Aldy Hernandez <aldyh@redhat.com>
4851         * config/rs6000/altivec.h: Define __ALTIVEC__.
4852         (bool): New.
4853         (__pixel): New.
4854         (pixel): New.
4855         (vec_cfux): New.
4856         (vec_vmaddfp): New.
4857         (vec_vsldoi): New.
4858         Add parentheses to all macro arguments.
4860 2002-04-16  Richard Henderson  <rth@redhat.com>
4862         PR c++/6320
4863         * except.c (remove_eh_handler): Insert inner regions at beginning
4864         of sibling chain.  Refactor expressions.
4866 2002-04-16  Richard Henderson  <rth@redhat.com>
4868         * config/sparc/sol2-bi.h (AS_SPARC64_FLAG): New.
4869         * config/sparc/sol2-gas-bi.h: New file.
4870         * config.gcc (sparc*-solaris): Add it as needed.
4871         * configure.in (AS_SPARC64_FLAG): Remove check.
4872         * config.in, configure: Regenerate.
4874         * config/sparc/sol2-bi.h (CC1_SPEC): Error for -m32 and -m64.
4876 2002-04-16  Richard Henderson  <rth@redhat.com>
4878         * config/mips/mips.c (override_options): Don't override N32 for
4879         a 64-bit ISA.
4881         PR 6202
4882         * config/mips/mips.md (can_delay): Split out of existing define_delays.
4883         (HILO_delay): Set can_delay false.
4885 2002-04-16  Dale Johannesen <dalej@apple.com>
4887         * config/rs6000/rs6000.c (rs6000_output_function_prologue): Compute
4888         instruction addresses.
4889         (rs6000_output_function_epilogue): Likewise.
4891 2002-04-16  Paolo Carlini  <pcarlini@unitus.it>
4893         * c-parse.in (poplevel, compstmt_start,
4894         compstmt_primary_start): Add ending ';', in accordance
4895         with POSIX.
4897 2002-04-16  Richard Henderson  <rth@redhat.com>
4899         * config.gcc (sparcv9-solaris): Configure for 64-bit default.
4900         Adjust tm_file order to get TARGET_DEFAULT set properly.
4901         (sparc-solaris): Configure 2.[78] for 64-bit multilibs.
4902         * doc/install.texi (sparc-solaris): Update.
4904 2002-04-16  Dale Johannesen <dalej@apple.com>
4906         * config/rs6000/rs6000.c (rs6000_emit_cmove): Fail if modes of
4907         comparison operands do not match each other or if modes of
4908         conditions do not match result.
4910 2002-04-16  Hartmut Penner <hpenner@de.ibm.com>
4912         PR target/6305
4913         * config/s390/s390.md (mulsidi3): Set both subregs of the
4914         multiword register.
4916 2002-04-16  Aldy Hernandez  <aldyh@redhat.com>
4918         * config/rs6000/altivec.h (vec_addc): Type check.
4920 2002-04-16  Jakub Jelinek  <jakub@redhat.com>
4922         PR middle-end/6279
4923         * expr.c (store_expr): Don't copy if DECL_RTL (exp) == target.
4925         * expr.c (safe_from_p): Cleanup: use DECL_RTL_IF_SET.
4927 2002-04-15  Richard Henderson  <rth@redhat.com>
4929         * config/mips/abi64.h (SUBTARGET_CONDITIONAL_REGISTER_USAGE): Set
4930         call_really_used_regs too.
4932 2002-04-15  Richard Henderson  <rth@redhat.com>
4934         * config/alpha/gnu.h (CPP_PREDEFINES): Underscores for gnu_hurd.
4936 2002-04-15  David S. Miller  <davem@redhat.com>
4938         * rtlanal.c (note_stores): Don't present PARALLEL SET_DESTs
4939         as being CLOBBERed.
4941 2002-04-16  Jakub Jelinek  <jakub@redhat.com>
4943         PR c/6290
4944         * config/rs6000/rs6000.c (easy_vector_constant): Return 1 if the
4945         CONST_VECTOR is { 0, ... 0 }.
4947 2002-04-15  Loren J. Rittle  <ljrittle@acm.org>
4949         * doc/install.texi (Installing GCC: Configuration): Clarify
4950         the only supported ways to configure gcc.
4952 2002-04-15  Roland McGrath  <roland@frob.com>
4954         * config.gcc (alpha*-*-gnu*): New target configuration.
4955         * config/alpha/gnu.h: New file for it.
4956         * config/gnu.h (TARGET_MEM_FUNCTIONS): #undef before #define.
4958 2002-04-16  Mark Mitchell  <mark@codesourcery.com>
4960         * c-common.h (STMT_EXPR_NO_SCOPE): New macro.
4961         * c-common.c (c_expand_expr): Respect STMT_EXPR_NO_SCOPE.
4962         * tree.h (expand_start_stmt_expr): Update prototype.
4963         * stmt.c (expand_start_stmt_expr): Add has_scope parameter.
4964         * tree-inline.c (expand_call_inline): Set STMT_EXPR_NO_SCOPE
4965         on the STMT_EXPR created for the inline function.
4967 2002-04-15  Richard Henderson  <rth@redhat.com>
4969         * config/alpha/linux.h, config/arm/linux-elf.h, config/i370/linux.h,
4970         config/i386/linux-aout.h, config/i386/linux-oldld.h,
4971         config/i386/linux.h, config/i386/linux64.h, config/ia64/linux.h,
4972         config/m68k/linux-aout.h, config/m68k/linux.h, config/mips/linux.h,
4973         config/pa/pa-linux.h, config/pj/linux.h, config/s390/linux.h,
4974         config/sh/linux.h, config/sparc/linux-aout.h, config/sparc/linux.h,
4975         config/sparc/linux64.h, config/xtensa/linux.h (CPP_PREDEFINES):
4976         Define __gnu_linux__, not gnu_linux.
4977         * config/rs6000/sysv4.h (CPP_OS_GNU_SPEC): Likewise for gnu_hurd.
4979 2002-04-15  Mark Mitchell  <mark@codesourcery.com>
4981         Remove Chill front end.
4982         * gcc.c (default_compilers): Remove Chill entries.
4983         * ch: Remove directory.
4984         * doc/frontends.texi: Remove information about Chill.
4985         * doc/sourcebuild.texi: Likewise.
4986         * doc/standards.texi: Likewise.
4988 2002-04-15  Douglas B Rupp  <rupp@gnat.com>
4990         * config/alpha/vms.h (INCLUDE_DEFAULTS): Add /gnu/lib/gcc-lib/include.
4991         (LONGLONG_STANDALONE): Define.
4993 2002-04-15  David S. Miller  <davem@redhat.com>
4995         * config/sparc/sparc.c (sparc_emit_float_lib_cmp):
4996         Call emit_library_call with LCT_NORMAL.
4997         (sparc_initialize_trampoline): Use LCT_foo instead of
4998         magic constant in emit_library_call invocations.
4999         (sparc64_initialize_trampoline): Likewise.
5000         (sparc_profile_hook): Likewise.
5001         * config/sparc/sparc.md: Likewise.
5003         * config/sparc/sparc.c (sparc_extra_constraint_check):
5004         Fix type of argument 'c'.
5005         * config/sparc/sparc-protos.h (sparc_extra_constraint_check):
5006         Likewise.
5008 2002-04-15  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
5010         * diagnostic.h (output_buffer_state): Redefine.
5011         (output_format_decoder): New macro.
5012         (output_prefixing_rule): Likewise.
5013         (output_line_cutoff): Likewise.
5014         (diagnostic_format_decoder): Adjust.
5015         (diagnostic_prefixing_rule): Likewise.
5016         (diagnostic_line_cutoff): Likewise.
5017         (diagnostic_state): Likewise.
5018         (diagnostic_kind_count): Likewise.
5019         (diagnostic_buffer): Now a macro.
5021         * diagnostic.c (diagnostic_buffer): Remove definition.
5022         (output_is_line_wrapping): Adjust.
5023         (set_real_maximum_length): Likewise.
5024         (output_set_maximum_length): Likewise.
5025         (init_output_buffer): Likewise.
5026         (lhd_print_error_function): Likewise.
5027         (output_do_verbatim): Likewise.
5029 2002-04-14  Neil Booth  <neil@daikokuya.demon.co.uk>
5031         * cpperror.c (print_location): Don't print include chain
5032         if line == 0.
5033         (cpp_begin_message): Update to use DL_ macros.
5034         (cpp_ice, cpp_fatal, cpp_error_from_errno, cpp_warning,
5035         cpp_warning_with_line, cpp_pedwarn, cpp_pedwarn_with_line,
5036         cpp_notice, cpp_notice_from_errno): Remove.
5037         (cpp_error, cpp_error_with_line): Update to take a diagnostic
5038         level.
5039         (cpp_errno): New.
5040         * cppexp.c (CPP_ICE): Remove.
5041         (SYNTAX_ERROR, SYNTAX_ERROR2, parse_number, parse_defined,
5042         lex, integer_overflow, _cpp_parse_expr): Update.
5043         * cppfiles.c (read_include_file, find_include_file,
5044         handle_missing_header, _cpp_read_file, remap_filename): Update.
5045         * cpphash.h (enum error_type): Remove.
5046         (_cpp_begin_message): Update.
5047         * cppinit.c (append_include_chain, remove_dup_dirs, output_deps,
5048         cpp_handle_option, cpp_post_options): Update.
5049         * cpplex.c (trigraph_p, skip_escaped_newlines, skip_block_comment,
5050         skip_whitespace, parse_identifier, parse_slow, parse_string,
5051         _cpp_lex_direct, cpp_spell_token, maybe_read_ucs, cpp_parse_escape,
5052         cpp_interpret_charconst): Update.
5053         * cpplib.c (check_eol, directive_diagnostics, _cpp_handle_directive,
5054         lex_macro_node, do_undef, glue_header_name, parse_include,
5055         do_include_common, read_flag, do_line, do_linemarker, do_ident,
5056         cpp_register_pragma, do_pragma_once, do_pragma_system_header,
5057         do_pragma_poison, do_pragma_dependency, _cpp_do__Pragma, do_else,
5058         do_elif, do_endif, parse_answer, parse_assertion, do_assert,
5059         _cpp_pop_buffer, do_diagnostic): Update.
5060         * cpplib.h (DL_WARNING, DL_WARNING_SYSHDR, DL_PEDWARN, DL_ERROR,
5061         DL_FATAL, DL_ICE, DL_EXTRACT, DL_WARNING_P): New.
5062         (cpp_ice, cpp_fatal, cpp_error_from_errno, cpp_warning,
5063         cpp_warning_with_line, cpp_pedwarn, cpp_pedwarn_with_line,
5064         cpp_notice, cpp_notice_from_errno): Remove.
5065         (cpp_error, cpp_error_with_line): Update to take a diagnostic
5066         level.
5067         (cpp_errno): New.
5068         * cppmacro.c (builtin_macro, stringify_arg, paste_all_tokens,
5069         collect_args, enter_macro_context, save_parameter, parse_params,
5070         _cpp_create_definition, check_trad_stringification,
5071         cpp_macro_definition): Update.
5072         * cppmain.c (cpp_preprocess_file): Update.
5073         * fix-header.c (read_scan_file): Update.
5075 2002-04-14  Andreas Schwab  <schwab@suse.de>
5077         * config/ia64/linux.h (CPP_PREDEFINES): Fix missing backslash.
5079 2002-04-14  Jeroen Dobbelaere  <jeroen.dobbelaere@acunia.com>
5081         * config/arm/linux-elf.h (CPLUSPLUS_CPP_SPEC): Define.
5083 2002-04-13  Mark Mitchell  <mark@codesourcery.com>
5085         * config/i386/gnu.h (CPP_PREDEFINES): Define __gnu_hurd__,
5086         not gnu_hurd.
5088 2002-04-13  Hans-Peter Nilsson  <hp@axis.com>
5090         * config/cris/linux.h (CRIS_CPP_SUBTARGET_SPEC): Fix typo.
5092 2002-04-13      Joel Sherrill <joel@OARcorp.com>
5094         * config/sparc/t-elf: Enable v8 multilibs.  Impacts
5095         sparc-elf and sparc-rtems targets.
5097 2002-04-13  Mark Mitchell  <mark@codesourcery.com>
5099         * alpha/linux.h: Define __gnu_linux__ wherever __linux__ is
5100         defined, and __gnu_hurd__ wherever __GNU__ is defined.
5101         * arm/linux-elf.h: Likewise.
5102         * cris/aout.h: Likewise.
5103         * cris/linux.h: Likewise.
5104         * i370/linux.h: Likewise.
5105         * i386/gnu.h: Likewise.
5106         * i386/linux-aout.h: Likewise.
5107         * i386/linux-oldld.h: Likewise.
5108         * i386/linux.h: Likewise.
5109         * i386/linux64.h: Likewise.
5110         * ia64/linux.h: Likewise.
5111         * m68k/linux-aout.h: Likewise.
5112         * m68k/linux.h: Likewise.
5113         * mips/linux.h: Likewise.
5114         * pa/pa-linux.h: Likewise.
5115         * pj/linux.h: Likewise.
5116         * rs6000/sysv4.h: Likewise.
5117         * s390/linux.h: Likewise.
5118         * sh/linux.h: Likewise.
5119         * sparc/linux-aout.h: Likewise.
5120         * sparc/linux.h: Likewise.
5121         * sparc/linux64.h: Likewise.
5122         * xtensa/linux.h: Likewise.
5124 2002-04-13  Richard Sandiford  <rsandifo@redhat.com>
5126         * stmt.c (check_unique_operand_names): Expect operand names to
5127         be strings rather than identifiers.  Use simple_cst_equal to
5128         compare them.
5129         (resolve_operand_name_1): Make same identifier to string change here.
5130         * c-parse.in (asm_operand): Convert a named operand into a string.
5131         * cp/parse.y (asm_operand): Likewise.
5133 2002-04-13  Andreas Schwab  <schwab@suse.de>
5135         * config/ia64/ia64.h (CPP_SPEC): Include %(cpp_cpu).
5137 2002-04-12  Mark Mitchell  <mark@codesourcery.com>
5139         Revert these changes:
5141         2002-04-06  Mark Mitchell  <mark@codesourcery.com>
5143         PR c++/5571
5144         * stor-layout.c (layout_decl): Reset the RTL for the decl.
5146 2002-04-12  Richard Henderson  <rth@redhat.com>
5148         * config.gcc (sparcv9-*-solaris2): Default to 32-bit code.
5149         (sparc*-*-solaris): Clean up header files.
5150         * configure.in (AS_SPARC64_FLAG): Error out if can't find it
5151         and plan on generating 64-bit code.
5152         * toplev.c (decode_g_option): Remove LINKER_DOES_NOT_WORK_WITH_DWARF2.
5153         * config/sparc/sol2-64.h: Delete and reuse for default 64-bit code.
5154         * config/sparc/sol2-sld-64.h: Rename ...
5155         * config/sparc/sol2-bi.h: ... here.  Remove the bits that checked
5156         for AS_SPARC64_FLAG not defined.
5157         * config/sparc/sol2-gld-bi.h: New.
5158         * config/sparc/sol2-sld.h: Remove.
5159         * config/sparc/sol26-sld.h: New.
5160         * config/sparc/sol2.h: Tidy comments.
5161         * doc/install.texi: Document sparc-solaris configury changes.
5163 2002-04-12  Richard Henderson  <rth@redhat.com>
5165         * recog.c (offsettable_address_p): Match the logic in adjust_address.
5167         * config/sparc/sparc.h (LEGITIMIZE_RELOAD_ADDRESS): Handle TFmode
5168         in 64-bit mode only.  Use only for 32-bit or MEDLOW.
5170 2002-04-12  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
5172         * config/alpha/osf.h (LINK_SPEC): Pass -S to silence ld warnings.
5174 Fri Apr 12 15:42:59 2002  Jeffrey A Law  (law@redhat.com)
5176         * pa.c (pa_can_combine_p): Call extract_insn before calling
5177         constrain_operands.
5179 2002-04-12  Douglas B Rupp  <rupp@gnat.com>
5181         * config/i386/i386-interix.h (EH_FRAME_IN_DATA_SECTION): Define.
5182         (TARGET_ASM_NAMED_SECTION, RETURN_IN_MEMORY) Define.
5183         (DEFAULT_PCC_STRUCT_RETURN): Define as 0.
5184         (CPP_PREDEFINES): Handle __declspec.
5185         * config/i386/t-interix (USER_H): Remove.
5187 2002-04-12  DJ Delorie  <dj@redhat.com>
5189         * integrate.c (compare_blocks): Make comparisons safe for when
5190         sizeof(int) < sizeof(char *).
5191         (find_block): Likewise.
5193 2002-04-12  Jan Hubicka  <jh@suse.cz>
5194             David Edelsohn  <edelsohn@gnu.org>
5196         * config/rs6000/rs6000.c (call_operand): Allow LINK and COUNT
5197         registers.
5198         (symbol_ref_operand): New.
5199         * config/rs6000/rs6000.h (PREDICATE_CODES): Add symbol_ref_operand.
5200         * config/rs6000/rs6000.md (call_nonlocal_aix): Use symbol_ref_operand.
5202 2002-04-12  Andreas Schwab  <schwab@suse.de>
5204         * config/ia64/ia64.h (ASM_SPEC): Moved from here ...
5205         * config/ia64/sysv4.h (ASM_SPEC): ... to here, so that it
5206         overrides the definition in config/svr4.h.
5208 2002-04-12      Eric Norum <eric.norum@usask.ca>
5210         * config/rtems.h, config/a29k/rtems.h, config/arm/rtems-elf.h,
5211         config/c4x/rtems.h, config/h8300/rtems.h, config/i386/rtems.h,
5212         config/i386/rtemself.h, config/i960/rtems.h, config/m68k/rtems.h,
5213         config/m68k/rtemself.h, config/mips/rtems.h, config/mips/rtems64.h,
5214         config/pa/rtems.h, config/rs6000/rtems.h, config/sh/rtems.h,
5215         config/sh/rtemself.h, config/sparc/rtems.h, config/sparc/rtemself.h,
5216         config/v850/rtems.h (*-rtems*): Cleanup pass to move common
5217         definitions to config/rtems.h and make the targets more similar.
5219 Fri Apr 12 08:06:54 2002  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
5221         * expr.c (expand_assigment): Remove duplicate conversions #ifdef
5222         POINTERS_EXTEND_UNSIGNED.
5223         (store_constructor, expand_expr, case COMPONENT_REF): Likewise.
5224         (store_expr): Use TYPE_MODE (sizetype), not ptr_mode.
5226         * emit-rtl.c (widen_memory_access): Don't do anything if MEMOFFSET
5227         not specified.
5229 Fri Apr 12 12:11:26 2002  J"orn Rennecke <joern.rennecke@superh.com>
5231         * sh.c (calc_live_regs, sh_pr_n_sets): Use of PR_MEDIA_REG / PR_REG
5232         depends on TARGET_SHMEDIA, not TARGET_SH5.
5234 2002-04-12  Hans-Peter Nilsson  <hp@bitrange.com>
5236         * function.c (fixup_var_refs_1) <SET, handling VAR in SET_SRC>:
5237         For paradoxical (subreg VAR), replace VAR, don't try the subreg.
5239 Fri Apr 12 10:51:38 2002  J"orn Rennecke <joern.rennecke@superh.com>
5241         * sh.c (broken_move): Constant 0. / 1. load is OK if there is
5242         no r0 clobber.
5244 2002-04-12  Andreas Schwab  <schwab@suse.de>
5246         * config/ia64/ia64.h (EXTRA_SPECS): Fix missing backslash.
5248 2002-04-12  Richard Henderson  <rth@redhat.com>
5250         PR bootstrap/4191
5251         * config/d30v/d30v.h (INIT_SECTION_ASM_OP): Don't undef.
5253         * flow.c (mark_used_reg): Manage reg_cond_dead properly for
5254         modes spanning multiple hard regs.
5256         * recog.c (peephole2_optimize): Rebuild jump labels as needed.
5258 2002-04-11  John David Anglin  <dave@hiauly1.hia.nrc.ca>
5260         * pa.c (pa_output_function_prologue): Don't accumulate the total
5261         number of code bytes when using TARGET_64BIT, or gas, SOM and not
5262         the portable runtime.
5263         (output_deferred_plabels): Handle 64bit plabels.
5264         (output_cbranch): Use $PIC_pcrel$0 for pc relative relocations when
5265         generating pic code using the GAS assembler for object formats that
5266         are not SOM (ie., ELF32 and ELF64).
5267         (output_millicode_call): Check attribute type if attribute length is 28.
5268         Likewise use $PIC_pcrel$0.  Only call get_attr_length and
5269         dbr_sequence_length once.
5270         (output_call): Likewise use $PIC_pcrel$0, and call get_attr_length and
5271         dbr_sequence_length once.
5272         * pa.h (TARGET_SOM): Define if not defined.
5273         * pa.md (pattern to load address of label): Likewise use $PIC_pcrel$0
5274         with GAS and not SOM.
5275         (jump, call_internal_reg, call_value_internal_reg): Likewise.
5276         * som.h (OBJ_SOM): Rename to TARGET_SOM.  Undefine before defining.
5278 2002-04-11  David O'Brien  <obrien@FreeBSD.org>
5280         * config/freebsd.h (NO_IMPLICIT_EXTERN_C, SCCS_DIRECTIVE): Give value.
5281         (DEFAULT_PCC_STRUCT_RETURN) Do not redefine.
5282         (USER_LABEL_PREFIX, HANDLE_SYSV_PRAGMA, IDENT_ASM_OP,
5283         DWARF2_DEBUGGING_INFO, DBX_DEBUGGING_INFO, PREFERRED_DEBUGGING_TYPE):
5284         elfos.h and dbxelf.h values are fine now.
5285         * config/i386/freebsd.h, config/alpha/freebsd.h
5286         (DEFAULT_PCC_STRUCT_RETURN): Define to 0.
5288 2002-04-11  David O'Brien  <obrien@FreeBSD.org>
5290         * config/ia64/aix.h (CPP_PREDEFINES): Do not define _LP64/__LP64__
5291         or set Acpu or Amachine.  Reformat.
5292         (ASM_SPEC, DONT_USE_BUILTIN_SETJMP, PROFILE_BEFORE_PROLOGUE): Do not
5293         define.
5294         (LINK_SPEC): Do not need to undef.
5295         * config/ia64/elf.h (ASM_EXTRA_SPEC): Define.
5296         * config/ia64/freebsd.h (LINK_SPEC): Do not need to undef.
5297         (ASM_SPEC, DONT_USE_BUILTIN_SETJMP, PROFILE_BEFORE_PROLOGUE): Do not
5298         define.
5299         * config/ia64/hpux.h (ASM_EXTRA_SPEC): Define.
5300         (ASM_SPEC): Do not define, use ASM_EXTRA_SPEC instead.
5301         (LINK_SPEC): Do not need to undef.
5302         (DONT_USE_BUILTIN_SETJMP): Do not define.
5303         * config/ia64/ia64.h (ASM_SPEC, ASM_EXTRA_SPEC): Add.
5304         (CPP_CPU_SPEC): Define _LP64, set Acpu and Amachine.  Remove -Dia64.
5305         (DONT_USE_BUILTIN_SETJMP, PROFILE_BEFORE_PROLOGUE): Define.
5306         Remove trailing spaces.
5307         * config/ia64/linux.h (CPP_PREDEFINES): Do not define _LP64/__LP64__,
5308         __ELF__, or set Acpu or Amachine.  Reformat.
5309         (ASM_SPEC, DONT_USE_BUILTIN_SETJMP, PROFILE_BEFORE_PROLOGUE): Do not
5310         define.
5312 2002-04-11  David O'Brien  <obrien@FreeBSD.org>
5314         * config.gcc (ia64-*-freebsd*): Fix ordering of tm_files to match
5315         all other *-*-freebsd* targets.
5317 2002-04-11  Richard Henderson  <rth@redhat.com>
5319         * config.gcc (alpha*-*-linux*ecoff): Detect and reject.
5321 2002-04-11  David O'Brien  <obrien@FreeBSD.org>
5323         * config.gcc (alpha*-*-openbsd, alpha64-dec-*vms,alpha*-dec-*vms):
5324         Include {cpu}/{cpu}.h thru tm_file.
5325         (alpha*-*-linux*ecoff): Remove target.
5326         * config/alpha/elf.h (CPP_SUBTARGET_SPEC): Define __ELF__.
5327         (LINK_SPEC): Remove, is not OS independent.
5328         * config/alpha/freebsd.h (CPP_SPEC): Do not define __ELF__.
5329         (LINK_SPEC): Do not need to #undef any longer.
5330         * config/alpha/linux-ecoff.h (LINK_SPEC): Do not need to #undef
5331         any longer.
5332         * config/alpha/linux-elf.h (SUB_CPP_PREDEFINES): Do not define
5333         __ELF__.
5334         (LINK_SPEC): Moved here from alpha/elf.h.
5335         * config/alpha/linux.h (CPP_PREDEFINES): No longer consumer of
5336         SUB_CPP_PREDEFINES.
5337         * config/alpha/linux-ecoff.h: Remove.
5338         * config/alpha/netbsd.h (CPP_PREDEFINES): Do not define __ELF__.
5339         (CPP_SPEC): Define _POSIX_SOURCE as needed.
5340         (CPP_SUBTARGET_SPEC): Do not define.
5341         (LINK_SPEC): Do not need to #undef any longer.
5342         * config/alpha/openbsd.h: Do not directly include alpha/alpha.h.
5343         * config/alpha/vms.h: Likewise.
5345 2002-04-11  Richard Sandiford  <rsandifo@redhat.com>
5347         * doc/extend.texi: Remove old claim that typedefs cannot have
5348         an alignment attribute.
5350 2002-04-11  Jakub Jelinek  <jakub@redhat.com>
5352         PR optimization/6177
5353         * expr.c (expand_expr) [COMPONENT_REF]: Handle op0 CONCAT if
5354         bitpos is 0 and bitsize CONCAT size.
5356 2002-04-11  Jakub Jelinek  <jakub@redhat.com>
5358         PR c/6223
5359         * combine.c (if_then_else_cond): Use trunc_int_for_mode on nz.
5361 2002-04-10  David O'Brien  <obrien@FreeBSD.org>
5363         * config/alpha/freebsd.h: Minor reformatting.
5364         (CPP_SPEC): Define ELF and add cpp_subtarget.
5365         (ASM_SPEC): No longer needed.
5367 2002-04-11  Richard Henderson  <rth@redhat.com>
5369         * config/sparc/sparc.md (movdi_insn_sp32): Add o/J alternative.
5370         (movdi_insn_sp32_v9): Likewise.  Only allow stx with aligned memory.
5371         (dimode mem/zero splitter): New.
5373 2002-04-11  Hans-Peter Nilsson  <hp@axis.com>
5375         * config/cris/cris.c (cris_override_options): Tweak error message
5376         for PIC not implemented.
5378         * config/cris/cris.h: Tweak comments related to parameter-passing.
5380         * t-cris (TARGET_LIBGCC2_CFLAGS): Don't -Dinhibit_libc here.
5382 2002-04-10  Richard Henderson  <rth@redhat.com>
5384         * except.c (add_ehl_entry): Allow duplicates after landing pad
5385         creation.
5387 2002-04-10  David Edelsohn  <edelsohn@gnu.org>
5389         * config/rs6000/t-aix43 (SHLIB_NM_FLAGS): Add -X32_64.
5391 2002-04-10  Toon Moene  <toon@moene.indiv.nluug.nl>
5393         * c-decl.c (c_init_decl_processing): Move generation of
5394         decls for g77_integer_type_node and friends from here ...
5395         * c-common.c (c_common_nodes_and_builtins): ... to here.
5397 2002-04-10  Ulrich Weigand  <uweigand@de.ibm.com>
5399         * reload1.c (choose_reload_regs): HARD_FRAME_POINTER_REGNUM
5400         is only used as frame pointer when frame_pointer_needed is true.
5402 2002-04-10  Richard Earnshaw  <rearnsha@arm.com>
5404         PR target/817
5405         * arm.md (arm_movdi): Adjust neg_pool_range attribute to allow
5406         for the fact that the pool entry uses two words.
5407         (movdf_hard_insn): Similarly.  Also, ADR instruction can span
5408         1k bytes.
5409         (movdf_soft_insn): Similarly.
5410         (movxf_hard_insn): Adjust neg_pool_range attribute to allow
5411         for the fact that the pool entry uses three words.
5413 2002-04-10  Richard Sandiford  <rsandifo@redhat.com>
5415         * config/mips/mips.c (mips_va_arg): When using the struct version
5416         of the EABI va_list, allow arguments in the register save area to
5417         take up less room than a stack argument.
5419 2002-04-10  Richard Henderson  <rth@redhat.com>
5421         * expr.c (expand_expr) [INTEGER_CST]: Don't force into registers
5422         if EXPAND_INITIALIZER.
5424 2002-04-09  Richard Henderson  <rth@redhat.com>
5426         * config/alpha/alpha.md (movdi_er_maybe_g): New.
5427         * config/alpha/alpha.c (alpha_expand_mov): Use it.
5429 2002-04-10  Alan Modra  <amodra@bigpond.net.au>
5431         PR optimization/6233
5432         * rtlanal.c (pure_call_p): New function.
5433         * rtl.h (pure_call_p): Declare.
5434         * loop.c (prescan_loop): Use it to set has_nonconst_call.
5435         * gcse.c (store_killed_in_insn): Use pure_call_p here too.
5437 2002-04-09  Eric Christopher  <echristo@redhat.com>
5439         * config/mips/mips.h (ASM_OUTPUT_ALIGNED_DECL_COMMON): Add additional
5440         information to .comm directive.
5442 2002-04-09  Richard Henderson  <rth@redhat.com>
5444         PR c/5078
5445         * expr.c (expand_expr) [INTEGER_CST]: Force overflows into registers.
5447 2002-04-09  Richard Henderson  <rth@redhat.com>
5449         * basic-block.h (flow_delete_block_noexpunge): Declare.
5450         (expunge_block_nocompact): Declare.
5451         * cfg.c (expunge_block_nocompact): Split out from ...
5452         (expunge_block): ... here.
5453         * cfgrtl.c (can_delete_label_p): Don't use exception_handler_labels.
5454         (flow_delete_block_noexpunge): Split out from ...
5455         (flow_delete_block): ... here.
5456         * cfgcleanup.c (delete_unreachable_blocks): Compact while
5457         removing dead blocks.
5458         * except.c (exception_handler_labels): Remove.
5459         (exception_handler_label_map): New.
5460         (struct eh_region): Add aka member.
5461         (mark_ehl_map_entry, mark_ehl_map, free_region): New.
5462         (ehl_hash, ehl_eq, ehl_free, add_ehl_entry): New.
5463         (for_each_eh_label, for_each_eh_label_1): New.
5464         (init_eh): Register exception_handler_label_map.
5465         (free_eh_status): Use free_region.
5466         (find_exception_handler_labels): Use the map, not the list.
5467         (remove_exception_handler_label): Likewise.
5468         (maybe_remove_eh_handler): Likewise.
5469         (remove_eh_handler): Use the region aka bitmap.
5470         * except.h (exception_handler_labels): Remove.
5471         (for_each_eh_label): Declare.
5472         * jump.c (rebuild_jump_labels): Don't check exception_handler_labels.
5473         * loop.c (invalidate_loops_containing_label): New.
5474         (find_and_verify_loops): Use it.  Use for_each_eh_label.
5475         * sched-rgn.c (is_cfg_nonregular): Use
5476         current_function_has_exception_handlers.
5478 2002-04-09  Richard Henderson  <rth@redhat.com>
5480         * sbitmap.c (sbitmap_union_of_diff, sbitmap_a_and_b, sbitmap_a_xor_b,
5481         sbitmap_a_or_b, sbitmap_a_or_b_and_c, sbitmap_a_and_b_or_c):
5482         Do not return changed status.
5483         (sbitmap_union_of_diff_cg, sbitmap_a_and_b_cg, sbitmap_a_xor_b_cg,
5484         sbitmap_a_or_b_cg, sbitmap_a_or_b_and_c_cg, sbitmap_a_and_b_or_c_cg):
5485         New functions that do return changed status.
5486         * sbitmap.h: Update decls.
5487         * gcse.c, lcm.c: Use _cg functions as needed.
5489 Tue Apr  9 19:15:57 2002  J"orn Rennecke <joern.rennecke@superh.com>
5491         * config.gcc (sh-*-elf*): Use sh/embed-elf.h instead of sh/elf.h.
5492         (sh64-*-elf*, sh-*-rtemself*): Likewise.
5493         * config/sh/embed_bb.c: New file.
5494         * config/sh/embed-elf.h: New file.
5495         * sh.h (CPP_SPEC): Supply __SIZE_TYPE__ and __PTRDIFF_TYPE__
5496         if -m[12345]* option is given.  Don't use subtarget_cpp_ptr_spec.
5497         (CPP_DEFAULT_CPU_SPEC): Add settings for __SIZE_TYPE__ and
5498         __PTRDIFF_TYPE__ .
5499         (SUBTARGET_CPP_PTR_SPEC): Don't define.
5500         (EXTRA_SPECS): Remove subtarget_cpp_ptr_spec.
5501         Add subtarget_asm_endian_spec.
5502         (ASM_SPEC): Use subtarget_asm_endian_spec.
5503         (SUBTARGET_ASM_ENDIAN_SPEC): Define.
5504         (RETURN_ADDR_RTX): Use PR_MEDIA_REG for TARGET_SH5.
5505         (WCHAR_UNSIGNED): Define.
5506         (SH_ELF_WCHAR_TYPE, SH_DBX_REGISTER_NUMBER): Define.
5507         (DBX_REGISTER_NUMBER): Use SH_DBX_REGISTER_NUMBER.
5508         (ALLOCATE_INITIAL_VALUE): Use PR_MEDIA_REG for TARGET_SH5.
5509         Fix value.
5510         * sh.c (calc_live_regs): Use PR_MEDIA_REG for TARGET_SH5.
5511         (sh_adjust_cost): Likewise.
5512         sh64.h (CPP_DEFAULT_CPU_SPEC): Add settings for __SIZE_TYPE__ and
5513         __PTRDIFF_TYPE__ .
5514         (SUBTARGET_CPP_PTR_SPEC, WCHAR_TYPE): Don't #undef/ #define.
5515         (WCHAR_TYPE_SIZE): Likewise.
5516         (ASM_SPEC): Use subtarget_asm_endian_spec.
5517         (SH_ELF_WCHAR_TYPE): #undef/ #define.
5518         (MAX_WCHAR_TYPE_SIZE): Don't #undef.
5519         * config/sh/elf.h (WCHAR_UNSIGNED): #undef .
5520         (MAX_WCHAR_TYPE_SIZE): Don't #define .
5521         (WCHAR_TYPE, WCHAR_TYPE_SIZE): #undef / #define .
5522         (USER_LABEL_PREFIX): Don't #undef /#define .
5523         (DBX_REGISTER_NUMBER): Use SH_DBX_REGISTER_NUMBER.
5524         * config/elf/linux.h (USER_LABEL_PREFIX): Don't #undef /#define .
5525         (SIZE_TYPE, PTRDIFF_TYPE, WCHAR_TYPE, WCHAR_TYPE_SIZE): Likewise.
5526         (ASM_SPEC): Likewise.
5527         (SUBTARGET_ASM_ENDIAN_SPEC): #undef / #define .
5528         (CC1_SPEC): don't supply -m3 for -m4*, -m5*.
5529         * t-sh: (LIB1ASMFUNCS): Use LIB1ASMFUNCS_CACHE.
5530         (LIB2FUNCS_EXTRA): Define.
5531         * t-sh64 (LIB2FUNCS_EXTRA): Define.
5532         * config/sh/t-linux (LIB1ASMFUNCS): Don't redefine.
5533         (LIB1ASMFUNCS_CACHE): Define.
5534         (LIB2FUNCS_EXTRA): Redefine empty.
5536 2002-04-08  Richard Henderson  <rth@redhat.com>
5538         * reorg.c (get_branch_condition): Use reversed_comparison_code.
5540 2002-04-09  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
5542         * config/m68hc11/larith.asm (__map_data_section): Fix condition
5543         and optimize for size.
5544         (__do_global_ctors): Fix pointer comparison.
5545         (__do_global_dtors): Likewise.
5547 2002-04-09  David S. Miller  <davem@redhat.com>
5549         * config/sparc/sparc.c (sparc_extra_constraint_check): New
5550         function, implementing EXTRA_CONSTRAINTS.  For memory constraints,
5551         allow reloading pseudos.
5552         * config/sparc/sparc.h (EXTRA_CONSTRAINTS): Use it.
5553         * config/sparc/sparc-protos.h: Declare it.
5555         * config/sparc/sparc.c (const64_is_2insns): Kill signed vs.
5556         unsigned comparison warning.
5557         (output_restore_regs): Mark leaf_function as unused.
5559 Tue Apr  9 09:35:45 2002  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
5561         * expr.c (is_aligning_offset): New function.
5562         (expand_expr, case COMPONENT_EXPR): Call it.
5564 2002-04-08  David S. Miller  <davem@redhat.com>
5566         PR target/6082
5567         * config/sparc/freebsd.h (SPARC_DEFAULT_CMODEL): Set to CM_MEDLOW
5569         Make init_priority work on Sparc when using GNU ld.
5570         * config/sparc/linux.h, config/sparc/linux64.h,
5571         config/sparc/netbsd-elf.h, config/sparc/freebsd.h
5572         (CTORS_SECTION_ASM_OP, DTORS_SECTION_ASM_OP): Undefine.
5573         * config/sparc/sol2-gld.h: New file to do the same.
5574         * config.gcc (sparc*-*-solaris2*): If gnu_ld=yes add
5575         sparc/sol2-gld.h to tm_file.
5577         PR optimization/4328
5578         * config/sparc/sparc.h (EXTRA_CONSTRAINT): Add new constraint 'W'.
5579         * doc/md.texi: Document it.
5580         * config/sparc/sparc.md (movdi_insn_sp64_novis,
5581         movdi_insn_sp64_vis, movdf_insn_sp32, movdf_insn_v9only_novis,
5582         movdf_insn_v9only_vis, movdf_insn_sp64_novis,
5583         movdf_insn_sp64_vis): Use it as MEM constraing with 'e' registers.
5584         * config/sparc/sparc.c (mem_min_alignment): Fix comment.
5586 2002-04-08  Andreas Jaeger  <aj@suse.de>
5588         * stmt.c (expand_asm_operands): Revert last patch from Richard
5589         Henderson.
5591 2002-04-08  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
5593         * doc/contrib.texi (Contributors): Add John David Anglin and Loren
5594         J. Rittle (the latter also to Testers).  Update David O'Brien's entry.
5596 2002-04-08  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
5598         * doc/contrib.texi (Contributors): Add David O'Brien.
5600 2002-04-08  Alan Modra  <amodra@bigpond.net.au>
5602         * configure.in (auto-build.h): Use target_alias and build_alias
5603         when running configure.
5604         (gcc_cv_as, gcc_cv_ld): Search install paths when build != host too.
5605         (gcc_cv_nm, gcc_cv_objdump): Set for build != host too.
5606         * configure: Regenerate.
5608 2002-04-07  David S. Miller  <davem@redhat.com>
5610         * config.gcc (sparc64-*-linux*): Add t-crtfm to tmake_file.
5612 2002-04-07  John David Anglin  <dave@hiauly1.hia.nrc.ca>
5614         PR 5933
5615         * pa.h (ASM_OUTPUT_MI_THUNK): Use indirect jump to target function when
5616         generating 32-bit pic code.
5618 2002-04-06  Jason Thorpe  <thorpej@wasabisystems.com>
5620         * cppinit.c (cpp_create_reader): Initialize
5621         discard_comments_in_macro_exp.
5622         (COMMAND_LINE_OPTIONS): Add "-CC" option.
5623         (cpp_handle_option): Handle "-CC" option.
5624         * cpplex.c (save_comment): If saving a C++ comment in
5625         a directive, convert it to a C comment.
5626         (_cpp_lex_direct): Pass second comment start character to
5627         save_comment to indicate comment type.
5628         * cpplib.c (_cpp_handle_directive): If processing
5629         a "#define" directive and discard_comments_in_macro_exp
5630         is false,  re-enable saving of comments.
5631         (lex_macro_node): If discard_comments_in_macro_exp is false,
5632         discard any comments before the macro identifier.
5633         * cpplib.h (struct cpp_options): Add discard_comments_in_macro_exp
5634         member.
5635         * cppmacro.c (cpp_get_token): If expanding a macro while
5636         processing a directive, discard any comments we might encounter.
5637         (parse_params): If discard_comments_in_macro_exp is false,
5638         ignore comments in the macro parameter list.
5639         * gcc.c (cpp_unique_options): Add "-CC" option.
5640         (option_map): Map "--comments-in-macros" to "-CC".
5641         * doc/cppopts.texi: Document "-CC" option.
5642         * f/lang-specs.h: Add "-CC" option.
5643         * testsuite/gcc.dg/cpp/maccom1.c: New test.
5644         * testsuite/gcc.dg/cpp/maccom2.c: New test.
5645         * testsuite/gcc.dg/cpp/maccom3.c: New test.
5646         * testsuite/gcc.dg/cpp/maccom4.c: New test.
5647         * testsuite/gcc.dg/cpp/maccom5.c: New test.
5648         * testsuite/gcc.dg/cpp/maccom6.c: New test.
5650 2002-04-06  John David Anglin  <dave@hiauly1.hia.nrc.ca>
5652         PR middle-end/6180
5653         * reorg.c (dbr_schedule): Don't reposition prologue and epilogue notes.
5655 2002-04-06  Mark Mitchell  <mark@codesourcery.com>
5657         PR c++/5571
5658         * stor-layout.c (layout_decl): Reset the RTL for the decl.
5660         PR opt/5120
5661         * sibcall.c (optimize_sibling_and_tail_recursive_call): Clear
5662         RTX_UNCHANGING_P for the functions arguments when a tail call
5663         is made.
5665 2002-04-06  Jason Merrill  <jason@redhat.com>
5667         * toplev.c (flag_no_inline, flag_really_no_inline): Default to 2.
5668         (parse_options_and_default_flags): Set them appropriately.
5669         * c-common.c (c_common_post_options): Don't set flag_really_no_inline.
5671 2002-04-06  Hans-Peter Nilsson  <hp@bitrange.com>
5673         * config/mmix/t-mmix (TARGET_LIBGCC2_CFLAGS): Don't -Dinhibit_libc
5674         here.
5676         * config/mmix/mmix.h (INITIAL_ELIMINATION_OFFSET): Remove spurious
5677         semicolon.
5679         * config/mmix/mmix.c (mmix_expand_builtin_va_arg): Variable-size
5680         types come in by-reference.  Fix typo in comment.
5682 2002-04-05  David S. Miller  <davem@redhat.com>
5684         * config/sparc/freebsd.h (ENDFILE_SPEC): Add crtfastmath bits.
5685         * config.gcc (sparc64-wrs-vxworks, sparc-*-chorusos,
5686         sparc-*-rtems*, sparclite-*-elf* sparc86x-*-elf*, sparc64-*-elf*,
5687         {sparc64,ultrasparc}-*-freebsd*): Add sparc/t-crtfm to tmake_file.
5689 2002-04-05  David S. Miller  <davem@redhat.com>
5691         * config/sparc/sparc.c (sparc_nonflat_function_epilogue): If we
5692         are not going to emit return instructions, emit at least a nop
5693         for the sake of sane backtraces.
5695 2002-04-05  Richard Henderson  <rth@redhat.com>
5697         * doc/rtl.texi (Regs and Memory): Document (mem:BLK (scratch)).
5699 2002-04-05  Jakub Jeilnek  <jakub@redhat.com>
5701         * mklibgcc.in: Use $tmpmapfile, not tmp-$@.
5703 2002-04-05  Alexandre Oliva  <aoliva@redhat.com>
5705         * config/mips/mips.h (ISA_HAS_BRANCHLIKELY, ISA_HAS_CONDMOVE,
5706         ISA_HAS_FP4, ISA_HAS_MADD_MSUB, ISA_HAS_NMADD_NMSUB,
5707         ISA_HAS_CLZ_CLO, ISA_HAS_DCLZ_DCLO): Disable if TARGET_MIPS16.
5709 2002-04-05  Andreas Schwab  <schwab@suse.de>
5711         * c-convert.c: Include c-common.h.
5712         * Makefile.in (c-convert.o): Updated.
5714 2002-04-05  Jakub Jelinek  <jakub@redhat.com>
5716         * mklibgcc.in: Use separate libgcc.map for each multilib.
5717         * Makefile.in (distclean): Don't remove libgcc.map here.
5719 2002-04-05  Jakub Jelinek  <jakub@redhat.com>
5721         * Makefile.in (s-mlib): Handle --disable-multilib by separate
5722         genmultilib invocation.
5724 2002-04-04  Richard Sandiford  <rsandifo@redhat.com>
5726         * config/mips/mips.h (CUMULATIVE_ARGS): Rename fp_regs to num_fprs
5727         to avoid clash with Irix header file sys/ucontext.h.  Rename gp_regs
5728         to num_gprs for symmetry.
5729         * config/mips/mips.c: Adjust accordingly.
5731 2002-04-04  Neil Booth  <neil@daikokuya.demon.co.uk>
5733         * c-common.c (truthvalue_conversion): Rename, update.
5734         * c-common.h (c_common_truthvalue_conversion): New.
5735         * c-convert.c (convert): Update.
5736         * c-lang.c (LANG_HOOKS_TRUTHVALUE_CONVERSION): Redefine.
5737         * c-parse.in (expr_no_commas, if_prefix, select_or_iter_stmt): Update.
5738         * c-typeck.c (build_binary_op, build_unary_op,
5739         build_conditional_expr): Update.
5740         * fold-const.c (constant_boolean_node, fold): Use langhook.
5741         * langhooks-def.h (LANGHOOK_INITIALIZER): Update.
5742         * langhooks.h (struct lang_hooks): New hook.
5743         * stmt.c (expand_decl_cleanup): Use langhook.
5744         * tree.h (truthvalue_conversion): Remove.
5745 objc:
5746         * objc-lang.c (LANG_HOOKS_TRUTHVALUE_CONVERSION): Redefine.
5748 2002-04-05  Alan Modra  <amodra@bigpond.net.au>
5750         * config/rs6000/t-linux64 (EXTRA_MULTILIB_PARTS): Add crtsavres.o
5751         Add rules to make null object file.
5753 2002-04-04  Jim Blandy  <jimb@redhat.com>
5755         * cppmacro.c (cpp_macro_definition): Do not emit spaces after
5756         macro formal parameter names.
5758 2002-04-04  David S. Miller  <davem@redhat.com>
5760         * calls.c (store_one_arg): If ECF_SIBCALL, use tail_call_reg.
5762 2002-04-04  Richard Henderson  <rth@redhat.com>
5764         PR middle-end/5099
5765         * stmt.c (expand_asm_operands): Validate outputs vs asm_operand_ok.
5766         Support copies into and out of memory.  Don't accept allows_reg
5767         and allows_mem as gospel.
5769 2002-04-04  Richard Henderson  <rth@redhat.com>
5771         PR opt/6165
5772         * alias.c (true_dependence): Force (mem:blk (scratch)) to conflict.
5773         (write_dependence_p): Likewise.
5775 2002-04-04  Richard Henderson  <rth@redhat.com>
5777         * predict.c (estimate_bb_frequencies): Do frequency calculation
5778         with a volatile temporary.
5780 2002-04-04  Ulrich Weigand  <uweigand@de.ibm.com>
5782         * config/s390/linux.h (LOCAL_LABEL_PREFIX): Define.
5784 2002-04-04  Jakub Jelinek  <jakub@redhat.com>
5786         PR c++/6119
5787         * final.c (final_start_function): Don't bump profile_label_no here...
5788         (final_end_function): ...but here.
5790 2002-04-04  Jakub Jelinek  <jakub@redhat.com>
5792         * config/sparc/sparc.md (pic): New attribute.
5793         (do_builtin_setjmp_setup): Save %fp, %i7 and %l7 for TARGET_V9
5794         into stack slots.
5795         (split after do_builtin_setjmp_setup): New.
5797 2002-04-04  Jakub Jelinek  <jakub@redhat.com>
5799         PR fortran/6106
5800         * config/sparc/sparc.h (MIN_UNITS_PER_WORD): Backout 2001-01-01
5801         change.
5803 2002-04-04  Jakub Jelinek  <jakub@redhat.com>
5805         * config/sparc/sparc.c (sparc_va_arg): Adjust va_list by
5806         UNITS_PER_WORD for zero sized aggregates.
5808 2002-04-03  David S. Miller  <davem@redhat.com>
5810         * gcc.c (LINK_GCC_C_SEQUENCE_SPEC): No need for a new
5811         one-character spec for this, just use %(link_gcc_c_sequence).
5813 2002-04-03  David S. Miller  <davem@redhat.com>
5815         * config/sparc/crtfastmath.c (FPRS_NS): Delete bogus little-endian
5816         handling.
5818 2002-04-03  John David Anglin  <dave@hiauly1.hia.nrc.ca>
5820         * pa-linux.h (INCOMING_RETURN_ADDR_RTX): Move.
5821         (DWARF_FRAME_RETURN_COLUMN): Move.
5822         (ASM_PREFERRED_EH_DATA_FORMAT): Define.
5823         (ASM_MAYBE_OUTPUT_ENCODED_ADDR_RTX): Define.
5824         * pa.c (except.h, predict.h): Include.
5825         (FRP): Delete.
5826         (store_reg_modify, set_reg_plus_d): Revise prototypes.
5827         (output_ascii): Add cast.
5828         (store_reg_modify): Revise to add frame notes.
5829         (set_reg_plus_d): Likewise.
5830         (compute_frame_size): Include space for eh data registers in frame if
5831         the current function calls eh_return.
5832         (hppa_expand_prologue):  Ensure register %r2 is saved if the current
5833         function calls eh_return.  Save eh data registers if the current
5834         function calls eh_return.  Fix code to add frame notes.  Emit
5835         blockage to prevent insns with frame notes being scheduled in the
5836         delay slot of calls.
5837         (hppa_expand_epilogue): Restore eh data registers and do final stack
5838         adjustment if the current function calls eh_return.  Don't add frame
5839         notes.
5840         (output_call): Revise for change in length of call insn.  Don't do
5841         return pointer adjustment for an unconditional jump in the delay slot
5842         of a call when using frame notes.
5843         * pa.h (EH_RETURN_DATA_REGNO): Revise for TARGET_64BIT compatibility.
5844         (EH_RETURN_HANDLER_RTX): Use saved value on stack.
5845         (ARG_POINTER_CFA_OFFSET): Define.
5846         * pa.md (return_external_pic): New pattern.
5847         (prologue): Correct formatting.  Use return_external_pic if current
5848         function calls eh_return.
5849         (call_internal_symref, call_value_internal_symref,
5850         sibcall_internal_symref, sibcall_value_internal_symref): Change default
5851         lengths of short, long non-pic, and long pic calls to 8, 68, and 84,
5852         respectively.
5853         (exception_receiver): Use hppa_pic_save_rtx () to restore pic register.
5855         * configure.in ("assembler dwarf2 debug_line support"): Add hppa*-*-* to
5856         list of targets to check using "nop" insn.
5857         * configure: Rebuilt.
5859 2002-04-04  Alan Modra  <amodra@bigpond.net.au>
5861         * config/rs6000/t-linux64 (EXTRA_MULTILIB_PARTS): Define.
5863 2002-04-03  David S. Miller  <davem@redhat.com>
5865         * gcc.c (LINK_GCC_C_SEQUENCE_SPEC): New spec to override the gcc/c
5866         library sequence passed to the linker.
5867         (LINK_COMMAND_SPEC): Use it.
5868         * doc/tm.texi: Document it, and mention from LINK_COMMAND_SPEC as
5869         a macro a target can use to avoid overriding LINK_COMMAND_SPEC.
5870         * config/sparc/sparc.h (LINK_GCC_C_SEQUENCE_SPEC): Define.
5872 2002-04-03  Jason Merrill  <jason@redhat.com>
5874         * except.c (struct eh_status): Remove protect_list.
5875         (begin_protect_partials, end_protect_partials): Remove.
5876         (add_partial_entry): Remove.
5877         * except.h: Remove prototypes.
5879         * expr.c (expand_expr) [WITH_CLEANUP_EXPR, TARGET_EXPR]: Use
5880         expand_decl_cleanup_eh.
5882         PR c++/5636
5883         * tree.h (CLEANUP_EH_ONLY): New macro.
5884         * stmt.c (expand_decl_cleanup_eh): New fn.
5885         (expand_cleanups): Check CLEANUP_EH_ONLY.
5886         * c-semantics.c (genrtl_decl_cleanup): Just take the CLEANUP_STMT.
5887         Use expand_decl_cleanup_eh.
5888         (expand_stmt): Adjust.
5889         * c-common.h: Adjust prototype.
5891 2002-04-04  Hans-Peter Nilsson  <hp@axis.com>
5893         * config/cris/cris.c (cris_target_asm_function_prologue): Cast
5894         uses of PIC_OFFSET_TABLE_REGNUM to int to silence warnings.
5895         (cris_target_asm_function_epilogue): Ditto.
5896         (cris_initial_frame_pointer_offset): Ditto.
5897         (cris_simple_epilogue): Ditto.
5898         (cris_expand_builtin_va_arg): Variable-size types come in
5899         by-reference.
5901 2002-04-03  David S. Miller  <davem@redhat.com>
5903         * config/sparc/crtfastmath.c (FPRS_NS): Get it right for
5904         little-endian.
5905         (set_fast_math): Correct 'fsr' type.
5907 2002-04-03  Richard Henderson  <rth@redhat.com>
5909         PR opt/3569
5910         * langhooks.h (lang_hooks.decls.warn_unused_global): New.
5911         * toplev.c (check_global_declarations): Use it.
5912         * langhooks-def.h (lhd_warn_unused_global_decl): Declare.
5913         (LANG_HOOKS_WARN_UNUSED_GLOBAL_DECL): New.
5914         (LANG_HOOKS_DECLS): Add it.
5915         * langhooks.c (lhd_warn_unused_global_decl): New.
5916         * c-decl.c (LANG_HOOKS_WARN_UNUSED_GLOBAL_DECL): New.
5917         * c-objc-common.c (c_warn_unused_global_decl): New.
5918         * c-tree.h (c_warn_unused_global_decl): Declare.
5919         * objc/objc-lang.c (LANG_HOOKS_WARN_UNUSED_GLOBAL_DECL): New.
5921 2002-04-03  Neil Booth  <neil@daikokuya.demon.co.uk>
5923         * langhooks-def.h (lhd_set_decl_assembler_name,
5924         LANG_HOOKS_SET_DECL_ASSEMBLER_NAME): New.
5925         (LANG_HOOKS_INITIALIZER): Update.
5926         * langhooks.c (lhd_set_decl_assembler_name): New, from tree.c
5927         * langhooks.h (struct lang_hooks): New hook.
5928         * tree.c (set_decl_assembler_name): Move to langhooks.c.
5929         (lang_set_decl_assembler_name): Remove.
5930         (init_obstacks): Don't set hook.
5931         (decl_assembler_name): New function.
5932         * tree.h (DECL_ASSEMBLER_NAME): Turn into a function call.
5933         (decl_assembler_name): New.
5934         (lang_set_decl_assembler_name): Remove.
5936 2002-04-03  Jakub Jelinek  <jakub@redhat.com>
5938         * configure.in (HAVE_SPARC_UA_PCREL_HIDDEN): Test whether %r_disp32()
5939         works properly with .hidden symbols.
5940         * configure: Rebuilt.
5941         * config.in: Rebuilt.
5942         * config/sparc/sparc.h (ASM_PREFERRED_EH_DATA_FORMAT): Use
5943         DW_EH_PE_absptr for flag_pic && GLOBAL if %r_disp32() doesn't work
5944         properly with .hidden symbols.
5946 2002-04-03  Jakub Jelinek  <jakub@redhat.com>
5948         PR middle-end/6102
5949         * df.c (df_insn_refs_record): Use XEXP not SET_DEST to access
5950         USE argument.
5952 2002-04-03  Richard Henderson  <rth@redhat.com>
5954         PR opt/4120
5955         * sched-rgn.c (sets_likely_spilled): New.
5956         (sets_likely_spilled_1): New.
5957         (add_branch_dependences): Use it.
5959 2002-04-02  Richard Henderson  <rth@redhat.com>
5961         PR opt/4311
5962         * loop.h (LOOP_FIRST_PASS): New.
5963         * loop.c (strength_reduce): Mind it when deciding to unroll.
5964         * toplev.c (rest_of_compilation): Set it.
5966 2002-04-02  David S. Miller  <davem@redhat.com>
5968         * config/sparc/sparc.md (ldd peephole2s): Fix final arg to
5969         mems_ok_for_ldd_peep when the order of the loads being examined
5970         is reversed.
5971         * config/sparc/sparc.c (mems_ok_for_ldd_peep): Expand upon
5972         existing comment to increase comprehension of this situation.
5974 2002-04-02  Zack Weinberg  <zack@codesourcery.com>
5976         * config/sh/sh.md: Don't use union real_extract.
5978 2002-04-02  Richard Henderson  <rth@redhat.com>
5980         * libgcc2.c (__bb_exit_func): Revert 03-31 change.
5982 2002-04-02  David O'Brien  <obrien@FreeBSD.org>
5984         * config.gcc (i386-dg-dgux, i386-go32-msdos , i386-go32-rtems,
5985         i386-ibm-aix, i386-moss-msdos, i386-ncr-sysv4, i386-next-,
5986         i386-pc-msdosdjgpp, i386-sequent-bsd, i386-sequent-ptx1,
5987         i386-sequent-ptx2, i386-sequent-ptx4, i386-sun-sunos,
5988         i386-wrs-vxworks, i386-*-aout, i386-*-beoself, i386-*-bsd,
5989         i386-*-bsdi, i386-*-chorusos, i386-*-coff, i386-*-elf,
5990         i386-*-freebsd5, i386-*-freebsd-aout, i386-*-gnu, i386-*-interix,
5991         i386-*-interix3, i386-*-isc, i386-*-linux, i386-*-linuxaout,
5992         i386-*-linuxoldld, i386-*-lynxos, i386-*-mach, i386-*-mingw32,
5993         i386-*-netbsd, i386-*-netbsdelf, i386-*-netware, i386-*-openbsd,
5994         i386-*-osf1, i386-*-osfrose, i386-*-pe , i386-*-rtems,
5995         i386-*-rtemscoff, i386-*-sco3.2v5, i386-*-solaris2, i386-*-sysv,
5996         i386-*-sysv4, i386-*-sysv5, i386-*-udk, i386-*-uwin, i386-*-vsta,
5997         i386-*-win32, x86_64-*-freebsd5, x86_64-*-linux, x86_64-*-netbsd):
5998         Include as many configury headers via tm_file as possible.  This
5999         includes among others i386/unix.h, i386/bsd.h, i386/gas.h.
6000         * config/openbsd-oldgas.h: New file.
6001         * config/i386/386bsd.h, config/i386/aix386ng.h, config/i386/att.h,
6002         config/i386/bsd.h, config/i386/djgpp.h, config/i386/freebsd-aout.h,
6003         config/i386/gas.h, config/i386/gstabs.h, config/i386/i386-aout.h,
6004         config/i386/i386-coff.h, config/i386/i386-interix.h,
6005         config/i386/iscdbx.h, config/i386/linux-aout.h,
6006         config/i386/linux-oldld.h, config/i386/lynx-ng.h, config/i386/lynx.h,
6007         config/i386/mach.h, config/i386/netbsd.h, config/i386/next.h,
6008         config/i386/openbsd.h, config/i386/osfelf.h, config/i386/osfrose.h,
6009         config/i386/sco5.h, config/i386/seq-gas.h, config/i386/seq-sysv3.h,
6010         config/i386/seq2-sysv3.h, config/i386/sequent.h, config/i386/sun.h,
6011         config/i386/sun386.h, config/i386/svr3dbx.h, config/i386/svr3gas.h,
6012         config/i386/sysv3.h, config/i386/uwin.h, config/i386/vsta.h,
6013         config/i386/vxi386.h: Do not directly include configury headers.
6014         * config/i386/cygwin.h, config/i386/djgpp.h, config/i386/win32.h:
6015         Directly include configury headers that are no longer automatically
6016         included by the above headers.
6017         * config/i386/att.h, config/i386/bsd.h (TARGET_VERSION): Do not define.
6018         * config/i386/386bsd.h, config/i386/aix386ng.h, config/i386/cygwin.h,
6019         config/i386/djgpp.h, config/i386/i386-aout.h, config/i386/i386-coff.h,
6020         config/i386/lynx-ng.h, config/i386/lynx.h, config/i386/mach.h,
6021         config/i386/netbsd.h, config/i386/openbsd.h, config/i386/rtems.h,
6022         config/i386/seq-sysv3.h, config/i386/sequent.h, config/i386/svr3gas.h,
6023         config/i386/sysv3.h, config/i386/vsta.h, config/i386/vxi386.h
6024         (TARGET_VERSION): Define.
6025         * config/i386/beos-elf.h, config/i386/freebsd.h,
6026         config/i386/i386-interix.h, config/i386/i386elf.h, config/i386/linux.h,
6027         config/i386/linux64.h, config/i386/netbsd-elf.h, config/i386/netbsd64.h,
6028         config/i386/osfelf.h, config/i386/osfrose.h, config/i386/ptx4-i.h,
6029         config/i386/sco5.h, config/i386/sysv4.h
6030         (TARGET_VERSION): Do not need to protect.
6031         * config/i386/freebsd64.h (TARGET_VERSION): Fix style.
6032         * config/i386/386bsd.h, config/i386/cygwin.h, config/i386/djgpp.h,
6033         config/i386/freebsd-aout.h, config/i386/i386-aout.h,
6034         config/i386/i386-interix.h, config/i386/linux-aout.h,
6035         config/i386/linux-oldld.h, config/i386/mach.h, config/i386/netbsd.h,
6036         config/i386/openbsd.h, config/i386/vsta.h, config/i386/win32.h
6037         (YES_UNDERSCORES): Do not define - not needed.
6038         * config/i386/bsd.h, config/i386/gas.h (LPREFIX,
6039         ASM_GENERATE_INTERNAL_LABEL, ASM_OUTPUT_INTERNAL_LABEL,
6040         USER_LABEL_PREFIX): Do not handle the "NO_UNDERSCORES" case.
6041         * config/i386/i386-coff.h, config/i386/lynx.h, config/i386/lynx-ng.h
6042         (LPREFIX, ASM_GENERATE_INTERNAL_LABEL, ASM_OUTPUT_INTERNAL_LABEL,
6043         USER_LABEL_PREFIX): Define. (handles the "NO_UNDERSCORES" case)
6044         * config/i386/isc.h: Preserve comment from config/i386/isccoff.h.
6045         * config/i386/isccoff.h, config/i386/v3gas.h: Remove.
6047 2002-04-02  Eric Botcazou  <ebotcazou@multimania.com>
6048             Richard Henderson  <rth@redhat.com>
6050         PR c/5484
6051         * function.c (assign_temp): Accept either type or decl argument.
6052         Detect variables whose size is too large to fit into an integer.
6053         * stmt.c (expand_decl): Pass the decl, not the type.
6055 2002-04-02  David O'Brien  <obrien@FreeBSD.org>
6057         * protoize.c: Match include directory usage with cppdefault.c.
6059 2002-04-03  Jeffrey A Law  (law@redhat.com)
6060             Hans-Peter Nilsson  <hp@bitrange.com>
6062         * combine.c (simplify_comparison): Avoid narrowing a comparison
6063         with a paradoxical subreg when doing so would drop signficant bits.
6065 2002-04-02  Steve Ellcey  <sje@cup.hp.com>
6067         * builtins.c (expand_builtin_prefetch): Force op0 pointer to Pmode
6068         if POINTERS_EXTEND_UNSIGNED is defined.
6070 2002-04-02  Richard Henderson  <rth@redhat.com>
6072         PR opt/3967
6073         * local-alloc.c (contains_replace_regs): LO_SUM may contain
6074         replace regs.
6076 2002-04-02  Richard Henderson  <rth@redhat.com>
6078         * doc/standards.texi: Document required freestanding libc entry points.
6080 2002-04-02  Alan Modra  <amodra@bigpond.net.au>
6082         * config/rs6000/rs6000.md (ctrdi*): Add FPR constraint and
6083         associated splitter.  Remove MQ constraint.
6084         (ctrdi_internal4): Correct CCmode clobber.
6086 2002-04-02  John David Anglin  <dave@hiauly1.hia.nrc.ca>
6088         * milli64.S ($$dyncall): New function.
6089         * t-linux (LIB1ASMFUNCS): Revise module list.
6090         (LIB1ASMSRC): Use pa/milli64.S.
6092 2002-04-02  Richard Henderson  <rth@redhat.com>
6094         * fixinc/inclhack.def (AAB_solaris_sys_varargs_h): Move and
6095         rename solaris_sys_varargs_h.
6097 Tue Apr  2 06:47:40 2002  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
6099         * stor-layout.c (layout_type, case ARRAY_TYPE): Give one-element array
6100         the same mode as its component.
6102 2002-04-02  Richard Henderson  <rth@redhat.com>
6104         PR opt/190
6105         * final.c (this_is_asm_operands): Export.
6106         * output.h (this_is_asm_operands): Declare.
6107         * config/i386/i386.c (print_operand): Error odd asm operands.
6109 2002-04-02  Richard Henderson  <rth@redhat.com>
6111         PR opt/420
6112         * config/m68k/m68k.md (dbcc peepholes): Match four forms of dbra.
6114 2002-04-01  Richard Henderson  <rth@redhat.com>
6116         PR target/1538
6117         * fixinc/inclhack.def (solaris_sys_varargs_h): New.
6118         * fixinc/fixincl.x: Rebuild.
6120 2002-04-01  Richard Henderson  <rth@redhat.com>
6122         * config/ia64/unwind-ia64.c: Include ia64intrin.h.
6123         (atomic_alloc, atomic_free): New.
6124         (SIZE, MASK_FOR, PTR_IN): New.
6125         (emergency_reg_state, emergency_reg_state_free): New.
6126         (emergency_labeled_state, emergency_labeled_state_free): New.
6127         (reg_state_alloced, labeled_state_alloced): New.
6128         (alloc_reg_state, free_reg_state): New.
6129         (alloc_label_state, free_label_state, free_label_states): New.
6130         (push, pop, dup_state_stack, free_state_stack): Use them.
6131         (desc_label_state): Likewise.
6132         (uw_frame_state_for): Free label states and state stack.
6133         (uw_update_reg_address): Eliminate warnings.
6135 2002-04-01  Vladimir Makarov  <vmakarov@redhat.com>
6137         * config/pa/pa-pro-end.h (ASM_OUTPUT_ALIGNED_COMMON,
6138         ASM_OUTPUT_ALIGNED_LOCAL): Redefine them.
6140 2002-04-01  Neil Booth  <neil@daikokuya.demon.co.uk>
6142         * c-decl.c (grokdeclarator): Update.
6143         * c-lang.c (LANG_HOOKS_MARK_ADDRESSABLE): Redefine.
6144         * c-tree.h (c_mark_addressable): New.
6145         * c-typeck.c (default_function_array_conversion, build_unary_op,
6146         build_array_ref, convert_for_assignment): Update.
6147         (mark_addressable): Rename.
6148         * calls.c (try_to_integrate, expand_call): Use langhook.
6149         * expr.c (expand_expr): Use langhook.
6150         * langhooks-def.h (LANG_HOOKS_INITIALIZER): Update.
6151         * langhooks.h (struct lang_hooks): New hook.
6152         * stmt.c (expand_asm_operands): Use langhook.
6153         * tree.h (mark_addressable): Remove.
6154 objc:
6155         * objc-lang.c (LANG_HOOKS_MARK_ADDRESSABLE): Redefine.
6157 2002-04-01  Bob Wilson  <bob.wilson@acm.org>
6159         * config/xtensa/xtensa.c (xtensa_va_arg): Fix compiler warning
6160         in previous change.
6162 2002-04-01  Bob Wilson  <bob.wilson@acm.org>
6164         * config/xtensa/xtensa.c (xtensa_va_arg): Fix to handle arguments
6165         for which MUST_PASS_IN_STACK is true (e.g., variable-sized types).
6167 2002-04-01  Neil Booth  <neil@daikokuya.demon.co.uk>
6169         * c-common.c (unsigned_conversion_warning, convert_and_check,
6170         unsigned_type, signed_type, shorten_compare,
6171         c_common_get_alias_set, c_common_nodes_and_builtins): Use new hooks.
6172         (unsigned_type, signed_type, signed_or_unsigned_type): Rename.
6173         * c-common.h (unsigned_type, signed_type, signed_or_unsigned_type):
6174         New.
6175         * c-decl.c (grokdeclarator): Update.
6176         * c-format.c (check_format_types): Update.
6177         * c-lang.c (LANG_HOOKS_SIGNED_TYPE, LANG_HOOKS_UNSIGNED_TYPE,
6178         LANG_HOOKS_SIGNED_OR_UNSIGNED_TYPE): New.
6179         * c-typeck.c (build_binary_op, convert_for_assignment): Update.
6180         * convert.c (convert_to_integer): Use new hooks.
6181         * expmed.c (make_tree): Use new hooks.
6182         * expr.c (store_expr): Use new hooks.
6183         * fold-const.c (operand_equal_for_comparison_p, build_range_check,
6184         all_ones_mask_p, unextend, fold): Use new hooks.
6185         * langhooks.h (struct lang_hooks_for_types): New hooks.
6186         * tree.h (signed_or_unsigned_type, signed_type,
6187         unsigned_type): Remove.
6188 objc:
6189         * objc-lang.c (LANG_HOOKS_SIGNED_TYPE, LANG_HOOKS_UNSIGNED_TYPE,
6190         LANG_HOOKS_SIGNED_OR_UNSIGNED_TYPE): New.
6192 2002-03-31  Richard Henderson  <rth@redhat.com>
6194         * config/ia64/unwind-ia64.c (alloc_spill_area): Fix offset.
6195         (desc_frgr_mem): Fix reference to f16-f31.
6197 2002-03-31  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
6199         * rtl.h (RTL_CHECK1, RTL_CHECK2, RTL_CHECKC1, RTL_CHECKC2,
6200         RTVEC_ELT): Const-ify.
6201         * varray.h (VARRAY_CHECK): Const-ify.
6202         * ggc.h (ggc_mark_rtx, ggc_mark_tree, ggc_mark_nonnull_tree,
6203         ggc_mark_rtvec, ggc_mark): Const-ify.
6205 2002-04-01  Neil Booth  <neil@daikokuya.demon.co.uk>
6207         * diagnostic.c: Include langhooks-def.h.
6208         * Makefile.in (diagnostic.o): Update.
6210 2002-03-31  Neil Booth  <neil@daikokuya.demon.co.uk>
6212         * c-common.c (c_unsafe_for_reeval): Rename.
6213         * c-common.h (c_unsafe_for_reeval): Rename.
6214         * c-decl.c (finish_incomplete_decl): Rename.
6215         (c_init_decl_processing): Don't set langhook.
6216         * c-lang.c (LANG_HOOKS_FINISH_INCOMPLETE_DECL,
6217         LANG_HOOKS_UNSAFE_FOR_REEVAL): Redefine.
6218         * c-objc-common.c (c_objc_common_init): Don't set langhook.
6219         * c-tree.h (finish_incomplete_decl): Rename.
6220         * langhooks-def.h (lhd_unsafe_for_reeval): New.
6221         (LANG_HOOKS_FINISH_INCOMPLETE_DECL, LANG_HOOKS_UNSAFE_FOR_REEVAL): New.
6222         (LANG_HOOKS_INITIALIZER): Update.
6223         * langhooks.c (lhd_unsafe_For_reeval): New.
6224         * langhooks.h (struct langhooks): New hooks.
6225         * toplev.c (incomplete_decl_finalize_hook): Remove.
6226         (wrapup_global_declarations): Update.
6227         * tree.c (lang_unsafe_for_reeval): Remove.
6228         (unsafe_for_reeval): Update.
6229         * tree.h (lang_unsafe_for_reeval, incomplete_decl_finalize_hook):
6230         Remove.
6231 objc:
6232         * objc-lang.c (LANG_HOOKS_FINISH_INCOMPLETE_DECL,
6233         LANG_HOOKS_UNSAFE_FOR_REEVAL): Redefine.
6235 2002-03-31  Neil Booth  <neil@daikokuya.demon.co.uk>
6237         * diagnostic.c (print_error_function): Remove.
6238         (default_print_error_function): Rename.
6239         (report_error_function): Update.
6240         * diagnostic.h (print_error_function): Remove.
6241         (default_print_error_function): Remove.
6242         * langhooks-def.h (struct diagnostic_context): Predeclare.
6243         (lhd_print_error_function, LANG_HOOKS_PRINT_ERROR_FUNCTION): New.
6244         (LANG_HOOKS_INITIALIZER): Update.
6245         * langhooks.h (struct diagnostic context): Predeclare.
6246         (struct lang_hooks): New hook.
6248 2002-03-31  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
6250         * config/rs6000/rs6000.h (RS6000_PIC_OFFSET_TABLE_REGNUM): New.
6251         (PIC_OFFSET_TABLE_REGNUM): Use it and return INVALID_REGNUM if
6252         !flag_pic.
6253         (CONDITIONAL_REGISTER_USAGE): Adjust accordingly.
6254         * config/rs6000/rs6000.h: Use RS6000_PIC_OFFSET_TABLE_REGNUM instead
6255         of PIC_OFFSET_TABLE_REGNUM thruout.
6256         * config/rs6000/rs6000.md: Likewise.
6257         * config/rs6000/darwin.h: Likewise.
6259 Sun Mar 31 14:43:24 2002  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
6261         * emit-rtl.c (adjust_address_1, offset_address): Cast value to
6262         unsigned HOST_WIDE_INT, not unsigned int.
6264 2002-03-31  Jakub Jelinek  <jakub@redhat.com>
6266         PR middle-end/6096, middle-end/6098, middle-end/6099
6267         * reorg.c (emit_delay_sequence): Only increment LABEL_NUSES for
6268         CODE_LABELs.
6269         (fill_slots_from_thread): Likewise.
6271 2002-03-31  Jakub Jelinek  <jakub@redhat.com>
6273         * config/sparc/sparc.c (function_arg_record_value_1): Pass complex
6274         floating fields in float regs.
6275         (function_arg_record_value_2): Likewise.
6277 2002-03-31  Hans-Peter Nilsson  <hp@bitrange.com>
6279         * config/mmix/mmix.md (define_constants): Remove misleading
6280         FIXME.  Add MMIX_fp_rO_OFFSET.
6281         ("nonlocal_goto_receiver"): Don't have stack-frame address of
6282         saved rO as part of the pattern.  Remove FIXME.
6283         ("*nonlocal_goto_receiver_expanded"): Similar.  Generate address
6284         here, at output-time.
6286 2002-03-31  Jakub Jelinek  <jakub@redhat.com>
6288         PR middle-end/6100
6289         * config/sparc/sparc.c (output_cbranch): Use REG_BR_PROB, not
6290         REG_BR_PRED.
6291         (output_v9branch): Likewise.
6293 2002-03-31  Alexandre Oliva  <aoliva@redhat.com>
6295         * gcc.c: Revert previous patch for now.
6296         * config/i386/djgpp.h: Likewise.
6298 2002-03-31  Hans-Peter Nilsson  <hp@bitrange.com>
6300         * config/mmix/crti.asm (_init): Register _fini with atexit.
6301         * config/mmix/crtn.asm (_fini): Add omitted "POP 0,0".
6303 2002-03-31  Richard Henderson  <rth@redhat.com>
6305         PR target/3997
6306         * config/alpha/elf.h (ASM_OUTPUT_DEF): Tidy.
6307         (ASM_OUTPUT_DEF_FROM_DECLS): New.
6309 2002-03-31  Richard Henderson  <rth@redhat.com>
6311         * libgcc2.c (__bb_exit_func): Make static.
6313         * config/alpha/alpha.md (trap): New.
6315 2002-03-31  Richard Henderson  <rth@redhat.com>
6317         * builtins.c (expand_builtin_va_arg): Give warnings not errors for
6318         promoted argument types; build trap.
6319         (expand_builtin_trap): New.
6320         (expand_builtin): Use it.
6321         * stmt.c (expand_nl_goto_receivers): Likewise.
6322         * expr.h (expand_builtin_trap): Declare.
6323         * libfuncs.h (LTI_abort, abort_libfunc): New.
6324         * optabs.c (init_optabs): Init abort_libfunc.
6326 2002-03-31  Alexandre Oliva  <aoliva@redhat.com>
6328         * gcc.c (LIBGCC_SPEC): Folded %L and duplicate %G here...
6329         (LINK_COMMAND_SPEC): ... from here.
6330         (init_gcc_specs): Duplicate it here too, omitting
6331         shared_name in the second copy.
6332         (init_spec): Test for duplicate
6333         * config/i386/djgpp.h (LINK_COMMAND_SPEC): Remove `%L %G'.
6335 2002-03-30  David S. Miller  <davem@redhat.com>
6337         * config/sparc/linux.h (HANDLE_PRAGMA_PACK_PUSH_POP): Define.
6338         * config/sparc/linux64.h (HANDLE_PRAGMA_PACK_PUSH_POP): Likewise.
6340 2002-03-30  Roger Sayle <roger@eyesopen.com>
6341             Richard Henderson  <rth@redhat.com>
6343         * regmove.c (combine_stack_adjustments_for_block): Avoid
6344         emitting a stack adjustment of zero bytes.  Let delete_insn
6345         update bb->head.
6347 2002-03-30  Richard Henderson  <rth@redhat.com>
6349         * config/sparc/sparc.c: Remove all references to TARGET_EPILOGUE.
6350         (sparc_emitting_epilogue): New.
6351         (leaf_label, output_return, sparc_return_peephole_ok): Remove.
6352         * config/sparc/sparc-protos.h: Update.
6353         * config/sparc/sparc.h (MASK_EPILOGUE, TARGET_EPILOGUE): Remove.
6354         (TARGET_SWITCHES): Update.
6355         * config/sparc/sparc.md (return): Remove.
6356         (return_*): Use sparc_emitting_epilogue, not !TARGET_EPILOGUE.
6357         * config/sparc/freebsd.h, config/sparc/linux64.h, config/sparc/lite.h,
6358         config/sparc/liteelf.h, config/sparc/netbsd-elf.h,
6359         config/sparc/sol2-sld-64.h, config/sparc/sol2.h,
6360         config/sparc/sp64-aout.h, config/sparc/sp64-elf.h,
6361         config/sparc/sp86x-aout.h, config/sparc/sp86x-elf.h,
6362         config/sparc/splet.h, config/sparc/vxsparc64.h (TARGET_DEFAULT):
6363         Remove MASK_EPILOGUE.
6364         * doc/invoke.texi: Update.
6366 2002-03-30  Daniel Berlin  <dan@dberlin.org>
6368         * dwarf2out.c (dwarf2out_define): Remove start_source_file call,
6369         CPP will start the file for us.
6371 2002-03-30  Richard Henderson  <rth@redhat.com>
6373         PR target/5446
6374         * config/ia64/ia64.c (group_barrier_needed_p): Special case
6375         prologue_allocate_stack.
6376         (ia64_single_set): Use insn codes for recognition of special
6377         cases, not rtl matching.
6378         * config/ia64/ia64.md (prologue_allocate_stack): Op 3 is in-out.
6380 Sat Mar 30 23:48:41 CET 2002  Jan Hubicka  <jh@suse.cz>
6382         * cfgbuild.c (find_basic_blocks_1): Clear aux for blocks.
6384 2002-03-30  Richard Henderson  <rth@redhat.com>
6386         PR target/6032
6387         * config/sparc/sparc.h (OVERRIDE_OPTIONS): Don't override -fpic
6388         or -fomit-frame-pointer with profiling.
6389         (SUBTARGET_OVERRIDE_OPTIONS): Remove.
6390         (FUNCTION_PROFILER): Do nothing.
6391         (PROFILE_HOOK): New.
6392         * config/sparc/sparc.c (sparc_override_options): Don't check
6393         code models for profiling.
6394         (sparc_function_profiler): Remove.
6395         (sparc_profile_hook): New.
6396         * config/sparc/sparc-protos.h: Update.
6398 2002-03-30  Jakub Jelinek  <jakub@redhat.com>
6400         PR optimization/6086
6401         * combine.c (combine_simplify_rtx): If simplify_rtx failed because
6402         of SUBREG of volatile MEM or because the MEM was mode dependent,
6403         return CLOBBER instead of unmodified SUBREG.
6405 Sat Mar 30 14:08:55 CET 2002  Jan Hubicka  <jh@suse.cz>
6407         * local-alloc.c (local_alloc): Avoid call of update_equiv_regs
6408         when not optimizing.
6410         * toplev.c (rest_of_compilation): Cann mark_constant_function
6411         only when optimizing.
6413         * flow.c (calculate_global_regs_live): Ensure that all AUX fields
6414         are NULL.
6416         * cfgcleanup.c (bb_flags): Add BB_NONTHREADABLE_BLOCK.
6417         (thread_jump): Set BB_NONTHREADABLE_BLOCK, check it.
6418         (try_optimize_cfg): clear all AUX fields.
6420         * i386.c (aligned_operand): Be prepared for SUBREGed registers.
6421         (ix86_decompose_address): Use REG_P instead of GET_CODE (...) == REG.
6422         (ix86_address_cost): Be prepared for SUBREGed registers.
6423         (legitimate_address_p): Accept SUBREGed registers.
6425 2002-03-29  Richard Henderson  <rth@redhat.com>
6427         PR target/5672
6428         * expr.c (expand_expr): Pass along EXPAND_INITIALIZER one more place.
6430 2002-03-29  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
6432         * config/rs6000/rs6000.c (rs6000_va_arg): Correctly set register count
6433         for aggregate and TFmode types.
6435 2002-03-29  Hans-Peter Nilsson  <hp@bitrange.com>
6437         * cfg.c (dump_flow_info): Guard against NULL regno_reg_rtx[i].
6439 2002-03-29  Richard Henderson  <rth@redhat.com>
6441         PR target/5886
6442         * config/ia64/aix.h (CPP_PREDEFINES): Add -D_LP64.
6443         * config/ia64/hpux.h, config/ia64/linux.h: Likewise.
6445 2002-03-29  Richard Henderson  <rth@redhat.com>
6447         PR target/6041
6448         * config/i386/i386.c (x86_arch_always_fancy_math_387): New.
6449         (override_options): Disable NO_FANCY_MATH_387 if the arch allows.
6450         * config/i386/i386.h (x86_arch_always_fancy_math_387): New.
6451         * config/i386/i386.md (sqrtxf2, sqrtextendsfxf2, sinxf2): Fix
6452         conditional.
6453         * docs/invoke.texi: Update -mno-fancy-math-387 docs.
6455 2002-03-29  Dale Johannesen <dalej@apple.com>
6457         * loop.c (combine_movables): Do allow combination of pseudos.
6459 2002-03-29  Loren J. Rittle  <ljrittle@acm.org>
6461         * config.gcc (*-*-freebsd*): Enable creation of libgcc_s.so.
6462         * config/t-slibgcc-elf-ver (SHLIB_LC): Add macro and use it.
6463         No functional change except ...
6464         * config/t-slibgcc-nolc-override (SHLIB_LC): Override it.  New file.
6465         * doc/install.texi (*-*-freebsd*): Document port configuration.
6467 2002-03-29  Neil Booth  <neil@daikokuya.demon.co.uk>
6469         * Makefile.in (convert.o, calls.o, expmed.o): Update.
6470         * attribs.c (handle_mode_attribute, handle_vector_size_attribute):
6471         Use new hooks.
6472         * builtin-types.def (BT_PTRMODE): Update.
6473         * c-common.c (type_for_size): Rename c_common_type_for_size.
6474         (type_for_mode): Similarly.
6475         (shorten_compare, pointer_int_sum, c_common_nodes_and_builtins):
6476         Use new hook.
6477         * c-bommon.h (c_common_type_for_size, c_common_type_for_mode): New.
6478         * c-decl.c (finish_enum, build_enumerator): Use new hooks.
6479         * c-lang.c (LANG_HOOKS_TYPE_FOR_MODE, LANG_HOOKS_TYPE_FOR_SIZE):
6480         Redefine.
6481         * c-typeck.c (common_type, comptypes, default_conversion):
6482         Use new hooks.
6483         * calls.c: Include langhooks.h.
6484         (emit_library_call_value_1): Use new hooks.  Avoid redundant
6485         calls.
6486         * convert.c: Include langhooks.h
6487         (convert_to_pointer, convert_to_integer): Use new hooks.
6488         * except.c (init_eh): Similarly.
6489         * expmed.c: Include langhooks.h.
6490         (expand_mult_add): Use new hooks.
6491         * expr.c (store_expr, store_constructor, expand_expr, do_jump,
6492         try_casesi): Similarly.
6493         * fold-const.c (optimize_bit_field_compare, make_range,
6494         decode_field_reference, fold_truthop, fold): Similarly.
6495         * function.c (assign_stack_local_1, assign_stack_temp_for_type,
6496         put_var_into_stack): Similarly.
6497         * langhooks-def.h (LANG_HOOKS_TYPE_FOR_MODE,
6498         LANG_HOOKS_TYPE_FOR_SIZE): New.
6499         (LANG_HOOKS_TYPES_INITIALIZER): Update.
6500         * langhooks.h (lang_hooks_for_types): New hooks.
6501         * stmt.c (expand_decl_cleanup, emit_case_nodes): Use new hooks.
6502         * tree.c (get_unwidened, get_narrower): Similarly.
6503         * tree.h (type_for_mode, type_for_size): Remove.
6504         * varasm.c (force_const_mem): Use new hooks.
6505         * utils2.c (nonbinary_modular_operation): Update.
6506 objc:
6507         * objc-act.c (handle_impent): Update.
6508         * objc-lang.c (LANG_HOOKS_TYPE_FOR_MODE, LANG_HOOKS_TYPE_FOR_SIaZE):
6509         Redefine.
6511 2002-03-29  Steve Ellcey  <sje@cup.hp.com>
6513         * config/ia64/ia64.md (*ptr_extend_plus_1, *ptr_extend_plus_2): New.
6514         * config/ia64/ia64.c (basereg_operand): New.
6515         * config/ia64/ia64-protos.h (basereg_operand): Declare.
6516         * config/ia64/ia64.h (PREDICATE_CODES): Add basereg_operand.
6518 2002-03-29  Hans-Peter Nilsson  <hp@bitrange.com>
6520         * config/mmix/mmix.c (mmix_target_asm_function_prologue): Correct
6521         unwind information when frame_pointer_needed.
6522         (mmix_assemble_integer): Tweak wording in comment.
6524 2002-03-29  Neil Booth  <neil@daikokuya.demon.co.uk>
6526         * Makefile.in (except.o): Update.
6527         * except.c: Include langhooks.h.
6528         (init_eh): Use langhook.
6529         * langhooks-def.h (LANG_HOOKS_MAKE_TYPE,
6530         LANG_HOOKS_FOR_TYPES_INITIALIZER): New.
6531         (LANG_HOOKS_INITIALIZER): Update.
6532         * langhooks.h (lang_hooks_for_types): New.
6533         (struct lang_hooks): Add it.
6534         * tree.c (make_lang_type_fn, make_lang_type): Remove.
6535         * tree.h (make_lang_type_fn, make_lang_type): Remove.
6536 config:
6537         * alpha/alpha.c: Include langhooks.h.
6538         (alpha_build_va_list): Use langhook.
6539         * d30v/d30v.c: Include langhooks.h.
6540         (d30v_build_va_list): Use langhook.
6541         * i386/i386.c: Include langhooks.h.
6542         (ix86_build_va_list): Use langhook.
6543         * rs6000/rs6000.c (rs6000_build_va_list): Use langhook.
6544         * s390/s390.c: Include langhooks.h.
6545         (s390_build_va_list): Use langhook.
6546         * stormy16/stormy16.c: Include langhooks.h.
6547         (stormy16_build_va_list): Use langhook.
6549 2002-03-29  Jakub Jelinek  <jakub@redhat.com>
6551         PR c++/5964
6552         * config/sparc/sparc.md (empty_delay_slot, branch_type): New
6553         attributes.
6554         (length): Compute variable length for branches/calls/jumps here.
6555         (branch, inverted_branch, normal_fp_branch, inverted_fp_branch,
6556         normal_fpe_branch, inverted_fpe_branch): Remove length attribute,
6557         define branch_type attribute.
6558         (divsi3_sp32): Maximum length is 6 not 7.
6559         (call_address_struct_value_sp32, call_symbolic_struct_value_sp32,
6560         call_address_untyped_struct_value_sp32,
6561         call_symbolic_untyped_struct_value_sp32): Set length to 3 not 2.
6562         * config/sparc/sparc.c (empty_delay_slot): New function.
6563         * config/sparc/sparc.h (ADJUST_INSN_LENGTH): Remove.
6564         * config/sparc/sparc-protos.h (empty_delay_slot): Add prototype.
6566 2002-03-29  Jakub Jelinek  <jakub@redhat.com>
6568         * combine.c (set_nonzero_bits_and_sign_copies): Don't call
6569         nonzero_bits if not needed.
6570         (nonzero_bits) [XOR]: Likewise.
6571         (nonzero_bits) [REG]: Use reg_last_set_nonzero_bits even if
6572         reg_last_set_mode and mode are both MODE_INT, but not equal.
6573         (record_value_for_reg): Compute reg_last_set_nonzero_bits
6574         in nonzero_bits_mode for MODE_INT modes.
6576 2002-03-28  Richard Henderson  <rth@redhat.com>
6578         PR target/5715
6579         * config/alpha/osf.h (ASM_SPEC): Don't pass any special options
6580         to GAS.  Correct drift between alternatives.
6582 2002-03-28  Richard Henderson  <rth@redhat.com>
6584         PR target/6087
6585         * reload1.c (fixup_abnormal_edges): Move insn to edge via sequence.
6587 2002-03-28  Alexandre Oliva  <aoliva@redhat.com>
6589         * config/i386/freebsd.h (LINK_SPEC): Don't pass default
6590         emulation to the linker.
6592 2002-03-28  Loren J. Rittle  <ljrittle@acm.org>
6594         * config/alpha/freebsd.h (LINK_SPEC): Likewise.
6595         * config/sparc/freebsd.h (LINK_SPEC): Likewise.
6597 Thu Mar 28 16:35:31 2002  Jeffrey A Law  (law@redhat.com)
6599         * combine.c (simplify_and_const_int): Make sure to apply mask
6600         when force_to_mode returns a constant integer.  PR3311.
6602 2002-03-28  John David Anglin  <dave@hiauly1.hia.nrc.ca>
6604         * pa-linux.h (LOCAL_LABEL_PREFIX): Define.
6606 2002-03-28  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
6608         * doc/invoke.texi (Warning Options): Refer to C++ Dialect Options
6609         and Objective-C Dialect Options.
6611 2002-03-28  Richard Henderson  <rth@redhat.com>
6613         * config/alpha/alpha.c (alpha_emit_conditional_branch): TFmode NE
6614         comparison should be done vs !=0 not >0 return code.  Tidy cases.
6616 2002-03-28  Richard Henderson  <rth@redhat.com>
6618         * c-decl.c (finish_function): New arg can_defer_p.  Pass it
6619         on to c_expand_body.
6620         * c-tree.h (finish_function): Update decl.
6621         * c-objc-common.c, c-parse.in, objc/objc-act.c: Update calls.
6623 Thu Mar 28 19:13:36 CET 2002  Jan Hubicka  <jh@suse.cz>
6625         * ifcvt.c (if_convert): Clear aux_for_blocks early enought.
6627 Thu Mar 28 13:21:53 CET 2002  Jan Hubicka  <jh@suse.cz>
6629         * rtlanal.c: Include flags.h
6630         (may_trap_p): Do not mark FP operations if trapping
6631         if !flag_trapping_math
6632         * Makefile.in (rtlanal.o): Add dependency on flag.h
6633         * ifcvt.c (noce_operand_ok): Avoid the lameness.
6635 2002-03-27  Zack Weinberg  <zack@codesourcery.com>
6637         * mips.md: Use dconst1, not 1.0, as first argument of
6638         REAL_VALUE_LDEXP.  Don't use union real_extract.
6640 2002-03-28  Alan Modra  <amodra@bigpond.net.au>
6642         * configure.in (gcc_cv_as): Use $target_alias in directory searchs
6643         rather than $target.  Heed program_prefix and
6644         program_transform_name.  Search for gas in cross-compiler case too.
6645         "test -x" rather than "test -f".
6646         (gcc_cv_ld): Likewise.
6647         (gcc_cv_nm): Heed program_prefix and program_transform_name.
6648         (gcc_cv_objdump): Likewise.
6649         * configure: Regenerate.
6651 2002-03-27  Neil Booth  <neil@daikokuya.demon.co.uk>
6653         * Makefile.in (attribs.o): Update.
6654         * attribs.c: Include langhooks.h.
6655         (decl_attributes): Use langhook.
6656         * c-decl.c (insert_default_attributes): Rename.
6657         * c-tree.h (c_insert_default_attributes): New.
6658         * langhooks-def.h (LANG_HOOKS_INSERT_DEFAULT_ATTRIBUTES):New.
6659         (LANG_HOOKS_INITIALIZER): Update.
6660         * langhooks.h (struct lang_hooks): New hook.
6661         * tree.h (insert_default_attributes): Remove.
6662 objc:
6663         * objc-lang.c (LANG_HOOKS_INSERT_DEFAULT_ATTRIBUTES): Redefine.
6665 2002-03-27  Andreas Schwab  <schwab@suse.de>
6667         * config/i386/i386.c (classify_argument): Also check for
6668         QUAL_UNION_TYPE.
6670 2002-03-27  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
6672         * doc/install.texi (alpha*-dec-osf*): Don't need --enable-libgcj
6673         any more.
6675 Wed Mar 27 23:19:30 CET 2002  Jan Hubicka  <jh@suse.cz>
6677         * i960.md (ret): Set PC.
6678         (nonlocal_goto): Fix expander.
6679         * builtins.c (epxand_builin_longjmp): Check that we've emitted
6680         some jump or call.
6682 Wed Mar 27 23:11:35 CET 2002  Jan Hubicka  <jh@suse.cz>
6684         * optabs.c (emit_no_conflict_block, emit_libcall_block): Avoid nesting
6685         of libcall regions.
6687 Wed Mar 27 22:54:14 CET 2002  Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz>
6689         * cfgrtl.c (merge_blocks_nomove): Use set_block_for_insn instead of
6690         assigning to BLOCK_FOR_INSN directly.
6692 Wed Mar 27 22:33:05 CET 2002  Jan Hubicka  <jh@suse.cz>
6694         * i386.c (ix86_output_addr_diff_elt): Remove binutils bug workaround.
6696 2002-03-27  Neil Booth  <neil@daikokuya.demon.co.uk>
6698         * c-common.c (c_expand_expr): Fix prototype.
6699         * c-common.h (c_expand_expr): Always declare, update.
6700         * c-lang.c (LANG_HOOKS_EXPAND_EXPR): Redefine.
6701         * c-objc-common.c (c_objc_common_init): No global hook.
6702         * expr.c (expand_expr): Use langhook.
6703         * expr.h (enum expand_modifier): Conditionally declare.
6704         * langhooks-def.h (lhd_expand_expr, LANG_HOOKS_EXPAND_EXPR): New.
6705         (LANG_HOOKS_INITIALIZER): Update.
6706         * langhooks.c (lhd_expand_expr): New.
6707         * langhooks.h (struct lang_hooks): New hook.
6708         * toplev.c (lang_expand_expr_t, lang_expand_expr): Delete.
6709         (lang_independent_init): Don't default hook.
6710 objc:
6711         * objc-lang.c (LANG_HOOKS_EXPAND_EXPR): Redefine.
6713 2002-03-27  Richard Henderson  <rth@redhat.com>
6715         PR target/6054
6716         * config/ia64/ia64.c (ia64_expand_call): Use pic patterns for
6717         TARGET_CONST_GP.  Simplify conditions.
6719 2002-03-27  Richard Henderson  <rth@redhat.com>
6721         * config/sparc/freebsd.h, config/sparc/linux.h, config/sparc/linux64.h,
6722         config/sparc/netbsd-elf.h, config/sparc/pbd.h, config/sparc/sol2.h,
6723         config/sparc/vxsim.h (LOCAL_LABEL_PREFIX): Define.
6725 2002-03-27  Danny Smith  <dannysmith@users.sourceforge.net>
6727         * config/i386/cygwin.h (TARGET_DLL, TARGET_WIN32,
6728         TARGET_CYGWIN, TARGET_WINDOWS): Remove unused switches.
6729         (MASK_DLL, MASK_WIN32, MASK_CYGWIN, MASK_WINDOWS):
6730         Remove unnecessary masks.
6731         (MASK_NOP_FUN_DLLIMPORT): Use an unused an bit.
6732         (SUBTARGET_SWITCHES): Use empty masks for -mwin32, -mcygwin,
6733         -mwindows, -mdll switches and their negations.
6735 2002-03-27  Neil Booth  <neil@daikokuya.demon.co.uk>
6737         * gcc-common.c (lang_mark_false_label_stack): Remove.
6738         * ggc.h (lang_mark_false_label_stack): Similarly.
6740 2002-03-26  Vladimir Makarov  <vmakarov@redhat.com>
6742         * pa/pa-pro-end.h (CPP_PREDEFINES): Add -D__pro__.
6744         * pa/lib2funcs.asm: Don't use .SPACE and .SUBSPACE if __pro__
6745         or __rtems_ is defined.
6747 2002-03-26  Richard Henderson  <rth@redhat.com>
6749         * config/alpha/alpha.c (alpha_emit_set_const): Add a REG_EQUAL note
6750         if a non-trivial load was emitted.
6751         (alpha_emit_set_const_1): Remove obsolete extension.  Fix thinko
6752         in high+extra+low case.
6754 2002-03-26  Richard Henderson  <rth@redhat.com>
6756         * config.gcc (sparc*-solaris): Use float_format=sparc.
6758 2002-03-26  Richard Henderson  <rth@redhat.com>
6760         * config/sparc/sparc.h (MAX_WCHAR_TYPE_SIZE): Don't define.
6761         * config/sparc/linux-aout.h (MAX_WCHAR_TYPE_SIZE): Don't undef.
6762         * config/sparc/linux.h, config/sparc/linux64.h: Likewise.
6763         * config/sparc/sol2.h (WCHAR_TYPE, WCHAR_TYPE_SIZE): Redefine.
6764         (WINT_TYPE_SIZE): Fix at 32.
6766 2002-03-26  Richard Henderson  <rth@redhat.com>
6768         * toplev.c (rest_of_compilation): Delay emit_initial_value_sets
6769         until after eh landing pad generation.
6770         * config/alpha/alpha.c (alpha_gp_save_rtx): Use gen_mem_addressof.
6771         * config/alpha/alpha.md (exception_receiver_2): Only accept MEMs.
6773 2002-03-26  Richard Henderson  <rth@redhat.com>
6775         * expr.h (ADD_PARM_SIZE): One more convert for INC.
6777 2002-03-26  Phil Edwards  <pme@gcc.gnu.org>
6779         * gcc.c (cpp_options):  Preserve relative ordering of -pedantic
6780         and warning switches.
6781         (cc1_options):  Likewise.
6783 2002-03-26  Hans Boehm <Hans_Boehm@hp.com>
6785         * config/ia64/linux.h (MD_FALLBACK_FRAME_STATE_FOR):
6786         Restore more of the signal context.  Set no_reg_stack_frame.
6787         * config/ia64/unwind-ia64.c (unw_state_record):
6788         Add no_reg_stack_frame, comments.
6789         (uw_frame_state_for): Initialize when field to UNW_WHEN_NEVER.
6790         (uw_update_context): Adjust bsp when unwinding from leaf,
6791         but not signal frame.
6793 2002-03-26  David Edelsohn  <edelsohn@gnu.org>
6795         * config/rs6000/aix51.h (WCHAR_TYPE): Define.
6797 2002-03-26  Bob Wilson  <bob.wilson@acm.org>
6799         * config/xtensa/xtensa.c (xtensa_va_arg): Handle variable-sized types.
6801 2002-03-26  Richard Earnshaw  <rearnsha@arm.com>
6803         PR target/5621
6804         * arm.md (define_asm_attributes): Reapply patch of Thu Sep 9, 1999:
6805         "Add a pool_range attribute", which was lost during the ARM/Thumb
6806         merge.
6808 2002-03-26  Bob Wilson  <bob.wilson@acm.org>
6810         * config/xtensa/xtensa.c (xtensa_valid_move): Allow move from
6811         a register into the MAC16 accumulator.
6813 2002-03-26  Andrew Cagney  <ac131313@redhat.com>
6815         * doc/invoke.texi (Option Summary): Mention -Wswitch-enum.
6816         (Warning Options): Document -Wswitch-enum.
6817         * toplev.c (W_options): Add -Wswitch-enum.  Update comment on
6818         -Wswitch.
6819         (warn_switch_enum): Define variables.
6820         * flags.h (warn_switch_enum): Declare variables.
6821         * stmt.c (expand_end_case_type): When warn_switch_enum /
6822         -Wswitch-enum, perform switch checks.
6823         Fix PR c/5044.
6825 2002-03-26  Richard Earnshaw  <rearnsha@arm.com>
6827         * arm.md (reload_mulsi3, reload_mulsi_compare0, reload_muladdsi)
6828         (reload_mulsi_compare0_scratch, reload_muladdsi_compare0)
6829         (reload_muladdsi_compare0_scratch): Delete.
6831 2002-03-26  Loren J. Rittle  <ljrittle@acm.org>
6833         * doc/install.texi (*-*-freebsd*): Update.
6835 2002-03-26  Richard Henderson  <rth@redhat.com>
6837         * expr.h (ADD_PARM_SIZE): Cast INC to ssizetype.
6838         (SUB_PARM_SIZE): Cast DEC to ssizetype.
6840         * config/alpha/alpha.c (alpha_va_arg): Read MUST_PASS_IN_STACK
6841         types from the normal argument frame.
6843         * config/sparc/sparc.c (function_arg_pass_by_reference): Pass
6844         variable sized objects by reference.
6845         (sparc_va_arg): Receive them by reference too.
6847 2002-03-26  Hartmut Penner  <hpenner@de.ibm.com>
6849         * config/s390/s390.c (s390_emit_epilogue): Change epilogue
6850         code to not restoring global registers.
6852 2002-03-26  Neil Booth  <neil@daikokuya.demon.co.uk>
6854         * Makefile.in (ggc-common.o): Update.
6855         * c-decl.c (lang_mark_tree): Rename c_mark_tree.
6856         * c-lang.c (LANG_HOOKS_MARK_TREE): Redefine.
6857         * c-tree.h (c_mark_tree): New.
6858         * ggc-common.c: Include langhooks.h.
6859         (gcc_mark_trees): Use new langhook.
6860         * ggc-callbacks.c: Delete file.
6861         * ggc.h (lang_mark_tree): Remove.
6862         * langhooks-def.h (LANG_HOOKS_MARK_TREE): New.
6863         (LANG_HOOKS_INITIALIZER): Update.
6864         * langhooks.h (struct lang_hooks): New hook.
6865 objc:
6866         * objc-lang.c (LANG_HOOKS_MARK_TREE): Redefine.
6868 2002-03-25  Zack Weinberg  <zack@codesourcery.com>
6870         * doc/cpp.texi: Exclude entire Top node from printed manual.
6871         Move option index after directive index.  Insert page breaks
6872         before GFDL and concept index.  Index environment variables
6873         with command line options.
6874         * doc/cppenv.texi: Use @vtable for environment variable list.
6875         Add paragraph explaining semantics of empty elements in path
6876         variables.  Exclude a cross-reference to Fishkill from the
6877         manpage.  Remove an unnecessary cross-reference of the entry
6878         right above the referer.  Don't use @anchor in text that goes
6879         into manpage.
6880         * doc/cppopts.texi: Cross-reference the environment variables
6881         section, not the specific environment variable, for consistency.
6883 2002-03-25  Richard Henderson  <rth@redhat.com>
6885         * recog.c (peephole2_optimize): Distribute EH_REGION -1 notes
6886         anywhere in the block.  Don't refer to insns that have been
6887         removed from the chain.  Iterate backward through the new insns.
6888         Don't refer to edges that have been removed.
6890 2002-03-26  Alan Modra  <amodra@bigpond.net.au>
6892         * combine.c (simplify_comparison <ASHIFTRT, LSHIFTRT>): Correct
6893         test for overflow of constant.
6895 2002-03-25  Richard Earnshaw  <rearnsha@arm.com>
6897         PR target/2623
6898         * arm.md (loadhi_preinc, loadhi_predec, loadhi_shiftpreinc)
6899         (loadhi_shiftpredec, loadhi-with-writeback peephole): Don't use
6900         these patterns on arm_archv4.
6902 2002-03-25  Danny Smith  <dannysmith@sourceforge.users.net>
6904         * config/i386/mingw32.h (WINT_TYPE): Define as "short unsigned
6905         int".
6907 2002-03-25  Zack Weinberg  <zack@codesourcery.com>
6909         * toplev.c: Don't include setjmp.h.  Kill float_handler_set,
6910         float_handled, float_handler, float_signal, set_float_handler,
6911         and do_float_handler.  Set handler for SIGFPE to crash_signal.
6912         * toplev.h: Don't prototype do_float_handler.
6914         * c-lex.c: Fold parse_float into lex_number.  Make warning
6915         about portability of hex float constants more informative, and
6916         don't issue it on top of a syntax error.
6917         * fold-const.c: Fold const_binop_1 and fold_convert_1 into
6918         their callers.
6919         * real.h: Define REAL_VALUE_ABS here...
6920         * simplify-rtx.c: ... not here.  Fold check_fold_consts,
6921         simplify_unary_real, simplify_binary_real, and
6922         simplify_binary_is2orm1 into their callers.
6923         * tree.c: Fold build_real_from_int_cst_1 into caller.
6925         * doc/tm.texi: Document REAL_VALUE_ABS and REAL_VALUE_NEGATIVE.
6927         * tsystem.h: Include float.h here...
6928         * libgcc2.c: ... not here.
6930 2002-03-25  Nick Clifton  <nickc@cambridge.redhat.com>
6932         Fixes for: PR bootstrap/3591, target/5676
6933         * config/mcore/mcore.h (CC1_SPEC): Define only if not already
6934         defined.  Do not disable exceptions or rtti.
6935         * config/mcore/mcore-pe.h (CC1_SPEC): Define before including
6936         mcore.h.  Disable exceptions and rtti, since they are not
6937         supported by EPOC.
6939 2002-03-25  Neil Booth  <neil@daikokuya.demon.co.uk>
6941         * c-decl.c (maybe_build_cleanup): Remove.
6942         * expr.c (expand_expr): Use langhook.
6943         * langhooks-def.h (lhd_return_null_tree,
6944         LANG_HOOKS_MAYBE_BUILD_CLEANUP): New.
6945         (LANGHOOKS_INITIALIZER): Update.
6946         * langhooks.c (lhd_return_null_tree): New.
6947         * langhooks.h (struct lang_hooks): New hook.
6948         * tree-inline.c (initialize_inlined_parameters): Use langhook.
6949         * tree.h (maybe_build_cleanup): Remove.
6951 2002-03-25  Jakub Jelinek  <jakub@redhat.com>
6953         * regrename.c (build_def_use): Move recog_memoized
6954         before extract_insn.
6956 2002-03-25  Jakub Jelinek  <jakub@redhat.com>
6958         PR target/6043
6959         * expr.c (emit_group_store): Handle storing into CONCAT.
6961 2002-03-25  Jakub Jelinek  <jakub@redhat.com>
6963         * regrename.c (build_def_use): Share RTL between MATCH_OPERATOR and
6964         corresponding MATCH_DUP.
6966 2002-03-24  Richard Henderson  <rth@redhat.com>
6968         * unroll.c (unroll_loop): Zero label_map.
6970         * gcse.c: Include except.h.
6971         * Makefile.in (gcse.o): Update.
6973 2002-03-24  Richard Henderson  <rth@redhat.com>
6975         * varasm.c (asm_emit_uninitialised): Revert 2002-03-14 change.
6976         Do resolve_unique_section before shared data clause.
6978 2002-03-24  Richard Henderson  <rth@redhat.com>
6980         * config/alpha/elf.h (STARTFILE_SPEC): Use crtbeginT with -static.
6982 2002-03-24  Richard Henderson  <rth@redhat.com>
6984         * recog.c (peephole2_optimize): Split blocks when EH insns are
6985         generated in the middle of a block.  Do global life update if
6986         zapped EH edges.
6988 2002-03-24  Richard Henderson  <rth@redhat.com>
6990         * mips.c (mips_function_value): Only promote_mode for non-libcalls.
6992 2002-03-24  Neil Booth  <neil@daikokuya.demon.co.uk>
6994         preprocessor/3951
6995         * gcc.c (cpp_options): Pass -MD through as -MD not -M -MF.
6996         * cppinit.c (cpp_handle_option): Set no_ouput if -MD or -MMD.
6997         (init_dependency_output): Don't make no_output decision here.
6999 2002-03-24  Andrew Cagney  <ac131313@redhat.com>
7001         * stmt.c (check_for_full_enumeration_handling): Remove tests of
7002         warn_switch.  Update description.
7003         (expand_end_case_type): Call check_for_full_enumeration_handling
7004         when warn_switch.
7006 2002-03-24  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
7008         * config/m68hc11/m68hc11.c (m68hc11_autoinc_compatible_p): New function.
7009         (m68hc11_split_move): Call it to see if the source and destination
7010         operands use the same direction auto inc/dec mode, otherwise make the
7011         source an offsetable memory operand and generate an add.
7013 2002-03-24  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
7015         * config/m68hc11/m68hc11.md ("*subsi3_zero_extendhi"): Allow address
7016         register for operand 2.
7017         ("*subsi3_zero_extendqi"): Likewise.
7018         ("*iorhi3_gen"): Do the operation on the upper bits and then lower
7019         bits so that it is compatible with a pop.
7020         ("*andhi3_gen"): Likewise.
7021         ("xorhi3"): Likewise.
7023 2002-03-24  Neil Booth  <neil@daikokuya.demon.co.uk>
7025         * cppinit.c (cpp_handle_option): Set warn_endif_labels if
7026         -pedantic here...
7027         (cpp_post_options): ... not here.
7029 2002-03-24  Neil Booth  <neil@daikokuya.demon.co.uk>
7030             Aldy Hernandez  <aldyh@redhat.com>
7032         Removal of separate preprocessor cpp0.
7034         * Makefile.in (GCC_PASSES, STAGESTUFF, LIBCPP_OBJS,
7035         cpp0, install-common): Update.
7036         * c-common.c (flag_preprocess_only): New.
7037         (c_common_init): Preprocess for -E.
7038         * c-common.h (flag_preprocess_only): New.
7039         * c-decl.c (c_decode_option): Handle -E and -std=c++98.
7040         * c-objc-common.c (c_init_decl_processing): Exit quickly
7041         for NULL return from c_common_init.
7042         * cpplib.h (cpp_preprocess_file): New.
7043         * cppmain.c (main, general_init, pfile, progname): Remove.
7044         (do_preprocessing): Rename cpp_preprocess_file, don't call
7045         cpp_finish.  Don't close stdout here.
7046         (setup_callbacks): Update prototype.
7047         * gcc.c (trad_capable_cpp, cpp_unique_options, default_compilers):
7048         Update.
7049         * tradcpp.c (main): Ignore -quiet.
7050 objc:
7051         * lang-specs.h (default_compilers): Preprocess with cc1obj.
7053 2002-03-24  Richard Henderson  <rth@redhat.com>
7055         PR optimization/5742
7056         * machmode.def: Add inner mode field to complex modes.
7057         * config/mips/mips.c (mips_function_value): Always define.  Add
7058         new argument to handle libcalls.
7059         * config/mips/mips.h (LIBCALL_VALUE): Use mips_function_value.
7060         (FUNCTION_VALUE): Likewise.
7061         * config/mips/abi64.h (FUNCTION_VALUE): Remove.
7062         * config/mips/mips-protos.h: Update.
7064 2002-03-23  Richard Henderson  <rth@redhat.com>
7066         * config/sparc/sparc.c (sparc_emit_floatunsdi): New.
7067         * config/sparc/sparc-protos.h: Update.
7068         * config/sparc/sparc.md (floatunsdisf2, floatunsdidf2): New.
7070 2002-03-23  Richard Henderson  <rth@redhat.com>
7072         * config/sparc/gmon-sol2.c (internal_mcount): Assume either
7073         _start or _init begins the text segment.
7075 2002-03-23  David Edelsohn  <edelsohn@gnu.org>
7077         * config/rs6000/rs6000.h (RETURN_IN_MEMORY):  Cast to HOST_WIDE_INT
7078         not HOST_WIDEST_INT.
7079         (RS6000_ARG_SIZE): Remove unsigned cast of int_size_in_bytes.
7081 2002-03-23  Richard Earnshaw  <rearnsha@arm.com>
7083         PR java/5489
7084         * arm.md (return, sibcall_epilogue): Pass const_true_rtx as the
7085         operand argument to output_return_instruction.
7086         * arm.c (arm_print_operand, case 'd'): If the operand is
7087         const_true_rtx then just return.
7088         (arm_print_operand, case 'D'): If the operand is const_true_rtx
7089         then abort.
7091 2002-03-23  Andrew Cagney  <ac131313@redhat.com>
7093         * doc/invoke.texi (Option Summary): Mention -Wswitch-default.
7094         (Warning Options): Document -Wswitch-default.
7095         * toplev.c (W_options): Add -Wswitch-default.  Update comment on
7096         -Wswitch.
7097         (warn_switch_default): Define variable.
7098         (warn_switch): Update comment.
7099         * flags.h (warn_switch_default): Declare variable.
7100         (warn_switch): Update comment.
7101         * stmt.c (expand_end_case): Check for and, when
7102         warn_switch_no_default, warn of a missing default case.
7104 2002-03-23  Alan Modra  <amodra@bigpond.net.au>
7106         * real.h (N): Special case 128 bit doubles.
7108         * combine.c (simplify_comparison): When widening modes, ignore
7109         sign extension on CONST_INTs.
7111 2002-03-22  Bob Wilson  <bob.wilson@acm.org>
7113         * config/xtensa/xtensa.c (print_operand): Fix incorrect mode
7114         passed to adjust_address.  Fix comment formatting.
7117 2002-03-22  Zack Weinberg  <zack@codesourcery.com>
7119         * real.h: Don't define REAL_INFINITY or REAL_IS_NOT_DOUBLE.
7120         Always make REAL_VALUE_TYPE a struct containing an array of
7121         HOST_WIDE_INT, not a double.  Tidy up the code deciding how
7122         big it is.  Don't declare or use union real_extract.
7124         * emit-rtl.c (init_emit_once), varasm.c (immed_real_const_1,
7125         decode_rtx_const, output_constant_pool), config/a29k/a29k.c
7126         (print_operand), config/arm/arm.c (output_move_double),
7127         config/arm/arm.md (consttable_4, consttable_8),
7128         config/romp/romp.c (output_fpops), config/s390/s390.h
7129         (ASM_OUTPUT_SPECIAL_POOL_ENTRY), config/xtensa/xtensa.c
7130         (xtensa_output_literal): Don't use union real_extract.
7132         * config/dsp16xx/dsp16xx.c (print_operand), config/i860/i860.c
7133         (sfmode_constant_to_ulong), config/ns32k/merlin.h
7134         (PRINT_OPERAND), config/ns32k/ns32k.c (print_operand),
7135         config/pdp11/pdp11.h (PRINT_OPERAND), config/we32k/we32k.h
7136         (PRINT_OPERAND): Don't use local version of union
7137         real_extract.
7139         * config/convex/convex.c (check_float_value), config/vax/vax.c
7140         (vax_float_literal), config/m88k/m88k.md (divdf3),
7141         config/dsp16xx/dsp16xx.md (fixuns_trunchfhi2),
7142         config/pdp11/pdp11.c (output_move_quad): Don't do host
7143         arithmetic on target floating point quantities.
7145         * config/a29k/a29k.md, config/dsp16xx/dsp16xx.c
7146         (output_dsp16xx_float_const): Don't test HOST_FLOAT_FORMAT.
7148         * fold-const.c (fold), simplify-rtx.c (simplify_binary_real):
7149         Use MODE_HAS_INFINITIES rather than #ifdef REAL_INFINITY.
7151         * real.c (earith): Test INFINITY rather than REAL_INFINITY;
7152         NANS implies INFINITY, so can drop #ifdef NANS inside #ifndef
7153         INFINITY.
7154         * print-rtl.c (print_rtx): Disable code which needs
7155         floating-point emulator.
7156         * libgcc2.c: Include float.h and use DBL_MANT_DIG,
7157         FLT_MANT_DIG, to define DF_SIZE and SF_SIZE, rather than
7158         depending on HOST_FLOAT_FORMAT to be defined properly.
7160         * config/1750a/1750a.c (get_double, float_label): Delete.
7161         (print_operand): Delete huge commented-out chunk.  Use
7162         REAL_VALUE_TO_DECIMAL.
7163         * config/1750a/1750a-protos.h: Delete prototypes of deleted
7164         functions.
7165         * config/convex/convex.h: Always set TARGET_FLOAT_FORMAT to
7166         IEEE_FLOAT_FORMAT.
7167         * config/i370/i370.h (PRINT_OPERAND [TARGET_HLASM version]):
7168         Use REAL_VALUE_TO_DECIMAL as ELF version does.
7169         * config/m88k/m88k.c (real_power_of_2_operand,
7170         legitimize_operand): Take the REAL_VALUE_TYPE and/or union
7171         real_extract out of the union; run the input through
7172         REAL_VALUE_TO_TARGET_DOUBLE, then plug the pair of longwords
7173         from that into the union.
7174         * config/pdp11/pdp11.c (output_move_double): Rearrange
7175         parentheses to make automatic indenter happy.
7177         * doc/tm.texi (Cross-compilation): Rename node to "Floating
7178         Point" and rewrite to describe current situation.  Also adjust
7179         documentation of REAL_VALUE_TO_TARGET_SINGLE and friends to
7180         match code.
7181         * doc/rtl.texi: Adjust cross reference.
7183 2002-03-22  Bob Wilson  <bob.wilson@acm.org>
7185         * config/xtensa/xtensa-protos.h (non_acc_reg_operand): Remove.
7186         (xtensa_valid_move, xtensa_preferred_reload_class): Define.
7187         * config/xtensa/xtensa.c (non_acc_reg_operand): Remove.
7188         (xtensa_valid_move, xtensa_preferred_reload_class): Define to
7189         prevent use of sp as a reload register.
7190         (xtensa_emit_move_sequence): Use xtensa_valid_move instead of
7191         non_acc_reg_operand.
7192         * config/xtensa/xtensa.h (PREDICATE_CODES): Remove non_acc_reg_operand.
7193         (PREFERRED_RELOAD_CLASS): Move code to xtensa_preferred_reload_class.
7194         * config/xtensa/xtensa.md (movsi_internal, movhi_internal,
7195         movqi_internal): Use xtensa_valid_move instead of non_acc_reg_operand.
7197 2002-03-22  Neil Booth  <neil@daikokuya.demon.co.uk>
7199         * cpphash.h (struct cpp_reader): Remove mls_line and mls_col.
7200         * cpplex.c (unterminated): Delete.
7201         (parse_string): No string literal may extend over multiple
7202         lines.  Suppress the error when preprocessing assembly.
7203         * cppmain.c (scan_translation_unit): Strings are single-line.
7205         * doc/cpp.texi: Update to match.
7207 2002-03-22  Jakub Jelinek  <jakub@redhat.com>
7209         PR optimization/5854
7210         * config/m68hc11/m68hc11.h (CONST_OK_FOR_LETTER_VALUE_P): Use K for 0.
7211         Shut up warnings.
7212         (CONST_DOUBLE_OK_FOR_LETTER_P): Use G for 0.0.
7213         (EXTRA_CONSTRAINT): Use S for non-push memory operand.
7214         * config/m68hc11/m68hc11.c (m68hc11_split_move): Handle setting from
7215         const0 if scratch register was not allocated.
7216         (m68hc11_reload_operands, m68hc11_gen_lowpart, m68hc11_gen_highpart,
7217         m68hc11_z_replacement): Replace gen_rtx (CONST_INT, VOIDmode, ...)
7218         with GEN_INT (...).
7219         (m68hc11_reorg): Compute BLOCK_FOR_INSN before reload_cse_regs.
7220         * config/m68hc11/m68hc11.md: Replace gen_rtx (CONST_INT, VOIDmode, ...)
7221         with GEN_INT (...) everywhere.  Remove constraints in define_split
7222         patterns.
7223         (movdi_internal, movdf_internal, movsi_internal, movsf_internal): Don't
7224         require scratch register for setting 0 into regs/non-pushable memory.
7226 2002-03-22  Alexandre Oliva  <aoliva@redhat.com>
7228         * config/mips/mips.h (MASK_RETURN_ADDR): Define.
7229         (TARGET_PTRMEMFUNC_VBIT_LOCATION): Define.
7231 2002-03-22  Phil Edwards  <pme@gcc.gnu.org>
7233         * cpplib.h (struct cpp_options):  New member, warn_endif_labels.
7234         * cppinit.c (cpp_create_reader):  On by default.
7235         (cpp_handle_option):  Handle -W[no-]endif-labels.
7236         (cpp_post_options):  Also enable if -pedantic.
7237         * cpplib.c (do_else):  Use it.
7238         (do_endif):  Likewise.
7239         * doc/cppopts.texi:  Document new option.
7240         * doc/invoke.texi:  Document new option.
7242 2002-03-22  Lars Brinkhoff  <lars@nocrew.org>
7244         * config/i386/i386.c, config/i386/i386.md: Change all occurences
7245         of GEN_INT (trunc_int_for_mode (...)) to gen_int_mode (...).
7247 2002-03-22  Alexandre Oliva  <aoliva@redhat.com>
7249         * flow.c (calculate_global_regs_live): Clear aux fields of
7250         ENTRY and EXIT.
7252 2002-03-22  Jakub Jelinek  <jakub@redhat.com>
7254         * config/v850/v850.c (v850_reorg): Only call alter_subreg on
7255         REG or MEM subregs, pass rtx * instead of rtx to it.
7256         * config/i860/i860.c (output_delayed_branch, output_delay_insn): Pass
7257         rtx * instead of rtx to alter_subreg.
7258         * config/m32r/m32r.c (gen_split_move_double): Likewise.
7259         * config/pj/pj.c (pj_output_rval): Likewise.
7261 2002-03-22  Richard Henderson  <rth@redhat.com>
7263         PR target/3177
7264         * config/ia64/ia64.h (CUMULATIVE_ARGS): Add int_regs.
7265         (INIT_CUMULATIVE_ARGS, INIT_CUMULATIVE_INCOMING_ARGS): Update.
7266         * config/ia64/ia64.c (ia64_function_arg_advance): Set int_regs.
7267         (ia64_expand_prologue): Look at int_regs, not words, for number
7268         of incomming int regs.
7270 2002-03-22  Andrew MacLeod  <amacleod@redhat.com>
7272         * expr.c (expand_expr): A RESULT_DECL is part of a call.
7274 Fri Mar 22 16:30:42 CET 2002  Jan Hubicka  <jh@suse.cz>
7276         * toplev.c (flag_loop_optimize, flag_crossjumping):
7277         New static variables.
7278         (rest_of_compilation): Conditionalize crossjumping and
7279         loop optimizer.
7280         (parse_options_and_default_flags): Default loop_optimize and
7281         crossjumping.
7282         (lang_independent_options): Add -fcrossjumping and -floop-optimize
7283         * invoke.texi (crossjumping, loop-optimize): Document.
7285 2002-03-22  Richard Sandiford  <rsandifo@redhat.com>
7287         * real.c (eiisneg): Move outside #ifdef NANS.
7289 Fri Mar 22 12:08:36 CET 2002  Jan Hubicka  <jh@suse.cz>
7291         * cfgcleanup.c (outgoing_edges_math): Fix condition; relax
7292         frequencies match; avoid match on different loop depths.
7293         (try_crossjump_to_bb): Kill tests that no longer brings time
7294         savings.
7295         * cfgrtl.c (force_nonfallthru_and_redirect): Fix loop_depth
7296         updating code.
7297         (split_edge): Likewise.
7299         * flow.c (update_life_info_in_dirty_blocks): Fix uninitialized
7300         variable.
7302         * Makefile.in (cfgrtl): Add insn-config.h depenendency.
7303         * cfgrtl.c: Include insn-config.h
7304         (split_block) Dirtify block in presence of conditional execution
7306 2002-03-22  Richard Sandiford  <rsandifo@redhat.com>
7308         * config/mips/abi64.h (SETUP_INCOMING_VARARGS): Undefine.
7309         * config/mips/mips-protos.h (mips_setup_incoming_varargs): Declare.
7310         (function_arg): Constify CUMULATIVE_ARGS.
7311         (function_arg_partial_nregs, function_arg_pass_by_reference): Likewise.
7312         * config/mips/mips.h (UNITS_PER_FPVALUE): Zero when TARGET_SOFT_FLOAT.
7313         (UNITS_PER_DOUBLE): New macro.
7314         (SETUP_INCOMING_VARARGS): Define.  Use mips_setup_incoming_varargs.
7315         (CUMULATIVE_ARGS): Reformat.  Remove num_adjusts workaround and
7316         last_arg_fp field.  Replace arg_words and fp_arg_words with gp_regs,
7317         fp_regs and stack_words.
7318         (EABI_FLOAT_VARARGS_P): New macro.
7319         * config/mips/mips.c (struct mips_arg_info): New.
7320         (mips_arg_info): New function.
7321         (function_arg_advance): Use it.  Add adjustment instructions here
7322         rather than in function_arg.
7323         (function_arg): Constify CUMULATIVE_ARGS.  Use mips_arg_info.  Check
7324         for VOIDmode at the beginning of the function.
7325         (function_partial_nregs): Constify CUMULATIVE_ARGS.  Use mips_arg_info.
7326         (function_arg_pass_by_reference): Likewise.
7327         (mips_setup_incoming_varags): New, largely based on old abi64.h code.
7328         (mips_build_va_list): Test EABI_FLOAT_VARARGS_P.
7329         (mips_va_start): Likewise.  Use the new stack_words field of
7330         CUMULATIVE_ARGS to set up overflow area.  Reformat.
7331         (mips_va_arg): Test EABI_FLOAT_VARARGS_P.  Unify EABI handling of
7332         doubles and other types, aligning the overflow pointer for non-doubles
7333         too.  Remove some code duplication.  Replace hard-coded constants.
7335 2002-03-22  Richard Sandiford  <rsandifo@redhat.com>
7337         * config/mips/mips.h (FUNCTION_ARG_REGNO_P): Simplify.
7338         (CLASS_UNITS): Undefine.
7339         (CLASS_MAX_NREGS): Use FP_INC.
7340         * config/mips/mips.c (compute_frame_size): Likewise.
7341         (override_options): Use FP_INC and UNITS_PER_FPVALUE.
7343 2002-03-22  Neil Booth  <neil@daikokuya.demon.co.uk>
7345         * cpplex.c (parse_identifier_slow): Rename parse_slow, adjust
7346         prototype, and handle lexing numbers and identifiers.
7347         (parse_identifier): Update to new form of parse_slow.
7348         (parse_number): Fast path only, use parse_slow otherwise.
7349         (_cpp_lex_direct): Update calls to parse_number.
7351 2002-03-21  DJ Delorie  <dj@redhat.com>
7353         * bb-reorder.c (make_reorder_chain_1): Protect against
7354         when redundant edges are omitted.
7355         * predict.c (dump_prediction): Likewise.
7357 2002-03-21  Richard Henderson  <rth@redhat.com>
7359         PR target/5996
7360         * fixinc/inclhack.def (solaris_stdio_tag): New.
7361         * fixinc/fixincl.x: Regenerate.
7363 2002-03-21  Eric Botcazou <ebotcazou@multimania.com>
7365         PR c/5597
7366         * c-typeck.c (process_init_element): Flag non-static
7367         initialization of a flexible array member as illegal.
7369 2002-03-22  Alan Modra  <amodra@bigpond.net.au>
7371         * config/rs6000/t-linux64: New.
7372         * config.gcc (powerpc64-*-linux* <tmake_file>): Drop t-ppcos and
7373         t-ppccomm.  Use t-rs6000 and t-linux64.
7374         (powerpc64-*-gnu* <tmake_file>): Likewise.
7375         * mklibgcc.in (SHLIB_MKMAP_OPTS): New variable.
7376         * mkmap-symver.awk (dotsyms): If set, output .foo as well as foo.
7377         * Makefile.in (SHLIB_MKMAP_OPTS): Pass to mklibgcc.
7379 2002-03-21  Aldy Hernandez  <aldyh@redhat.com>
7381         * langhooks.c (lhd_tree_inlining_cannot_inline_tree_fn): Check
7382         flag_really_no_inline instead of optimize == 0.
7384         * c-objc-common.c (c_cannot_inline_tree_fn): Same.
7386         * cp/tree.c (cp_cannot_inline_tree_fn): Same.
7388         * flags.h (flag_really_no_inline): New.
7390         * c-common.c (c_common_post_options): Initialize
7391         flag_really_no_inline.
7393         * toplev.c (flag_really_no_inline): New.
7395 2002-03-21  Jakub Jelinek  <jakub@redhat.com>
7397         * config/avr/avr.md (length): Fix length computation for
7398         conditional branches.
7400 2002-03-21  Neil Booth  <neil@daikokuya.demon.co.uk>
7402         * Makefile.in (fold-const.o, stor-layout.o, stmt.o,
7403         sdbout.o, profile.o): Update.
7404         * c-common.c (c_common_nodes_and_builtins): Use pushdecl
7405         langhook.
7406         * c-common.h (gettags): Move here from tree.h.
7407         * c-tree.h (pushdecl, pushlevel, poplevel, set_block,
7408         insert_block, getdecls, kept_level_p, global_bindings_p): New.
7409         * dbxout.c (dbxout_init): Use getdecls langhook.
7410         * expr.c (expand_expr): Use insert_block langhook.
7411         * fold-const.c: Include langhooks.h.
7412         (fold_range_test, fold_binary_op_with_conditional_arg,
7413         fold): Use global_bindings_p langhook.
7414         * integrate.c (expand_inline_function): Use insert_block langhook.
7415         * langhooks-def.h (LANG_HOOKS_DECLS, LANG_HOOKS_PUSHLEVEL,
7416         LANG_HOOKS_POPLEVEL, LANG_HOOKS_GLOBAL_BINDINGS_P,
7417         LANG_HOOKS_INSERT_BLOCK, LANG_HOOKS_SET_BLOCK, LANG_HOOKS_PUSHDECL,
7418         LANG_HOOKS_GETDECLS): New.
7419         (LANG_HOOKS_INITIALIZER): Update.
7420         * langhooks.c (lhd_clear_binding_stack): Use global_bindings_p
7421         langhook.
7422         * langhooks.h (struct lang_hooks_for_decls): New.
7423         (struct lang_hooks): Update.
7424         * profile.c: Include langhooks.h.
7425         (output_func_start_profiler): Use new langhooks.
7426         * sdbout.c: Include langhooks.h.
7427         (sdbout_init, sdbout_finish): Use getdecls langhook.
7428         * stmt.c: Include langhooks.h.
7429         (expand_fixup, fixup_gotos): Use new langhooks.
7430         * stor-layout.c: Include langhooks.h.
7431         (variable_size): Use global_bindings_p langhook.
7432         * toplev.c (compile_file): Use getdecls langhook.
7433         * tree-inline.c (remap_block): Use insert_block langhook.
7434         * tree.h (pushdecl, pushlevel, poplevel, set_block, gettags,
7435         insert_block, getdecls, kept_level_p, global_bindings_p): Remove.
7437 2002-03-21  Richard Henderson  <rth@redhat.com>
7439         * config/rs6000/rs6000.c (rs6000_select_rtx_section): Put symbolic
7440         constants in .data when -fpic.
7442 2002-03-21  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
7444         * doc/contrib.texi (Contributors): Use GNU/Linux instead of Linux
7445         where appropriate.
7447 2002-03-21  Tom Tromey  <tromey@redhat.com>
7449         * config/i386/sol2.h (ASM_QUAD): Undef.  Fixes PR bootstrap/5948.
7451 Thu Mar 21 09:50:48 2002  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
7453         * config/ia64/ia64.c (hfa_element_mode, case ARRAY_TYPE): Recurse.
7455         * expr.c (emit_group_store): Don't copy const0_rtx to a CONCAT.
7457 2002-03-21  Eric Botcazou <ebotcazou@multimania.com>
7458             Richard Henderson  <rth@redhat.com>
7460         PR c/5354
7461         * c-common.c (c_expand_expr): Preserve result of a statement
7462         expression if needed.
7464 2002-03-21  Jakub Jelinek  <jakub@redhat.com>
7466         PR bootstrap/4195
7467         * genrecog.c (maybe_both_true_mode): Remove.
7468         (maybe_both_true_2, write_switch): Revert 2001-07-17 changes.
7469         * machmode.def (Pmode): Likewise.
7471 Thu Mar 21 01:55:06 EST 2002  John Wehle  (john@feith.com)
7473         * alias.c: (nonlocal_mentioned_p): Use for_each_rtx.
7474         (nonlocal_mentioned_p_1): New function.
7475         (nonlocal_referenced_p, nonlocal_referenced_p_1): Likewise.
7476         (nonlocal_set_p, nonlocal_set_p_1): Likewise.
7477         (mark_constant_function): Recognize pure functions.
7478         * rtl.h (global_reg_mentioned_p): New prototype.
7479         * rtlanal.c (global_reg_mentioned_p,
7480         global_reg_mentioned_p_1): New function.
7482 2002-03-21  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
7484         * fixinc/inclhack.def (alpha_assert): Fix assert macro in Tru64
7485         UNIX assert.h.
7486         * fixinc/fixincl.x: Regenerate.
7488 2002-03-20  Jason Merrill  <jason@redhat.com>
7490         * config/i386/cygwin.h (DWARF2_UNWIND_INFO): Define to 0.
7492 2002-03-20  Michael Meissner  <meissner@redhat.com>
7494         * doc/invoke.texi (Optimize Options): Document that -O2 sets
7495         -fstrict-aliasing.
7497 2002-03-20  Bob Wilson  <bob.wilson@acm.org>
7499         * config/xtensa/xtensa.h (ASM_OUTPUT_POOL_PROLOGUE): Emit a
7500         ".literal_position" directive before the constant pool.
7502 2002-03-20  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
7504         * doc/contrib.texi (Contributors): Update Geoffrey Keating.
7505         Add Craig Rodrigues.
7506         Add Brad Lucier to testers.
7508 2002-03-20  Jakub Jelinek  <jakub@redhat.com>
7510         PR target/4792
7511         * config/arc/arc.md (movsicc, movdicc, movsfcc, movdfcc): Add mode
7512         to if_then_else.
7513         (movsicc_insn, movdicc_insn, movsfcc_insn, movdfcc_insn): Likewise.
7514         * config/arc/arc.c (arc_final_prescan_insn): Use extract_insn_cached
7515         instead of insn_extract.
7517 2002-03-20  Jakub Jelinek  <jakub@redhat.com>
7519         PR bootstrap/4192
7520         * config/fr30/fr30.md (jump): Remove clobber of fixed register.
7522         * genemit.c (output_added_clobbers_hard_reg_p): Only output return
7523         stmt if some case has been output.
7525 2002-03-20  Jakub Jelinek  <jakub@redhat.com>
7527         PR c/5972
7528         * config/i386/i386.md (movdicc_c_rex64, movsicc_noc, movhicc_noc,
7529         movsfcc_1, movdfcc_1): Add %O2.
7530         * config/i386/i386.c (print_operand): Handle %ON.
7531         Print . before float condition codes in Sun as cmov syntax.
7532         * config/i386/sol2.h (CMOV_SUN_AS_SYNTAX): Define for Sun as.
7533         * config.gcc (i[34567]86-*-solaris2*): Remove comment which is
7534         no longer true.
7536 2002-03-20  Philip Blundell  <pb@nexus.co.uk>
7538         * config/arm/arm.c (arm_output_epilogue): Don't generate separate
7539         return instruction if PC was popped.
7541 2002-03-20  Bob Wilson  <bob.wilson@acm.org>
7543         * config/xtensa/xtensa.md: Remove unused type attributes.
7544         (adddi_carry, subddi_carry): Change type attribute to "multi".
7546 2002-03-19  Dale Johannesen  <dalej@apple.com>
7548         PR optimization/5999, middle-end/5731
7549         * expr.c (expand_expr) [RDIV_EXPR]: Only convert real divisions into
7550         multiplications by reciprocals.
7552 2002-03-20  Neil Booth  <neil@daikokuya.demon.co.uk>
7554         * Makefile.in: Update.
7555         * c-common.c: Include langhooks.h.
7556         (inline_forbidden_p): Use new hook.
7557         * diagnostic.c: Include langhooks.h.
7558         (format_with_decl, announce_function,
7559         default_print_error_function): Use new hook.
7560         * dwarf2out.c (dwarf2_name): Use new hook.
7561         * function.c: Include langhooks.h.
7562         (init_function_start): Use new hook.
7563         * langhooks-def.h (lhd_decl_printable_name): New.
7564         (LANGHOOKS_DECL_PRINTABLE_NAME): New.
7565         (LANGHOOKS_INITIALIZER): Update.
7566         * langhooks.c (lhd_decl_printable_name): New.
7567         * langhooks.h (struct lang_hooks): New hook.
7568         * toplev.c (decl_name, decl_printable_name): Remove.
7569         (open_dump_file): Use new hook.
7570         (process_options): Remove old hook.
7571         * tree.h (decl_printable_name): Remove.
7572 objc:
7573         * objc-act.c (objc_init): Remove old hook.
7574         (objc_printable_name): Export.
7575         * objc-act.h (objc_printable_name): New.
7576         * objc-lang.c (LANG_HOOKS_DECL_PRINTABLE_NAME): Redefine.
7578 2002-03-19  Jim Blandy  <jimb@redhat.com>
7580         * c-lex.c (cb_file_change): Pass the #inclusion's line number to
7581         the start_source_file debug hook, not the current line number.
7583 2002-03-19  Richard Henderson  <rth@redhat.com>
7585         * flow.c (EH_USES): Provide default.
7586         (calculate_global_regs_live): Use it for EH edges and noreturn calls.
7587         * doc/tm.texi (EH_USES): New.
7589         * config/ia64/ia64.c (ia64_eh_uses): New.
7590         * config/ia64/ia64-protos.h: Update.
7591         * config/ia64/ia64.h (EH_USES): New.
7593 2002-03-19  Richard Henderson  <rth@redhat.com>
7595         * varasm.c (output_constant_def): Fix stupid typo.
7597 2002-03-19  Richard Henderson  <rth@redhat.com>
7599         PR 5879
7600         * except.c (current_function_has_exception_handlers): New.
7601         * except.h: Declare it.
7602         * sibcall.c (optimize_sibling_and_tail_recursive_call): Use it.
7603         Combine tests that disable all sibcalls for the function.
7605 2002-03-19  Olivier Hainque  <hainque@act-europe.fr>
7607         * varasm.c (output_constant_def): Don't call ENCODE_SECTION_INFO
7608         for INTEGER_CST.
7610 2002-03-19  Richard Henderson  <rth@redhat.com>
7612         PR 5977, 5991
7613         * config/ia64/ia64.c: Revert 2002-03-01 patch.
7614         * config/ia64/ia64.h (INIT_EXPANDERS): New.
7616 2002-03-19  Jim Blandy  <jimb@redhat.com>
7618         * cppmacro.c (cpp_macro_definition): Emit a space after the macro
7619         name, even if the replacement list contains no tokens, as required
7620         by Dwarf.
7622 2002-03-19  Jason Merrill  <jason@redhat.com>
7624         * varasm.c (globalize_decl): Get the name from the RTL, not
7625         DECL_ASSEMBLER_NAME.
7627         * Makefile.in (LIBGCC2_DEBUG_CFLAGS): Set to -g.
7629 2002-03-19  Bob Wilson  <bob.wilson@acm.org>
7631         * config/xtensa/xtensa.md (adddi3, adddi_carry, subdi3,
7632         subdi_carry): Define.
7634 2002-03-19  David Edelsohn  <edelsohn@gnu.org>
7636         * config/rs6000/rs6000.c (rs6000_override_options): Only warn
7637         about -fpic/-fPIC if extra_warnings set.
7639 2002-03-19  David Edelsohn  <edelsohn@gnu.org>
7641         * expr.c (expand_expr): Sign-extend CONST_INT generated from
7642         TREE_STRING_POINTER.
7643         * fold-const.c (fold): Delete #if 0 ARRAY_REF case.
7645 Tue Mar 19 14:12:32 2002  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
7647         * config/sparc/sparc.h (CAN_ELMINIATE): Can only eliminate FP
7648         in favor of SP if FRAME_POINTER_REQUIRED is false.
7650 2002-03-19  Lars Brinkhoff  <lars@nocrew.org>
7652         * emit-rtl.c (gen_int_mode): New function.
7653         * rtl.h: Prototype for it.
7654         * combine.c (make_extraction, simplify_comparison), expmed.c
7655         (store_bit_field, expand_mult_highpart, expand_divmod), expr.c
7656         (convert_modes, store_field), optabs.c (expand_fix),
7657         simplify-rtx.c (neg_const_int, simplify_unary_real),
7659         * config/rs6000/rs6000.c, config/rs6000/rs6000.md:
7660         Use it instead of GEN_INT (trunc_int_for_mode (...)).
7662 2002-03-19  Jakub Jelinek  <jakub@redhat.com>
7664         PR c/5656
7665         * langhooks.h (struct lang_hooks_for_tree_inlining): Add
7666         convert_parm_for_inlining.
7667         * c-lang.c (LANG_HOOKS_TREE_INLINING_CONVERT_PARM_FOR_INLINING):
7668         Define.
7669         * langhooks-def.h: Likewise.
7670         * objc/objc-lang.c: Likewise.
7671         * langhooks.c (lhd_tree_inlining_convert_parm_for_inlining): New
7672         function.
7673         * tree-inline.c (initialize_inlined_parameters):
7674         Call convert_parm_for_inlining lang hook if needed.
7675         * c-typeck.c (c_convert_parm_for_inlining): New function.
7676         * c-tree.h (c_convert_parm_for_inlining): Add prototype.
7678 2002-03-18  Mark Mitchell  <mark@codesourcery.com>
7680         * calls.c (precompute_arguments): Do not assume that temporaries
7681         can be destroyed after expanding the argument.
7682         (expand_call): Likewise.
7684 2002-03-15  Eric Christopher  <echristo@redhat.com>
7686         * config/mips/mips.md (movdf_internal2): Add two new move constraints.
7687         Fix register preference on last change.
7688         * config/mips/mips.c (mips_return_in_memory): New function.
7689         * config/mips/mips.h (RETURN_IN_MEMORY): Use.
7690         * config/mips/mips-protos.h: Declare.
7691         * config/mips/abi64.h (RETURN_IN_MEMORY): Remove. Add to above.
7692         * config/mips/elf64.h: Add #ifndef/#endif brackets around defaults.
7694 2002-03-18  Alexandre Oliva  <aoliva@redhat.com>
7696         * config/mips/mips.md (andsi3) [TARGET_MIPS16]: Force operand 1 to
7697         a register too.
7698         (anddi3, iorsi3): Likewise.
7700         * config/mips/mips.h (ENCODE_SECTION_INFO) [TARGET_MIPS16]: Don't
7701         use %gprel for symbols that are going to be placed in linkonce
7702         sections.
7704         * config/mips/mips.h (ELIMINABLE_REGS): Can't eliminate
7705         RETURN_ADDRESS_POINTER_REGNUM to $ra.
7706         (CAN_ELIMINATE): Only eliminate it to $sp if a frame pointer is
7707         not needed.  Disregard leaf_function_p().
7708         (INITIAL_ELIMINATION_OFFSET): Adjust for elimination of rap to
7709         mips16 frame pointer.
7710         * config/mips/mips.md (store ra): Only to small SP offsets.
7711         2001-08-22  Graham Stott  <grahams@redhat.com>
7712         * config/mips/mips.h (RETURN_ADDR_RTX): For a leaf function
7713         return a REG rtx for the return address register.
7715 2002-03-18  Bob Wilson  <bob.wilson@acm.org>
7717         * config/xtensa/xtensa.h (GO_IF_MODE_DEPENDENT_ADDRESS): Treat
7718         constant-pool addresses as "mode-dependent".
7719         (GO_IF_LEGITIMATE_ADDRESS): Rename macro arguments.
7721 2002-03-18  Jakub Jelinek  <jakub@redhat.com>
7723         PR target/5740
7724         * expr.c (emit_group_load): Use extract_bit_field if
7725         needed for CONCAT arguments.
7727 2002-03-18  Richard Earnshaw  <rearnsha@arm.com>
7729         PR target/4863
7730         * arm.md (tablejump): Make this a define_expand.  For PIC add the
7731         offset to the base of the table.
7732         (thumb_tablejump): Matcher for Thumb tablejump insn.
7733         * config/arm/aout.h (ASM_OUTPUT_ADDR_DIFF_ELT): Output thumb entries
7734         as the difference of two labels.
7735         * config/arm/aof.h (ASM_OUTPUT_ADDR_DIFF_ELT): Likewise.
7736         * config/arm/elf.h (JUMP_TABLES_IN_TEXT_SECTION): Only put ARM jump
7737         tables in the code.
7738         * config/arm/coff.h (JUMP_TABLES_IN_TEXT_SECTION): Likewise.
7739         * arm.c (get_jump_table_size): If the table is not in the text
7740         section, return zero.
7742 2002-03-18  Bernd Schmidt  <bernds@redhat.com>
7744         * config/arm/arm.c (arm_gen_movstrqi): Use gen_lowpart instead
7745         of gen_rtx_SUBREG.
7746         (arm_reload_out_hi): Use gen_lowpart instead of
7747         gen_rtx_SUBREG to access QImode components.
7748         * config/arm/arm.md: Disable zero_extend split for QImode
7749         subregs in BIG_ENDIAN mode.
7750         (storehi_bigend): Match use of least significant byte.
7751         (storeinthi): Remove extraneous SUBREG.
7752         Add missing construction of operands[2].
7753         (movhi): Use gen_lowpart in place of gen_rtx_SUBREG.
7754         (movqi): Use gen_lowpart in place of gen_rtx_SUBREG.
7755         Replace gen_rtx (SUBREG) with gen_rtx_SUBREG.
7757 2002-03-18  Aldy Hernandez  <aldyh@redhat.com>
7759         * config/rs6000/rs6000.h (PREDICATE_CODES): Add PARALLEL to
7760         any_operand.
7762 2002-03-17  Richard Henderson  <rth@redhat.com>
7764         * config/alpha/alpha.c (alpha_emit_set_const_1): Build add insns
7765         explicitly.
7767 2002-03-17  Hans-Peter Nilsson  <hp@bitrange.com>
7769         * config/mmix/mmix.md ("fixuns_truncdfdi2"): Use (unsigned_fix:DI
7770         (unsigned_fix:DF op1)), not (unsigned_fix:DI (fix:DF op1)).
7772 2002-03-17  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7774         * ifcvt.c (dead_or_predicable): Fix uninitialized variable.
7776         * predict.c (estimate_bb_frequencies): Delete unused variables.
7778 2002-03-17  Richard Henderson  <rth@redhat.com>
7780         * config/ia64/ia64.c (ia64_attribute_table): Move before
7781         targetm definition.  Make static.
7783 2002-03-17  Neil Booth  <neil@daikokuya.demon.co.uk>
7785         * c-common.h (yyparse, c_common_parse_file): New.
7786         * c-lang.c: Include c-common.h.
7787         (LANG_HOOKS_PARSE_FILE): Redefine.
7788         * c-lex.c: Include c-common.h.
7789         (yyparse): Rename c_common_parse_file.  Call yyparse.
7790         * c-parse.in (yyparse): Remove macro.
7791         * c-tree.h (yyparse_1): Remove.
7792         * langhooks-def.h (LANG_HOOKS_PARSE_FILE): New.
7793         (LANG_HOOKS_INITIALIZER): Update.
7794         * langhooks.h (struct lang_hoooks): New hook parse_file.
7795         * toplev.c (compile_file): Use parse_file hook.
7796         * tree.h (yyparse): Remove.
7797         * objc/objc-lang.c (LANG_HOOKS_PARSE_FILE): Redefine.
7799 2002-03-17  Hans-Peter Nilsson  <hp@bitrange.com>
7801         * config/mmix/mmix.md ("truncdfsf2"): Correct operator is
7802         float_truncate, not fix.
7803         ("*truncdfsf2_real"): Ditto.
7804         ("*nonlocal_goto_receiver_expanded"): Fix output template formatting.
7806         * config/mmix/mmix.h (WCHAR_TYPE, WCHAR_TYPE_SIZE): Don't define.
7808 2002-03-16  Alexandre Oliva  <aoliva@redhat.com>
7810         * config/mips/mips.h (CAN_ELIMINATE): Don't eliminate rap to $fp
7811         (s8), but rather HARD_FRAME_POINTER_REGNUM.  Add parentheses
7812         where appropriate.  Make the second reference to
7813         leaf_function_p a function call, as intended.  Reindented.
7815         * config/mips/mips.h (ISA_HAS_COND_TRAP): Not available on MIPS16.
7816         * config/mips/mips.md (trap) [TARGET_MIPS16]: Emit `break 0'.
7818         * config/mips/mips.md (addsi3, adddi3): Use scratch register to
7819         add register to non-constant into sp.
7821         * config/mips/mips-protos.h (embedded_pic_fnaddr_reg): New.
7822         * config/mips/mips.h (embedded_pic_fnaddr_rtx): Lose.
7823         (mips16_gp_pseudo_rtx): Lose.
7824         (INIT_EXPANDERS): Deleted.
7825         * config/mips/mips.c (mips_init_machine_status): New.
7826         (mips_free_machine_status): New.
7827         (mips_mark_machine_status): New.
7828         (override_options): Set them.
7829         (embedded_pic_fnaddr_rtx, mips16_gp_pseudo_rtx): Moved to...
7830         (struct machine_function): ... new.  Replaced all references.
7831         (mips_add_gc_roots): Don't mark them.
7832         (embedded_pic_fnaddr_reg): New, extracted from...
7833         (embedded_pic_offset): ... here.
7834         * config/mips/mips.md (movdi): Call embedded_pic_fnaddr_reg.
7835         (movsi): Likewise.
7837 2002-03-16  Neil Booth  <neil@daikokuya.demon.co.uk>
7839         * cppinit.c: Revert -MD removal.
7841 2002-03-16  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
7843         * config/m68hc11/m68hc11.c (m68hc11_override_options): Don't use
7844         soft registers by default for 68HC12.
7845         (m68hc11_conditional_register_usage): Don't use Z register for 68HC12
7846         when compiling with -fomit-frame-pointer.
7847         (expand_prologue): Use push/pop to allocate 4-bytes of locals on 68HC12.
7848         (expand_epilogue): Likewise.
7849         (m68hc11_gen_rotate): Use exg when rotating by 8.
7851 2002-03-16  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
7853         * config/m68hc11/m68hc11-protos.h (ix_reg): Declare.
7854         * config/m68hc11/m68hc11.md ("addsi3"): Use general_operand for sources.
7855         (splits): Remove unused add splits.
7856         ("*addhi3_68hc12"): Tune constraints.
7857         ("addhi_sp"): Try to use X instead of Y in all cases and if the
7858         constant fits in 8-bits and D is dead use abx/aby instructions.
7859         ("*addhi3"): Remove extern declaration of ix_reg.
7860         ("*subsi3"): Optimize and provide new split.
7861         ("subhi3"): Cleanup.
7862         ("*subhi3_sp"): Avoid saving X if we know it is dead.
7863         (arith splits): For 68hc12 save the address register on the stack
7864         and do the arithmetic operation with a pop.
7866 2002-03-16  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
7868         * config/m68hc11/m68hc11.md ("*movqi_68hc12"): Fix constraints, avoid
7869         allocating QImode in address registers.
7870         ("*movqi_m68hc11"): Likewise.
7872 Sat Mar 16 12:57:28 CET 2002  Jan HUbicka  <jh@suse.cz>
7874         * cfgcleanup.c (cleanup_cfg): Fix updating of liveness.
7876 2002-03-16  Neil Booth  <neil@daikokuya.demon.co.uk>
7878         * cppinit.c (print_help): Display -MD and -MMD.
7879         Don't display usage string.  Update assertion syntax and
7880         typo.
7881         (COMMAND_LINE_OPTIONS): Remove OPT_MD, OPT_MMD.
7882         (cpp_handle_option): Update.
7884 2002-03-15  Chris Demetriou  <cgd@broadcom.com>
7886         * config/mips/mips.h (SUBTARGET_CPP_SIZE_SPEC): Provide an
7887         MEABI case for each definition of SUBTARGET_CPP_SIZE_SPEC,
7888         and define it so that regardless of target CPU size,
7889         __SIZE_TYPE__ and __PTRDIFF_TYPE__ are defined in terms
7890         of "int" rather than "long."
7892 2002-03-15  Richard Henderson  <rth@redhat.com>
7894         * config/alpha/alpha.c (alpha_va_arg): Manipulate the type
7895         size as a tree.
7897 2002-03-15  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
7899         * config/m68hc11/m68hc11.md ("tstqi_1"): Try to use ldab instead of tst.
7900         ("tstqi" split): Avoid using memory for tstqi on address register.
7901         (splits): Remove constraints.
7902         ("cmphi_1_hc12"): New from "cmphi_1" and tuned for 68HC12.
7903         ("cmpdf", "cmpsf"): Remove since not used.
7904         ("*tbeq", "*tbne", "*tbeq8", "*tbne8"): Also look in cc_status.value2.
7905         (peephole2): New peepholes to optimize tstqi and pre inc/dec addressing.
7907 2002-03-15  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
7909         * config/m68hc11/m68hc11.md ("negsi2"): Optimize inline case.
7910         ("neghi2"): Tighten constraints.
7911         ("one_cmplsi2"): Optimize and simplify split.
7912         * config/m68hc11/larith.asm (__negsi2): Likewise for library.
7914 2002-03-15  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
7916         * config/m68hc11/m68hc11.md ("logicalsi3_zexthi"): Fix constraints
7917         and split of AND operation to clear the upper bits.
7918         ("*logicalsi3_zextqi"): Likewise.
7919         ("*logicallhi3_zexthi_ashift8"): Likewise.
7920         ("*logicalsi3_silshr16"): Likewise.
7921         ("logicalsi3_silshl16"): Likewise.
7922         ("anddi3", "iordi3", "xordi3" splits): Remove constraints.
7924 2002-03-15  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
7926         * config/m68hc11/m68hc11.c (m68hc11_symbolic_p): New function.
7927         (m68hc11_indirect_p): New function.
7928         (m68hc11_override_options): Must set MASK_NO_DIRECT_MODE for 68HC12.
7929         (m68hc11_gen_highpart): Use TARGET_NO_DIRECT_MODE instead of
7930         TARGET_M6812.
7931         (asm_print_register): Likewise.
7932         * config/m68hc11/m68hc11-protos.h (m68hc11_symbolic_p): Declare.
7933         (m68hc11_indirect_p): Declare.
7934         * config/m68hc11/m68hc11.h (EXTRA_CONSTRAINT): New constraint 'R', 'Q'.
7935         (TARGET_NO_DIRECT_MODE, TARGET_RELAX): New.
7936         (TARGET_SWITCHES): New option -mrelax.
7937         * config/m68hc11/m68hc11.md ("andsi3"): Allow soft register for
7938         destination.
7939         ("iorsi3", "xorsi3"): Likewise.
7940         ("andhi3", "andqi3", "iorhi3", "iorqi3"): Use a define_expand.
7941         ("*andhi3_mem"): New to handle destination in memory with bclr
7942         and a scratch register.
7943         ("*andqi3_mem", "*iorhi3_mem", "*iorqi3_mem"): Likewise.
7944         ("*andhi3_const"): New when operand2 is constant.
7945         ("*andqi3_const", "*iorhi3_const", "*iorqi3_const"): Likewise.
7946         ("*andhi3_gen"): Cleanup of the old "andhi3".
7947         ("*andqi3_gen", "*iorhi3_gen", "*iorqi3_gen"): Likewise.
7948         ("xorqi3"): Update constraints.
7950 2002-03-15  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
7952         * config/m68hc11/m68hc11.c (m68hc11_small_indexed_indirect_p): Look
7953         for reg_equiv_memory_loc when the operand is a register that does
7954         not get a hard register (stack location).
7955         (tst_operand): After reload, accept all memory operand.
7956         (symbolic_memory_operand): Fix detection of symbolic references.
7957         * config/m68hc11/m68hc11.h (VALID_CONSTANT_OFFSET_P): For 68HC12
7958         accept symbols and any constant.
7960 2002-03-15  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
7962         * config/m68hc11/m68hc11.c (emit_move_after_reload): Add a REG_INC
7963         note on the insn that sets the soft frame register.
7964         (must_parenthesize): ix and iy are also reserved names.
7965         (print_operand_address): One more place where parenthesis are required
7966         to avoid confusion with register names.
7967         (m68hc11_gen_movhi): Allow push of stack pointer.
7968         (m68hc11_check_z_replacement): Fix handling of parallel with a
7969         clobber.
7970         (m68hc11_z_replacement): Must update the REG_INC notes to tell what
7971         the replacement register is.
7972         * config/m68hc11/m68hc11.h (REG_CLASS_CONTENTS): Switch Z_REGS
7973         and D8_REGS classes.
7974         (MODES_TIEABLE_P): All modes are tieable except QImode.
7976 2002-03-15  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
7978         * config/m68hc11/larith.asm (___adddi3): Optimize saving of result.
7979         (___subdi3): Likewise.
7980         (__mulsi3, __mulhi32): Avoid using _.tmp scratch location.
7981         (__map_data_section): Optimize 68hc11 case.
7983 2002-03-15  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
7985         * config/m68hc11/m68hc11.c (m6812_cost): Make cost of add higher
7986         than a shift to avoid adding a register with itself.
7987         (m68hc11_memory_move_cost): Take into account NO_REGS.
7988         (m68hc11_register_move_cost): Update and use memory move cost
7989         for soft registers.
7990         (m68hc11_address_cost): Make cost of valid offset not 0 so that
7991         it gives more opportunities to cse to optimize.
7992         * config/m68hc11/m68hc11.h (REGISTER_MOVE_COST): Pass the mode.
7993         * config/m68hc11/m68hc11-protos.h (m68hc11_register_move_cost): Update.
7995 2002-03-15  Mark Mitchell  <mark@codesourcery.com>
7997         * c-common.c (statement_code_p): Handle CLEANUP_STMT.
7998         * c-common.def (CLEANUP_STMT): New tree node.
7999         * c-common.h (CLEANUP_DECL): New macro.
8000         (CLEANUP_EXPR): Likewise.
8001         * c-semantics.c (expand_stmt): Handle CLEANUP_STMT.
8002         * expr.c (expand_expr): Tidy.
8003         * tree-dump.c (dequeue_and_dump): Handle CLEANUP_STMT.
8004         * tree-inline.c (initialize_inlined_parameters): Clean up
8005         new local variables.
8007 2002-03-15  Jakub Jelinek  <jakub@redhat.com>
8009         PR bootstrap/4128
8010         * config/sparc/sparc.c (gen_v9_scc): Move early clobber test
8011         before movrXX only, use reg_overlap_mentioned_p.
8012         Only special case NE if just one insn can be generated.
8014 2002-03-15  Jason Merrill  <jason@redhat.com>
8016         * varasm.c (assemble_variable): Call resolve_unique_section before
8017         checking DECL_SECTION_NAME.  Use zeros for a decl with DECL_INITIAL
8018         of error_mark_node.
8020 2002-03-15  Richard Earnshaw  <rearnsha@arm.com>
8022         PR target/5170
8023         * arm.md (split pattern for thumb shiftable immediates): Add comment
8024         explaining non-obvious test.
8026 2002-03-15  Richard Earnshaw  <rearnsha@arm.com>
8028         PR target/5712
8029         * arm.md (movaddr, movaddr_insn): Delete.
8031 2002-03-15  Jason Merrill  <jason@redhat.com>
8033         * toplev.c (wrapup_global_declarations): Clarify variable handling.
8034         -fkeep-static-consts doesn't apply to comdats.
8036 2002-03-14  Richard Henderson  <rth@redhat.com>
8038         * c-decl.c: Include c-pragma.h.
8039         (start_decl, start_function): Invoke maybe_apply_pragma_weak.
8040         (finish_function): Tidy.
8041         * c-pragma.c: Include c-common.h.
8042         (pending_weaks, apply_pragma_weak, maybe_apply_pragma_weak): New.
8043         (handle_pragma_weak): Use them.
8044         (init_pragma): Register pending_weaks.
8045         * c-pragma.h (maybe_apply_pragma_weak): Declare.
8046         * print-tree.c (print_node): Print DECL_WEAK.
8047         * varasm.c (mark_weak_decls): Remove.
8048         (remove_from_pending_weak_list): Remove.
8049         (add_weak): Remove.
8050         (asm_emit_uninitialised): Call globalize_decl for weak commons.
8051         (weak_decls): Make a tree_list.
8052         (declare_weak): Cons weak_decls directly.
8053         (globalize_decl): Remove weak_decls elements directly.
8054         (weak_finish): Simplify weak_decls walk.  Don't weaken unused
8055         symbols.  Don't pretend to handle aliases.
8056         (init_varasm_once): Update weak_decls registry.
8057         * Makefile.in: Update dependencies.
8059 2002-03-14  Richard Henderson  <rth@redhat.com>
8061         PR target/5312
8062         * config/ia64/ia64.c: Include tm_p.h last.
8063         (gen_nop_type): Remove duplicate definition.
8064         (cycle_end_fill_slots): Set sched_data for second L slot.
8065         (maybe_rotate): Call cycle_end_fill_slots to fill in nop slots.
8066         (nop_cycles_until): Fix typos.
8068 2002-03-15  Jakub Jelinek  <jakub@redhat.com>
8070         PR optimization/5891
8071         * unroll.c (copy_loop_body) [CALL_INSN]: Copy SIBLING_CALL_P flag.
8073 2002-03-14  David Mosberger <davidm@hpl.hp.com>, Hans Boehm <Hans_Boehm@hp.com>
8075         * config/ia64/unwind-ia64.c: Handle copy_state and label_state
8076           descriptors correctly.
8078 2002-03-14  Michael Meissner  <meissner@redhat.com>
8080         * params.def (PARAM_MAX_UNROLLED_INSNS): New macro, default to
8081         100, allowing MAX_UNROLLED_INSNS to be overridden.
8083         * params.h (MAX_UNROLLED_INSNS): Define so it can be overridden by
8084         --param.
8086         * unroll.c (params.h): Include.
8087         (MAX_UNROLLED_INSNS): Delete, now in params.h.
8089         * doc/invoke.texi (--param max-unroll-insns): Document.
8091         * Makefile.in (unroll.o): Add $(PARAMS_H) dependency.
8093 2002-03-14  Richard Earnshaw  <rearnsha@arm.com>
8095         * arm.md: Fix warnings about constraints in peepholes and splits.
8097 2002-03-14  Zack Weinberg  <zack@codesourcery.com>
8099         * cpphash.h (struct lexer_state): Remove line_extension member.
8100         * cpplib.c (dequote_string, do_linemarker): New functions.
8101         (linemarker_dir): New data object.
8102         (DIRECTIVE_TABLE): No longer need to interpret #line in
8103         preprocessed source.  Delete obsolete comment about return
8104         values of handlers.
8105         (end_directive, directive_diagnostics, _cpp_handle_directive):
8106         Don't muck with line_extension.
8107         (directive_diagnostics): No need to issue warnings for
8108         linemarkers here.
8109         (_cpp_handle_directive): Issue warnings for linemarkers here,
8110         when appropriate.  Dispatch linemarkers to do_linemarker, not
8111         do_line.
8112         (do_line): Code to handle linemarkers split out to do_linemarker.
8113         Convert escape sequences in filename argument, both places.
8115         * cppmacro.c (quote_string): Rename cpp_quote_string and
8116         export.  All callers changed.
8117         * cpplib.h (cpp_quote_string): Prototype.
8118         * cppmain.c (print_line): Call cpp_quote_string on to_file
8119         before printing it.
8121         * doc/cpp.texi: Document that escapes are now interpreted in
8122         #line and in linemarkers, and that non-printing characters are
8123         converted to octal escapes when linemarkers are generated.
8125 Thu Mar 14 19:04:29 CET 2002  Jan Hubicka  <jh@suse.cz>
8127         * emit-rtl.c (try_split): Use delete_insns.
8128         * recog.c (split_all_insns): Fix terminating condition.
8130 2002-03-14  Richard Earnshaw  <rearnsha@arm.com>
8131             Jeroen Dobbelaere  <jeroen.dobbelaere@acunia.com>
8133         PR target/5828
8134         * arm.c (arm_output_epilogue): Fix floating-point register save
8135         adjustment when using a frame pointer.
8137 2002-03-14  Richard Sandiford  <rsandifo@redhat.com>
8139         * config/mips/mips.h (FP_INC, UNITS_PER_FPVALUE): New macros.
8140         * config/mips/mips.c (compute_frame_size): Retrofit them here.
8141         (save_restore_insns, mips_expand_epilogue): And here.
8142         (build_mips16_call_stub): And here.
8143         (mips_function_value): Use the new macros to decide whether a single
8144         or complex float can be returned in floating-point registers.  Return
8145         a parallel rtx in the complex case.
8147 Thu Mar 14 11:03:12 CET 2002  Jan Hubicka  <jh@suse.cz>
8149         * toplev.c (rest_of_compilation): Add CLEANUP_UPDATE_LIFE to cfg_cleanup
8150         call after liveness analysis.
8152         * recog.c (split_insn): Use delete_insn_and_edges.
8154         * cfgrtl.c (verify_flow_info): Be permisive about non-any_condjump
8155         instructions to have branch prediction notes.
8156         * ia64reorg.c (ia64_reorg): Do not rebuild CFG.
8158 2002-03-14  Geoffrey Keating  <geoffk@redhat.com>
8160         * configure.in: Don't pass -Wno-long-long to a ADA compiler
8161         that doesn't support it.
8162         * configure: Regenerate.
8164 2002-03-13  Jakub Jelinek  <jakub@redhat.com>
8166         PR target/5626
8167         * config/sparc/sparc.md (normal_branch, inverted_branch,
8168         normal_fp_branch, inverted_fp_branch, normal_fpe_branch,
8169         inverted_fp_branch): Adjust calls to output_cbranch.
8170         Set length attribute.
8171         (normal_int_branch_sp64, inverted_int_branch_sp64): Adjust calls to
8172         output_v9branch.  Set length attribute.
8173         * config/sparc/sparc.c (fcc0_reg_operand, noov_compare64_op): New
8174         predicates.
8175         (noov_compare_op): Handle CCX_NOOVmode the same way as CC_NOOVmode.
8176         (output_cbranch): Likewise.  Handle far branches.
8177         (output_v9branch): Handle far branches.
8178         * config/sparc/sparc-protos.h (output_cbranch, output_v9branch):
8179         Adjust prototypes.
8180         * config/sparc/sparc.h (PREDICATE_CODES): Add fcc0_reg_operand and
8181         noov_compare64_op predicates.
8183 2002-03-13  Jason Merrill  <jason@redhat.com>
8185         * gthr-posix.h (__gthread_active_p): Move __gthread_active_ptr
8186         into the function and constify it.
8187         * gthr-dce.h, gthr-solaris.h: Likewise.
8189 2002-03-13  David Edelsohn  <edelsohn@gnu.org>
8191         * config/rs6000/rs6000.h (PAD_VARARGS_DOWN): Define.
8192         * config/rs6000/rs6000.c (rs6000_va_arg): Use
8193         std_expand_builtin_va_arg if not ABI_V4.
8195 2002-03-13  Jason Merrill  <jason@redhat.com>
8197         * varasm.c (globalize_decl): New fn.
8198         (assemble_start_function): Use it.
8199         (asm_emit_uninitialized): Use it.
8200         (assemble_alias): Use it.
8201         (assemble_variable): Use it.
8203 2002-03-13  Hans-Peter Nilsson  <hp@axis.com>
8205         * config/cris/cris.c (cris_target_asm_function_prologue): Revert
8206         2002-03-12 internal visibility change.
8207         (cris_encode_section_info): Consider MODULE_LOCAL_P when encoding
8208         visibility into SYMBOL_REF_FLAG.
8210 2002-03-13  Ulrich Weigand  <uweigand@de.ibm.com>
8212         * expr.c (expand_expr, case NE_EXPR): Do not call copy_to_reg with
8213         VOIDmode operand.  Add compile-time optimization for constant results.
8215 2002-03-12  Jason Merrill  <jason@redhat.com>
8217         * c-typeck.c (convert_for_assignment): Don't allow conversions
8218         between pointers and references.  Only allow lvalues to convert to
8219         reference.
8221 2002-03-13  Hartmut Penner  <hpenner@de.ibm.com>
8223         * config/s390/s390.h (PROFILE_BEFORE_PROLOGUE): Emit profile code
8224         before prologue, to avoid scheduling problems.
8226 2002-03-13  Jakub Jelinek  <jakub@redhat.com>
8228         * config/sparc/sparc.h (INITIAL_FRAME_POINTER_OFFSET): Remove.
8229         (ELIMINABLE_REGS): Add sfp->sp.
8230         (INITIAL_ELIMINATION_OFFSET): Compute sfp->sp offset too.
8232 2002-03-13  Jakub Jelinek  <jakub@redhat.com>
8234         PR optimization/5892
8235         * config/ia64/ia64.c (rotate_one_bundle): Update current packet.
8237 2002-03-13  Jakub Jelinek  <jakub@redhat.com>
8239         * loop.c (basic_induction_var): Don't call convert_modes if mode
8240         classes are different.
8242 2002-03-12  Richard Henderson  <rth@redhat.com>
8244         PR optimization/5901
8245         * function.c (reposition_prologue_and_epilogue_notes): Position
8246         the markers after/before the last/first insn not deleted.
8248 2002-03-12  Richard Henderson  <rth@redhat.com>
8250         PR optimization/5878
8251         * config/arc/arc.h, config/cris/cris.h, config/i386/i386.h,
8252         config/m68k/m68k.h, config/s390/s390.h, config/sparc/sparc.h
8253         (PIC_OFFSET_TABLE_REGNUM): Conditionalize on flag_pic.
8255         * config/arm/arm.h config/i386/i386.h, config/m68k/m68k.h,
8256         config/sparc/sparc.h (CONDITIONAL_REGISTER_USAGE): Set
8257         PIC_OFFSET_TABLE_REGNUM based on INVALID_REGNUM not flag_pic.
8259         * config/arc/arc.h (CONDITIONAL_REGISTER_USAGE): New.
8260         * config/arm/arm.c (arm_pic_register): Init to INVALID_REGNUM.
8261         (arm_override_options): Set arm_pic_register if TARGET_APCS_STACK
8262         also.  Don't set it if not flag_pic.
8263         * config/i386/i386.c (ix86_save_reg): Trust PIC_OFFSET_TABLE_REGNUM
8264         to be INVALID_REGNUM when not used.
8266 2002-03-13  Aldy Hernandez  <aldyh@redhat.com>
8268         * expmed.c (store_bit_field): Reset alias set for memory.
8269         (extract_bit_field): Same.
8271 2002-03-12  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
8273         * c-common.c (c_tree_code_type, c_tree_code_length,
8274         c_tree_code_name, add_c_tree_codes): Delete.
8275         * c-common.h (add_c_tree_codes): Delete.
8276         * c-lang.c (tree_code_type, tree_code_length, tree_code_name):
8277         Define.
8278         * c-objc-common.c (c_objc_common_init): Don't call
8279         add_c_tree_codes, instead set lang_unsafe_for_reeval.
8280         * objc/objc-act.c (objc_tree_code_type, objc_tree_code_length,
8281         objc_tree_code_name, add_objc_tree_codes): Delete.
8282         (objc_init): Don't call add_objc_tree_codes.
8283         * objc/objc-lang.c (tree_code_type, tree_code_length,
8284         tree_code_name): Define.
8285         * toplev.c (lang_independent_init): Don't set
8286         tree_code_length[IDENTIFIER_NODE].
8287         * tree.c (tree_code_type, tree_code_length, tree_code_name):
8288         Delete definitions, moved to language front-ends.
8289         * tree.def (IDENTIFIER_NODE): Hardwire the length.
8290         * tree.h (tree_code_type, tree_code_length, tree_code_name):
8291         Const-ify.
8292         (tree_code_length): Change type to unsigned char.
8294 2002-03-12  Richard Henderson  <rth@redhat.com>
8296         * config/i386/i386.c (ix86_expand_prologue): Revert 2002-03-03
8297         internal visibility change.
8299 2002-03-12  Bob Wilson  <bob.wilson@acm.org>
8301         * config/xtensa/xtensa.c (xtensa_expand_block_move): Use
8302         validize_mem() instead of change_address to avoid clobbering
8303         memory attributes.
8305 2002-03-12  Neil Booth  <neil@daikokuya.demon.co.uk>
8307         * c-lex.h (position_after_whitespace): Remove.
8309 2002-03-12  Jakub Jelinek  <jakub@redhat.com>
8311         * c-lex.c (cb_ident, c_lex): Remove unnecessary cast.
8312         (lex_string): Use unsigned char pointers.
8314 2002-03-12  Ulrich Weigand  <uweigand@de.ibm.com>
8316         * reload1.c (reload): Ignore MEM REG_EQUIV notes if the equivalent
8317         is not a valid memory_operand.
8319 2002-03-12  Bob Wilson  <bob.wilson@acm.org>
8321         * config/xtensa/xtensa-config.h: Define XCHAL_HAVE_LOOPS.
8322         * config/xtensa/lib1funcs.asm: Fix copyright to include
8323         special case for libgcc files.
8324         (__udivsi3): Avoid loop instructions when XCHAL_HAVE_LOOPS is 0.
8325         (__divsi3): Likewise.
8326         (__umodsi3): Likewise.
8327         (__modsi3): Likewise.
8328         * config/xtensa/lib2funcs.S: Fix copyright to include
8329         special case for libgcc files.
8331 2002-03-12  Tom Rix  <trix@redhat.com>
8333         * collect2.c (resolve_lib_name): Move outside of
8334         OBJECT_FORMAT_COFF ifdef.
8335         (ignore_library): Same.
8337 2002-03-12  Bob Wilson  <bob.wilson@acm.org>
8339         * config/xtensa/t-xtensa (CRTSTUFF_T_CFLAGS_S): Define.
8341 2002-03-12  Bob Wilson  <bob.wilson@acm.org>
8343         * config/xtensa/xtensa.h (ASM_OUTPUT_POOL_PROLOGUE): Switch
8344         to function_section before writing out the constant pool.
8346 2002-03-12  David Edelsohn  <edelsohn@gnu.org>
8348         * config/rs6000/rs6000.h (PREDICATE_CODES): Add any_operand and
8349         zero_constant.
8350         * config/rs6000/rs6000.c (easy_fp_constant): Fix formatting.
8352 2002-03-12  Alan Modra  <amodra@bigpond.net.au>
8354         * config/rs6000/rs6000.md (addsi3): Optimize sign extension.
8355         (adddi3): Likewise.
8356         (movdf): Likewise.
8357         (movdi): Likewise.
8358         (cmpsi splitter): Likewise.
8359         (modsi3): Fail if <= 0.
8360         * config/rs6000/rs6000.c (reg_or_add_cint64_operand): Remove
8361         redundant test when HOST_BITS_PER_WIDE_INT != 32.
8362         (reg_or_sub_cint64_operand): Likewise.
8363         (num_insns_constant_wide): Optimize sign extension.
8364         (rs6000_legitimize_address): Likewise.
8366 2002-03-12  Andrew MacLeod  <amacleod@redhat.com>
8368         * config/sparc/linux.h (HANDLE_PRAGMA_PACK_PUSH_POP): Define.
8369         * config/sparc/linux64.h (HANDLE_PRAGMA_PACK_PUSH_POP): Define.
8371 2002-03-12  Andrew MacLeod  <amacleod@redhat.com>
8373         * config/sparc/sparc.h (RETURN_ADDR_RTX): Include v9 stack bias in
8374         address calculation.
8376 2002-03-12  Ulrich Weigand  <uweigand@de.ibm.com>
8378         * config/s390/s390.md (reload_insi, reload_indi): Change mode of
8379         scratch register to DImode / TImode.
8380         config/s390/s390.c (s390_expand_plus_operand): Make sure scratch
8381         register used does not overlap the target.
8383 2002-03-12  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
8385         * Makefile.in (debug.o): Depend on debug.h.
8386         * dbxout.c (dbx_debug_hooks, xcoff_debug_hooks): Const-ify.
8387         * debug.c (do_nothing_debug_hooks): Likewise.
8388         * debug.h (debug_hooks, do_nothing_debug_hooks, dbx_debug_hooks,
8389         sdb_debug_hooks, xcoff_debug_hooks, dwarf_debug_hooks,
8390         dwarf2_debug_hooks, vmsdbg_debug_hooks): Likewise.
8391         * dwarf2out.c (dwarf2_debug_hooks): Likewise.
8392         * dwarfout.c (dwarf_debug_hooks): Likewise.
8393         * integrate.c (output_inline_function): Likewise.
8394         * objc/objc-act.c (synth_module_prologue): Likewise.
8395         * sdbout.c (sdb_debug_hooks): Likewise.
8396         * toplev.c (debug_hooks): Likewise.
8397         * vmsdbgout.c (vmsdbg_debug_hooks): Likewise.
8399 2002-03-12  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
8401         * 1750a.h, a29k.h, arc.h, arm.h, c4x.h, clipper.h, cris.h, d30v.h,
8402         dsp16xx.h, fr30.h, h8300.h, i370.h, i386.h, i860.h, i960.h,
8403         m32r.h, m68hc11.h, m68k.h, m88k.h, mcore.h, mmix.h, mn10300.h,
8404         ns32k.h, pa.h, pdp11.h, pj.h, romp.h, s390.h, stormy16.h,
8405         v850.h, vax.h, we32k.h, xtensa.h (POINTER_SIZE): Delete.
8406         * defaults.h (POINTER_SIZE): Define.
8407         * doc/tm.texi (POINTER_SIZE): Document default.
8409 2002-03-12  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
8411         * mn10200.h (PTRDIFF_TYPE): Change it to a signed type.
8413 2002-03-11  Richard Henderson  <rth@redhat.com>
8415         * toplev.c (rest_of_compilation): Call purge_all_dead_edges
8416         if rebuild_label_notes_after_reload.
8418 2002-03-12  Hans-Peter Nilsson  <hp@axis.com>
8420         * config/cris/cris.c (cris_target_asm_function_prologue):  Do not
8421         emit pic register load if "internal" visibility.
8422         (cris_print_operand): Avoid traditional-warning for 0xffffffff.
8423         (cris_expand_builtin_va_arg): Do all computations on trees.
8425 2002-03-11  Richard Henderson  <rth@redhat.com>
8427         * rtlanal.c: Include recog.h.
8428         (keep_with_call_p): Fix thinko.
8429         * Makefile.in (rtlanal.o): Update dependencies.
8431 2002-03-11  Chris Meyer  <cmeyer@gatan.com>
8433         * genflags.c (gen_insn): Use IS_VSPACE.
8434         * genoutput.c (output_insn_data): Likewise.
8435         (process_template): Likewise.
8437 2002-03-11  Richard Henderson  <rth@redhat.com>
8439         * toplev.c (rest_of_compilation): Don't compile if we've had errors.
8441 2002-03-11  Neil Booth  <neil@daikokuya.demon.co.uk>
8443         * Makefile.in: Update.
8444         * doc/cppenv.texi, cppopts.texi: Split out of cpp.texi and gcc.texi.
8445         Update documentation.
8446         * doc/gcc.texi: Include cppopts.texi and cppenv.texi.
8447         * doc/cpp.texi: Include cppopts.texi and cppenv.texi.
8449 2002-03-11  Zack Weinberg  <zack@codesourcery.com>
8451         * Makefile.in: Give texi2pod its input file as a command line
8452         argument, not on stdin.
8454 2002-03-11  Dan Nicolaescu  <dann@ics.uci.edu>
8455             Daniel Berlin  <dan@dberlin.org>
8457         C++ alias analysis improvement.
8458         * alias.c (record_component_aliases): Record aliases for base
8459         classes too.
8461 2002-03-11  Ulrich Weigand  <uweigand@de.ibm.com>
8463         * config/s390/s390.h (REG_ALLOC_ORDER): Add missing register.
8465 2002-03-11  Douglas B Rupp  <rupp@gnat.com>
8467         * toplev.c (vms_fopen): Remove, not needed.
8469         * vmsdbgout.c (lookup_filename): Adjust creation date for GMT.
8471         * config/alpha/xm-vms.h (__UNIX_FWRITE): Define.
8473         * config/alpha/alpha.c (alpha_sa_size, VMS): Don't reserve space
8474         for FP, already done later.
8476         * toplev.c (debug_args): Add entry for VMS_DEBUG.
8477         * vmsdbgout.c (vmsdbgout_init): Fix typo in call to xmalloc.
8479 2002-03-11  Richard Sandiford  <rsandifo@redhat.com>
8481         * defaults.h (LARGEST_EXPONENT_IS_NORMAL, ROUND_TOWARDS_ZERO): New.
8482         (MODE_HAS_NANS, MODE_HAS_INFINITIES): Evaluate to false if
8483         LARGEST_EXPONENT_IS_NORMAL for the given mode.
8484         (MODE_HAS_SIGN_DEPENDENT_ROUNDING): False when ROUND_TOWARDS_ZERO.
8485         * real.c (eadd1): Make rounding dependent on !ROUND_TOWARDS_ZERO.
8486         (ediv, emul, eldexp, esqrt): Likewise.
8487         (etoe113, etoe64, etoe53, etoe24, etodec, etoibm, etoc4x): Likewise.
8488         (e24toe): Only check NaNs & infinities if !LARGEST_EXPONENT_IS_NORMAL.
8489         (saturate): New function.
8490         (toe53, toe24): Saturate on overflow if LARGEST_EXPONENT_IS_NORMAL.
8491         (make_nan): Use a saturation value instead of a NaN if
8492         LARGEST_EXPONENT_IS_NORMAL.  Warn when this happens.
8493         * fp-bit.c (pack_d): Saturate on NaN, infinite or overflowing
8494         inputs if LARGEST_EXPONENT_IS_NORMAL.  Represent subnormals as
8495         zero if NO_DENORMALS.  Only round to nearest if !ROUND_TOWARDS_ZERO.
8496         (unpack_d): No NaNs or infinities if LARGEST_EXPONENT_IS_NORMAL.
8497         (_fpmul_parts, _fpdiv_parts): Only round to nearest if
8498         !ROUND_TOWARDS_ZERO.
8499         * doc/tm.texi (LARGEST_EXPONENT_IS_NORMAL): Document.
8500         (ROUND_TOWARDS_ZERO): Document.
8502 2002-03-11  Andreas Jaeger  <aj@suse.de>
8504         * cfg.c (dump_flow_info): Remove unused variable.
8506 2002-03-11  Hans-Peter Nilsson  <hp@bitrange.com>
8508         * config/mmix/mmix.c (mmix_expand_builtin_va_arg): Do all
8509         computations on trees.
8511 2002-03-10  Richard Henderson  <rth@redhat.com>
8513         PR 5693:
8514         * reload.c (copy_replacements_1): New.
8515         (copy_replacements): Use it to recurse through the rtx.
8517 2002-03-10  Richard Henderson  <rth@redhat.com>
8519         * loop.c (strength_reduce): Compute number of iterations as
8520         unsigned HOST_WIDE_INT.
8522 2002-03-10  Richard Henderson  <rth@redhat.com>
8524         * sched-rgn.c (add_branch_dependences): Don't allow insns that throw
8525         to move away from the end of the block.
8527 2002-03-10  Neil Booth  <neil@daikokuya.demon.co.uk>
8529         PR preprocessor/5899
8530         * cppinit.c (init_dependency_output): Don't ignore -dM etc.
8532 2002-03-10  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
8534         * mbchar.c (JIS_state_table, JIS_action_table): Const-ify.
8536         * attribs.c (decl_attributes): Fix signed/unsigned warning.
8538 2002-03-10  Hans-Peter Nilsson  <hp@bitrange.com>
8540         * config/mmix/mmix.c: Improve comments.
8541         (mmix_target_asm_function_prologue): Drop variable
8542         empty_stack_frame.  Don't allocate unused slot above fp.
8543         (mmix_target_asm_function_epilogue): Mirror prologue changes.
8544         * config/mmix/mmix.h (MMIX_GNU_ABI_REG_ALLOC_ORDER): Don't have
8545         brace in first column.
8546         (enum reg_class): Ditto.
8547         (FIRST_PARM_OFFSET): Now 0.
8548         (USER_LABEL_PREFIX): Remove #if 0:d definition.
8550 2002-03-10  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
8552         * combine.c (make_extraction): Fix error in last change.
8554 2002-03-09  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
8556         * c4x.c (c4x_fp_reglist): Const-ify.
8557         * cris.c (cris_print_operand): Likewise.
8558         * i386.c (ix86_va_arg): Likewise.
8559         * ia64/unwind-ia64.c (unw_decode_table): Likewise.
8560         * m32r.c (m32r_hard_regno_mode_ok): Likewise.
8561         * m32r.h (m32r_hard_regno_mode_ok): Likewise.
8562         * mcore.c (regno_reg_class, mcore_unique_section): Likewise.
8563         * mcore.h (regno_reg_class): Likewise.
8564         * mips.c (gen_int_relational): Likewise.
8565         * ns32k.c (ns32k_reg_class_contents, regclass_map): Likewise.
8566         * ns32k.h (ns32k_reg_class_contents, regclass_map): Likewise.
8567         * pdp11.c (move_costs): Likewise.
8568         * pj.h (INITIALIZE_TRAMPOLINE): Likewise.
8569         * s390.c (s390_branch_condition_mnemonic, regclass_map):
8570         Likewise.
8571         * s390.h (regclass_map): Likewise.
8572         * sh.c (shift_amounts): Likewise.
8573         * sh.md (rotlsi3): Likewise.
8575 2002-03-09  Geoffrey Keating  <geoffk@redhat.com>
8577         * config/rs6000/rs6000.md (ne0+4): Add extra CLOBBER.
8578         (ne0+5): Use new clobber to generate proper shift pattern.
8579         Patch by Michael Matz <matz@kde.org>.
8581 2002-03-09  Andreas Schwab  <schwab@suse.de>
8583         * gcc.c (validate_all_switches): Also handle `%W{...}'.
8585 2002-03-09  Geoffrey Keating  <geoffk@redhat.com>
8587         * config/rs6000/sysv4.h (BIGGEST_ALIGNMENT): Don't define.
8589 2002-03-09  Jakub Jelinek  <jakub@redhat.com>
8591         PR middle-end/5877
8592         * expr.c (highest_pow2_factor): Check TREE_INT_CST_LOW
8593         even for non-representable constants.
8595 Sat Mar  9 07:20:01 2002  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
8597         * emit-rtl.c (copy_most_rtx): Accept EXPR_LIST for may_share.
8598         * function.c (fixup_var_refs): Add MAY_SHARE parameter.
8599         (fixup_var_refs_insns, fixup_var_refs_insns_with_has): Likewise.
8600         (fixup_var_refs_insn, fixup_var_refs_1): Likewise.
8601         (pop_function_context): Compute MAY_SHARE parameter for
8602         fixup_var_refs.
8603         (fixup_var_refs_1, case MEM): Pass MAY_SHARE to copy_most_rtx, not VAR.
8604         (gen_mem_addressof): Call fixup_var_refs with new parm.
8606         * combine.c (make_extraction): Don't make extension of CONST_INT.
8608 2002-03-09  Alexandre Oliva  <aoliva@redhat.com>
8610         * config/mips/mips.c (function_arg_pass_by_reference): Force to 0
8611         in o32 and o64 ABIs.
8612         * config/mips/abi64.h (MUST_PASS_IN_STACK): Define as in expr.h,
8613         but getting fixed-size structs passed in registers regardless of
8614         padding in o32 and o64 ABIs.
8616         * config/mips/mips.c (mips_va_arg): Apply big-endianness address
8617         offset before loading address of argument passed by transparent
8618         reference.
8620 2002-03-08  John David Anglin  <dave@hiauly1.hia.nrc.ca>
8622         * t-pa64 (LIB1ASMFUNCS, LIB1ASMSRC): Delete.
8624 2002-03-09  Alexandre Oliva  <aoliva@redhat.com>
8626         * config/mips/mips.c (mips_expand_prologue): Set regno of vararg
8627         marker such that registers after it are saved.
8629 2002-03-08  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
8631         * sparc.c (arith_4096_operand): Fix error in last change.
8633 2002-03-08  Alexandre Oliva  <aoliva@redhat.com>
8635         * config/mips/mips.h (SUBTARGET_CPP_SIZE_SPEC): Remove duplicate
8636         defaults for MEABI.
8638 2002-03-08  Aldy Hernandez  <aldyh@redhat.com>
8640         * config/rs6000/rs6000.c (rs6000_va_arg): Fix alignment for
8641         vectors.
8643 2002-03-08  Aldy Hernandez  <aldyh@redhat.com>
8645         * config/rs6000/sysv4.h (BIGGEST_ALIGNMENT): Change for altivec.
8647 Fri Mar  8 21:27:49 CET 2002  Jan Hubicka  <jh@suse.cz>
8649         * cfgrtl.c (purge_dead_edges): Set BB_DRITY flags if edge has been
8650         removed; fix return value.
8651         * combine.c (combine_instructions): Dirtify blocks where we failed to
8652         update liveness; purge dead edges; use update_life_info_in_dirty_blocks.
8653         * toplev.c (rest_of_compilation): Do not purge_dead_edges after combine.
8655 2002-03-08  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
8657         * gcse.c (insert_insn_end_bb): Fix typo in last change.
8659 Fri Mar  8 21:08:52 CET 2002  Jan Hubicka  <jh@suse.cz>
8661         * recog.c (peephole2_optimize): Re-distribute EH edges.
8663 2002-03-08  Neil Booth  <neil@daikokuya.demon.co.uk>
8665         * expr.c (expand_expr): Use unsave lang hook.
8666         * langhooks-def.h (LANG_HOOKS_UNSAVE): New.
8667         (LANG_HOOKS_INITIALIZER): Update.
8668         * langhooks.h (struct lang_hooks): New hook unsave.
8669         * tree.c (lang_unsave, lang_unsave_expr_now): Remove.
8670         (unsave_expr_1): Remove unused lang_unsave_expr_now.
8671         (unsave_expr_now_r): Rename lhd_unsave.  Update. Return input.
8672         (unsave_expr_now): Remove.
8673         * tree.h (unsave_expr_now, lang_unsave,
8674         lang_unsave_expr_now): Remove.
8675         (lhd_unsave): New.
8677 2002-03-08  Andreas Jaeger  <aj@suse.de>
8679         * flow.c (propagate_block_delete_insn): Remove unused variable.
8681 2002-03-08  Kazu Hirata  <kazu@hxi.com>
8683         * config/h8300/h8300.c (h8300_adjust_insn_length): Tighten
8684         insn length for memory load/store.
8686 2002-03-08  Craig Rodrigues  <rodrigc@gcc.gnu.org>
8688         * doc/install.texi (--with-libiconv-prefix): Document.
8690 2002-03-08  Michael Y. Brukman  <myb2@cornell.edu>
8692         * doc/sourcebuild.texi: Fix typo.
8694 2002-03-08  Jakub Jelinek  <jakub@redhat.com>
8696         PR c/3711
8697         * builtins.c (std_expand_builtin_va_arg): Do all computations on
8698         trees.
8700 Fri Mar  8 06:48:45 2002  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
8702         * rtl.c (copy_most_rtx): Move from here ...
8703         * emit-rtl.c (copy_most_rtx): ... to here.
8705 2002-03-08  Alexandre Oliva  <aoliva@redhat.com>
8707         * config/mips/mips.h (LONG_MAX_SPEC): Rewrite, along with
8708         SUBTARGET_CPP_SIZE_SPEC.
8709         * config/mips/abi64.h (LONG_MAX_SPEC): Delete.
8711         * config/mips/mips.h (SUBTARGET_CPP_SIZE_SPEC): Simplify.
8713 2002-03-07  Matt Hiller  <hiller@redhat.com>
8715         * gensupport.c (first_dir_md_include): Renamed from include;
8716         change all references.
8717         (last_dir_md_include): Renamed from last_include; change all
8718         references.
8719         (init_md_reader): Unconditionally initialize base_dir whether or
8720         not filename is a relative path.
8722 2002-03-07  Alexandre Oliva  <aoliva@redhat.com>
8724         * config/fp-bit.c (_unord_f2): Compile it in even if
8725         US_SOFTWARE_GOFAST is enabled.
8727         * config/gofast.h (GOFAST_RENAME_LIBCALLS): Set gt and ge as
8728         NULL_RTX.  Set all HFmode operations as NULL_RTX.
8729         * optabs.c (prepare_float_lib_cmp) <GT, GE, LT, LE>: If libfunc is
8730         NULL_RTX, try reversing the comparison and the operands.
8732 2002-03-06  Ulrich Weigand  <uweigand@de.ibm.com>
8734         * genextract.c (walk_rtx): Recurse into MATCH_PAR_DUP.
8735         genoutput.c (scan_operands): Recurse into MATCH_PAR_DUP
8736         and MATCH_OP_DUP.
8738 Thu Mar  7 16:54:10 CET 2002  Jan Hubicka  <jh@suse.cz>
8740         * reload1.c (reload_cse_delete_noop_set): Purge dead edges.
8742 Thu Mar  7 16:33:54 CET 2002  Jan Hubicka  <jh@suse.cz>
8744         * basic-block.h (fixup_abnormal_edges): Declare.
8745         * reload1.c (fixup_abnormal_edges): New function.
8746         * reg-stack.c (convert_regs): Use it.
8748         * gcse.c (insert_insn_end_bb): Handle trapping insns.
8750         * gcse.c (hash_scan_set): Refuse instructions with EH edges.
8752 2002-03-07  Richard Sandiford  <rsandifo@redhat.com>
8754         * defaults.h (MODE_HAS_NANS, MODE_HAS_INFINITIES): New.
8755         (MODE_HAS_SIGNED_ZEROS, MODE_HAS_SIGN_DEPENDENT_ROUNDING): New.
8756         * flags.h (HONOR_NANS, HONOR_INFINITIES, HONOR_SIGNED_ZEROS): New.
8757         (HONOR_SIGN_DEPENDENT_ROUNDING): New.
8758         * builtins.c (expand_builtin_mathfn): Use HONOR_NANS.
8759         * c-common.c (truthvalue_conversion): Reduce x - y != 0 to x != y
8760         unless x and y could be infinite.
8761         (expand_unordered_cmp): New, mostly split from expand_tree_builtin.
8762         Check that the common type of both arguments is a real, even for
8763         targets without unordered comparisons.  Allow an integer argument
8764         to be compared against a real.
8765         (expand_tree_builtin): Use expand_unordered_cmp.
8766         * combine.c (combine_simplify_rtx): Use the new HONOR_... macros.
8767         * cse.c (fold_rtx): Likewise.  Fix indentation.
8768         * fold-const.c (fold_real_zero_addition_p): New.
8769         (fold): Use it, and the new HONOR_... macros.
8770         * ifcvt.c (noce_try_minmax): Use the new HONOR_... macros.
8771         * jump.c (reversed_comparison_code_parts): After searching for
8772         the true comparison mode, use HONOR_NANS to decide whether it
8773         can be safely reversed.
8774         (reverse_condition_maybe_unordered): Remove IEEE check.
8775         * simplify-rtx.c (simplify_binary_operation): Use the new macros
8776         to decide which simplifications are valid.  Allow the following
8777         simplifications for IEEE: (-a + b) to (b - a), (a + -b) to (a - b),
8778         and (a - -b) to (a + b).
8779         (simplify_relational_operation): Use HONOR_NANS.
8780         * doc/tm.texi: Document the MODE_HAS_... macros.
8782 2002-03-07  Richard Earnshaw  <rearnsha@arm.com>
8784         * combine.c (simplify_comparison): If simplifying a logical shift
8785         right and compare with constant, force the comparison to unsigned.
8787 2002-03-07  Aldy Hernandez  <aldyh@redhat.com>
8789         * doc/invoke.texi: Add documentation for -mabi=no-altivec.
8791         * config/rs6000/rs6000.c (rs6000_parse_abi_options): Add
8792         -mabi=no-altivec
8793         (alt_reg_names): Remove % for vrsave.
8795 2002-03-06  Richard Henderson  <rth@redhat.com>
8797         PR optimization/5844
8798         * genemit.c (gen_exp): New argument used.  Invoke copy_rtx
8799         if used indicates we've already emitted one copy of an operand.
8800         (gen_insn, gen_expand, output_add_clobbers): Supply a null used.
8801         (gen_split): Supply a non-null used.
8803 2002-03-06  Ulrich Weigand  <uweigand@de.ibm.com>
8805         * reload1.c (reload): Unshare all rtl after reload is done.
8807         * simplify-rtx.c (simplify_plus_minus): Do not abort,
8808         but simply fail if the expression is too complex to simplify.
8809         (simplify_gen_binary): Handle simplify_plus_minus failures.
8811 Wed Mar  6 20:32:09 CET 2002  Jan Hubicka  <jh@suse.cz>
8813         * toplev.c (rest_of_compilation): Do jump threading before SSA path;
8814         consistently call delete_trivially_dead_insns after CSE and GCSE;
8815         fix DFI_life dumping; do jump threading after liveness; do crossjumping
8816         after liveness2; update comment in last crossjumping.
8817         * cfgcleanup.c (try_crossjump_to_edge): Dirtify block.
8819 Wed Mar  6 12:27:10 2002  Jeffrey A Law  (law@redhat.com)
8821         * ssa-ccp.c (ssa_fast_dce): Update the DF def-use chains
8822         after completing fast dead code elimination.
8824         * m68k.h (CONST_COSTS): Lower cost of 0.0 when used inside a
8825         COMPARE operator.
8827 2002-03-06  Phil Edwards  <pme@gcc.gnu.org>
8829         * version.c:  Fix misplaced leading blanks on first line.
8831 Wed Mar  6 19:08:03 CET 2002  Jan Hubicka  <jh@suse.cz>
8833         * cfgrtl.c (verify_flow_info): Accept RESX as EH edge source.
8835 Wed Mar  6 18:14:43 CET 2002  Jan Hubicka  <jh@suse.cz>
8837         * cfgcleanup.c (mentions_nonequal_regs): New function.
8838         (thread_jump): Use it.
8839         * toplev.c (rest_of_compilation): Run jump threading after
8840         liveness.
8842 2002-03-06  Jakub Jelinek  <jakub@redhat.com>
8844         * ssa-ccp.c (ssa_ccp_substitute_constants): Backout 2002-03-05
8845         patch.
8847 Wed Mar  6 11:28:19 CET 2002  Jan Hubicka  <jh@suse.cz>
8849         * predict.c (estimate_bb_frequencies): Do not reload the
8850         frequencies from notes.
8852 Wed Mar  6 10:59:39 CET 2002  Jan Hubicka  <jh@suse.cz>
8854         * cfgrtl.c (delete_insn_and_edges, delete_insn_chain_and_edges): New.
8855         * rtl.h (delete_insn_and_edges, delete_insn_chain_and_edges): Declare
8857         * basic-block.h (update_life_info, update_life_info_in_dirty_blocks,
8858         delete_noop_moves): Return indeger.
8859         * flow.c (ndead): New variable.
8860         (propagate_block_delete_insn): Use delete_insn_and_edges; remove
8861         BB argument; update callers.
8862         (propagate_block_delete_libcall): Use delete_insn_chain_and_edges.
8863         (life_analysis): Do not call purge_all_dead_edges.
8864         (update_life_info): Return number of deleted insns; print statistics.
8865         (update_life_info_in_dirty_blocks): likewise.
8866         (delete_noop_moves): Use delete_insn_and_edges; print statistics;
8867         return number of insns deleted.
8869         * cse.c: Include timevar.h
8870         (delete_trivially_dead_insns): Kill preserve_basic_blocks argument;
8871         iterate until stabilizes; print statistics; return number of killed
8872         insns.
8873         * Makefile.in: (cse.o): Add timevar.h dependency
8874         * rtl.h (delete_trivially_dead_insns): New.
8875         * timever.def: Add TV_DELETE_TRIVIALLY_DEAD timer.
8876         * toplev.c (rest_of_compilation): Update callers.
8878         * cfgcleanup.c (try_optimize_cfg): Kill blocks.
8879         (try_optimize_cfg): Do not update liveness.
8880         (cleanup-cfg): Loop until try_optimize_cfg and dead code
8881         removal stabilizes; use delete_trivially_dead_insns.
8883         * cfgrtl.c (verify_flow_info): Sanity check outgoing edges.
8885 2002-03-05  Zack Weinberg  <zack@codesourcery.com>
8887         * cppmain.c (setup_callbacks): Disable #pragma and #ident
8888         callbacks when processing assembly language.
8890 2002-03-05  John David Anglin  <dave@hiauly1.hia.nrc.ca>
8892         * pa.h (ASM_FILE_END): Define.
8893         * som.h (ASM_FILE_END): Delete.
8895         * pa.c (function_arg): Don't pass floats in general registers in
8896         indirect calls if TARGET_ELF32.
8898 2002-03-05  Richard Henderson  <rth@redhat.com>
8900         * config/i386/i386.md (floatsidf2): Conditionalize on hard-float.
8902 2002-03-05  Danny Smith  <dannysmith@users.sourceforge.net>
8904         * gthr-win32.h (__GTHREAD_MUTEX_INIT_DEFAULT): Define.
8906 2002-03-05  Jakub Jelinek  <jakub@redhat.com>
8908         * mklibgcc.in: Prepend a tab before .hidden, add $flags to gcc
8909         -r command line.  Don't hide any symbols if not building
8910         shared libgcc.
8912 Tue Mar  5 18:31:27 CET 2002  Jan Hubicka  <jh@suse.cz>
8914         * cfg.c (dump_flow_info): Warn about profile mismatches.
8915         * cfgrtl.c (verify_flow_info): Few aditional sanity checks.
8916         (purge_dead_edges): Remove REG_BR_PROB notes on simplejumps.
8918 2002-03-05  Jakub Jelinek  <jakub@redhat.com>
8920         * expmed.c (emit_store_flag): Don't test BITS_PER_WORD * 2
8921         wide volatile memory by parts.
8923 2002-03-05  Jakub Jelinek  <jakub@redhat.com>
8925         * ssa-ccp.c (ssa_ccp_substitute_constants): Don't crash if def
8926         is NULL.
8928 2002-03-05  Richard Henderson  <rth@redhat.com>
8930         * rs6000.h (TOTAL_ALTIVEC_REGS): Fix off-by-one error.
8932 2002-03-04  Geoffrey Keating  <geoffk@redhat.com>
8934         * toplev.c (documented_lang_options): Document more
8935         language-specific options.
8936         * doc/invoke.texi (Warning Options): Correct documentation for
8937         -Wno-multichar, -Wno-div-by-zero, and -Wsystem-headers.
8938         * c-decl.c (c_decode_option): Use a table to handle warning options.
8940 2002-03-05  Hans-Peter Nilsson  <hp@bitrange.com>
8942         * config/mmix/mmix.h (ENCODE_SECTION_INFO): Pass on new second
8943         parameter to mmix_encode_section_info.
8944         (LINK_SPEC): Don't defsym __.MMIX.start..text if linking
8945         relocatably.  Always produce ELF, not mmo if linking relocatably.
8946         * config/mmix/mmix.c (mmix_encode_section_info): If new parameter
8947         first is non-zero, don't add symbol prefix.
8948         * config/mmix/mmix-protos.h (mmix_encode_section_info): Tweak
8949         prototype accordingly.
8951 2002-03-04  Krister Walfridsson  <cato@df.lth.se>
8953         * config.gcc (*-*-netbsd*): Add t-slibgcc-elf-ver to tmake_file.
8955 2002-03-05  Joseph S. Myers  <jsm28@cam.ac.uk>
8957         * configure.in: Increase required makeinfo version to 4.1.
8958         * configure: Regenerate.
8960 2002-03-04  Geoffrey Keating  <geoffk@redhat.com>
8962         * .cvsignore: Remove *.info* and genrtl*; these files are generated
8963         elsewhere now.
8965 2002-03-04  Joseph S. Myers  <jsm28@cam.ac.uk>
8967         * doc/include/texinfo.tex: Update to version 2002-03-01.06.
8968         * doc/invoke.texi: Fix @math uses.
8970 Mon Mar  4 15:33:54 CET 2002  Jan Hubicka  <jh@suse.cz>
8972         * toplev.c (rest_of_compilation): Cleanup CFG after dead jumptables
8973         removal
8975 2002-03-03  Aldy Hernandez  <aldyh@redhat.com>
8977         * config.gcc (powerpc-*-eabialtivec*): Use t-ppcendian.
8978         (powerpc-*-eabisimaltivec*): Same.
8980         * config/rs6000/t-ppcendian: New.
8982 2002-03-04  Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
8984         * c4x-protos.h, c4x.h, c4x.c, c4x.md: Add new functions
8985         nonimmediate_src_operand and nonimmediate_lsrc_operand to
8986         disallow ZERO_EXTEND with CONST_INT or CONST_DOUBLE.
8988 2002-03-03  Richard Henderson  <rth@redhat.com>
8990         * toplev.c (rest_of_decl_compilation): Revert last two changes.
8992 2002-03-03  Zack Weinberg  <zack@codesourcery.com>
8994         * emit-rtl.c, final.c, fold-const.c, gengenrtl.c, optabs.c,
8995         print-tree.c, real.c, real.h, recog.c, rtl.c, simplify-rtx.c,
8996         tree.c, config/m68k/m68k.c:
8997         Remove all #ifndef REAL_ARITHMETIC blocks, make all #ifdef
8998         REAL_ARITHMETIC blocks unconditional.  Delete some further
8999         #ifdef blocks predicated on REAL_ARITHMETIC.
9000         * flags.h, toplev.c: Delete remaining references to
9001         flag_pretend_float.
9003         * doc/invoke.texi: Remove documentation of -fpretend-float.
9004         * doc/tm.texi: Describe the various REAL_* macros as provided by
9005         real.h, not by the target configuration files.
9007         * config/alpha/alpha.h, config/alpha/unicosmk.h, config/arm/arm.h,
9008         config/avr/avr.h, config/c4x/c4x.h, config/convex/convex.h,
9009         config/cris/cris.h, config/d30v/d30v.h, config/dsp16xx/dsp16xx.h,
9010         config/h8300/h8300.h, config/i370/i370.h, config/i386/i386.h,
9011         config/i386/osf1elf.h, config/i960/i960.h, config/ia64/ia64.h,
9012         config/m32r/m32r.h, config/m68hc11/m68hc11.h, config/m68k/dpx2.h,
9013         config/m68k/linux-aout.h, config/m68k/linux.h, config/m68k/m68k.h,
9014         config/m68k/sun3.h, config/m68k/vxm68k.h, config/mcore/mcore.h,
9015         config/mips/mips.h, config/mmix/mmix.h, config/mn10200/mn10200.h,
9016         config/mn10300/mn10300.h, config/pa/pa.h, config/pj/pj.h,
9017         config/rs6000/rs6000.h, config/s390/s390.h, config/sh/sh.h,
9018         config/sparc/freebsd.h, config/sparc/linux.h, config/sparc/linux64.h,
9019         config/sparc/sol2.h, config/sparc/sparc.h, config/sparc/vxsim.h,
9020         config/stormy16/stormy16.h, config/v850/v850.h, config/vax/vax.h,
9021         config/xtensa/xtensa.h:
9022         Do not define, undefine, or mention in comments any of
9023         REAL_ARITHMETIC, REAL_VALUE_ATOF, REAL_VALUE_HTOF,
9024         REAL_VALUE_ISNAN, REAL_VALUE_ISINF,
9025         REAL_VALUE_TO_TARGET_SINGLE, REAL_VALUE_TO_TARGET_DOUBLE,
9026         REAL_VALUE_TO_TARGET_LONG_DOUBLE, REAL_VALUE_TO_DECIMAL,
9027         REAL_VALUE_TYPE, REAL_VALUES_EQUAL, REAL_VALUES_LESS,
9028         REAL_VALUE_LDEXP, REAL_VALUE_FIX, REAL_VALUE_UNSIGNED_FIX,
9029         REAL_VALUE_RNDZINT, REAL_VALUE_UNSIGNED_RNDZINT,
9030         REAL_INFINITY, REAL_VALUE_NEGATE, REAL_VALUE_TRUNCATE,
9031         REAL_VALUE_TO_INT, or REAL_VALUE_FROM_INT.
9033 2002-03-03  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
9035         * 1750a.h, a29k.h, alpha.h, arc.h, arm.h, avr.h, c4x.h, clipper.h,
9036         convex.h, cris.h, d30v.h, dsp16xx.h, elxsi.h, fr30.h, h8300.h,
9037         i370.h, i386.h, i860.h, i960.h, ia64.h, m32r.h, m68hc11.h, m68k.h,
9038         m88k.h, mcore.h, mips.h, mmix.h, mn10200.h, mn10300.h, ns32k.h,
9039         pa.h, pdp11.h, pj.h, romp.h, rs6000.h, s390.h, sh.h, sparc.h,
9040         stormy16.h, v850.h, vax.h, we32k.h, xtensa.h (BITS_PER_WORD):
9041         Delete.
9042         * defaults.h (BITS_PER_WORD): Define.
9043         * doc/tm.texi (BITS_PER_WORD): Document default value.
9045         * 1750a.h, avr.h, convex.h, d30v.h, dsp16xx.h, fr30.h, ia64.h,
9046         m68hc11.h, m88k.h, mips.h, pdp11.h, rs6000.h, sparc.c,
9047         stormy16.h, xtensa.h, vmsdbgout.c (CHAR_TYPE_SIZE): Delete.
9049 2002-03-03  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
9051         * attribs.c (init_attributes, decl_attributes): Use ARRAY_SIZE in
9052         lieu of explicit sizeof/sizeof.
9053         * i386.c (override_options, ix86_init_mmx_sse_builtins,
9054         ix86_expand_builtin): Likewise.
9055         * mips.c (mips_add_gc_roots): Likewise.
9056         * mmix.c (mmix_output_condition): Likewise.
9057         * rs6000.c (rs6000_override_options, altivec_expand_builtin,
9058         altivec_init_builtins): Likewise.
9059         * sparc.c (mark_ultrasparc_pipeline_state): Likewise.
9060         * cppexp.c (Nsuff, parse_number): Likewise.
9061         * cppinit.c (builtin_array_end): Likewise.
9062         * gcc.c (n_default_compilers, process_command): Likewise.
9063         * genpreds.c (output_predicate_decls): Likewise.
9064         * ggc-page.c (NUM_EXTRA_ORDERS): Likewise.
9065         * lcm.c (N_ENTITIES): Likewise.
9066         * stor-layout.c (set_sizetype): Likewise.
9068 2002-03-03  Richard Henderson  <rth@redhat.com>
9070         * toplev.c (rest_of_decl_compilation): Do not invoke make_decl_rtl
9071         for types or labels.
9073 2002-03-03  Richard Henderson  <rth@redhat.com>
9075         * c-decl.c (start_decl): Initialized variables are not common.
9077 2002-03-02  Per Bothner  <per@bothner.com>
9079         * gcc.c (option_map):  Suport new --bootclasspath option.
9080         --CLASSPATH is now just an alias for --classpath.
9082 2002-03-02  Richard Henderson  <rth@redhat.com>
9084         * config/i386/i386.h (ix86_expand_prologue): Do not emit pic register
9085         load if "internal" visibility.
9086         * doc/extend.texi: Document visibility meanings.
9088 2002-03-02  Richard Henderson  <rth@redhat.com>
9090         * config/i386/i386.h (ENCODE_SECTION_INFO): MODULE_LOCAL_P applies
9091         to functions as well.
9093 2002-03-02  Richard Henderson  <rth@redhat.com>
9095         * attribs.c (handle_alias_attribute): Don't call assemble_alias.
9096         (handle_visibility_attribute): Don't call assemble_visibility.
9097         * toplev.c (rest_of_decl_compilation): Invoke make_decl_rtl even
9098         without asmspec.  Invoke assemble_alias when needed.
9099         * varasm.c (maybe_assemble_visibility): New.
9100         (assemble_start_function, assemble_variable, assemble_alias): Use it.
9102 2002-03-02  Richard Henderson  <rth@redhat.com>
9104         * varasm.c (make_decl_rtl): Remove call to REDO_SECTION_INFO_P;
9105         invoke ENCODE_SECTION_INFO with first call flag.
9107         * config/darwin-protos.h, config/darwin.c, config/darwin.h,
9108         config/a29k/a29k.h, config/alpha/alpha-protos.h, config/alpha/alpha.c,
9109         config/alpha/alpha.h, config/arc/arc.h, config/arm/arm-protos.h,
9110         config/arm/arm.h, config/arm/pe.c, config/arm/pe.h,
9111         config/avr/avr-protos.h, config/avr/avr.c, config/avr/avr.h,
9112         config/c4x/c4x-protos.h, config/c4x/c4x.c, config/c4x/c4x.h,
9113         config/cris/cris-protos.h, config/cris/cris.c, config/cris/cris.h,
9114         config/d30v/d30v.h, config/h8300/h8300.h, config/i370/i370.h,
9115         config/i386/cygwin.h, config/i386/i386-interix.h, config/i386/i386.h,
9116         config/i386/osfrose.h, config/i386/win32.h, config/i386/winnt.c,
9117         config/ia64/ia64-protos.h, config/ia64/ia64.c, config/ia64/ia64.h,
9118         config/m32r/m32r-protos.h, config/m32r/m32r.c, config/m32r/m32r.h,
9119         config/m68hc11/m68hc11-protos.h, config/m68hc11/m68hc11.c,
9120         config/m68hc11/m68hc11.h, config/m88k/m88k.h,
9121         config/mcore/mcore-protos.h, config/mcore/mcore.c,
9122         config/mcore/mcore.h, config/mips/mips.h, config/ns32k/ns32k.h,
9123         config/pa/pa.h, config/romp/romp.h, config/rs6000/linux64.h,
9124         config/rs6000/rs6000-protos.h, config/rs6000/rs6000.c,
9125         config/rs6000/sysv4.h, config/rs6000/xcoff.h, config/s390/s390.h,
9126         config/sh/sh.h, config/sparc/sparc.h,
9127         config/stormy16/stormy16-protos.h, config/stormy16/stormy16.c,
9128         config/stormy16/stormy16.h, config/v850/v850.h, config/vax/vms.h,
9129         config/xtensa/xtensa.h, doc/tm.texi: ENCODE_SECTION_INFO now takes
9130         FIRST argument.  As needed, examine it and do nothing.
9132         * config/darwin.h, config/alpha/alpha.h, config/arm/pe.h,
9133         config/i386/cygwin.h, config/ia64/ia64.h, config/m68hc11/m68hc11.h,
9134         config/mcore/mcore.h: Remove REDO_SECTION_INFO_P.
9136         * config/arm/t-pe (pe.o): Add dependencies.
9138 2002-03-02  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
9140         * a29k.h, alpha.h, arc.h, arm.h, avr.h, clipper.h, convex.h,
9141         cris.h, d30v.h, elxsi.h, fr30.h, h8300.h, i370.h, i386.h, i860.h,
9142         i960.h, ia64.h, m32r.h, m68hc11.h, m68k.h, m88k.h, mcore.h,
9143         mips.h, mmix.h, mn10200.h, mn10300.h, ns32k.h, pa.h, pdp11.h,
9144         pj.h, romp.h, rs6000.h, s390.h, sh.h, sparc.h, stormy16.h, v850.h,
9145         vax.h, we32k.h, xtensa.h: (BITS_PER_UNIT): Delete.
9146         * defaults.h (BITS_PER_UNIT): Define.
9147         * doc/tm.texi (BITS_PER_UNIT): Document default value.
9149 2002-03-02  Kazu Hirata  <kazu@hxi.com>
9151         * config/h8300/h8300-protos.h: Add a prototype for
9152         compute_a_shift_length.
9153         * config/h8300/h8300.c (h8300_asm_insn_count): New.
9154         (compute_a_shift_length): Likewise.
9155         (h8300_adjust_insn_length): Do not adjust insn length of shift
9156         insns.
9157         * config/h8300/h8300.md (anonymous shift patterns): Use
9158         compute_a_shift_length.
9160 Sat Mar  2 06:30:14 2002  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
9162         * config/sparc/sparc.c (sparc_initialize_trampoline): Use
9163         trunc_int_for_mode.
9165         * emit-rtl.c (offset_address): Call update_temp_slot_address.
9167 2002-03-01  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
9169         * Makefile.in (CRTSTUFF_CFLAGS): Add -fno-zero-initialized-in-bss.
9170         * doc/invoke.texi (-fno-zero-initialized-in-bss): Document.
9171         * flags.h (flag_zero_initialized_in_bss): Declare.
9172         * toplev.c (flag_zero_initialized_in_bss): New flag.
9173         (lang_independent_options): Add flag_zero_initialized_in_bss.
9174         * tree.c (initializer_zerop): New function.
9175         * tree.h (initializer_zerop): Declare.
9176         * varasm.c (assemble_variable): If we can emit bss, put zero
9177         initializers in the bss section.
9179 2002-03-02  Alan Modra  <amodra@bigpond.net.au>
9181         * config/rs6000/rs6000.h (ASM_WEAKEN_DECL): AIX assembler doesn't
9182         like more than one symbol per .weak directive.
9184 2002-03-01  Richard Henderson  <rth@redhat.com>
9186         * config/ia64/ia64.c (ia64_initial_elimination_offset): Do not
9187         adjust argument_pointer by pretend_args_size.
9188         (ia64_va_start): Adjust va_start address by -pretend_args_size.
9190 2002-03-01  Kazu Hirata  <kazu@hxi.com>
9192         * config/h8300/h8300.c (h8300_adjust_insn_length): Clean up.
9194 Fri Mar  1 20:59:14 CET 2002  Jan Hubicka  <jh@suse.cz>
9196         * toplev.c (rest_of_compilation): Delete dead jumptables before
9197         loop.
9198         * flow.c (delete_dead_jumptables): Make global.
9199         * rtl.h (delete_dead_jumptables): Declare.
9201 2002-03-01  David Edelsohn  <edelsohn@gnu.org>
9203         * config/rs6000/rs6000.h (HANDLE_PRAGMA_PACK): Delete.
9204         * config/rs6000/darwin.h (HANDLE_SYSV_PRAGMA): Define.
9205         * config/rs6000/xcoff.h (COLLECT_EXPORT_LIST): Delete.
9207 2002-03-01  Kazu Hirata  <kazu@hxi.com>
9209         * config/h8300/h8300-protos.h: Fix formatting.
9210         * config/h8300/h8300.c: Likewise.
9211         * config/h8300/h8300.h: Likewise.
9213 2002-03-01  Kazu Hirata  <kazu@hxi.com>
9215         * config/h8300/h8300.c (print_operand): Support 16-bit
9216         constant addresses.
9217         * config/h8300/h8300.h (TINY_CONSTANT_ADDRESS_P): New.
9219 2002-02-28  Richard Henderson  <rth@redhat.com>
9221         * expmed.c (store_bit_field): Prevent generation of CONCATs;
9222         pun complex values as integers; use gen_lowpart instead of
9223         gen_rtx_SUBREG.
9224         (extract_bit_field): Likewise.
9226 2002-03-01  Alan Modra  <amodra@bigpond.net.au>
9227             David Edelsohn  <edelsohn@gnu.org>
9229         * doc/tm.texi (ASM_WEAKEN_DECL): Document.
9230         (ASM_WEAKEN_LABEL): Mention ASM_WEAKEN_DECL.
9231         (SUPPORTS_WEAK): Likewise.
9232         * output.h (add_weak): Add tree param.
9233         * varasm.c (add_weak): Likewise.  Save decl.
9234         (struct weak_syms): Add decl field.
9235         (mark_weak_decls): New function.
9236         (init_varasm_once): ggc_add_root mark_weak_decls.
9237         (assemble_start_function): Use ASM_WEAKEN_DECL.
9238         (assemble_variable): Likewise.
9239         (assemble_alias): Likewise.
9240         (declare_weak): Pass decl to add_weak.
9241         (weak_finish): Use ASM_WEAKEN_DECL. Try to find decl.
9242         (remove_from_pending_weak_list): Declare and define for
9243         ASM_WEAKEN_DECL.
9244         * c-pragma.c (handle_pragma_weak): Adjust add_weak call.
9245         * c-pragma.h (HANDLE_PRAGMA_WEAK): Define if ASM_WEAKEN_DECL too.
9246         * defaults.h (SUPPORTS_WEAK): Likewise.
9247         * config/rs6000/linux64.h (ASM_DECLARE_FUNCTION_NAME): Don't emit
9248         .weak for code sym.  Do emit .size for descriptor sym.
9249         (ASM_DECLARE_FUNCTION_SIZE): Define.
9250         * config/rs6000/rs6000.h (ASM_WEAKEN_DECL): Define.
9251         (ASM_OUTPUT_DEF_FROM_DECLS): Don't emit .weak here.  Don't output
9252         .lglobl unless TARGET_XCOFF.  Formatting fixes.
9253         * config/rs6000/xcoff.h (ASM_DECLARE_FUNCTION_NAME): Don't emit
9254         .weak for code sym.
9255         (HANDLE_PRAGMA_WEAK): Remove.
9256         (ASM_WEAKEN_LABEL): Remove.
9257         * config/rs6000/aix.h (HANDLE_SYSV_PRAGMA): Define.
9259 2002-03-01  Jason Merrill  <jason@redhat.com>
9261         * tree.h (TARGET_EXPR_SLOT, TARGET_EXPR_INITIAL): New macros.
9262         (TARGET_EXPR_CLEANUP): New macro.
9264 2002-02-28  Steve Ellcey  <sje@cup.hp.com>
9266         * doc/rtl.texi (SUBREG_PROMOTED_UNSIGNED_P): Change definition
9267         to take ptr_extend into account as third type of extension.
9268         (SUBREG_PROMOTED_UNSIGNED_SET): Definition of new macro to set bit
9269         fields used by SUBREG_PROMOTED_UNSIGNED_P.
9270         * rtl.h (SUBREG_PROMOTED_UNSIGNED_SET): New macro.
9271         (SUBREG_PROMOTED_UNSIGNED_P): Change to return -1 as well as 0 or 1.
9272         * calls.c (precompute_arguments): Use new macro.
9273         (expand_call): Ditto.
9274         * combine.c (nonzero_bits): Ditto.
9275         (record_promoted_value): Ditto.
9276         * expr.c (store_expr): Ditto.
9277         (expand_expr): Ditto.
9278         * function.c (assign_parms): Ditto.
9280 2002-02-28  Alexandre Oliva  <aoliva@redhat.com>
9282         * gcc.c (init_gcc_specs): Get -static and -static-libgcc to
9283         override -shared and -shared-libgcc.
9285 2002-02-28  David O'Brien  <obrien@FreeBSD.org>
9287         * config.gcc (sparc64-*-freebsd): Explicitly accept a cpu specification
9288         of "ultrasparc".
9289         * config/sparc/freebsd.h: Do not use MASK_FASTER_STRUCTS.  It appears
9290         to be broken.
9292 2002-02-28  Richard Henderson  <rth@redhat.com>
9294         * config/ia64/ia64.c (ia64_adjust_cost): All non-MM consumers have
9295         4 cycle latency from MM producers.
9296         (ia64_internal_sched_reorder): Likewise with pipeline flush.
9298 2002-02-28  Jakub Jelinek  <jakub@redhat.com>
9300         * mklibgcc.in: Don't use GNU make extension.
9302 2002-02-28  Neil Booth  <neil@daikokuya.demon.co.uk>
9304         * c-parse.in (STATIC): New terminal.
9305         (scspec): New non-terminal.  Update productions accordingly.
9306         (program): Remove bogus ifc / end ifc.
9307         (array_declarator): Simplify production using STATIC.
9309 2002-02-28  Jim Meyering  <meyering@lucent.com>
9311         * cpplex.c (cpp_parse_escape): Restore mistakenly-removed code:
9312         \a still means TARGET_BELL.
9314 2002-02-28  Richard Henderson  <rth@redhat.com>
9316         * haifa-sched.c (sched_emit_insn): New.
9317         (schedule_block): Use last_scheduled_insn to track last insn.
9318         * sched-int.h (sched_emit_insn): Prototype.
9319         * config/ia64/ia64.c (last_issued): Remove.
9320         (ia64_variable_issue): Don't set it.
9321         (nop_cycles_until): Use sched_emit_insn.
9323 2002-02-28  Andrew MacLeod  <amacleod@redhat.com>
9325         * config/sparc/sparc.c (sparc64_initialize_trampoline): Generate sign
9326         extended constants.
9328 2002-02-28  Kazu Hirata  <kazu@hxi.com>
9330         * config/h8300/h8300.c: Fix formatting.
9331         * config/h8300/h8300.h: Likewise.
9333 2002-02-28  Marek Michalkiewicz  <marekm@amelek.gda.pl>
9335         * config/avr/avr.c (avr_hard_regno_mode_ok): Do not allow r29
9336         which may overwrite the high byte of the frame pointer.
9338 2002-02-28  Bo Thorsen  <bo@suse.de>
9340         * config/i386/linux64.h (LINK_SPEC): Fix 32/64 bit compilation.
9341         (STARTFILE_SPEC): Add 64 bit files.
9342         (ENDFILE_SPEC): Likewise.
9344 2002-02-28  Jason Merrill  <jason@redhat.com>
9346         * c-decl.c (finish_function): Only warn about missing return
9347         statement with -Wreturn-type.
9349 Don Feb 28 11:24:30 CET 2002  Jan Hubicka  <jh@suse.cz>
9351         * cfgrtl.c (purge_dead_edges): Fix handling of EH edges.
9353         * i386.h (CONDITIONAL_REGISTER_USAGE): Do not write to
9354         PIC_OFFSET_TABLE_REGNUM when it is INVALID_REGNUM
9356 Don Feb 28 11:07:36 CET 2002  Jan Hubicka  <jh@suse.cz>
9358         * basic-block.h (BB_REACHABLE): Renumber.
9359         (BB_DIRTY, BB_NEW): New flags.
9360         (clear_bb_flags): Declare.
9361         (update_life_info_in_dirty_blocks): Declare.
9362         * cfg.c (clear_bb_flags): New function.
9363         * cfgrtl.c (create_basic_block_structure): Set flags to BB_NEW.
9364         * emit-rtl.c (add_insn_after, add_insn_before, remove_insn,
9365         reorder_insns, emit_insn_after): Mark block as dirty.
9366         * flow.c (update_life_info): Fix clearing of PROP_LOG_LINKS.
9367         (update_life_info_in_dirty_blocks): New function.
9368         * recog.c (apply_change_group): Dirtify block.
9370         * cse.c (cse_insn): Reorder emitting of jump insn to keep
9371         cfg consistent.
9372         * gcse.c (delete_null_pointer_checks): Likewise.
9374         * toplev.c (dump_file_index): Move cse2 after bp,
9375         add DFI_null
9376         (dump_file_info): Similary.
9377         (rest_of_compilation): Avoid most of CFG rebuilds;
9378         do first if converision after null pointer checks, do cse2
9379         after branch prediction; avoid full liveness rebuild after
9380         initializing subregs.
9381         * invoke.texi (-d options): Document -du, renumber.
9383         * cfgcleanup.c (bb_flags): Remove BB_UPDATE_LIFE.
9384         (notice_new_block): Do not set BB_UPDATE_LIFE.
9385         (try_forward_edges, merge_blocks_move_predecessor_nojumps,
9386          merge_blocks_move_successor_nojumps, merge_blocks,
9387          try_crossjump_to_edge): Likewise.
9388         (try_optimize_cfg): Likewise; use update_life_info_in_dirty_blocks.
9389         * cfgrtl.c (merge_blocks_nomove): Copy b's flags to a.
9390         * ifcvt.c (SET_UPDATE_LIFE, UPDATE_LIFE): Kill.
9391         (merge_of_block): Do not use life_data_ok.
9392         (find_if_case_1): Do not use SET_UPDATE_LIFE.
9393         (if_convert): Use BB_DIRTY mechanizm to update life.
9394         * lcm.c (optimize_mode_switching): Update
9395         update_life_info_in_dirty_blocks
9397 2002-02-28  Neil Booth  <neil@daikokuya.demon.co.uk>
9399         * Makefile.in (integrate.o): Update.
9400         * c-decl.c (copy_lang_decl): Rename.
9401         * c-lang.c (LANG_HOOKS_DUP_LANG_SPECIFIC_DECL): Redefine.
9402         * integrate.c: Include langhooks.h.
9403         (copy_decl_for_inlining): Update to use langhook.
9404         * langhooks-def.h (lhd_do_nothing_t,
9405         LANG_HOOKS_DUP_LANG_SPECIFIC_DECL): New.
9406         (LANG_HOOKS_INITIALIZER): Update.
9407         * langhooks.c (lhd_do_nothing_t): New.
9408         * langhooks.h (struct lang_hooks): Add dup_lang_specific_decl.
9409         * tree.h (copy_lang_decl): Remove.
9410 objc:
9411         * objc-lang.c (LANG_HOOKS_DUP_LANG_SPECIFIC_DECL): Redefine.
9413 2002-02-27  Andrew MacLeod  <amacleod@redhat.com>
9415         * dwarf2out.c (stack_adjust_offset): Add support for POST_INC,
9416         POST_DEC, and POST_MODIFY.
9418 2002-02-27  Zack Weinberg  <zack@codesourcery.com>
9420         * c-typeck.c (digest_init): Remove unused parameter; all
9421         callers changed.
9423 2002-02-27  Geoffrey Keating  <geoffk@redhat.com>
9425         * expmed.c (expand_shift): Correctly test for low part of a
9426         subreg.
9428 2002-02-27  Ulrich Weigand  <uweigand@de.ibm.com>
9430         * config/s390/s390.c (s390_chunkify_pool): Do not confuse
9431         insn UIDs with insn addresses.
9433 2002-02-27  Zack Weinberg  <zack@codesourcery.com>
9435         * c-common.c, c-common.h, c-decl.c, c-lex.c, c-parse.in,
9436         c-tree.h, c-typeck.c, cppexp.c, cpplex.c, cpplib.c, cpplib.h,
9437         cppmacro.c, objc/lang-specs.h, objc/objc-act.c,
9438         builtin-types.def, builtins.def, dwarf2out.c, dwarfout.c,
9439         gcc.c, toplev.c: Delete code implementing -traditional mode.
9441         * doc/bugreport.texi, doc/cpp.texi, doc/extend.texi,
9442         doc/invoke.texi, doc/standards.texi, doc/trouble.texi:
9443         Document removal of -traditional mode for compilation, and
9444         remove documentation only relevant to that mode.
9446         * config/nextstep.h, config/ptx4.h, config/svr4.h,
9447         config/convex/convex.h, config/d30v/d30v.h,
9448         config/i386/dgux.h, config/i386/osf1elf.h,
9449         config/i386/osfelf.h, config/i386/osfrose.h,
9450         config/i386/sco5.h, config/i386/sol2.h, config/m68k/a-ux.h,
9451         config/m68k/hp310.h, config/m88k/dgux.h,
9452         config/m88k/dguxbcs.h, config/m88k/luna.h, config/m88k/m88k.c,
9453         config/m88k/m88k.h, config/m88k/openbsd.h,
9454         config/mips/abi64.h, config/mips/osfrose.h,
9455         config/mips/svr4-5.h, config/mips/svr4-t.h,
9456         config/sparc/sol2-sld-64.h, config/sparc/sol2.h,
9457         config/stormy16/stormy16.h: Remove all references to
9458         -traditional from target specs.  Delete all mention of the
9459         no-longer-necessary TRADITIONAL_RETURN_FLOAT macro.  Also
9460         delete a couple of commented-out definitions of
9461         DOLLARS_IN_IDENTIFIERS, with (incorrect) commentary referring
9462         to -traditional.
9464         * system.h: Poison TRADITIONAL_RETURN_FLOAT.
9465         * doc/tm.texi: Remove mention of TRADITIONAL_RETURN_FLOAT macro.
9467 2002-02-27  Zack Weinberg  <zack@codesourcery.com>
9469         * mklibgcc.in: Don't use \n in a line subject to
9470         interpretation by echo.
9472 2002-02-27  Graham Stott  <grahams@redhat.com>
9474         * config/rs6000/rs6000.h (ASM_OUTPUT_DEF_FROM_DELC):
9475         Constify NAME.
9477         * loop.c (prescan_loop): Handle PARALLEL.
9479         * unroll.c (loop_iterations): Return 0 if the add_val for
9480         a BIV is REG.
9482         * final.c (output_operand_lossage): Constify PFX_STR.
9484         * df.c (df_insn_refs_record): Use XEXP (x, 0) for USE.
9486 Wed Feb 27 10:45:19 CET 2002  Jan Hubicka  <jh@suse.cz>
9488         * linux64.h (ASM_OUTPUT_MAX_SKIP_ALIGN): Remove.
9489         * x86-64.h (ASM_OUTPUT_MAX_SKIP_ALIGN): Allways define.
9491 Wed Feb 27 10:39:20 CET 2002  Jan Hubicka  <jh@suse.cz>
9493         * linux64.h (ASM_OUTPUT_MAX_SKIP_ALIGN): Define.
9495 2002-02-27  Neil Booth  <neil@daikokuya.demon.co.uk>
9497         * cpplex.c (_cpp_lex_token): Handle directives in macro
9498         arguments.
9499         * cpplib.c (_cpp_handle_directive): Save and restore state
9500         if parsing macro args when entering a directive.
9501         * cppmacro.c (collect_args): No need to handle directives
9502         in macro arguments.
9503         (enter_macro_context, replace_args): Use the original macro
9504         definition in case it was redefined whilst collecting arguments.
9505 doc:
9506         * cpp.texi: Update.
9508 2002-02-26  David Edelsohn  <edelsohn@gnu.org>
9510         * config/rs6000/aix43.h (THREAD_MODEL_SPEC): Delete.
9511         * config/rs6000/aix51.h (THREAD_MODEL_SPEC): Delete.
9512         * config/rs6000/rs6000.c (rs6000_return_addr): Use efficient
9513         method on AIX.
9514         * config/rs6000/rs6000.md (movsi_low): Use gpc_reg_operand.
9515         (movsi_low_st, movdf_low, movdf_low_st, movsf_low, movsf_low_st): Same.
9516         (load_toc_v4_PIC_2): Same.
9518 2002-02-26  Alan Modra  <amodra@bigpond.net.au>
9520         * config/rs6000/rs6000.md (load_toc_aix_di): Handle TARGET_RELOCATABLE.
9522 2002-02-26  Richard Henderson  <rth@redhat.com>
9524         * config/alpha/alpha.md (ashldi_se): Re-enable.
9526 2002-02-26  Richard Henderson  <rth@redhat.com>
9528         * config/alpha/alpha.c (alpha_encode_section_info): Examine
9529         MODULE_LOCAL_P; improve commentary.
9531 2002-02-26  Zack Weinberg  <zack@codesourcery.com>
9533         * doc/cpp.texi: Clarify documentation of relationship between
9534         #line and #include.
9536 2002-02-26  Kazu Hirata  <kazu@hxi.com>
9538         * config/h8300/h8300-protos.h: Update the prototype for
9539         compute_logical_op_length.  Add the prototype for
9540         compute_logical_op_cc.
9541         * config/h8300/h8300.c (compute_logical_op_length): Figure out
9542         code from operands.
9543         (compute_logical_op_cc): New.
9544         * config/h8300/h8300.md: Combine all the logical op patterns
9545         in HImode and SImode.  Use compute_logical_op_cc.
9547 2002-02-26  Kelley Cook  <kelleycook@comcast.net>
9549         * config/i386/i386.c (print_operand): Don't append ATT-style
9550         length suffixs to x87 opcodes when in Intel mode.
9552 2002-02-26  Ryan T. Sammartino <ryants@shaw.ca>
9554         * emit-rtl.c (gen_const_vector_0): Remove TYPE argument.
9555         (init_emit_once): Update calls.
9556         * fixinc/gnu-regex.c (_GNU_SOURCE): Remove.
9557         (init_syntax_once): Prototype.
9559 2002-02-26  John David Anglin  <dave@hiauly1.hia.nrc.ca>
9561         * pa-linux.h (LIB_SPEC): Update definition.
9562         * pa32-linux.h (LINK_COMMAND_SPEC): Delete.
9564 2002-02-26  Richard Henderson  <rth@redhat.com>
9566         * config/ia64/ia64.c (nop_cycles_until): Do init_insn_group_barriers
9567         if we emitted a stop bit.
9569 2002-02-26  Jakub Jelinek  <jakub@redhat.com>
9571         * configure.in (libgcc_visibility): Substitute.
9572         * configure: Rebuilt.
9573         * mklibgcc.in: If libgcc_visibility = yes, make libgcc.a global
9574         defined symbols .hidden.
9576 2002-02-26  Jakub Jelinek  <jakub@redhat.com>
9578         * attribs.c (c_common_attribute_table): Add visibility.
9579         (handle_visibility_attribute): New function.
9580         * varasm.c (assemble_visibility): New function.
9581         * output.h (assemble_visibility): Add prototype.
9582         * tree.h (MODULE_LOCAL_P): Define.
9583         * crtstuff.c (__dso_handle): Use visibility attribute.
9584         * config/i386/i386.h (ENCODE_SECTION_INFO): Set SYMBOL_REF_FLAG
9585         for MODULE_LOCAL_P symbols too.
9586         * config/ia64/ia64.c (ia64_encode_section_info): Handle
9587         MODULE_LOCAL_P symbols the same way as local symbols.
9588         Add SDATA_NAME_FLAG_CHAR even if decl was explicitely forced
9589         into .sdata/.sbss by the user.
9590         * doc/extend.texi (Function Attributes): Document visibility
9591         attribute.
9593 2002-02-26  Jakub Jelinek  <jakub@redhat.com>
9595         PR debug/5770
9596         * dwarf2out.c (rtl_for_decl_location): Return CONST_STRING for
9597         STRING_CST initializer spanning the whole variable without
9598         embedded zeros.
9599         If expand_expr returned MEM, don't use it.
9601 2002-02-26  Alexandre Oliva  <aoliva@redhat.com>
9603         * dwarf2out.c (gen_inlined_subroutine_die): If block is abstract,
9604         generate a die for the lexical block.
9606 2002-02-26  Kazu Hirata  <kazu@hxi.com>
9608         * config/h8300/h8300-protos.h: Add a prototype for
9609         compute_logical_op_length.
9610         * config/h8300/h8300.c (compute_logical_op_length): New.
9611         * config/h8300/h8300.md (anonymous logical patterns): Use
9612         compute_logical_op_length for length.
9614 2002-02-26  Aldy Hernandez  <aldyh@redhat.com>
9616         * dwarf2out.c (modified_type_die): Do not call type_main_variant
9617         for vectors.
9618         (gen_type_die): Same.
9620         * attribs.c (handle_vector_size_attribute): Set debug information.
9622 2002-02-26  Daniel Egger  <degger@fhm.edu>
9624         * config/rs6000/rs6000.md: Swap define_insn attributes to
9625         fix incorrect generation of merge high instructions instead
9626         of merge low.
9628 2002-02-26  Aldy Hernandez  <aldyh@redhat.com>
9630         * c-typeck.c (really_start_incremental_init): Use
9631         bitsize_zero_node for vectors.
9633 2002-02-26  Aldy Hernandez  <aldyh@redhat.com>
9635         * config/rs6000/rs6000.md (get_vrsave_internal): Fix typo.
9636         ("*set_vrsave_internal"): Same.
9638 2002-02-25  Richard Henderson  <rth@redhat.com>
9640         * expr.c (expand_expr) [MULT_EXPR]: Do not apply distributive law
9641         in EXPAND_SUM case.  Use host_integerp/tree_low_cst.
9643 2002-02-25  Jakub Jelinek  <jakub@redhat.com>
9645         PR target/5755
9646         * config/i386/i386.c (ix86_return_pops_args): Only pop
9647         fake structure return argument if it was passed on the stack.
9649 2002-02-25  Jason Merrill  <jason@redhat.com>
9651         * attribs.c (decl_attributes): Also re-layout PARM_DECL and
9652         RESULT_DECL.
9654 2002-02-25  Alexandre Oliva  <aoliva@redhat.com>
9656         * gcc.c (init_gcc_specs): Get -shared-libgcc along with -shared to
9657         link with shared_name only.
9658         * doc/invoke.texi (Link Options): Document new behavior.
9660 2002-02-25  Aldy Hernandez  <aldyh@redhat.com>
9662         * c-typeck.c (push_init_level): Handle vectors.
9664 2002-02-25  Alexandre Oliva  <aoliva@redhat.com>
9666         * config/sparc/sparc.c (const64_high_operand): Zero-extend
9667         operands of SPARC_SETHI_P.
9668         (input_operand): Likewise.
9669         (sparc_emit_set_const32): Likewise.
9670         * config/sparc/sparc.h (SPARC_SETHI_P): Disregard TARGET_ARCH64.
9671         (SPARC_SETHI32_P): Zero-extend operand from 32 bits.
9672         (CONST_OK_FOR_LETTER_P): Use SETHI32 for `K'.  Add `N' as SETHI.
9673         * config/sparc/sparc.md (movdi_insn_sp64_novis): Use `N'.
9674         (movdi_insn_sp64_vis): Likewise.
9675         (movdi split, movdf split): Use SETHI32.
9676         * doc/md.texi: Document SPARC constraints L, M and N.
9678 2002-02-25  Aldy Hernandez  <aldyh@redhat.com>
9680         * config/rs6000/rs6000.md ("get_vrsave_internal"): New.
9681         ("*set_vrsave_internal"): use mfspr for Darwin.
9683         * config/rs6000/rs6000.c (rs6000_emit_prologue): Call
9684         gen_get_vrsave_internal.
9686 Sun Feb 24 16:38:56 2002  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
9688         * optabs.c (widen_operand): Properly handle CONST_INT for NO_EXTEND.
9690 2002-02-24  Neil Booth  <neil@daikokuya.demon.co.uk>
9692         * cpplex.c (cpp_interpret_charconst): Get signedness or
9693         otherwise of wide character constants correct.
9694         * cppexp.c (lex): Get signedness of wide charconsts correct.
9696 Sun Feb 24 07:41:31 2002  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
9698         * optabs.c (widen_operand): Only call convert_modes for
9699         promoted SUBREG if signedness matches.
9700         * config/alpha/alpha.md (*addsi_se2, *subsi_se2): New patterns.
9702 2002-02-23  Neil Booth  <neil@daikokuya.demon.co.uk>
9704         * cpplib.c (glue_header_name): Use local buffer to build up
9705         header name.
9707 2002-02-23  Neil Booth  <neil@daikokuya.demon.co.uk>
9709         * doc/cpp.texi, doc/invoke.texi: Update documentation for -MM.
9711 2002-02-23  Kazu Hirata  <kazu@hxi.com>
9713         * config/h8300/h8300.c (output_simode_bld): Handle H8/300 and
9714         H8/300[HS] separately.
9715         * config/h8300/h8300.md: Remove the early clobber constraint
9716         from bit field patterns.
9718 2002-02-23  Kazu Hirata  <kazu@hxi.com>
9720         * config/h8300/h8300.md (mulqihi3): Tighten predicates to
9721         register_operand.
9722         (mulhisi3): Likewise.
9723         (umulqisi3): Likewise.
9724         (umulhisi3): Likewise.
9726 2002-02-23  Neil Booth  <neil@daikokuya.demon.co.uk>
9728         * cppinit.c (output_deps): Correct test for stdout output.
9729         (init_dependency_output): Cure warning.
9731 Sat Feb 23 08:42:47 2002  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
9733         * expr.c (store_expr): When converting expression to promoted
9734         equivalent type, allow using SUBREG_REG of TARGET as the target
9735         of the expansion of EXP.
9736         * loop.c (basic_induction_var, case SUBREG): Always look inside.
9737         * config/alpha/alpha.c (rtx_equiv_function_matters): Delete decl.
9738         (alpha_emit_set_const): Handle SImode when can't make new pseudos.
9739         (alpha_emit_set_const_1, alpha_sa_mask): Use no_new_pseudos.
9740         * config/alpha/alpha.md (addsi3, subsi3): Don't use if optimizing.
9742 2002-02-23  Joseph S. Myers  <jsm28@cam.ac.uk>
9744         * doc/contribute.texi, doc/extend.texi, doc/install.texi,
9745         doc/invoke.texi, doc/md.texi, doc/passes.texi, doc/rtl.texi,
9746         doc/standards.texi, doc/tm.texi: Remove trailing whitespace.
9748 2002-02-23  Jakub Jelinek  <jakub@redhat.com>
9750         PR optimization/5747
9751         * loop.c (scan_loop): Update reg info if move_movables created new
9752         pseudos.
9754 2002-02-23  David Edelsohn  <edelsohn@gnu.org>
9756         * gcc.c (init_gcc_spec): Revert last change.
9758 2002-02-23  David Edelsohn  <edelsohn@gnu.org>
9760         * config/rs6000/rs6000.md (load_toc_aix_{si,di}): Use
9761         gpc_reg_operand constraint.
9763 2002-02-23  Alan Modra  <amodra@bigpond.net.au>
9765         * config/rs6000/rs6000.c (num_insns_constant): Fix formatting.
9766         Simplify comparison of `low'.
9767         (add_operand): Fix formatting.
9768         (non_add_cint_operand): Use CONST_OK_FOR_LETTER_P.
9769         (mask_operand): Disallow mask to wrap in 64-bit mode.
9770         (rs6000_stack_info): Remove redundant test setting push_p.
9771         (output_toc): Fix formatting.
9772         * config/rs6000/rs6000.md (boolsi3, boolcsi3 splitters): Use
9773         cc_reg_not_cr0_operand constraint.
9774         (booldi3, boolcdi3 splitters): Same.
9776 2002-02-23  Aldy Hernandez  <aldyh@redhat.com>
9778         * config/rs6000/altivec.h: Add extra level of parentheses on casts.
9780 2002-02-22  David Edelsohn  <edelsohn@gnu.org>
9782         * gcc.c (init_gcc_spec): Do not link with static libgcc.a if
9783         gcc invoked with -shared-libgcc.
9785 2002-02-22  Jakub Jelinek  <jakub@redhat.com>
9787         PR c++/5748
9788         * stmt.c (expand_anon_union_decl): Set TREE_USED on the anon union
9789         decl if any of elements was TREE_USED.
9791 2002-02-22  Alexandre Oliva  <aoliva@redhat.com>
9793         * config/sparc/sol2.h: Don't include sys/mman.h.
9794         * config/sparc/sparc.c (arith_operand): Use SMALL_INT32.
9795         (arith_4096_operand): Don't throw high bits away.
9796         (const64_operand): Take sign extension of CONST_INTs into account.
9797         (const64_high_operand, sparc_emit_set_const32): Likewise.
9798         (GEN_HIGHINT64): Likewise.
9799         (sparc_emit_set_const64_quick1): Likewise.
9800         (const64_is_2insns): Likewise.
9801         (print_operand): Use trunc_int_for_mode for sign extension.
9802         * config/sparc/sparc.h (SMALL_INT32): Likewise.
9803         * config/sparc/sparc.md (movqi): Sign-extend CONST_DOUBLE
9804         chars.  Assume CONST_INT is already properly sign-extended.
9805         (movdi split): Sign-extend each SImode part.
9806         (andsi3 split): Don't mask high bits off, so that result
9807         remains properly sign-extend.
9808         (iorsi3 split): Likewise.
9809         (xorsi3 split): Likewise.
9811 2002-02-22  Richard Sandiford  <rsandifo@redhat.com>
9813         * fold-const.c (fold): Fix typo in comments.
9815 2002-02-21  Diego Novillo  <dnovillo@redhat.com>
9817         * Makefile.in (langhooks.o): Update dependencies.
9819 2002-02-21  Diego Novillo  <dnovillo@redhat.com>
9821         * langhooks.c: Include flags.h.
9823 2002-02-21  Aldy Hernandez  <aldyh@redhat.com>
9825         * testsuite/gcc.dg/attr-alwaysinline.c: New.
9827         * c-common.c (c_common_post_options): Set inline trees by
9828         default.
9830         * doc/extend.texi (Function Attributes): Document always_inline
9831         attribute.
9832         Update documentation about inlining when not optimizing.
9834         * cp/decl.c (duplicate_decls): Merge always_inline attribute.
9836         * cp/tree.c (cp_cannot_inline_tree_fn): Do not inline at -O0
9837         unless DECL_ALWAYS_INLINE.
9839         * c-objc-common.c (c_cannot_inline_tree_fn): Do not inline at -O0
9840         unless DECL_ALWAYS_INLINE.
9841         (c_disregard_inline_limits): Disregard if always_inline set.
9843         * langhooks.c (lhd_tree_inlining_disregard_inline_limits):
9844         Disregard if always_inline set.
9845         (lhd_tree_inlining_cannot_inline_tree_fn): Do not inline at -O0
9846         unless DECL_ALWAYS_INLINE.
9848         * attribs.c (handle_always_inline_attribute): New.
9849         (c_common_attribute_table): Add always_inline.
9851         * config/rs6000/altivec.h: Add prototypes for builtins
9852         requiring the always_inline attribute.
9854 2002-02-21  Eric Christopher  <echristo@redhat.com>
9856         * expmed.c (store_bit_field): Try to simplify the subreg
9857         before generating a new one when when the mode size of
9858         value is less than maxmode.
9860 2002-02-21  Richard Henderson  <rth@redhat.com>
9862         * emit-rtl.c (offset_address): Use simplify_gen_binary rather
9863         than gen_rtx_PLUS to form the sum.
9864         * explow.c (force_reg): Rearrange to not allocate new pseudo
9865         when force_operand returns a register.
9866         * expr.c (expand_assignment): Allow offset_rtx expansion to
9867         return a sum.  Do not force addresses into registers.
9868         (expand_expr): Likewise.
9869         * simplify-rtx.c (simplify_gen_binary): Use simplify_plus_minus
9870         to canonicalize arithmetic that didn't simpify.
9871         (simplify_plus_minus): New argument force; update
9872         all callers.  Don't split CONST unless we can do something with it,
9873         and wouldn't lose the constness of the operands.
9875         * config/i386/i386.c (legitimize_pic_address): Recognize UNSPECs
9876         that we generated earlier.
9878 2002-02-21  Tom Tromey  <tromey@redhat.com>
9880         * dwarf2out.c (DWARF_LINE_MIN_INSTR_LENGTH): Removed.
9881         (output_line_info): Use constant `1', with a long explanatory
9882         comment.
9883         * system.h (DWARF_LINE_MIN_INSTR_LENGTH): Poison.
9885 Thu Feb 21 22:43:44 2002  J"orn Rennecke <joern.rennecke@superh.com>
9887         * jump.c (redirect_jump): If old label has no UID, don't try to
9888         delete it.
9890 Thu Feb 21 21:17:21 2002  J"orn Rennecke <joern.rennecke@superh.com>
9892         * sh.md (insv): Provide byte offsets for gen_rtx_SUBREG.
9893         If input is constant, do shifts at compile time.
9895 2002-02-21  Joseph S. Myers  <jsm28@cam.ac.uk>
9897         * doc/extend.texi: Fix some more overfull hboxes.
9899 2002-02-21  Jakub Jelinek  <jakub@redhat.com>
9901         PR optimization/4994
9902         * config/i386/i386.md (movsi_1, movsf_1): Support MMX -> MMX
9903         register moves.
9905 2002-02-21  Jakub Jelinek  <jakub@redhat.com>
9907         PR c++/4574
9908         * expr.h (expand_and): Add mode argument.
9909         * expmed.c (expand_and): Add mode argument.
9910         (expand_mult_highpart_adjust, emit_store_flag): Adjust callers.
9911         * expr.c (store_field, expand_expr, do_store_flag): Likewise.
9912         * except.c (expand_builtin_extract_return_addr): Likewise.
9913         * config/alpha/alpha.c (alpha_initialize_trampoline): Likewise.
9914         * config/sparc/sparc.c (sparc_initialize_trampoline): Likewise.
9915         * config/c4x/c4x.h (INITIALIZE_TRAMPOLINE): Likewise.
9916         Use GEN_INT (x) instead of gen_rtx (CONST_INT, VOIDmode, x).
9917         * config/c4x/c4x.md: Use GEN_INT (x) instead of
9918         gen_rtx (CONST_INT, VOIDmode, x).
9920 2002-02-21  Jakub Jelinek  <jakub@redhat.com>
9922         PR c/4697:
9923         * stmt.c (warn_if_unused_value): Move side effects test once more.
9925 2002-02-20  Torbjorn Granlund  <tege@swox.com>
9927         * config/avr/avr.md: Add more patterns for mized-mode add and subtract
9928         (addsi3_zero_extend, subhi3_zero_extend1, subsi3_zero_extend).
9930 Thu Feb 21 16:20:46 2002  Alexandre Oliva  <aoliva@redhat.com>
9932         * rtlanal.c (replace_rtx): Don't make a CONST_INT the operand of
9933         SUBREG or ZERO_EXTEND.
9935 Thu Feb 21 15:35:46 2002  J"orn Rennecke <joern.rennecke@superh.com>
9937         * sh.h (current_function_anonymous_args): Remove.
9938         (SETUP_INCOMING_VARARGS): Don't set it - just check that one
9939         of current_function_varargs and current_function_stdarg is set.
9940         * sh.c (sh_expand_prologue): Check current_function_varargs /
9941         current_function_stdarg / TARGET_SH5 instead of
9942         current_function_anonymous_args.
9944         * sh64.h (TARGET_VERSION): Define.
9946 2002-02-20  David Edelsohn  <edelsohn@gnu.org>
9948         * config/rs6000/rs6000.h (EPILOGUE_USES): Conditionalize
9949         VRSAVE_REGNO on TARGET_ALTIVEC.
9951 2002-02-20  Alan Modra  <amodra@bigpond.net.au>
9953         * config/rs6000/rs6000.c (includes_lshift_p): Mask irrelevant
9954         bits of SImode const_int.
9955         (includes_rshift_p): Likewise.
9956         (print_operand): Call mask_operand and mask64_operand with correct
9957         mode.
9958         (rs6000_output_function_epilogue): Pad traceback table to word.
9959         * config/rs6000/rs6000.h (MASK_64BIT): Correct comment.
9960         (EXTRA_CONSTRAINT, 'S' and 'T'): Call mask_operand and
9961         mask64_operand with correct mode.
9962         (FUNCTION_ARG_REGNO_P): Correct parentheses.
9964 2002-02-20  Jakub Jelinek  <jakub@redhat.com>
9966         PR debug/4461
9967         * varasm.c (get_pool_constant_mark): New.
9968         * rtl.h (get_pool_constant_mark): Add prototype.
9969         * dwarf2out.c (mem_loc_descriptor): A pool constant cannot
9970         be represented if it has not been output.
9972 2002-02-20  Alexandre Oliva  <aoliva@redhat.com>
9974         * combine.c (do_SUBST): Sanity check substitutions of
9975         CONST_INTs, and reject them in SUBREGs and ZERO_EXTENDs.
9976         (subst): Simplify SUBREG or ZERO_EXTEND instead of SUBSTing a
9977         CONST_INT into its operand.
9978         (known_cond): Likewise, for ZERO_EXTEND.
9979         * simplify-rtx.c (simplify_unary_operation): Fix condition to
9980         allow for simplification of wide modes.  Reject CONST_INTs in
9981         ZERO_EXTEND when their actual mode is not given.
9983 2002-02-20  Alexandre Oliva  <aoliva@redhat.com>
9985         * c-decl.c (pushdecl): If no global declaration is found for an
9986         extern declaration in block scope, try a limbo one.
9988 2002-02-20  Jakub Jelinek  <jakub@redhat.com>
9990         PR c++/4401
9991         * c-common.c (pointer_int_sum): Moved from...
9992         * c-typeck.c (pointer_int_sum): ...here.
9993         * c-common.h (pointer_int_sum): Add prototype.
9995 2002-02-20  Jakub Jelinek  <jakub@redhat.com>
9997         PR c++/5713
9998         * c-decl.c (duplicate_decls): Return 0 if issued error about
9999         redeclaration.
10001 2002-02-20  Roger Sayle  <roger@eyesopen.com>
10002             Jakub Jelinek  <jakub@redhat.com>
10004         PR c/4389
10005         * tree.c (host_integerp): Ensure that the constant integer is
10006         representable in a HOST_WIDE_INT or an unsigned HOST_WIDE_INT
10007         when pos is zero or non-zero respectively.  Clarify comment.
10008         * c-format.c (check_format_info_recurse): Fix host_integerp
10009         usage; the pos argument should be zero when assigning to a
10010         signed HOST_WIDE_INT.
10012 2002-02-20  Richard Henderson  <rth@redhat.com>
10014         * config/i386/i386.c (ix86_expand_vector_move): Use the mode
10015         of the operand, rather than assuming TImode.
10016         (ix86_expand_binop_builtin): Cope with commutative patterns
10017         using nonimmediate_operand for both operands.
10018         (ix86_expand_timode_binop_builtin): Likewise.
10019         (ix86_expand_store_builtin): Validate operand 1.
10020         (ix86_expand_unop1_builtin): Likewise.
10022 2002-02-20  Philip Blundell  <philb@gnu.org>
10024         PR 5705
10025         * config/arm/arm.h (HARD_REGNO_RENAME_OK): New macro.
10027 2002-02-20  Richard Henderson  <rth@redhat.com>
10029         PR c/5615
10030         * expr.h (ARGS_SIZE_TREE): Convert size.var to ssizetype.
10032 2002-02-20  Tom Tromey  <tromey@redhat.com>
10034         * config/fr30/fr30.h (DWARF_LINE_MIN_INSTR_LENGTH): Removed.
10035         * config/sh/sh.h (DWARF_LINE_MIN_INSTR_LENGTH): Removed.
10036         * config/pj/pj.h (DWARF_LINE_MIN_INSTR_LENGTH): Removed.
10037         * config/cris/cris.h (DWARF_LINE_MIN_INSTR_LENGTH): Removed.
10038         * dwarf2out.c (DWARF_LINE_MIN_INSTR_LENGTH): Define
10039         unconditionally.
10041 Wed Feb 20 00:03:25 EST 2002 Alan Matsuoka <alanm@redhat.com>
10043         * config/rs6000/rs6000.h (LEGITIMATE_OFFSET_ADDRESS_P): Look
10044           for (const_int 0) in X not just INTVAL.
10046 2002-02-20  Joseph S. Myers  <jsm28@cam.ac.uk>
10048         * doc/extend.texi: Avoid or reduce overfull hboxes.
10050 2002-02-20  Diego Novillo  <dnovillo@redhat.com>
10052         * expmed.c (store_bit_field): Do not store bit fields using SUBREG
10053         operations if the field does not start at a mode boundary.
10055 2001-02-20      Joel Sherrill <joel@OARcorp.com>
10057         * config/a29k/rtems.h, config/arm/rtems-elf.h, config/h8300/rtems.h,
10058         config/mips/rtems.h: Use new style of -Asystem= rather than -Asystem().
10059         Also done for -Acpu and -Amachine.
10061 2002-02-20  Neil Booth  <neil@daikokuya.demon.co.uk>
10063         * cppinit.c (init_dependency_output): Take deps output file
10064         from -o if none given with -MF.  Suppress normal output.
10065         * gcc.c (cpp_unique_options): Have -M and -MM imply -E.
10066         * doc/cpp.texi, doc/invoke.texi: Update.
10068 2002-02-19  Zack Weinberg  <zack@codesourcery.com>
10070         * toplev.c (output_quoted_string): Write unprintable
10071         characters with octal escapes.
10073 2002-02-19  David Edelsohn  <edelsohn@gnu.org>
10075         * config/rs6000/rs6000.h (CONDITIONAL_REGISTER_USAGE): Set
10076         really_call_used[VRSAVE_REGNO] if not Altivec.
10078 2002-02-19  Alan Modra  <amodra@bigpond.net.au>
10080         * config/rs6000/rs6000.c (u_short_cint_operand): Mask op with
10081         MODE_MASK.
10082         (constant_pool_expr_1): Fix formatting.
10083         (rs6000_legitimize_reload_address): Likewise.
10085 Tue Feb 19 20:13:57 2002  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
10087         * config/sparc/sparc.md (nonlocal_goto): Use hard_frame_pointer_rtx
10088         now that we have one.
10090 2002-02-19  Zack Weinberg  <zack@codesourcery.com>
10092         * tree.h (struct tree_common): Remove aux.  Add unused_0 at
10093         end of first block of bitfields (which was only seven bits);
10094         rename dummy to unused_1; remove comment which is no longer true.
10096 2002-02-19  Gaute B Strokkenes <gs234@cam.ac.uk>
10098         * doc/c-tree.texi (Classes, TYPE_BINFO): Fix typo.
10100 2002-02-19  Philip Blundell  <pb@nexus.co.uk>
10102         PR 5399
10103         * config/arm/arm.h (THUMB_LEGITIMATE_CONSTANT_P): Accept anything
10104         if generating PIC.
10106         PR 5054
10107         * config/arm/arm.md (call_insn) [TARGET_THUMB]: Use
10108         arm_is_longcall_p rather than inspecting call-type cookie
10109         directly.
10110         (call_value_insn) [TARGET_THUMB]: Likewise.
10112 2002-02-19  Graham Stott  <grahams@redhat.com>
10114         * config/i386/i386.c (ix86_expand_builtin): Fix typo.
10116 2002-02-19  David Edelsohn  <edelsohn@gnu.org>
10118         * config/rs6000/linux64.h (LINK_OS_LINUX_SPEC): Look in /lib64.
10119         ({STARTFILE,ENDFILE}_LINUX_SPEC): Define.
10120         (FP_SAVE_INLINE): Delete.
10122         * config/rs6000/sysv4.h (ENDFILE_SPEC): Add crtsaveres.o.
10123         * config/rs6000/eabi.asm: Remove ABI save restore routines.
10124         * config/rs6000/t-ppccomm: Build crtsavres.o.
10125         * config/rs6000/crtsavres.asm: New file.
10127 2002-02-19  Philip Blundell  <philb@gnu.org>
10129         * config/arm/arm.c (use_return_insn): Don't reject interrupt
10130         functions.
10131         (arm_compute_save_reg_mask): Save LR for interrupt functions too.
10132         (output_return_instruction): Allow interrupt functions to return with
10133         ldmfd sp!, {... pc}^.  Use LDR to restore any single register.
10134         (arm_expand_prologue): Subtract 4 before stacking LR in an
10135         interrupt function.
10137 2002-02-19  Philip Blundell  <pb@nexus.co.uk>
10139         * config/arm/arm.c (arm_encode_call_attribute): Operate on any
10140         decl, not just FUNCTION_DECL.
10141         (legitimize_pic_address): Handle local SYMBOL_REF like LABEL_REF.
10142         (arm_assemble_integer): Likewise.
10143         * config/arm/arm.h (ARM_ENCODE_CALL_TYPE): Allow any decl to be
10144         marked local.
10146 2002-02-19  matthew green  <mrg@eterna.com.au>
10148         * config.gcc (sparc-*-netbsdelf*): Enable target.
10149         (sparc64-*-netbsd*): New target.
10150         * config/sparc/netbsd-elf.h: New file.
10151         * config/sparc/t-netbsd64: New file.
10153 2002-02-19  Gaute B Strokkenes <gs234@cam.ac.uk>
10155         * doc/rtl.texi (Flags, MEM_SCALAR_P): Fix typo.
10157 2002-02-19  Ryan T. Sammartino <ryants@shaw.ca>
10159         * doc/invoke.texi: explicitly list the style guidelines that
10160         -Weffc++ checks for.
10162 Tue Feb 19 12:37:23 CET 2002  Jan Hubicka  <jh@suse.cz>
10164         * regmove.c (regmove_optimize): Avoid increasing of register pressure.
10166 2002-02-19  Neil Booth  <neil@daikokuya.demon.co.uk>
10168         PR other/5718
10169         * gcc.c (cpp_unique_options): Treat -o as indicating object file
10170         only if not -E.  If -E, pass -o through to the preprocessor.
10172 2002-02-19  Kazu Hirata  <kazu@hxi.com>
10174         * config/h8300/h8300.h (REGNO_REG_CLASS): Replace a literal
10175         register number with an appropriate macro.
10177 2002-02-19  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
10179         * doc/rtl.texi (Constants): Close @code tag.
10181 2002-02-19  Aldy Hernandez  <aldyh@redhat.com>
10183         * config/i386/i386.md ("mmx_uavgv8qi3"): Use const_vector.
10184         ("mmx_uavgv4hi3"): Same.
10185         ("pmulhrwv4hi3"): Same.
10187         * tree-inline.c (walk_tree): Handle vectors.
10189         * c-common.c (constant_expression_warning): Handle vectors.
10190         (overflow_warning): Same.
10192         * sched-deps.c (sched_analyze_2): Handle vectors.
10194         * rtlanal.c (rtx_unstable_p): Handle vectors.
10195         (rtx_varies_p): Same.
10196         (count_occurrences): Same.
10197         (regs_set_between_p): Same.
10198         (modified_between_p): Same.
10199         (modified_in_p): Same.
10200         (volatile_insn_p): Same.
10201         (volatile_refs_p): Same.
10202         (side_effects_p): Same.
10203         (may_trap_p): Same.
10204         (inequality_comparisons_p): Same.
10205         (replace_regs): Same.
10206         (computed_jump_p_1): Same.
10208         * rtl.c (DEF_MACHMODE): Change all definitions to accept 8th
10209         argument.
10210         (inner_mode_array): New.
10211         (copy_rtx): Handle vectors.
10212         (copy_most_rtx): Same.
10213         (rtx_equal_p): Same.
10214         (get_mode_alignment): Adjust for vectors.
10216         * resource.c (mark_referenced_resources): Handle vectors.
10217         (mark_set_resources): Same.
10219         * reload1.c (eliminate_regs): Handle vectors.
10220         (elimination_effects): Same.
10221         (scan_paradoxical_subregs): Same.
10223         * reload.c (subst_reg_equivs): Handle vectors.
10225         * regrename.c (scan_rtx): Handle vectors.
10227         * regclass.c (reg_scan_mark_refs): Handle vectors.
10229         * recog.c (find_single_use_1): Handle vectors.
10231         * local-alloc.c (equiv_init_varies_p): Handle vectors.
10232         (contains_replace_regs): Same.
10233         (memref_referenced_p): Same.
10235         * integrate.c (copy_rtx_and_substitute): Handle vectors.
10236         (subst_constants): Same.
10238         * genattrtab.c (attr_copy_rtx): Handle vectors.
10239         (encode_units_mask): Same.
10240         (clear_struct_flag): Same.
10241         (count_sub_rtxs): Same.
10243         * gcse.c (want_to_gcse_p): Handle vectors.
10244         (oprs_unchanged_p): Same.
10245         (hash_expr_1): Same.
10246         (oprs_not_set_p): Same.
10247         (expr_killed_p): Same.
10248         (compute_transp): Same.
10249         (store_ops_ok): Same.
10251         * function.c (purge_addressof_1): Do not allow paradoxical subregs
10252         of vectors.
10253         (fixup_var_refs_1): Same.
10254         (instantiate_virtual_regs_1): Same.
10256         * fold-const.c (operand_equal_p): Handle vectors.
10257         (fold): Same.
10258         (rtl_expr_nonnegative_p): Same.
10260         * flow.c (mark_used_regs): Handle vectors.
10262         * df.c (df_uses_record): Handle vectors.
10264         * cselib.c (cselib_subst_to_values): Handle vectors.
10265         (cselib_mem_conflict_p): Same.
10266         (hash_rtx): Same.
10268         * cse.c (canon_reg): Handle vectors.
10269         (fold_rt): Same.
10270         (cse_process_notes): Same.
10271         (count_reg_usage): Same.
10272         (canon_hash): Same.
10274         * alias.c (nonlocal_mentioned_p): Add case for CONST_VECTOR.
10276         * combine.c (mark_used_regs_combine): Add case for CONST_VECTOR.
10278         * emit-rtl.c (init_emit_once): Generate const0_rtx for vectors.
10279         (gen_rtx): Handle CONST_VECTOR.
10280         (gen_const_vector_0): New.
10281         (copy_rtx_if_shared): CONST_VECTORs can be shared.
10282         (reset_used_flags): Same.
10283         (copy_insn_1): Same.
10284         (initializer_constant_valid_p): Handle VECTOR_CST.
10286         * doc/c-tree.texi (Expression trees): Document VECTOR_CST.
10288         * doc/rtl.texi (Constants): Document const_vector.
10289         (CONST0_RTX): Update for vectors.
10290         (RTL sharing): Same.
10292         * print-tree.c (print_node): Add case for VECTOR_CST.
10294         * tree.h (TREE_VECTOR_CST_ELTS): New.
10295         (struct tree_vector): New.
10296         (union tree_node): Add vector node.
10297         (build_vector): Add prototype.
10299         * tree.def (VECTOR_CST): New.
10301         * tree.c (build_vector): New.
10303         * expmed.c (make_tree): Handle CONST_VECTOR.
10305         * rtl.h (CONSTANT_P): CONST_VECTORs are constants too.
10306         (CONST_VECTOR_ELT): New.
10307         (CONST_VECTOR_NUNITS): New.
10309         * machmode.h (GET_MODE_INNER): New.
10310         (DEF_MACHMODE): Accept 8th arg.
10312         * machmode.def: Add 8th argument for vector inner mode.
10313         Add inner vector modes for vectors.
10315         * rtl.def (VEC_CONST): Remove.
10316         (CONST_VECTOR): New.
10318         * expr.c (clear_storage): Allow vectors.
10319         (is_zeros_p): Handle VECTOR_CST.
10321         * varasm.c (output_constant_pool): Handle vectors.
10322         (rtx_const): Add veclo and vechi fields.
10323         (kind): Add RTX_VECTOR.
10324         (decode_rtx_const): Add case for vector.
10326         * config/rs6000/rs6000-protos.h: Add zero_constant.
10328         * config/rs6000/rs6000.c (rs6000_emit_move): Handle vector
10329         constants.  Force easy vector constants into memory.
10330         (easy_vector_constant): New.
10331         (emit_easy_vector_constant): New.
10332         (rs6000_legitimize_reload_address): Do not generate bad reloads on
10333         darwin.
10335         * config/rs6000/rs6000.md ("altivec_lvx"): Reflect what
10336         instruction does.
10337         ("altivec_lvxl"): Same.
10338         (altivec_lvebx): Same.
10339         (altivec_lvehx): Same.
10340         (altivec_lvewx): Same.
10341         ("*movv4si_const0"): New.
10342         ("*movv4sf_const0"): New.
10343         ("*movv8hi_const0"): New.
10344         ("*movv16qi_const0"): New.
10346 2002-02-18  Kazu Hirata  <kazu@hxi.com>
10348         * config/h8300/h8300.c (notice_update_cc): Use
10349         cc_status.value2.
10351 2002-02-18  Kazu Hirata  <kazu@hxi.com>
10353         * config/h8300/h8300.md (divmod patterns): Change the
10354         constraints for operands[1] to register_operand.
10356 2002-02-18  Kazu Hirata  <kazu@hxi.com>
10358         * config/h8300/h8300-protos.h: Remove the prototype for
10359         p_operand.
10360         * config/h8300/h8300.c (p_operand): Remove.
10361         * config/h8300/h8300.md: Replace p_operand with
10362         const_int_operand.
10364 2002-02-18 Philip Blundell <pb@nexus.co.uk>
10366         * config/arm/arm.c (arm_compute_save_reg_mask): Fix typo in
10367         comment.
10368         (output_return_instruction): Allow use of LDR to unstack
10369         return addresss even for interrupt handlers or when
10370         interworking.  If compiling for ARMv5, use interworking-safe
10371         return instructions by default.  Remove duplicated code and
10372         lengthy "strcat" sequences.
10374 2002-02-18  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
10376         * config/rs6000/sysv4.h (STARTFILE_SPEC): Use crtbeginT.o for -static.
10377         (LINK_EH_SPEC): Define.
10378         * config/rs6000/t-ppccomm (EXTRA_MULTILIB_PARTS): Add crtbeginT.o.
10380 2002-02-18  Ulrich Weigand  <uweigand@de.ibm.com>
10382         * config/s390/s390.c (s390_emit_prologue): Do not set the
10383         frame_related flag for call-clobbered registers.
10385 Mon Feb 18 15:07:35 CET 2002  Jan Hubicka  <jh@suse.cz>
10387         * i386.c (classify_argument): Properly classify SSE/MMX modes and VOIDmode.
10388         (construct_container): Fix handling of SSE operands.
10389         (ix86_expand_builtin): Fix handling of 64bit pointers.
10390         (mmx_maskmovq_rex): New pattern.
10392 Mon Feb 18 11:55:55 CET 2002  Jan Hubicka  <jh@suse.cz>
10394         * regrename.c (kill_set_value): Handle subregs properly.
10396 2002-02-18  David Billinghurst <David.Billinghurst@riotinto.com>
10398         * objc/objc-act.c (handle_impent): Remove leading '*'
10399         from objc_class_name.
10401 2002-02-17  Richard Henderson  <rth@redhat.com>
10403         * config/alpha/alpha.c (some_small_symbolic_operand,
10404         some_small_symbolic_operand_1, split_small_symbolic_operand,
10405         split_small_symbolic_operand_1): Rename from *symbolic_mem_op*.
10406         Handle small SYMBOL_REFs anywhere, not just inside memories.
10407         * config/alpha/alpha-protos.h: Update.
10408         * config/alpha/alpha.h (PREDICATE_CODES): Update.
10409         * config/alpha/alpha.md (small symbolic operand splitter): Update.
10411 2002-02-17  Roland McGrath  <roland@frob.com>
10413         * config.gcc (powerpc-*-gnu-gnualtivec*,
10414         powerpc-*-gnu*, powerpc64-*-gnu*): New configurations.
10415         * config/rs6000/gnu.h: New file.
10416         * config/rs6000/sysv4.h (SUBTARGET_OVERRIDE_OPTIONS):
10417         Grok "gnu" in rs6000_abi_name.
10418         (ASM_SPEC, CC1_SPEC, LINK_START_SPEC, LINK_OS_SPEC,
10419         CPP_ENDIAN_SPEC, CPP_SPEC, STARTFILE_SPEC, LIB_SPEC, ENDFILE_SPEC):
10420         Grok -mcall-gnu analogous to -mcall-linux et al.
10421         (LIB_GNU_SPEC, STARTFILE_GNU_SPEC, ENDFILE_GNU_SPEC,
10422         LINK_START_GNU_SPEC, LINK_OS_GNU_SPEC, CPP_OS_GNU_SPEC): New macros.
10423         (SUBTARGET_EXTRA_SPECS): Add *_os_gnu specs using them.
10425 2002-02-17  Jakub Jelinek  <jakub@redhat.com>
10427         PR c/3444:
10428         * c-typeck.c (build_binary_op) [BIT_XOR_EXPR]: Remove explicit
10429         shortening.
10431 2002-02-17  Philipp Thomas  <pthomas@suse.de>
10433         * config/cris/cris.h: Undefine STARTFILE_SPEC and
10434         ENDFILE_SPEC before (re)defining them.
10436 2002-02-17  Kazu Hirata  <kazu@hxi.com>
10438         * config/h8300/h8300.c: Fix formatting.
10439         * config/h8300/h8300.h: Likewise.
10441 2002-02-17  Philipp Thomas  <pthomas@suse.de>
10443         * doc/tm.texi: Explain why empty strings should not be
10444         marked for translation.
10446 2002-02-17  Philipp Thomas  <pthomas@suse.de>
10448         * final.c (output_operand_lossage): Changed to accept
10449         printf style arguments. Change calls where necessary.
10450         * output.h (output_operand_lossage): Change declaration
10451         accordingly. Update copyright.
10452         * config/arc/arc.c config/fr30/fr30.c config/m32r/m32r.c
10453         config/m88k/m88k.c : Adapt all calls to output_operand_lossage.
10454         Update copyright date where necessary.
10456         * config/i386/i386.c (print_operand): Likewise. Remove use of
10457         sprintf.
10459         * config/cris/cris.c (cris_operand_lossage): Likewise.
10460         Rename parameter so that exgettext recognizes it as
10461         translatable message.
10462         (LOSE_AND_RETURN): Rename parameter to msgid.
10464 2002-02-17  Kazu Hirata  <kazu@hxi.com>
10466         * config/h8300/h8300.h (CONDITIONAL_REGISTER_USAGE): Replace a
10467         hard coded register number with an appropriate macro.
10468         (HARD_REGNO_MODE_OK): Likewise.
10469         (ARG_POINTER_REGNUM): Likewise.
10470         (STATIC_CHAIN_REGNUM): Likewise.
10471         (RETURN_ADDRESS_POINTER_REGNUM): Likewise.
10472         * config/h8300/h8300.md (define_constants): Define more
10473         register numbers.
10475 2002-02-17  Philipp Thomas  <pthomas@suse.de>
10477         * config/i386/i386.h: Don't mark empty strings for translation.
10479 2002-02-16  H.J. Lu <hjl@gnu.org>
10481         * config/mips/linux.h (ASM_PREFERRED_EH_DATA_FORMAT): New.
10483 2002-02-16  Zack Weinberg  <zack@codesourcery.com>
10485         * cppinit.c (merge_include_chains): Check for brack being
10486         NULL before attempting to merge it with qtail.
10488 2002-02-16  Andrew Cagney  <ac131313@redhat.com>
10490         * config/rs6000/netbsd.h (PREFERRED_DEBUGGING_TYPE): Set to
10491         DBX_DEBUG.
10493 2002-02-16  John David Anglin  <dave@hiauly1.hia.nrc.ca>
10495         * pa/t-pa, pa/t-pro, som.h: Revert last patch.
10497 2002-02-16  John David Anglin  <dave@hiauly1.hia.nrc.ca>
10499         * pa/t-pa (LIB2FUNCS_EXTRA): Don't build lib2funcs.asm.
10500         * pa/t-pro (LIB2FUNCS_EXTRA): Likewise.
10501         * som.h (DO_GLOBAL_DTORS_BODY): Delete define.
10503 Sat Feb 16 13:48:50 2002  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
10505         * config/alpha/alpha.md (*movsi_nt_vms_nofix): Was *movsi_nt_vms;
10506         now only if !TARGET_FIX.
10507         (*movsi_nt_vms_fix): New pattern.
10509 2002-02-16  Douglas B Rupp  <rupp@gnat.com>
10511         * config/alpha/alpha.c: Implement null frame procedure types on VMS.
10512         (alpha_procedure_type): Replaces alpha_is_stack_procedure.
10513         (alpha_sa_mask, alpha_sa_size): Reflect above change.
10514         (alpha_pv_save_size, alpha_expand_prologue): Likewise.
10515         (alpha_start_function, alpha_expand_epilogue): Likewise.
10516         (unicosmk_gen_dsib): Likewise.
10518 Sat Feb 16 13:39:09 2002  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
10520         * expr.c (store_constructor): Handle target REG case for ARRAY_TYPE.
10522 2002-02-16  Ulrich Weigand  <uweigand@de.ibm.com>
10524         * config/s390/s390.c (pool_stop_uid, other_chunk, far_away,
10525         check_and_change_labels, s390_final_chunkify): Delete.
10526         (s390_split_branches, s390_chunkify_pool): New functions.
10527         (s390_function_prologue): Call them.
10529         * config/s390/s390.h (S390_REL_MAX): Delete.
10530         (S390_CHUNK_MAX, S390_CHUNK_OV): Adjust values.
10532         * config/s390/s390.md (cjump, icjump, jump): Fix length
10533         attribute calculation.
10536 2002-02-15  David Edelsohn  <edelsohn@gnu.org>
10538         * config/rs6000/linux64.h (STRIP_NAME_ENCODING): Delete.
10539         * config/rs6000/ppc-asm.h (JUMP_TARGET): Define for powerpc64.
10541 2002-02-15  John David Anglin  <dave@hiauly1.hia.nrc.ca>
10543         * gcc.c (init_gcc_specs): Revert patch from 2002-02-15.
10544         * config/pa/pa-linux.h (LIB_SPEC): Likewise.
10545         * config/pa/pa32-linux.h (LINK_COMMAND_SPEC): Likewise.
10547 2002-02-15  Richard Sandiford  <rsandifo@redhat.com>
10549         * c-decl.c (grokdeclarator): Prevent a segfault on unnamed decls.
10551 2002-02-15  Richard Sandiford  <rsandifo@redhat.com>
10553         * reload.c (find_dummy_reload): Check that an output register
10554         is valid for its mode.
10556 2002-02-14  Alexandre Oliva  <aoliva@redhat.com>
10558         * combine.c (known_cond): After replacing the REG of a SUBREG, try
10559         to simplify it.
10561         * function.c (assign_parms): Demote promoted argument passed by
10562         transparent reference.
10564 2001-02-14      Joel Sherrill <joel@OARcorp.com>
10566         * config/arm/rtems-elf.h, config/h8300/rtems.h: Removed redundant
10567         -Acpu() and -Amachine() to eliminate warnings.
10569 2002-02-14  Ulrich Weigand  <uweigand@de.ibm.com>
10571         * config/s390/linux.h (ASM_OUTPUT_ALIGNED_BSS): New.
10573 2002-02-14  Kazu Hirata  <kazu@hxi.com>
10575         * config/h8300/h8300-protos.h: Update the prototype for
10576         const_costs.
10577         * config/h8300/h8300.c (const_costs): Treat SET as a little
10578         more expensive operation.
10579         * config/h8300/h8300.h (DEFAULT_RTX_COSTS): Update the
10580         reference to const_costs.
10582 2002-02-14  Hans-Peter Nilsson  <hp@axis.com>
10584         * config.gcc (c4x-*-rtems*): Fix typo in tm_file setting.
10586 2002-02-14  Jakub Jelinek  <jakub@redhat.com>
10588         PR c/5503:
10589         * c-decl.c (duplicate_decls): If builtin type has TYPE_ARG_TYPES NULL,
10590         use arguments from newtype.
10592 2002-02-13  Eric Christopher  <echristo@redhat.com>
10594         * config/mips/mips.c (override_options): Add check for march/mipsX
10595         on the same command line. Fix error message in cpu processing.
10596         Remove architecture and ISA checks.
10598 2002-02-14  Aldy Hernandez  <aldyh@redhat.com>
10600         * config/rs6000/darwin.h (ROUND_TYPE_ALIGN): Adjust for vectors.
10602         * config/rs6000/sysv4.h (ROUND_TYPE_ALIGN): Add MAX.
10604 2002-02-14  Aldy Hernandez  <aldyh@redhat.com>
10606         * config/rs6000/rs6000.md ("*movv4si_internal"): Add m<-r and r<-r
10607         alternatives.
10608         ("*movv8hi_internal1"): Same.
10609         ("*movv16qi_internal1"): Same.
10610         ("*movv4sf_internal1"): Same.
10612         * config/rs6000/rs6000.c (rs6000_legitimize_reload_address): Do
10613         not push_reload for altivec modes.
10615 2002-02-13  Joel Sherrill  <joel@OARcorp.com>
10617         * config.gcc (a29k-*-rtems), config/a29k/rtems.h: General cleanup across
10618         all RTEMS targets including removal of #includes from config/*/rtems*.h
10619         file and adding them to tm_file setting. Added xm_defines=POSIX to
10620         many targets.
10621         * config.gcc (c4x-*-rtems), config/c4x/rtems.h: Ditto.
10622         * config.gcc (h8300-*-rtems), config/h8300/rtems.h: Ditto.
10623         * config.gcc (hppa1.1-*-rtems), config/pa/rtems.h: Ditto.
10624         * config.gcc (i960-*-rtems), config/i960/rtems.h: Ditto.
10625         * config.gcc (m68k-*-rtems*), config/m68k/rtems.h,
10626         config/m68k/rtemself.h: Ditto.
10627         * config.gcc (mips*-*-rtems*), config/mips/rtems.h,
10628         config/mips/rtems64.h: Ditto.
10629         * config.gcc (powerpc-*-rtems*), config/rs6000/rtems.h: Ditto.
10630         * config.gcc (sh-*-rtems*), config/sh/rtems.h, config/sh/rtemself.h:
10631         Ditto.
10632         * config.gcc (sparc-*-rtems*), config/sparc/rtems.h,
10633         config/sparc/rtemself.h: Ditto.
10634         * config.gcc (v850-*-rtems*), config/v850/rtems.h: Ditto.
10635         * config.gcc (arm-rtems), config/arm/rtems-elf.h: Ditto plus moved
10636         arm-rtems stanza closer to other arm-elf targets and made arm-rtems
10637         more like arm-elf.
10638         * config.gcc (i[34567]86-*-rtems*), config/i386/djgpp-rtems.h,
10639         config/i386/rtems.h, config/i386/rtemself.h: Ditto plus i386-rtemself
10640         target made more similar to i386-elf.
10641         * config/i386/t-rtems-i386: Added soft float support and multilibs.
10642         * config/m68k/t-m68kbare: Add 68040 and 68060 as multilib alternatives to
10643         be similar to config/m68k/t-m68kelf.
10644         * gthr-rtems.h: Encapsulate with extern "C" for C++.
10646 Wed Feb 13 23:41:15 CET 2002  Jan Hubicka  <jh@suse.cz>
10648         * regmove.c (kill_value): Handle subregs.
10650 Wed Feb 13 23:34:30 CET 2002  Jan Hubicka  <jh@suse.cz>
10652         * i386.md (mul patterns): Allow memory operand to be first;
10653         add expanders where needed; fix constraints.
10654         (min?f_nonieee, max?f_nonieee, SSE TImode patterns):
10655         Allow memory operand to be the first.
10657         * i386.c (ix86_prepare_fp_compare_args): Fix condition for swapping
10658         operands.
10660 2002-02-13  Jakub Jelinek  <jakub@redhat.com>
10662         PR c/5681:
10663         * expr.c (safe_from_p): Pass VOIDmode to true_dependence instead of
10664         GET_MODE (x).
10666 2002-02-13  Jakub Jelinek  <jakub@redhat.com>
10668         PR optimization/5547:
10669         * config/i386/i386.c (i386_simplify_dwarf_addr): Simplify
10670         all valid IA-32 address modes involving non-scaled %ebx and
10671         GOT/GOTOFF as displacement.
10673 2002-02-13  Ulrich Weigand  <uweigand@de.ibm.com>
10675         * config/s390/s390.c (s390_final_chunkify): Re-run shorten_branches
10676         after emitting ltorg insns.
10678         * config/s390/s390.md (*cmpdf_ccs_0, *cmpdf_ccs, *cmpsf_ccs_0,
10679         *cmpsf_ccs, truncdfsf2_ieee, *adddf3, *addsf3, *subdf3, *subsf3,
10680         *muldf3, *mulsf3, *divdf3, *divsf3, *negdf2, *negsf2, *absdf2,
10681         *abssf2): Fix "op_type" attribute.
10683 2002-02-13  Douglas B Rupp  <rupp@gnat.com>
10685         * mkconfig.sh: Avoid using a subshell redirect.
10686         ($output.T): Change to $(output)T.
10687         (ENABLE_NLS): Remove unneeded undef.
10689         * config/alpha/vms.h (MD_EXEC_PREFIX, MD_STARTFILE_PREFIX): Define.
10690         * config/alpha/x-vms (libsubdir): Define.
10692         * config/alpha/vms.h (MD_FALLBACK_FRAME_STATE_FOR): Handle
10693         register frame procedures. Optimize retrieving context.
10695         * config/alpha/t-vms (MULTILIB_OPTIONS): Define.
10696         (MULTILIB_DIRNAME, LIBGCC, INSTALL_LIBGCC): Likewise.
10697         * config/alpha/vms.h (ASM_FILE_START): Write .arch directive.
10699 Wed Feb 13 09:45:08 2002  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
10701         * alias.c (find_base_term, case ZERO_EXTEND, case SIGN_EXTEND):
10702         Make same change as for find_base_value.
10704 2002-02-13  Kazu Hirata  <kazu@hxi.com>
10706         * config/h8300/h8300.h (MODES_TIEABLE_P): Accept a combination
10707         of QImode and SImode.
10709 2002-02-13  Kazu Hirata  <kazu@hxi.com>
10711         * config/h8300/h8300.c (h8300_adjust_insn_length): Correct the
10712         length computation of movsi.
10713         * config/h8300/h8300.md (movsi_h8300hs): Correct the length.
10715 2002-02-13  Kazu Hirata  <kazu@hxi.com>
10717         * config/h8300/h8300.md (subqi3): Tighten the predicate for
10718         operands[2] to register_operand.
10720 Wed Feb 13 10:35:56 CET 2002  Jan Hubicka  <jh@suse.cz>
10722         * i386.md (fop_*_comm_*): allow nonimmediate in the first operand.
10724 2002-02-12  Aldy Hernandez  <aldyh@redhat.com>
10726         * config/rs6000/rs6000.md: Use predicate altivec_register_operand
10727         for altivec_lvx* and altivec_stvx*.
10728         ("*movv4si_internal"): Add constraint for loading from GPRs.
10729         ("*movv8hi_internal1"): Same.
10730         ("*movv16qi_internal1"): Same.
10731         ("*movv4sf_internal1"): Same.
10733         * config/rs6000/rs6000.c (altivec_register_operand): New.
10735         * config/rs6000/rs6000.h (PREDICATE_CODES): Add
10736         altivec_register_operand.
10738 2002-02-13  Hans-Peter Nilsson  <hp@bitrange.com>
10740         * config/mmix/mmix.c (mmix_assemble_integer) <case 4>: Don't
10741         handle SYMBOL_REF.
10743 2002-02-13  Stan Shebs  <shebs@apple.com>
10745         * c-typeck.c (digest_init): Handle vectors.
10746         (really_start_incremental_init): Same.
10747         (pop_init_level): Same.
10748         (process_init_element): Same.
10750         * varasm.c (output_constant): Same.
10752         * expr.c (clear_storage): Same.
10753         (store_constructor): Same.
10755 2002-02-12  Eric Christopher  <echristo@redhat.com>
10757         * explow.c (hard_function_value): Add comment explaining
10758         signed/unsigned comparison.
10760 2002-02-12  Jakub Jelinek  <jakub@redhat.com>
10762         * jump.c (never_reached_warning): Add finish argument.
10763         If finish is NULL, stop on CODE_LABEL, otherwise stop before first
10764         real insn after end.
10765         * rtl.h (never_reached_warning): Adjust prototype.
10766         * cse.c (cse_insn): Pass NULL as finish to never_reached_warning.
10767         * cfgrtl.c (flow_delete_block): Pass b->end as finish to
10768         never_reached_warning.
10770 2002-02-12  Graham Stott  <grahams@redhat.com>
10772         * config/hp/pa.h (GO_IF_LEGITIMATE_ADDRESS): Fix typos.
10774 2002-02-12  Kazu Hirata  <kazu@hxi.com>
10776         * config/h8300/h8300.c (shift_alg_hi): Improve the 15-bit
10777         logical shifts on H8/300.
10778         (shift_alg_si): Improve several shifts on H8/300.
10779         (get_shift_alg): Likewise.
10781 2002-02-12  Graham Stott  <grahams@redhat.com>
10783         * config/pa/pa.c (compute_movstrsi_length): Fix typos.
10785 Tue Feb 12 10:12:56 2002  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
10787         * alias.c (find_base_value, case ZERO_EXTEND, case SIGN_EXTEND):
10788         Handle #ifdef POINTERS_EXTEND_UNSIGNED.
10790 2002-02-11  Hans-Peter Nilsson  <hp@bitrange.com>
10792         * config/mmix/mmix.c (mmix_assemble_integer) <case 1, 2>: Handle
10793         non-CONST_INT through default_assemble_integer.
10794         <case 4>: Likewise, for non-CONST_INT, non-SYMBOL_REF.
10795         <case 8>: Abort for CONST_DOUBLE.
10797 2002-02-11  John David Anglin  <dave@hiauly1.hia.nrc.ca>
10799         * gcc.c (init_gcc_specs): Add static libgcc to link when "-shared"
10800         is specified.
10801         * config/pa/pa-linux.h (LIB_SPEC): Delete.
10802         * config/pa/pa32-linux.h (LINK_COMMAND_SPEC): Delete.
10804 2002-02-11  Andrew Haley  <aph@cambridge.redhat.com>
10806         * config/stormy16/stormy16.md (zero_extendqihi2): New.
10808 2002-02-11  Alexandre Oliva  <aoliva@redhat.com>
10810         * regrename.c (regrename_optimize): Don't accept a
10811         part-clobbered register if the replaced register is not part
10812         clobbered.
10814         * calls.c (store_one_arg): In the non-BLKmode non-partial case,
10815         take padding into account when computing the argument value.
10817         * config/sh/sh.h (FUNCTION_ARG_REGNO_P): Fix parenthesizing error.
10819         * combine.c (try_combine): Apply substitutions in
10820         CALL_INSN_FUNCTION_USAGE too.
10822 2002-02-11  Aldy Hernandez  <aldyh@redhat.com>
10824         * config/rs6000/rs6000.c (altivec_init_builtins): Handle
10825         __builtin_altivec_abs*.
10826         (bdesc_abs): New.
10828         * config/rs6000/rs6000.h (rs6000_builtins): Add
10829         ALTIVEC_BUILTIN_ABS*.
10831         * config/rs6000/altivec.h: Use const char for builtins expecting
10832         literals.
10833         (vec_abs): New versions for C and C++.
10834         (vec_abss): Same.
10836 2002-02-10  Kazu Hirata  <kazu@hxi.com>
10838         * config/h8300/h8300.h (INITIALIZE_TRAMPOLINE): Simplify by
10839         using Pmode.
10841 2002-02-10  Kazu Hirata  <kazu@hxi.com>
10843         * config/h8300/h8300.h (STACK_POINTER_REGNUM): Use the
10844         constant definition from h8300.md.
10845         (FRAME_POINTER_REGNUM): Likewise.
10846         * config/h8300/h8300.md (define_constants): Add FP_REG.
10848 2002-02-10  Kazu Hirata  <kazu@hxi.com>
10850         * config/h8300/h8300.c (print_operand): Remove redundant code.
10852 2002-02-10  Kazu Hirata  <kazu@hxi.com>
10854         * config/h8300/h8300-protos.h: Remove the prototype for byte_reg.
10855         * config/h8300/h8300.c (byte_reg): Make it static.
10857 2002-02-10  Richard Henderson  <rth@redhat.com>
10859         PR c/5623
10860         * c-typeck.c (incomplete_type_error): Handle flexible array members.
10862 2002-02-10  Richard Henderson  <rth@redhat.com>
10864         PR c++/5624
10865         * tree.c (append_random_chars): Don't abort if main_input_filename
10866         does not exist.
10868 2002-02-10  Hans-Peter Nilsson  <hp@bitrange.com>
10870         * config/mmix/t-mmix (MULTILIB_EXTRA_OPTS): Disable.
10872 2002-02-10  Kazu Hirata  <kazu@hxi.com>
10874         * config/h8300/h8300.md (pushhi1_h8300): Correct the mode used.
10875         (pushhi1): Likewise.
10877 2002-02-10  John David Anglin  <dave@hiauly1.hia.nrc.ca>
10879         * pa.c (reg_before_reload_operand): Don't accept a SUBREG operand.
10880         * pa.h (PREDICATE_CODES): Adjust codes for reg_before_reload_operand.
10882 2002-02-09  David O'Brien  <obrien@FreeBSD.org>
10884         * config/sparc/freebsd.h(TARGET_DEFAULT): Add MASK_EPILOGUE setting and
10885         remove MASK_VIS.
10886         (ASM_CPU_DEFAULT_SPEC): Remove.  Default setting is fine.
10888 2002-02-09  Kazu Hirata  <kazu@hxi.com>
10890         * config/h8300/h8300.c (output_logical_op): Use sub.w to clear
10891         a half of an SImode register on H8/300.
10893 Sat Feb  9 18:28:02 CET 2002  Jan Hubicka  <jh@suse.cz>
10895         * i386.md (movdi_2): Add missing '!'.
10897 2002-02-09  Kazu Hirata  <kazu@hxi.com>
10899         * config/h8300/h8300.h: Fix formatting.  Remove commented-out
10900         definitions.
10902 2002-02-09  Kazu Hirata  <kazu@hxi.com>
10904         * config/h8300/h8300.md (length): Correct the distance valid
10905         for the short branch.
10907 2002-02-09  Kazu Hirata  <kazu@hxi.com>
10909         * config/h8300/h8300.md (iorhi3): Tighten the predicates.
10911 2002-02-09  Alexandre Oliva  <aoliva@redhat.com>
10913         * config/sh/sh.h (REGISTER_NATURAL_MODE): Save part-clobbered
10914         registers in SImode.
10915         (HARD_REGNO_CALL_PART_CLOBBERED) [TARGET_SHMEDIA32]: Set r18 as
10916         part-clobbered.
10918         * config/sh/sh.c (expand_prologue): Fix mis-applied 2001-11-09's
10919         patch.
10921         Contribute sh64-elf.
10922         2002-02-09  Alexandre Oliva  <aoliva@redhat.com>
10923         * config/sh/sh.c (TARGET_CANNOT_MODIFY_JUMPS_P): Define to...
10924         (sh_cannot_modify_jumps_p): New function.
10925         2002-02-05  Alexandre Oliva  <aoliva@redhat.com>
10926         * config/sh/sh.c (TARGET_MS_BITFIELD_LAYOUT_P): Define to...
10927         (sh_ms_bitfield_layout_p): New function.
10928         2002-02-04  Alexandre Oliva  <aoliva@redhat.com>
10929                     Zack Weinberg  <zack@codesourcery.com>
10930         * config/sh/sh.h (TRAMPOLINE_ADJUST_ADDRESS): Use
10931         expand_simple_binop instead of expand_binop.
10932         2002-02-03  Alexandre Oliva  <aoliva@redhat.com>
10933         * config/sh/sh.h (OVERRIDE_OPTIONS) [! TARGET_SH5]: Disable
10934         use of .quad and .uaquad.
10935         * config/sh/sh.c (TARGET_ASM_UNALIGNED_DI_OP,
10936         TARGET_ASM_ALIGNED_DI_OP): Add comment pointing to the above.
10937         2002-01-24  Alexandre Oliva  <aoliva@redhat.com>
10938         * config/sh/sh.md (movdi_const, movdi_const_32bit,
10939         movdi_const_16bit): Make sure all CONSTs have modes.
10940         (sym2PIC): Ditto, but by adjusting all callers.
10941         * config/sh/sh.c (calc_live_regs) [TARGET_SHCOMPACT]: Set pr_live
10942         if the prologue calls the SHmedia argument decoder or register
10943         saver.
10944         2002-01-24  Alexandre Oliva  <aoliva@redhat.com>
10945         * config/sh/sh.c (TARGET_ASM_UNALIGNED_DI_OP): Define.
10946         (TARGET_ASM_ALIGNED_DI_OP): Likewise.
10947         (sh_expand_epilogue): Don't emit USE of return target register.
10948         (prepare_move_operands): Legitimize DImode PIC addresses.
10949         (sh_media_register_for_return): Skip tr0, used to initialize the
10950         PIC register.
10951         (sh_expand_prologue): Remove explicit USE of return register.
10952         (nonpic_symbol_mentioned_p): PC is non-PIC.  Don't recurse in
10953         CONST_DOUBLEs.  UNSPEC_GOTPLT is PIC.
10954         * config/sh/sh.h (ASM_OUTPUT_DOUBLE_INT): Removed, obsolete.
10955         (OVERRIDE_OPTIONS): Don't disable PIC on SH5.
10956         (EXTRA_CONSTRAINT_S): Use MOVI_SHORI_BASE_OPERAND_P instead of
10957         EXTRA_CONSTRAINT_T.
10958         (GOT_ENTRY_P, GOTPLT_ENTRY_P, GOTOFF_P, PIC_ADDR_P): New.
10959         (MOVI_SHORI_BASE_OPERAND_P): New.
10960         (NON_PIC_REFERENCE_P, PIC_REFERENCE_P): New.
10961         (EXTRA_CONSTRAINT_T): Define in terms of them.
10962         (OUTPUT_ADDR_CONST_EXTRA): Handle UNSPEC_GOTPLT.
10963         * config/sh/sh.md (movsi_media, movsi_media_nofpu,
10964         movdi_media, movdi_media_nofpu): Add SIBCALL_REGS class to
10965         alternatives supporting TARGET_REGS.
10966         (UNSPEC_GOTPLT): New constant.
10967         (movdi split): Move incrementing of LABEL_NUSES...
10968         (movdi_const, movdi_const_32bit): Here.  Use
10969         MOVI_SHORI_BASE_OPERAND_P instead of EXTRA_CONSTRAINT_T.
10970         (movdi_const_16bit): New.
10971         (call, call_value) [flag_pic]: Use GOTPLT.
10972         (call_pop, call_value_pop): New expands.
10973         (call_pop_compact, call_pop_rettramp): New insns.
10974         (call_value_pop_compact, call_value_pop_rettramp): New insns.
10975         (sibcall) [flag_pic]: Use GOT.
10976         (builtint_setjmp_receiver): Remove bogus, unused expand.
10977         (GOTaddr2picreg): Implement for SHcompact and SHmedia.
10978         (*pt, *ptb, ptrel): New insns.
10979         (sym2GOT): Handle DImode GOT.
10980         (sym2GOTPLT, symGOTPLT2reg): New expands.
10981         (sym2PIC): New expand.
10982         (shcompact_return_tramp): Use GOTPLT to return trampoline.
10983         (shcompact_return_tramp_i): Use return register explicitly.
10984         * config/sh/sh.h (OVERRIDE_OPTIONS) [TARGET_SHMEDIA]: Don't
10985         disable flag_reorder_blocks.
10986         2002-01-19  Alexandre Oliva  <aoliva@redhat.com>
10987         * config/sh/sh.md (sibcall_compact): Reorder return, uses and
10988         clobbers, for clarity.
10989         (sibcall_epilogue) [TARGET_SHCOMPACT]: Mark saving and
10990         restoring of r0 in macl as MAYBE_DEAD.
10991         2002-01-18  Alexandre Oliva  <aoliva@redhat.com>
10992         * config/sh/sh.h (LONG_DOUBLE_TYPE_SIZE): Define.
10993         * config/sh/sh.md (movv4sf_i, movv16sf_i): Fix uses of
10994         alter_subreg all over.
10995         (jump) [TARGET_SHMEDIA]: FAIL to create new jumps after
10996         reload, instead of emitting instructions that would require
10997         reloading.
10998         (casesi_load_media): Add missing modes.
10999         2001-11-09  Alexandre Oliva  <aoliva@redhat.com>
11000         * config/sh/sh.c (sh_expand_prologue): Mark the PIC register
11001         as used if the argument decoder is called.
11002         2001-08-28  Alexandre Oliva  <aoliva@redhat.com>
11003         * config/sh/sh.md (udivsi3, divsi3): Load libcall symbol name in
11004         Pmode, then extend it to DImode if necessary.
11005         2001-08-28  Stephen Clarke  <Stephen.Clarke@st.com>
11006         * config/sh/sh.h (LEGITIMATE_CONSTANT_P): Don't accept DFmode
11007         constants in FPU-enabled SHmedia, let them be loaded from memory.
11008         2001-08-28  Alexandre Oliva  <aoliva@redhat.com>
11009         * config/sh/sh.md (cmpeqdi_media, cmpgtdi_media, cmpgtudi_media):
11010         Adjust whitespace in assembly output templates.
11011         2001-08-28  Stephen Clarke  <Stephen.Clarke@st.com>
11012         * config/sh/sh.md (movdicc_false, movdicc_true, movdicc): Adjust
11013         mode of if_then_else.
11014         2001-08-04  Alexandre Oliva  <aoliva@redhat.com>
11015         * config/sh/sh64.h (CPP_DEFAULT_CPU_SPEC): Override definition in
11016         sh.h.
11017         2001-07-26  Andrew Haley  <aph@cambridge.redhat.com>
11018                     Joern Rennecke <amylaar@redhat.com>
11019         * config/sh/sh64.h (CPP_DEFAULT_CPU_SPEC): New.
11020         (SUBTARGET_CPP_PTR_SPEC): New.
11021         (SUBTARGET_CPP_SPEC): Remove.
11022         2001-07-06  Chandrakala Chavva  <cchavva@redhat.com>
11023         * config/sh/sh.md (movsf_media_nofpu+1, movdf_media_nofpu+1):
11024         Fix typo in previous checkin.
11025         2001-07-11  Chandrakala Chavva  <cchavva@redhat.com>
11026         * config/sh/sh.h (MODES_TIEABLE_P): Fix redact indentations.
11027         2001-07-10  Chandrakala Chavva  <cchavva@cygnus.com>
11028                     Alexandre Oliva  <aoliva@redhat.com>
11029         * config/sh/sh.h (MODES_TIEABLE_P): Don't tie modes wider than
11030         what single FP register can hold for SHmedia target.
11031         2001-07-06  Chandrakala Chavva  <cchavva@redhat.com>
11032                     Alexandre Oliva  <aoliva@redhat.com>
11033         * config/sh/sh.md (movsf_media_nofpu+1, movdf_media_nofpu+1):
11034         Do not split into SUBREG.
11035         2001-06-14  Alexandre Oliva  <aoliva@redhat.com>
11036         * config/sh/ushmedia.h, config/sh/sshmedia.h: Updated signatures
11037         and added new functions as specified in SH5 ABI r9.
11038         2001-06-04  Alexandre Oliva  <aoliva@redhat.com>
11039         * config/sh/lib1funcs.asm (GCC_nested_trampoline): Align to an
11040         8-byte boundary.
11041         2001-06-03  Alexandre Oliva  <aoliva@redhat.com>
11042         * config/sh/sh.c (dump_table): Add const0_rtx in calls of
11043         gen_consttable_4 and gen_consttable_8.  Emit multiple labels
11044         and consttable_window_ends.
11045         2001-06-03  Graham Stott  <grahams@redhat,com>
11046         * config/sh/sh.md (movdi split): Remove unused variable last_insn.
11047         2001-05-16  Alexandre Oliva  <aoliva@redhat.com>
11048         * config/sh/sh.c (print_operand): Handle floating-point pair,
11049         vector and matrix registers.
11050         * config/sh/sh.h (REGISTER_MOVE_COST): Take floating-pointer
11051         vector modes into account.
11052         * config/sh/sh.md (movv2sf): Split move between registers into
11053         movdf.
11054         (movv4sf, movv16sf): Introduce insns that get split only after
11055         reload.
11056         * config/sh/shmedia.h: Fix Copyright dates.
11057         * config/sh/ushmedia.h: Likewise.  Move loop counter
11058         declarations into conditionals that uses them.
11059         (sh_media_FVADD_S, sh_media_FVSUB_S): Fix off-by-one error in
11060         loop boundary.
11061         * config/sh/sshmedia.h: Fix Copyright dates.
11062         (sh_media_PUTCFG): Fix constraints.
11063         2001-05-12  Alexandre Oliva  <aoliva@redhat.com>
11064         * config/sh/sh.h (TARGET_PTRMEMFUNC_VBIT_LOCATION): Define to
11065         ptrmemfunc_vbit_in_delta for SH5.
11066         2001-05-08  Alexandre Oliva  <aoliva@redhat.com>
11067         * config/sh/sh.h (TARGET_SWITCHES): Document -m5-*.
11068         * invoke.texi: Likewise.
11069         2001-04-14  Alexandre Oliva  <aoliva@redhat.com>
11070         * config/sh/lib1funcs.asm (GCC_push_shmedia_regs,
11071         GCC_push_shmedia_regs_nofpu, GCC_pop_shmedia_regs,
11072         GCC_pop_shmedia_regs_nofpu): New global symbols.
11073         * config/sh/t-sh64 (LIB1ASMFUNCS): Add them.
11074         * config/sh/sh.h (SHMEDIA_REGS_STACK_ADJUST): New macro.
11075         * config/sh/sh.c (calc_live_regs): Account for PR's saving in
11076         compact function with nonlocal labels.
11077         (sh_expand_prologue) [SHcompact]: Push SHmedia regs if needed.
11078         (sh_expand_epilogue) [SHcompact]: Pop them when appropriate.
11079         (initial_elimination_offset): Account for their stack space.
11080         * config/sh/sh.md (shmedia_save_restore_regs_compact): New insn.
11081         * config/sh/sh.md (movsi_media, movsi_media_nofpu, movqi_media,
11082         movhi_media, movdi_media, movdi_media_nofpu, movdf_media,
11083         movdf_media_nofpu, movsf_media, movsf_media_nofpu): Require at
11084         least one of the operands to be a register.
11085         (movv2sf): Likewise.  Renamed to movv2sf_i.
11086         (movdi, movdf, movv2sf, movv4sf, movv16sf, movsf):
11087         prepare_move_operands() before emitting SHmedia insns.
11088         2001-04-03  Alexandre Oliva  <aoliva@redhat.com>
11089         * config/sh/crti.asm (init, fini) [__SH5__ && ! __SHMEDIA__]:
11090         Don't save nor initialize r12.  Don't mis-align the stack.
11091         Pad the code with a nop.
11092         * config/sh/crti.asm: Don't restore r12.  Don't mis-align the
11093         stack.
11094         2001-03-13  Alexandre Oliva  <aoliva@redhat.com>
11095         * gcc/longlong.h (__umulsidi3, count_leading_zeros)
11096         [__SHMEDIA__]: Implement.
11097         2001-03-11  Alexandre Oliva  <aoliva@redhat.com>
11098         * config/sh/sh.md: Set latency of `pt' closer to reality.
11099         (movsi_media, movsi_media_nofpu, movdi_media, movdi_media_nofpu,
11100         movdf_media, movdf_media_nofpu, movsf_media, movsf_media_nofpu):
11101         Set move, load and store type attributes.
11102         * config/sh/sh.c (sh_loop_align) [TARGET_SH5]: Set to 3.
11103         * config/sh/sh.h (OVERRIDE_OPTIONS) [TARGET_SH5]: Disable
11104         profiling.
11105         * config/sh/sh.h (PROMOTE_MODE): Sign-extend SImode to DImode.
11106         * config/sh/sh-protos.h (sh_media_register_for_return): Declare.
11107         * config/sh/sh.c (sh_media_register_for_return): New function.
11108         (sh_expand_prologue) [TARGET_SHMEDIA]: Copy r18 to an available
11109         branch-target register.
11110         (sh_expand_epilogue) [TARGET_SHMEDIA]: Explicitly USE it.
11111         * config/sh/sh.md (return_media_i): Use any call-clobbered
11112         branch-target register.
11113         (return_media): If r18 wasn't copied in the prologue, copy it
11114         here.
11115         * config/sh/sh.h (CONDITIONAL_REGISTER_USAGE) [TARGET_SHMEDIA]:
11116         Clear class FP0_REGS.
11117         * config/sh/sh64.h (LINK_SPEC): Removed incorrect default copied
11118         from elf.h.
11119         2001-03-08  DJ Delorie  <dj@redhat.com>
11120         * config/sh/sh.h (OVERRIDE_OPTIONS): Disable relaxing for SHMEDIA.
11121         2001-02-09  Alexandre Oliva  <aoliva@redhat.com>
11122         * config/sh/sh.md (sibcall_compact): Set fp_mode to single.
11123         2001-02-07  Alexandre Oliva  <aoliva@redhat.com>
11124         * config/sh/sh.h (INT_ASM_OP) [SHMEDIA64]: Use `.quad'.
11125         2001-02-03  Alexandre Oliva  <aoliva@redhat.com>
11126         * config/sh/sh.h (INIT_CUMULATIVE_ARGS): Compute size of BLKmode
11127         return value correctly for call_cookie.
11128         2001-02-01  Alexandre Oliva  <aoliva@redhat.com>
11129         * config/sh/crt1.asm (start): Modified so as to call
11130         ___setup_argv_and_call_main.
11131         2001-01-26  Alexandre Oliva  <aoliva@redhat.com>
11132         * config/sh/sh.h (FUNCTION_ARG_ADVANCE): Don't count stack_regs in
11133         SHmedia mode.
11134         2001-01-20  Alexandre Oliva  <aoliva@redhat.com>
11135         * config/sh/sh.h (STRIP_DATALABEL_ENCODING): New macro.
11136         (STRIP_NAME_ENCODING): Use it.
11137         (ASM_OUTPUT_LABELREF): Likewise.  Don't call assemble_name().
11138         2001-01-19  Alexandre Oliva  <aoliva@redhat.com>
11139         * config/sh/sh.md (sgeu) [! SHMEDIA]: Fix invocation of
11140         prepare_scc_operands().
11141         * config/sh/sh.h (SH_DATALABEL_ENCODING): Change to "#"...
11142         (DATALABEL_SYMNAME_P): ... so that we don't need memcmp here.
11143         2001-01-17  Alexandre Oliva  <aoliva@redhat.com>
11144         * config/sh/sh.h (STRIP_NAME_ENCODING): Strip leading `*'.
11145         2001-01-13  Alexandre Oliva  <aoliva@redhat.com>
11146         * config/sh/sh.md (shcompact_incoming_args): Use R0_REG.
11147         * config/sh/sh.md (R7_REG, R8_REG, R9_REG): Define as constants,
11148         used in shcompact_incoming_args.
11149         * config/sh/sh.c (sh_expand_epilogue): Fix thinko in previous
11150         change.
11151         * config/sh/crt1.asm (start) [SH5]: Switch to single-precision
11152         mode.
11153         * config/sh/lib1funcs.asm (sdivsi3_i4, udivsi3_i4, set_fpscr):
11154         Adjust accordingly.
11155         * config/sh/sh.c (sh_expand_prologue, sh_expand_epilogue):
11156         Simplify.  Adjust.  Add sanity check.
11157         * config/sh/sh.h (TARGET_SWITCHES) [5-compact]: Set
11158         FPU_SINGLE_BIT.
11159         * config/sh/sh.md (udivsi3_i4_single, divsi3_i4_single): Match
11160         TARGET_SHCOMPACT.
11161         (udivsi3, divsi3): Use them.
11162         (force_mode_for_call): New insn.
11163         (call, call_value, sibcall_value): Emit it before SHcompact
11164         calls.
11165         2001-01-11  Alexandre Oliva  <aoliva@redhat.com>
11166         * config/sh/sh.md (call, call_value, sibcall): Make sure the
11167         call cookie is non-NULL before taking its value.
11168         2001-01-10  Alexandre Oliva  <aoliva@redhat.com>
11169         * config.gcc (sh64): Set target_requires_64bit_host_wide_int.
11170         2001-01-09  Alexandre Oliva  <aoliva@redhat.com>
11171         * config/sh/sh.md (shcompact_incoming_args): Set argument memory
11172         block.
11173         * config/sh/sh.h (STATIC_CHAIN_REGNUM) [SH5]: Use r1.
11174         * config/sh/sh.c (sh_expand_prologue) [SH5]: Use r0 as
11175         temporary for stack adjusts.  Use MACL and MACH to pass
11176         arguments to shcompact_incoming_args.
11177         * config/sh/sh.md (shcompact_incoming_args): Adjust.  Don't
11178         clobber r1.
11179         * config/sh/lib1funcs.asm (shcompact_incoming_args): Likewise.
11180         (nested_trampoline): Load static chain address into r1.
11181         * config/sh/sh.md (movdi_media splits): Fix sign-extension.
11182         2001-01-07  Alexandre Oliva  <aoliva@redhat.com
11183         * config/sh/sh.c (fpul_operand) [SHMEDIA]: Just call
11184         fp_arith_reg_operand().
11185         2001-01-06  Alexandre Oliva  <aoliva@redhat.com>
11186         * config/sh/sh.md (casesi): Sign-extend the first two operands,
11187         and use signed compares for them.
11188         * config/sh/sh.c (dump_table): Don't emit 8-byte constants after
11189         4-byte ones.  Instead, inter-leave them, maintaining the 8-byte
11190         ones properly aligned.
11191         (find_barrier): Account for extra alignment needed for 8-byte wide
11192         constants.
11193         (machine_dependent_reorg): Require a label for the second 4-byte
11194         constant after an 8-byte one.
11195         * config/sh/lib1funcs.asm (sdivsi3): Fix typo in yesterday's
11196         change.
11197         2001-01-05  Alexandre Oliva  <aoliva@redhat.com>
11198         * config/sh/sh.c (machine_dependent_reorg) [SHCOMPACT]: Reset
11199         last_float when switching float modes.
11200         * config/sh/sh.md (movdf) [SH5]: Don't use stack-pointer
11201         auto-increment for general-purpose registers.
11202         * config/sh/lib1funcs.asm (sdivsi3) [SHMEDIA]: Sign-extend the
11203         result.
11204         * config/sh/sh.c (sh_expand_prologue) [SH5]: Use r1 as temporary
11205         for stack adjust.
11206         * config/sh/sh.c (sh_builtin_saveregs): Support using all
11207         registers for varargs.
11208         2001-01-01  Alexandre Oliva  <aoliva@redhat.com>
11209         * config/sh/sh.h (FUNCTION_ARG_ADVANCE): Simplify.
11210         * config/sh/sh.h (CALL_COOKIE_STACKSEQ,
11211         CALL_COOKIE_STACKSEQ_SHIFT, CALL_COOKIE_STACKSEQ_GET): New macros.
11212         (CALL_COOKIE_INT_REG_SHIFT): Adjust.
11213         (FUNCTION_ARG_ADVANCE): Use SHCOMPACT_FORCE_ON_STACK.  Adjust
11214         call_cookie accordingly.
11215         (FUNCTION_ARG): Test SHCOMPACT_FORCE_ON_STACK.
11216         (SHCOMPACT_BYREF): Likewise.
11217         (SHCOMPACT_FORCE_ON_STACK): New macro.
11218         * config/sh/sh.c (sh_expand_prologue): Use new call_cookie format.
11219         (sh_builtin_saveregs): Likewise.
11220         * config/sh/lib1funcs.asm (shcompact_call_trampoline,
11221         shcompact_incoming_args): Use new shift values.  Support
11222         sequences of consecutive and non-consecutive pushes/pops.
11223         * config/sh/sh.md (return): Don't explicitly use PR_REG.
11224         2001-01-05  Hans-Peter Nilsson  <hpn@cygnus.com>
11225         * config/sh/sh.h (TEXT_SECTION): Define.
11226         * config/sh/elf.h (ASM_FILE_START): Output TEXT_SECTION_ASM_OP.
11227         2001-01-05  Alexandre Oliva  <aoliva@redhat.com>
11228         * config/sh/sh.h (INIT_CUMULATIVE_LIBCALL_ARGS): New macro.
11229         * config/sh/sh.h (BASE_RETURN_VALUE_REG): Use FP regs for
11230         return values on FPU-enabled SHmedia.
11231         (FUNCTION_VALUE_REGNO_P): Mark FIRST_FP_RET_REG as used on
11232         FPU-enabled SHmedia.
11233         (INIT_CUMULATIVE_ARGS): Set up return trampoline only if
11234         value is returned in a non-FP reg and is not returned by
11235         reference.
11236         * config/sh/sh.md (shcompact_return_tramp_i): Change type to
11237         jump_ind.
11238         2000-01-04  Alexandre Oliva  <aoliva@redhat.com>
11239         * config/sh/sh.h (SH_MIN_ALIGN_FOR_CALLEE_COPY): New.
11240         (FUNCTION_ARG_CALLEE_COPIES): Require argument to be
11241         quad-aligned to be passed by callee-copy reference.
11242         2001-01-03  Alexandre Oliva  <aoliva@redhat.com>
11243         * config/sh/elf.h (MAX_WCHAR_TYPE_SIZE): Define.
11244         * config/sh/sh64.h (MAX_WCHAR_TYPE_SIZE): Undefine.
11245         2001-01-02  Alexandre Oliva  <aoliva@redhat.com>
11246         * config/sh/lib1funcs.asm (shcompact_call_trampoline): Fix error in
11247         copying low-numbered FP regs to r7 and r8.
11248         * config/sh/sh.h (FUNCTION_ARG_ADVANCE): Don't request copying of
11249         FP regs to general-purpose regs only if the copy was passed on the
11250         stack.
11251         * config/sh/lib1funcs.asm (shcompact_call_trampoline): Fix typo in
11252         copying FP reg to r9.
11253         * config/sh/sh.h (FUNCTION_ARG_ADVANCE): Use trampoline to
11254         copy FP regs to general-purpose regs only in outgoing calls.
11255         * config/sh/sh.md (movdf_media, movsf_media): Revert incorrect
11256         change from     2000-10-30.  Adjust for 64-bit (or 32-bit)
11257         HOST_WIDE_INT.
11258         * config/sh/sh.h (struct sh_args): Document all fields.
11259         (FUNCTION_OK_FOR_SIBCALL): Functions that receive arguments
11260         passed partially on the stack should not consider making
11261         sibcalls.
11262         * config/sh/sh.h (FUNCTION_ARG_ADVANCE): Add byref regs to
11263         stack_regs only for incoming calls.  When passing FP args,
11264         make sure there are FP regs available before modifying
11265         call_cookie.
11266         (SHCOMPACT_BYREF): Pass double args in general-purpose
11267         registers by reference.
11268         2000-12-30  Alexandre Oliva  <aoliva@redhat.com>
11269         * config/sh/sh.h (FUNCTION_OK_FOR_SIBCALL) [SHCOMPACT]: Don't
11270         attempt to generate sibcalls if the caller got any arguments
11271         by reference.
11272         * config/sh/lib1funcs.asm (set_fpscr) [SH5]: Default to double.
11273         * config/sh/sh.c (dump_table) [SHCOMPACT]: Align DImode and DFmode
11274         to 8-byte boundaries.
11275         * config/sh/sh.md (shcompact_preserve_incoming_args): New insn.
11276         * config/sh/sh.h (CALL_COOKIE_INT_REG_GET): New macro.
11277         * config/sh/sh.c (sh_expand_prologue): Preserve args that will be
11278         stored in the stack.
11279         * config/sh/lib1funcs.asm (ct_main_table, ia_main_table): Arrange
11280         for the offsets to have the ISA bit set.
11281         (shcompact_call_trampoline): Document.  Swap r0 and r1, to match
11282         invocation.  Use beq instead of bgt to mark end of sequence of
11283         loads.
11284         (shcompact_incoming_args): Fix store of r2.  Use beq instead of
11285         bgt to mark end of sequence of stores.
11286         * config/sh/sh.c (arith_operand): Don't check whether
11287         CONST_OK_FOR_J for now.
11288         * config/sh/sh.md (movdf_media, movsf_media): Use HOST_WIDE_INT
11289         instead of long for conversion.
11290         2000-12-29  Alexandre Oliva  <aoliva@redhat.com>
11291         * config/sh/sh.c (print_operand_address): Convert INTVAL to int
11292         before passing it to fprintf.
11293         2000-12-28  Alexandre Oliva  <aoliva@redhat.com>
11294         * config/sh/crt1.asm (start): Reset SR.FD, to enable the FP unit.
11295         Call set_fpscr before reading/writing SR.
11296         * config/sh/crt1.asm (start): Set SR.SZ and SR.PR, but not SR.FR.
11297         Call set_fpscr.
11298         * config/sh/lib1funcs.asm: Add `.align 2' directives before
11299         SHmedia code.
11300         (FMOVD_WORKS): Define on SH5 with FPU.
11301         (set_fpscr): Define on SH5.  Remove separate _fpscr_values
11302         setting.
11303         * config/sh/t-sh64 (LIB1ASMFUNCS): Add _set_fpscr instead of
11304         _fpscr_values.
11305         2000-12-28  Hans-Peter Nilsson  <hpn@cygnus.com>
11306         * config/sh/lib1funcs.asm (ct_main_table): Align contents to even
11307         address.
11308         (ia_main_table): Ditto.
11309         2000-12-27  Alexandre Oliva  <aoliva@redhat.com>
11310         * config/sh/sh.h (MAX_WCHAR_TYPE_SIZE): Don't define.
11311         * config/sh/sh64.h (WCHAR_TYPE, WCHAR_TYPE_SIZE): Reinstate
11312         the definitions from sh.h.
11313         * config/sh/sh.h (PTRDIFF_TYPE): Define as conditional on
11314         TARGET_SH5.
11315         (SUBTARGET_CPP_SPEC): Arrange for __PTRDIFF_TYPE__ to be defined.
11316         * config/sh/elf.h (PTRDIFF_TYPE): Likewise.
11317         * config/sh/sh64.h (SUBTARGET_CPP_SPEC): Likewise.
11318         2000-12-26  Alexandre Oliva  <aoliva@redhat.com>
11319         * config/sh/sh.md (movdi_media split): Don't add REG_LABEL notes.
11320         Increment LABEL_NUSES.
11322         * config/sh/sh.h (SIZE_TYPE): Define as conditional on
11323         TARGET_SH5.
11324         (SUBTARGET_CPP_SPEC): Arrange for __SIZE_TYPE__ to be always
11325         defined.
11326         * config/sh/elf.h (SIZE_TYPE): Likewise.
11327         * config/sh/sh64.h (SUBTARGET_CPP_SPEC): Likewise.
11328         * config/sh/lib1funcs.asm (shcompact_call_trampoline,
11329         shcompact_incoming_args): Load switch table addresses using
11330         datalabel.
11331         * config/sh/sh.h (SUBTARGET_CPP_SPEC): Define __SIZE_TYPE__.
11332         (NO_BUILTIN_SIZE_TYPE): Define.
11333         (SIZE_TYPE): Don't define.
11334         * config/sh/sh64.h (SUBTARGET_CPP_SPEC): Define __SIZE_TYPE__.
11335         * config/sh/sh.h (CPP_SPEC): Fixed typo that prevented the
11336         definition of __SH5__=32 for -m5-compact-nofpu.
11337         * config/sh/sh.c (barrier_align): Ensure 32-bit alignment after
11338         ADDR_DIFF_VEC.
11339         2000-12-24  Alexandre Oliva  <aoliva@redhat.com>
11340         * config/sh/sh.h (FUNCTION_ARG_PADDING): Removed.
11341         2000-12-23  Alexandre Oliva  <aoliva@redhat.com>
11342         * config/sh/sh.h (TARGET_CACHE32): Enable on SH5.
11343         (FUNCTION_BOUNDARY): Ensure 32-bit alignment for SHmedia.
11344         (INSN_LENGTH_ALIGNMENT): Likewise.
11345         2000-12-22  Alexandre Oliva  <aoliva@redhat.com>
11346         * config/sh/sh.md (call, call_value, sibcall): Simplify
11347         copying of non-branch-target register.
11348         2000-12-22  Alexandre Oliva  <aoliva@redhat.com>
11349         * glimits.h (__LONG_MAX__): Revert      2000-12-13's patch.
11350         * config/sh/sh.h (CPP_SPEC): Define it here for 64-bit SHmedia.
11351         2000-12-22  Alexandre Oliva  <aoliva@redhat.com>
11352         * config/sh/sh.h (GET_SH_ARG_CLASS): Handle complex
11353         floating-point values as structs.
11354         (FUNCTION_ARG): Use SH5_PROTOTYPED_FLOAT_ARG.
11355         (SH5_PROTOTYPELESS_FLOAT_ARG): List FP registers before
11356         general-purpose register.
11357         (SH5_PROTOTYPED_FLOAT_ARG): New macro.
11358         2000-12-20  Alexandre Oliva  <aoliva@redhat.com>
11359         * config/sh/sh.md (addsi3): Force operand1 to reg for SHmedia.
11360         * config/sh/sh.md (movsi_media): Split CONST_DOUBLE loads too.
11361         * config/sh/sh.h (DATALABEL_REF_P): Don't require the CONST.
11362         (ENCODE_SECTION_INFO): Enclose variables and constants in
11363         DATALABEL unspecs.
11364         (SH_DATALABEL_ENCODING, DATALABEL_SYMNAME_P): Define.
11365         (STRIP_NAME_ENCODING): Strip SH_DATALABEL_ENCODING off.
11366         (ASM_OUTPUT_LABELREF, AMS_OUTPUT_SYMBOL_REF): Define.
11367         * config/sh/sh.c (gen_datalabel_ref): Use UNSPEC_DATALABEL
11368         only for LABEL_REFs.  For SYMBOL_REFs, prepend
11369         SH_DATALABEL_ENCODING to the symbol name.
11370         * config/sh/sh.md (indirect_jump): Use SUBREG instead of
11371         convert_mode().
11372         2000-12-20  Alexandre Oliva  <aoliva@redhat.com>
11373         * config/sh/sh.md (casesi): Enclose ADDR_DIFF_VEC address in
11374         UNSPEC_DATALABEL.
11375         * config/sh/sh.c (gen_datalabel_ref): Accept LABEL_REFs.
11376         * config/sh/sh.h (DATALABEL_REF_NO_CONST_P): Likewise.
11377         (DATALABEL_REF_P): Don't require CONST.
11378         (ASM_OUTPUT_ADDR_DIFF_ELT): On SH5, output datalabel before
11379         REL label.
11380         2000-12-19  Alexandre Oliva  <aoliva@redhat.com>
11381         * config/sh/sh.md (extendhidi2, extendqidi2): Use arithmetic shift
11382         right.
11383         2000-12-18  Alexandre Oliva  <aoliva@redhat.com>
11384         * config/sh/sh.md (movsi_media, call, call_value, sibcall):
11385         Use shallow_copy_rtx and PUT_MODE to change the mode of
11386         SYMBOL_REFs, LABEL_REFs, CONSTs, etc.
11387         * config/sh/sh.h (PREFERRED_RELOAD_CLASS): Reload SYMBOL_REFs
11388         on SHmedia using GENERAL_REGs.
11389         * config/sh/sh.md (ble_media_i, blt_media_i, bleu_media_i,
11390         bltu_media_i): Fix reversion of conditions.
11391         2000-12-18  Alexandre Oliva  <aoliva@redhat.com>
11392         * config/sh/sh.md (zero_extendhidi2): Use logical shift right.
11393         * config/sh/sh.c (output_far_jump): Save r13 in macl.
11394         2000-12-17  Alexandre Oliva  <aoliva@redhat.com>
11395         * config/sh/sh.c (gen_datalabel_ref): Fix mode of the UNSPEC.
11396         2000-12-16  Alexandre Oliva  <aoliva@redhat.com>
11397         * config/sh/lib1funcs.asm (ic_invalidate): Define for SH5.
11398         (GCC_nested_trampoline): Likewise.
11399         * config/sh/sh-protos.h (gen_datalabel_ref): Declare.
11400         * config/sh/sh.c (gen_datalabel_ref): Define.
11401         * config/sh/sh.h (TRAMPOLINE_SIZE): Adjust for SH5.
11402         (INITIALIZE_TRAMPOLINE): Likewise.
11403         (TRAMPOLINE_ADJUST_ADDRESS): Define.
11404         (DATALABEL_REF_NO_CONST_P, DATALABEL_REF_P): Define.
11405         (EXTRA_CONSTRAINT_T): Match DATALABEL unspecs.
11406         (OUTPUT_ADDR_CONST_EXTRA): Handle DATALABEL unspecs.
11407         * config/sh/sh.md (UNSPEC_DATALABEL): New constant.
11408         (ic_invalidate): Adjust for SH5.
11409         (ic_invalidate_line_media, ic_invalidate_line_compact): New insns.
11410         * config/sh/t-sh64 (LIB1ASMFUNCS): Added _ic_invalidate and
11411         _nested_trampoline.
11412         2000-12-15  Alexandre Oliva  <aoliva@redhat.com>
11413         * config/sh/sh.h (MOVE_MAX): Set to 8 for SHmedia, 4 elsewhere.
11414         (MOVE_MAX_PIECES): Set to 8 on SHmedia too.
11415         2000-12-14  Alexandre Oliva  <aoliva@redhat.com>
11416         * config/sh/sh.h (DBX_REGISTER_NUMBER): Adjust for sh64-elf-gdb.
11417         * config/sh/elf.h (DBX_REGISTER_NUMBER): Likewise.
11418         2000-12-14  Alexandre Oliva  <aoliva@redhat.com>
11419         * config/sh/sh.c (target_reg_operand): Match only target-branch
11420         registers and pseudos that aren't virtual registers.
11421         * config/sh/sh.md (call, call_value, sibcall) [TARGET_SHMEDIA]:
11422         Copy operands that don't match target_reg_operand to pseudos.
11423         (call_media, call_value_media, sibcall_media): Use
11424         target_reg_operand instead of target_operand.
11425         2000-12-13  Alexandre Oliva  <aoliva@redhat.com>
11426         * glimits.h (__LONG_MAX__) [SH5 == 64]: Adjust for 64 bits.
11427         * config/sh/sh.c (target_reg_operand): Match hardware registers
11428         other than branch-target registers.
11429         * config/sh/sh.md (zero_extendqidi2): Input operand is %1.
11430         * config/sh/lib1funcs.asm (sdivsi3) [SH5]: Make it global.
11431         (fpscr_values) [SH5 == 32]: Define.
11432         * config/sh/t-sh64 (LIB1ASMFUNCS): Add fpscr_values.
11433         * config/sh/sh.md (call, call_value, sibcall) [TARGET_SHMEDIA]:
11434         Handle function addresses coming in SUBREGs.
11435         2000-12-12  Alexandre Oliva  <aoliva@redhat.com>
11436         * config/sh/lib1funcs.asm (shcompact_call_trampoline,
11437         shcompact_return_trampoline): Use datalabel where appropriate.
11438         2000-12-09  Alexandre Oliva  <aoliva@redhat.com>
11439         * config/sh/sh.h (SECONDARY_OUTPUT_RELOAD_CLASS): Use a
11440         general-purpose register to copy one branch-target register to
11441         another.
11442         2000-12-06  Alexandre Oliva  <aoliva@redhat.com>
11443         * config/sh/sh.c (target_operand): Accept LABEL_REFs and
11444         SYMBOL_REFs with VOIDmode.
11445         * config/sh/sh.md (ble_media_i, blt_media_i, bleu_media_i,
11446         bltu_media_i): New insns.
11447         2000-12-06  Alexandre Oliva  <aoliva@redhat.com>
11448         * config/sh/sh.h (RETURN_IN_MEMORY): Adjust for SH5 ABI.
11449         (INIT_CUMULATIVE_ARGS): Likewise.
11450         2000-12-01  Alexandre Oliva  <aoliva@redhat.com>
11451         * machmode.def (V16SFmode): New mode.
11452         * c-common.c (type_for_mode): Support V2SF and V16SF.
11453         * tree.c (build_common_tree_nodes_2): Likewise.
11454         * tree.h (tree_index): Likewise.
11455         * calls.c (emit_call_1): Take args_so_far.  Adjust all
11456         callers.  Introduce CALL_POPS_ARGS.
11457         * tm.texi (CALL_POPS_ARGS): Document.
11458         * config/sh/crt1.asm: Implement in SHmedia mode.
11459         * config/sh/crti.asm, config/sh/crtn.asm: Likewise
11460         * config/sh/elf.h (ASM_SPEC, LINK_SPEC): Support SH5 flags.
11461         (DBX_REGISTER_NUMBER): Renumber registers for SH5.
11462         * config/sh/lib1funcs.asm: Disable functions unused in SH5.
11463         Implement divsi and udivsi in SHmedia mode.  Introduce
11464         SHcompact trampolines.
11465         * config/sh/sh.c (GEN_MOV, GEN_ADD3, GEN_SUB3): Use DImode
11466         only in SHmedia64.
11467         (regno_reg_class): Rewrite.
11468         (fp_reg_names): Remove.
11469         (sh_register_names, sh_additional_register_names): New.
11470         (print_operand): Added `u'.  Support SUBREGs in addresses.
11471         Add parentheses around shifted CONSTs.
11472         (output_file_start): Output .mode and .abi directives.
11473         (shiftcosts, addsubcosts, multcosts): Adjust.
11474         (output_stack_adjust): Compute alignment.  Sanity-check SIZE.
11475         (push_regs): Take array of HOST_WIDE_INTs.  Adjust callers.
11476         (calc_live_regs): Output to array of HOST_WIDE_INTs.  Count
11477         bytes, not registers.  Take into account the need for the
11478         SHcompact incoming args trampoline.  Adjust all callers.
11479         (sh_expand_prologue): Take stack_regs into account.  Call
11480         incoming args trampoline.  Keep stack aligned as per SH5 ABI.
11481         (sh_expand_epilogue): Take stack_regs into accoutn.  Keep
11482         stack aligned as per SH5 ABI.
11483         (sh_builtin_saveregs): Support SH5 ABI.
11484         (sh_build_va_list, sh_va_start): Likewise.
11485         (initial_elimination_offset): Take alignment into account.
11486         Compute location of PR according to the SH5 stack frame.
11487         (arith_reg_operand): Reject branch-target registers.
11488         (shmedia_6bit_operand): New.
11489         (logical_operand): Use CONST_OK_FOR_P on SHmedia.
11490         (target_reg_operand): Match DImode only.  Accept SUBREGs.
11491         (target_operand): New.
11492         * config/sh/sh.h (CPP_SPEC, SUBTARGET_CPP_SPEC): Support SH5 flags.
11493         (CONDITIONAL_REGISTER_USAGE): Implement SH5 ABI.  Initialize
11494         SIBCALL_REGS for SHmedia.
11495         (TARGET_SH3E, TARGET_SH4): Only if SH1_BIT is set too.
11496         (TARGET_FPU_DOUBLE, TARGET_FPU_ANY): New.
11497         (TARGET_SHMEDIA32, TARGET_SHMEDIA64): New.
11498         (TARGET_SWITCHES): New SH5 flags.
11499         (OVERRIDE_OPTIONS): Set SH5-specific options.  Use
11500         VALID_REGISTER_P to disable unsupported registers.
11501         (LONG_TYPE_SIZE, LONG_LONG_TYPE_SIZE): Set.
11502         (POINTER_SIZE, PARM_BOUNDARY): Adjust.
11503         (FUNCTION_ARG_PADDING): Define.
11504         (FASTEST_ALIGNMENT): Adjust.
11505         (SH_REGISTER_NAMES_INITIALIZER): New.
11506         (sh_register_names): Declare.
11507         (DEBUG_REGISTER_NAMES): Define.
11508         (REGISTER_NAMES): Define based on sh_register_names.
11509         (SH_ADDITIONAL_REGISTER_NAMES_INITIALIZER): New.
11510         (sh_additional_register_names): Declare.
11511         (LAST_GENERAL_REG, LAST_FP_REG, LAST_XD_REG): Adjust for SHmedia.
11512         (FIRST_TARGET_REG, LAST_TARGET_REG): Define.
11513         (TARGET_REGISTER_P, SHMEDIA_REGISTER_P, VALID_REGISTER_P): Define.
11514         (REGISTER_NATURAL_MODE): Define.
11515         (FIRST_PSEUDO_REGISTER): Adjust.
11516         (FIXED_REGISTERS, CALL_USED_REGISTERS): Adjust.
11517         (HARD_REGNO_CALL_PART_CLOBBERED): Define.
11518         (HARD_REGNO_NREGS, HARD_REGNO_MODE_OK): Adjust.
11519         (VECTOR_MODE_SUPPORTED_P): Define.
11520         (REG_CLASS_CONTENTS): Adjust.
11521         (SMALL_REGISTER_CLASSES): Adjust.
11522         (REG_ALLOC_ORDER): Adjust.
11523         (INDEX_REG_CLASS): Adjust.
11524         (CONST_OK_FOR_O, CONST_OK_FOR_P): New.
11525         (CONST_OK_FOR_LETTER_P): Adjust.
11526         (PREFERRED_RELOAD_CLASS): Adjust.
11527         (SECONDARY_OUTPUT_RELOAD_CLASS): Adjust.
11528         (SECONDARY_INPUT_RELOAD_CLASS): Adjust.
11529         (NPARM_REGS, FIRST_PARM_REG, FIRST_RET_REG): Adjust.
11530         (FIRST_FP_PARM_REG): Adjust.
11531         (CALL_POPS_ARGS): Define.
11532         (FUNCTION_ARG_REGNO_P): Adjust.
11533         (struct sh_args): New fields.
11534         (GET_SH_ARG_CLASS): Adjust.
11535         (INIT_CUMULATIVE_ARGS): Adjust.
11536         (INIT_CUMULATIVE_INCOMING_ARGS): Define.
11537         (FUNCTION_ARG_ADVANCE): Adjust.
11538         (FUNCTION_ARG): Adjust.
11539         (FUNCTION_ARG_PASS_BY_REFERENCE, SHCOMPACT_BYREF): Define.
11540         (FUNCTION_ARG_CALLEE_COPIES): Define.
11541         (SH5_PROTOTYPELESS_FLOAT_ARG): Define.
11542         (STRICT_ARGUMENT_NAMING): Define.
11543         (PRETEND_OUTGOING_VARARGS_NAMED): Adjust.
11544         (FUNCTION_ARG_PARTIAL_NREGS): Adjust.
11545         (SH5_WOULD_BE_PARTIAL_NREGS): Define.
11546         (SETUP_INCOMING_VARARGS): Adjust.
11547         (HAVE_POST_INCREMENT, HAVE_PRE_DECREMENT): Adjust.
11548         (USE_LOAD_POST_INCREMENT, USE_STORE_PRE_DECREMENT): Adjust.
11549         (REGNO_OK_FOR_INDEX_P, REG_OK_FOR_INDEX_P): Adjust.
11550         (SUBREG_OK_FOR_INDEX_P): Adjust.
11551         (EXTRA_CONSTRAINT_S): Update.
11552         (EXTRA_CONSTRAINT_T): New.
11553         (EXTRA_CONSTRAINT): Adjust.
11554         (GO_IF_LEGITIMATE_INDEX): Adjust.
11555         (GO_IF_LEGITIMATE_ADDRESS): Adjust.
11556         (LEGITIMIZE_ADDRESS, LEGITIMIZE_RELOAD_ADDRESS): Adjust.
11557         (MOVE_MAX): Adjust.
11558         (MAX_MOVE_MAX): Define.
11559         (Pmode): Adjust.
11560         (CONST_COSTS): Adjust.
11561         (REGISTER_MOVE_COST): Adjust.
11562         (BRANCH_COST): Adjust.
11563         (TEXT_SECTION_ASM_OP): Adjust.
11564         (DBX_REGISTER_NUMBER): Adjust.
11565         (ASM_OUTPUT_DOUBLE_INT): New.
11566         (UNALIGNED_DOUBLE_INT_ASM_OP): New.
11567         (PREDICATE_CODES): Adjust.
11568         (PROMOTE_MODE): Adjust.
11569         (CRT_CALL_STATIC_FUNCTION): Do not define for SHmedia.
11570         * config/sh/sh.md (AP_REG, PR_REG, T_REG, GBR_REG): Renumber.
11571         (MACH_REG, MACL_REG, FPUL_REG, RAP_REG, FPSCR_REG): Renumber.
11572         (PR_MEDIA_REG, T_MEDIA_REG, R10_REG): New.
11573         (DR0_REG, DR2_REG, DR4_REG): Renumber.
11574         (TR0_REG, TR1_REG, TR2_REG): New.
11575         (XD0_REG): Renumber.
11576         (UNSPEC_COMPACT_ARGS): New.
11577         (type): Added pt and ptabs.
11578         (length): Default to 4 on SHmedia.  Default pt length to 12
11579         and     20 on SHmedia32 and SHmedia64, respectively.
11580         (pt): New function unit.
11581         (movdi, movsi): Add types pt and ptabs.  Don't increment LABEL_NUSES.
11582         Add whitespace between operands of SHmedia instructions.
11583         (movdicc): Fix.
11584         (adddi3_media, addsi3_media): Adjust constraints.
11585         (subsi3) [SHmedia]: Force operand 1 into a register.
11586         (udivsi3_i1_media, udivsi3_i4_media): New.
11587         (udivsi3): Support SHmedia.
11588         (divsi3_i1_media, divsi3_i4_media): New.
11589         (divsi3): Support SHmedia.
11590         (anddi3, iordi3, xordi3): Adjust constraints.
11591         (zero_extendhidi2, zero_extendqidi2): New.
11592         (extendsidi2, extendhidi2, extendqidi2): New.
11593         (push, pop, push_e, push_fpul, push_4): Disable on SH5.
11594         (pop_e, pop_fpul, pop_4): Likewise.
11595         (movsi_media): Support FP and BT registers.
11596         (movsi_media_nofpu): New.  Adjust splits to DImode.
11597         (lduw, ldub): Renamed to zero_extend* above.
11598         (movqi_media): Fix typo.
11599         (movdi_media): Support FP and BT registers.
11600         (movdi_media_nofpu): New.  Adjust splits for SHmedia32.
11601         (movdi_const_32bit): New.
11602         (shori_media): Require immediate operand.  Use `u' for output.
11603         (movdf_media, movsf_media): Simplified.
11604         (movdf_media_nofpu, movsf_media_nofpu): New.
11605         (movdf, movsf): Adjust
11606         (movv2sf, movv2sf, movv16sf): New.
11607         (beq_media, beq_media_i): Adjust constraints.  Don't use
11608         scratch BT register.
11609         (bne_media, bne_media_i): Likewise.
11610         (bgt_media, bgt_media_i): Likewise.
11611         (bge_media, bge_media_i): Likewise.
11612         (bgtu_media, bgtu_media_i): Likewise.
11613         (bgeu_media, bgeu_media_i): Likewise.
11614         (beq, bne, bgt, blt, ble, bge, bgtu, bltu, bgeu, bleu,
11615         bunordered): Emit jump insn.  Force operands to registers when
11616         needed.
11617         (jump_media, jump): Simplify.
11618         (call_compact, call_compact_rettramp): New.
11619         (call_value_compact, call_value_compact_rettramp): New.
11620         (call_media, call_value_media): Simplify.
11621         (sibcall_compact, sibcall_media): New.
11622         (call, call_value): Adjust for SHmedia and SHcompact.
11623         (sibcall, sibcall_value, untyped_call): Likewise.
11624         (sibcall_epilogue): Preserve r0 across epilogue for SHcompact.
11625         (indirect_jump): Adjust for SHmedia.
11626         (casesi_jump_media): New.
11627         (nop): Re-enable for SHmedia.
11628         (call_site): Restrict to SH1.
11629         (casesi): Adjust for SHmedia.
11630         (casesi_shift_media, casesi_load_media): New.
11631         (return): Explicitly use PR register.  Call return trampoline
11632         on SHcompact.
11633         (return_i): Explicitly use PR register.
11634         (shcompact_return_tramp, shcompact_return_tramp_i): New.
11635         (return_media): Adjust.
11636         (shcompact_incoming_args): New.
11637         (epilogue): Adjust.
11638         (seq, slt, sle, sgt, sge, sgtu, sltu, sleu, sgeu, sne): Adjust.
11639         (movstrsi): Disable on SH5.
11640         (fpu_switch0, fpu_switch1, movpsi): Enable on SH4.
11641         (addsf3, addsf3_media): Test TARGET_SHMEDIA_FPU.
11642         (subsf3, subsf3_media): Likewise.
11643         (mulsf3, mulsf3_media, mac_media): Likewise.
11644         (divsf3, divsf3_media): Likewise.
11645         (floatdisf2, floatsisf2_media): Likewise.  Adjust constraints.
11646         (floatsisf2, fux_truncsfsi2): Likewise.
11647         (fix_truncsfdi2, fix_truncsfsi2_media): Likewise.  Adjust
11648         constraints.
11649         (cmpeqsf_media, cmpgtsf_media, cmpgesf_media): Likewise.
11650         (cmpunsf_media, cmpsf): Likewise.
11651         (negsf2, negsf2_media, sqrtsf2, sqrtsf2_media): Likewise.
11652         (abssf2, abssf2_media): Likewise.
11653         (adddf3, adddf3_media, subdf3, subdf3_media): Likewise.
11654         (muldf3, muldf3_media, divdf3, divdf3_media): Likewise.
11655         (floatdidf2, floatsidf2_media): Likewise.  Adjust constraints.
11656         (floatsidf2, fix_truncdfsi2): Likewise.
11657         (fix_truncdfdi2, fix_truncdfsi2_media): Likewise.  Adjust
11658         constraints.
11659         (cmpeqdf_media, cmpgtdf_media): Likewise.
11660         (cmpgedf_media, cmpundf_media, cmpdf): Likewise.
11661         (negdf2, negdf2_media, sqrtdf2, sqrtdf2_media): Likewise.
11662         (absdf2, absdf2_media): Likewise.
11663         (extendsfdf2, extendsfdf2_media): Likewise.
11664         (truncsfdf2, truncsfdf2_media): Likewise.
11665         * config/sh/sh64.h: New file.
11666         * config/sh/t-sh64: New file.
11667         * config/sh/shmedia.h: New file.
11668         * config/sh/ushmedia.h: New file.
11669         * config/sh/sshmedia.h: New file.
11670         * configure.in: Added sh64-*-elf.
11671         * configure: Rebuilt.
11672         2000-10-10  Alexandre Oliva  <aoliva@redhat.com>
11673         * config/sh/sh.c (GEN_MOV, GEN_ADD3, GEN_SUB3): New macros.
11674         (reg_class_from_letter): Use `b' for TARGET_REGS.
11675         (print_operand): Support `%M', `%m', `AND' and
11676         `ASHIFTRT'.  Do not precede constants with `#' on SHmedia.
11677         (andcosts): Adjust for SHmedia.
11678         (output_stack_adjust, sh_expand_prologue, sh_expand_epilogue):
11679         Likewise.
11680         (target_reg_operand): New function.
11681         * config/sh/sh-protos.h (target_reg_operand): Declare.
11682         * config/sh/sh.h (CONDITIONAL_REGISTER_USAGE): Don't disable
11683         FP registers on SH5.
11684         (HARD_REGNO_MODE_OK): Accept them whenever they're acceptable
11685         on SH4.
11686         (TARGET_REGISTER_P): New macro.
11687         (reg_class, REG_CLASS_NAMES, REG_CLASS_CONTENTS): Added TARGET_REGS.
11688         (FUNCTION_VALUE): Use DImode for promoted types on SHmedia.
11689         (EXTRA_CONSTRAINT_S): New macro.
11690         (EXTRA_CONSTRAINT): Adjust.
11691         (FLOAT_TYPE_SIZE): Define to 32.
11692         (Pmode): DImode on SHmedia.
11693         (CONST_COSTS): Adjust for SHmedia literals.
11694         (PREDICATE_CODES): Added target_reg_operand.
11695         (PROMOTE_MODE): Promote signed types to DImode on SHmedia.
11696         * config/sh/sh.md: Remove all attrs from SHmedia insns.
11697         (cmpeqdi_media, cmpgtdi_media, cmpgtudi_media): New insns.
11698         (cmpdi): Accept SHmedia.
11699         (movdicc_false, movdicc_true): New insns.
11700         (movdicc): New expand.
11701         (adddi3): Accept arith_operand for op2, but FAIL on SH1 if
11702         no_new_pseudos.
11703         (addsi3_media): Match `S' constraint.
11704         (anddi3, andcdi3, iordi3, xordi3, negdi_media): New insns.
11705         (negdi2): Expand for SHmedia.
11706         (one_cmpldi2): New expand.
11707         (zero_extendsidi2): Change from expand to insn.
11708         (extendsidi2): Add constraints.
11709         (movdi_media, movsi_media): Change `%x' to `%M'.  Use `%m' for
11710         LD/ST address.  Fix SI immediate loading split.
11711         (movhi_media, movqi_media, lduw, ldub): New insns.
11712         (movhi, movqi): Accept SHmedia.
11713         (shori_media, movdi_media): Relax input constraints.  Split
11714         symbolic constants.
11715         (movdf_media, movsf_media): New insn.  New split to movdi.
11716         (movdf, movsf): Match on SHmedia.
11717         (beq_media, bne_media, bgt_media, bge_media, bgtu_media,
11718         bgeu_media): New insns and splits.  New insns with `_i' suffix.
11719         (beq, bne, bgt, blt, ble, bge, bgtu, bltu, bgeu, bleu): Adjust.
11720         (bunordered): New expand.
11721         (jump_compact): Renamed from `jump'.
11722         (jump_media): New insn.
11723         (jump): New expand.
11724         (call_media, call_value_media): New insns.
11725         (call, call_value): Adjust.
11726         (indirect_jump_compact): Renamed from `indirect_jump'.
11727         (indirect_jump_media): New insn.
11728         (indirect_jump): New expand.
11729         (untyped_call, return): Accept SHmedia.
11730         (return_media): New insn.
11731         (prologue, epilogue, blockage): Accept SHmedia.
11732         (seq, slt, sle, sgt, sge, sgtu, sltu, sleu, sgeu, sne): Adjust.
11733         (sunordered): New expand.
11734         (addsf3, subsf3, mulsf3, divsf3, floatsisf2, fix_truncsfsi2,
11735         cmpsf, negsf2, sqrtsf2, abssf2): Adjust for SHmedia.
11736         (addsf3_media, subsf3_media, mulsf3_media, mac_media,
11737         divsf3_media, floatdisf2, floatsisf2_media, fix_truncsfdi2,
11738         fix_truncsfsi2_media, cmpeqsf_media, cmpgtsf_media,
11739         cmpgesf_media, cmpunsf_media, negsf2_media, sqrtsf2_media,
11740         abssf2_media): New insns.
11741         (adddf3, subdf3, muldf3, divdf3, floatsidf2, fix_truncdfsi2,
11742         cmpdf, negdf2, sqrtdf2, absdf2): Adjust for SHmedia.
11743         (adddf3_media, subdf3_media, muldf3_media, divdf3_media,
11744         floatdidf2, floatsidf2_media, fix_truncdfdi2,
11745         fix_truncdfsi2_media, cmpeqdf_media, cmpgtdf_media,
11746         cmpgedf_media, cmpundf_media, negdf2_media, sqrtdf2_media,
11747         absdf2_media): New insns.
11748         (extendsfdf2, truncdfsf2): Adjust for SHmedia.
11749         (extendsfdf2_media, truncdfsf2_media): New insns.
11750         2000-09-14  Alexandre Oliva  <aoliva@redhat.com>
11751         * config/sh/sh.c (machine_dependent_reorg): On shmedia, skip for now.
11752         * config/sh/sh.h (CONST_OK_FOR_J): Document.
11753         (LEGITIMATE_CONSTANT_P): Accept CONST_DOUBLEs on shmedia.
11754         * config/sh/sh.md (adddi3): New expand.
11755         (adddi3_media, adddi3z_media): New insns.
11756         (adddi3_compact): Renamed from adddi3.
11757         (addsi3_media): Use add.l r63 to add constant zero.
11758         (subdi3): New expand.
11759         (subdi3_media): New insn.
11760         (subdi3_compact): Renamed from subdi3.
11761         (mulsidi3): New expand.
11762         (mulsidi3_media): New insn.
11763         (mulsidi3_compact): Renamed from mulsidi3.
11764         (umulsidi3): New expand.
11765         (umulsidi3_media): New insn.
11766         (umulsidi3_compact): Renamed from umulsidi3.
11767         (ashlsi3_media, ashrsi3_media, lshrsi3_media): New insns.
11768         (ashlsi3, ashrsi3, lshrsi3): Use them.
11769         (ashldi3_media, ashrdi3_media, lshrdi3_media): New insns.
11770         (ashldi3, ashrdi3, lshrdi3): Use them.
11771         (zero_extendsidi2): New expand.
11772         (extendsidi2): New insn.
11773         (movsi_media): New insn.  Split to movdi to load constants.
11774         (movsi): Enable for shmedia.
11775         (movdi_media): New insn.  Use shori_media to load wide constants.
11776         (short_media): New insn.
11777         (movdi): Enable for shmedia.
11778         2000-09-08  Alexandre Oliva  <aoliva@redhat.com>
11779         * config/sh/sh.h (CPP_SPEC): Added `m5'.
11780         (SUBTARGET_CPP_SPEC): Added `!m5'.
11781         (SH5_BIT, TARGET_SH5, TARGET_SHMEDIA, TARGET_SHCOMPACT): New macros.
11782         (TARGET_SWITCHES): Added `5' and `5-compact'.  Added SH1_BIT
11783         to all other SH variants.
11784         (TARGET_DEFAULT): Set to SH1_BIT.
11785         (OVERRIDE_OPTIONS): Recognize sh5 CPU.
11786         (BITS_PER_WORD): Raise to 64 on shmedia.
11787         (MAX_BITS_PER_WORD): Change to 64.
11788         (MAX_LONG_TYPE_SIZE, MAX_WCHAR_TYPE_SIZE): Set to MAX_BITS_PER_WORD.
11789         (INT_TYPE_SIZE): Keep as 32.
11790         (UNITS_PER_WORD): Raise to 8 on shmedia.
11791         (MIN_UNITS_PER_WORD): Keep as 4.
11792         (POINTER_SIZE): Raise to 64 on shmedia.
11793         (CONST_OK_FOR_J): New macro.
11794         (CONST_OK_FOR_LETTER_P): Use it.
11795         (processor_type): Add PROCESSOR_SH5.
11796         * config/sh/sh.md: Conditionalize all expands, insns and
11797         splits to TARGET_SH1.
11798         (cpu): Added sh5.
11799         (addsi3_compact): Renamed from...
11800         (addsi3): Now an expand.
11801         (addsi3_media, subsi3_media): New insns.
11802         (subsi3): Don't negate constants with SHmedia.
11804         * hooks.c: New file.
11805         * hooks.h: New file.
11806         * Makefile.in (HOOKS_H): New.
11807         (TARGET_DEF_H): Added $(HOOKS_H).
11808         (OBJS): Added hooks.o.
11809         (cfgcleanup.o, bb-reorder.o): Added target.h.
11810         (hooks.o): Added dependencies.
11811         * target-def.h (TARGET_CANNOT_MODIFY_JUMPS_P): New, added to...
11812         (TARGET_INITIALIZER): this.
11813         * doc/tm.texi (TARGET_CANNOT_MODIFY_JUMPS_P): Document.
11814         * target.h (struct gcc_target): Added cannot_modify_jumps_p.
11815         * bb-reorder.c: Include target.h.
11816         (reorder_basic_blocks): Skip if cannot modify jumps.
11817         * cfgcleanup.c: Include target.h.
11818         (try_optimize_cfg): Skip merge blocking if cannot modify jumps.
11820 2002-02-08  Chris Demetriou  <cgd@broadcom.com>
11822         * config/mips/mips.md (casesi_internal, casesi_internal_di):
11823         Protect jump delay slot instructions with .set noreorder and
11824         .set nomacro.
11826 2002-02-08  Chris Demetriou  <cgd@broadcom.com>
11828         * config/mips/mips.md (casesi_internal_di): Calculate
11829         the index into the target offset table correctly.
11831 2002-02-08  Richard Henderson  <rth@redhat.com>
11833         * expr.c (expand_expr): Mind EXPAND_INITIALIZER for truncation also.
11834         * final.c (output_addr_const): Accept and discard SUBREG.
11835         * varasm.c (decode_addr_const): Don't abort on unknown expressions --
11836         mark them unknown instead.
11837         (simplify_subtraction): Handle RTX_UNKNOWN.
11838         (initializer_constant_valid_p): Strip NOP_EXPRs that narrow the mode.
11840 2002-02-08  David Edelsohn  <edelsohn@gnu.org>
11842         * doc/invoke.texi (RS/6000 and PowerPC Options): Fix typo.
11844 2002-02-08  Richard Henderson  <rth@redhat.com>
11846         * config/alpha/elf.h (ASM_OUTPUT_ALIGNED_BSS): New.
11848 2002-02-08  Andreas Jaeger  <aj@suse.de>
11850         * config.gcc (x86_64-*-linux): Add t-linux64 makefile fragment.
11851         * config/i386/t-linux64: New file.
11853 2002-02-08  Jakub Jelinek  <jakub@redhat.com>
11855         * c-common.c (c_expand_expr): Revert 2002-02-06 patch.
11856         * c-parse.in (compstmt): Clear last_expr_type.
11858 2002-02-07  Richard Henderson  <rth@redhat.com>
11860         * loop.c (strength_reduce): Sink final_value when not
11861         eliminating a biv.
11863 2002-02-07  David O'Brien  <obrien@FreeBSD.org>
11865         * config/sparc/freebsd.h: Fix mismatched spec {.
11867 2002-02-07  Richard Henderson  <rth@redhat.com>
11869         * cfgrtl.c: Include recog.h and insn-config.h.
11870         (keep_with_call_p): Fix general_operand invocation.
11871         * Makefile.in (cfgrtl.o): Update dependencies.
11873 2002-02-07  Kazu Hirata  <kazu@hxi.com>
11875         * config/h8300/h8300.c (two_insn_adds_subs_operand): Revise a
11876         comment.  Accept HImode only if TARGET_H8300.
11878 2002-02-07  Eric Christopher  <echristo@redhat.com>
11880         * config/mips/crtn.asm: Cleanup #ifdefs.
11882 2002-02-07  Eric Christopher  <echristo@redhat.com>
11884         * config/mips/crti.asm: Add changes for mips16. mips16 uses
11885         register 7 as RA instead of $31.
11886         * config/mips/crtn.asm: Ditto.
11887         * config/mips/mips.c (mips_move_2words): Add case for
11888         TARGET_MIPS16 when HOST_BITS_PER_WIDE_INT >= 64.
11889         (compute_frame_size): Fix typo.
11890         (save_restore_insns): Ditto.  Make documentation about using
11891         register $7 as return register more precise.
11892         (mips_expand_epilogue): Fix comment. Add code to work around not
11893         being able to add to the stack pointer directly.
11894         * config/mips/mips.h (EH_RETURN_DATA_REGNO): Change register number
11895         to 2 for TARGET_MIPS16 as we need 6 and 7 as clobbers in the
11896         epilogue.
11898 2002-02-07  Tom Rix  <trix@redhat.com>
11900         * config/rs6000/rs6000.c (reg_or_aligned_short_operand): New. For
11901         immediates in ldu and stdu DS opcode field.
11902         * config/rs6000/rs6000.md (movdi_update, movdi_update1): Use.
11903         * config/rs6000/rs6000-protos.h: Add reg_or_aligned_short_operand.
11904         * config/rs6000/rs6000.h (PREDICATE_CODES): Same.
11906 2002-02-07  Jeff Sturm  <jsturm@one-point.com>
11908         * config/sparc/sparc.c (compute_frame_size): Don't correct frame
11909         offset for stack bias.
11911 2002-02-07  H.J. Lu <hjl@gnu.org>
11913         * config/mips/linux.h (SUBTARGET_ASM_DEBUGGING_SPEC): Defined.
11915 2002-02-07  Ulrich Weigand  <uweigand@de.ibm.com>
11917         * testsuite/gcc.dg/cpp/charconst-2.c: Add -fsigned-char option.
11919 Thu Feb  7 12:14:17 CET 2002  Jan Hubicka  <jh@suse.cz>
11921         * i386-protos.h (x86_order_regs_for_local_alloc): Declare
11922         * i386.c (x86_order_regs_for_local_alloc): New global function.
11923         * i386.h (REG_ALLOC_ORDER): CLeanup.
11924         (ORDER_REGS_FOR_LOCAL_ALLOC): New.
11926 2002-02-07  Richard Henderson  <rth@redhat.com>
11928         PR optimization/2463
11929         * alias.c (find_base_value): Recall base values for fixed hard regs.
11930         * loop.c (loop_regs_update): Don't use single_set on non-insns.
11932 2002-02-07  Alexandre Oliva  <aoliva@redhat.com>
11934         * config/mips/mips.md (define_delay) [mips16]: Adjust required
11935         length.
11937 2002-02-06  Richard Henderson  <rth@redhat.com>
11939         PR c/5609
11940         * stmt.c (resolve_operand_name_1): Take more care with mixed
11941         named and unnamed operands.
11943 2002-02-06  Janis Johnson  <janis187@us.ibm.com>
11944             Jan Hubicka  <jh@suse.cz>
11946         * loop.c (remove_constant_addition): Avoid clobbering a shared
11947         CONST expression.
11949 2002-02-06  Ulrich Weigand  <uweigand@de.ibm.com>
11951         * config.gcc (s390x-*-linux*): Add t-linux64 makefile fragment.
11952         * config/s390/t-linux64: New file.
11953         * config/s390/libgcc-glibc.ver: New file.
11955 2002-02-06  Ulrich Weigand  <uweigand@de.ibm.com>
11957         * config/s390/linux64.h: Delete file.
11958         * config/s390/s390x.h: New file.
11959         * config.gcc (s390x-*-linux*): Use s390x.h instead of linux64.h
11960         as target header file.
11961         * config/s390/linux.h (TARGET_VERSION): Define depending on
11962         DEFAULT_TARGET_64BIT.
11963         (CPP_SPEC, ASM_SPEC, LINK_SPEC): Likewise.
11964         (SIZE_TYPE, PTRDIFF_TYPE): Likewise.
11965         (NO_BUILTIN_SIZE_TYPE, NO_BUILTIN_PTRDIFF_TYPE): Define.
11966         (CPP_ARCH31_SPEC, CPP_ARCH64_SPEC): New defines.
11967         (LINK_ARCH31_SPEC, LINK_ARCH64_SPEC): New defines.
11968         (EXTRA_SPEC): New define.
11969         * config/s390/s390.h (TARGET_VERSION): Define depending on
11970         DEFAULT_TARGET_64BIT.
11971         (MASK_RETURN_ADDR): Add run-time check for TARGET_64BIT.
11973 2002-02-06  Jason Merrill  <jason@redhat.com>
11975         * c-decl.c (finish_function): Warn about a non-void function with
11976         no return statement and no abnormal exit.
11977         (current_function_returns_abnormally): New variable.
11978         (start_function): Clear it.
11979         (struct c_language_function): Add returns_abnormally.
11980         (push_c_function_context): Save it.
11981         (pop_c_function_context): Restore it.
11982         (builtin_function): Set TREE_THIS_VOLATILE on return fns.
11983         (grokdeclarator): Set C_FUNCTION_IMPLICIT_INT on functions without
11984         an explicit return type.
11985         * c-tree.h: Declare current_function_returns_abnormally.
11986         (C_FUNCTION_IMPLICIT_INT): New macro.
11987         * c-typeck.c (build_function_call): Set it.
11988         (c_expand_return): Set current_function_returns_value even if the
11989         value is erroneous.
11991 2002-02-06  Jakub Jelinek  <jakub@redhat.com>
11993         PR c/5420:
11994         * c-common.c (c_unsafe_for_reeval): Make COMPOUND_LITERAL_EXPR
11995         unsafe for reevaluation.
11997 2002-02-06  Jakub Jelinek  <jakub@redhat.com>
11999         PR c/5482:
12000         * c-common.c (c_expand_expr) [STMT_EXPR]: If last expression is not
12001         EXPR_STMT, but COMPOUND_STMT, recurse into it.
12003 2002-02-06  Richard Henderson  <rth@redhat.com>
12005         * cfganal.c (keep_with_call_p): Source for fixed_reg dest must
12006         be a general_operand.  Dest for function value must be a pseudo.
12008 2002-02-06  Nick Clifton  <nickc@cambridge.redhat.com>
12010         * dbxout.c (dbxout_symbol_location): Accept LABEL_REFs as well
12011         as SYMBOL_REFs from the constant pool.
12013 2002-02-06  Alexandre Oliva  <aoliva@redhat.com>
12015         * dbxout.c (dbxout_parms): Apply DEBUGGER_ARG_OFFSET to parameters
12016         passed by invisible reference.
12018 2002-02-05  Richard Henderson  <rth@redhat.com>
12020         * config/sparc/sparc.h (ARG_POINTER_CFA_OFFSET): No stack bias.
12022 2002-02-06  Hans-Peter Nilsson  <hp@bitrange.com>
12024         Implement using "base addresses" in insn operands as default.
12025         * config/mmix/mmix.c (mmix_conditional_register_usage): if
12026         -mabi=gnu, modify fixed_regs to fit the GNU ABI.
12027         (mmix_extra_constraint): Use 'R' to indicate that GETA should be
12028         used to read the rtx value.
12029         (mmix_target_asm_function_epilogue): Fix spacing.
12030         (mmix_constant_address_p): Handle TARGET_BASE_ADDRESSES.
12031         (mmix_legitimate_address): Ditto.
12032         (mmix_encode_section_info): Set SYMBOL_REF_FLAG on rtx:es that
12033         should be loaded with a GETA insn.  Don't allocate needless extra
12034         char for nul termination and fix misleading comment.
12035         (mmix_print_operand_address): Handle constants if
12036         TARGET_BASE_ADDRESSES.
12037         (mmix_output_register_setting): Use base addressing if
12038         TARGET_BASE_ADDRESSES and the number of insns is 3.
12039         * config/mmix/t-mmix (MULTILIB_EXTRA_OPTS): New.
12040         * config/mmix/mmix.md ("movdi"): Change the alternative with GETA
12041         to use R as constraint, add LDA to match s.
12042         * config/mmix/mmix.h (TARGET_BASE_ADDRESSES): New.
12043         (TARGET_DEFAULT): Add TARGET_MASK_BASE_ADDRESSES.
12044         (TARGET_SWITCHES): Add -mbase-addresses, -mno-base-addresses.
12045         (FIXED_REGISTERS): Make registers $231..$246 fixed by default.
12046         (MMIX_MMIXWARE_ABI_REG_ALLOC_ORDER): Move $231..$246 last, in
12047         order with other fixed registers.
12048         (MMIX_GNU_ABI_REG_ALLOC_ORDER): Put forward $231, in order with
12049         other parameter/call-clobbered registers.
12050         * doc/invoke.texi (Option Summary) <MMIX Options>: Add
12051         -mbase-addresses, -mno-base-addresses.
12052         (MMIX Options): Ditto.
12054 2002-02-05  John David Anglin  <dave@hiauly1.hia.nrc.ca>
12056         * pa.h (PREDICATE_CODES): Add reg_before_reload_operand.
12058 2002-02-06  Aldy Hernandez  <aldyh@redhat.com>
12060         * config/rs6000/altivec.h: Change elem to _S_elem.
12062 2002-02-05  Jason Thorpe  <thorpej@wasabisystems.com>
12064         * config/netbsd.h (WCHAR_TYPE): Define.
12065         (WCHAR_TYPE_SIZE): Ditto.
12066         (WINT_TYPE): Ditto.
12067         * config/alpha/netbsd.h (WCHAR_TYPE): Remove.
12068         (WCHAR_UNSIGNED): Ditto.
12069         (WCHAR_TYPE_SIZE): Ditto.
12070         (WINT_TYPE): Ditto.
12071         * config/arm/netbsd.h: Likewise.
12072         * config/i386/netbsd-elf.h: Likewise.
12073         * config/i386/netbsd.h: Likewise.
12074         * config/m68k/netbsd-elf.h: Likewise.
12075         * config/m68k/netbsd.h: Likewise.
12076         * config/ns32k/netbsd.h: Likewise.
12077         * config/sparc/netbsd.h: Likewise.
12078         * config/vax/netbsd.: Likewise.
12080 2002-02-05  Alexandre Oliva  <aoliva@redhat.com>
12082         * target.h (struct gcc_target): Added ms_bitfield_layout_p.
12083         * target-def.h (TARGET_MS_BITFIELD_LAYOUT_P): New.  Added to...
12084         (TARGET_INITIALIZER): this.
12085         * doc/tm.texi (TARGET_MS_BITFIELD_LAYOUT_P): Document.
12086         (BITFIELD_NBYTES_LIMITED): Markup fix.
12087         * tree.h (default_ms_bitfield_layout_p): Declare.
12088         (record_layout_info): Added prev_field.
12089         * tree.c (default_ms_bitfield_layout_p): New fn.
12090         * c-decl.c (finish_struct): Disregard EMPTY_FIELD_BOUNDARY and
12091         PCC_BITFIELD_TYPE_MATTERS for MS bit-field layout.
12092         * stor-layout.c: Include target.h.
12093         (start_record_layout): Initialize prev_field.
12094         (place_field): Handle MS bit-field layout, and disregard
12095         EMPTY_FIELD_BOUNDARY, BITFIELD_NBYTES_LIMITED and
12096         PCC_BITFIELD_TYPE_MATTERS in this case.  Update prev_field.
12097         * Makefile.in (stor-layout.o): Adjust dependencies.
12099 2002-02-05  Jason Merrill  <jason@redhat.com>
12101         * collect2.c (dump_file): Pass DMGL_VERBOSE to cplus_demangle.
12103 2002-02-05  Andreas Jaeger  <aj@suse.de>
12105         * crtstuff.c: Fix comments.
12107 2002-02-05  Richard Henderson  <rth@redhat.com>
12109         PR fortran/3393
12110         * loop.c (loop_iv_add_mult_emit_before): Copy multiplier as well.
12111         (loop_iv_add_mult_sink, loop_iv_add_mult_hoist): Likewise.
12113         PR fortran/3392
12114         * config/mips/mips.c (function_arg): Handle TImode.
12115         (function_arg_advance): Likewise.
12117 2002-02-05  Aldy Hernandez  <aldyh@redhat.com>
12119         * config/rs6000/altivec.h (vec_step_help): Rename to
12120         __vec_step_help.
12122 2002-02-05  Aldy Hernandez  <aldyh@redhat.com>
12124         * config/rs6000/altivec.h: Fix typos.
12126 2002-02-05  Jason Thorpe  <thorpej@wasabisystems.com>
12128         * config/arm/netbsd.h: Correct a comment.
12130 2002-02-05  Aldy Hernandez  <aldyh@redhat.com>
12132         * config/rs6000/rs6000.c (altivec_init_builtins): Fix typo
12133         building void typed builtins.
12135         * config/rs6000/altivec.h (vec_ld*): Fix typos.
12136         (vec_step): Implement for C++.
12138 Mon Feb  4 19:23:19 2002  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
12140         * final.c (final_scan_insn): Add case for NOTE_INSN_LOOP_END_TOP_COND.
12142 2002-02-04  Richard Henderson  <rth@redhat.com>
12144         * combine.c (nonzero_bits): Re-introduce special case for
12145         sp/fp/ap wrt REGNO_POINTER_ALIGN.
12147 2002-02-05  Aldy Hernandez  <aldyh@redhat.com>
12149         * doc/extend.texi: Warn about unsupported usage of altivec
12150         builtins.
12152         * config/rs6000/rs6000.md (altivec_vcmp*_p): Remove.
12153         (altivec_predicate_*): New.
12155         * config/rs6000/altivec.h: Rewrite predicates to use new builtins.
12156         Add C++ version of vec_*() functions.
12158         * config/rs6000/rs6000.c (bdesc_altivec_preds): New.
12159         (bdesc_2arg): Remove altivec predicates.
12160         (altivec_expand_builtin): Handle predicates.
12161         (altivec_init_builtins): Handle predicates.
12162         (altivec_expand_predicate_builtin): New.
12164 2002-02-04  John David Anglin  <dave@hiauly1.hia.nrc.ca>
12166         * pa.c (DO_FRAME_NOTES): Move forward.
12167         (store_reg): Revise handling of frame notes.
12168         (load_reg): Likewise.
12169         (set_reg_plus_d): Likewise.
12170         (hppa_expand_prologue): Likewise.
12171         (hppa_expand_epilogue): Likewise.
12173 2002-02-04  John David Anglin  <dave@hiauly1.hia.nrc.ca>
12175         * unwind-dw2-fde-glibc.c: Define _GNU_SOURCE if not defined.
12177 2002-02-04  Jakub Jelinek  <jakub@redhat.com>
12179         PR c/4475, c++/3780:
12180         * c-common.def (SWITCH_STMT): Add SWITCH_TYPE operand.
12181         * c-common.h (SWITCH_TYPE): Define.
12182         * c-typeck.c (c_start_case): Set SWITCH_TYPE.
12183         * stmt.c (all_cases_count): Set lastval to thisval at end of loop.
12184         Rename spareness variable to sparseness.
12185         (expand_end_case_type): Renamed from expand_end_case, use orig_type
12186         if non-NULL instead of TREE_TYPE (orig_index).
12187         * tree.h (expand_end_case_type): Renamed from expand_end_case.
12188         (expand_end_case): Define using expand_end_case_type.
12189         * c-semantics.c (genrtl_switch_stmt): Pass SWITCH_TYPE
12190         to expand_end_case_type.
12191         * doc/c-tree.texi (SWITCH_STMT): Document SWITCH_TYPE.
12193 2002-02-04  John David Anglin  <dave@hiauly1.hia.nrc.ca>
12195         * pa.h (PREFERRED_STACK_BOUNDARY): Define to match standard rounding.
12196         (BIGGEST_ALIGNMENT): Change to 128.
12198 2002-02-04  John David Anglin  <dave@hiauly1.hia.nrc.ca>
12200         * pa32-linux.h (LINK_COMMAND_SPEC): Define.
12202 2002-02-04  John David Anglin  <dave@hiauly1.hia.nrc.ca>
12204         * pa.md (call_internal_reg_64bit): Remove unused variable.
12206 2002-02-04  Nick Clifton  <nickc@cambridge.redhat.com>
12208         * config/arm/arm.h (machine_function): Add uses_anonymous_args
12209         field.
12210         (SETUP_INCOMING_VARARGS): Set uses_anonymous_args.
12211         * config/arm/arm.c (current_function_anonymous_args): Delete,
12212         replace uses with cfun->machine->uses_anonymous_args.
12213         (arm_reorg): Do not reset uses_anonymous_args.
12215         * config/arm/arm.c (arm_hard_regno_mode_ok): Allow any value in
12216         any geenral register.
12218 2001-02-04  Bernd Schmidt  <bernds@redhat.com>s
12220         * cfgrtl.c (force_nonfallthru_and_redirect): Don't try to redirect
12221         the entry block.
12223 2002-02-04  Richard Henderson  <rth@redhat.com>
12225         * combine.c (force_to_mode): Remove STACK_BIAS code.
12226         (nonzero_bits): Likewise.  Replace sp/fp special case with
12227         REGNO_POINTER_ALIGN.
12229         * config/sparc/sparc.h (FRAME_POINTER_REGNUM): Change to SFP.
12230         (HARD_FRAME_POINTER_REGNUM): New.
12231         (FIRST_PSEUDO_REGISTER, REG_CLASS_CONTENTS): Update.
12232         (FIXED_REGS, CALL_USED_REGS): Update.
12233         (REG_ALLOC_ORDER, REGISTER_NAMES): Update.
12234         (CONDITIONAL_REGISTER_USAGE): Update for HFP.
12235         (HARD_REGNO_NREGS): Update for SFP.
12236         (STACK_POINTER_OFFSET): Include bias here ...
12237         (FIRST_PARM_OFFSET): ... not here.
12238         (STACK_BIAS): Remove.
12239         (INIT_EXPANDERS): New.
12240         (STARTING_FRAME_OFFSET): Do not include bias.
12241         (ELIMINABLE_REGS, CAN_ELIMINATE, INITIAL_ELIMINATION_OFFSET): New.
12242         (REGNO_OK_FOR_INDEX_P, REGNO_OK_FOR_BASE_P): Update for SFP.
12243         (REG_OK_FOR_INDEX_P, REG_OK_FOR_BASE_P): Likewise.
12244         * config/sparc/aout.h (DBX_REGISTER_NUMBER): Update for HFP.
12245         * config/sparc/litecoff.h, config/sparc/sol2.h: Likewise.
12246         * config/sparc/sparc.c (mem_min_alignment): Update for HFP.
12247         (sparc_nonflat_function_prologue, epilogue_renumber): Likewise.
12248         (MUST_SAVE_REGISTER): Likewise.
12249         (sparc_flat_function_prologue): Likewise.
12250         (sparc_flat_function_epilogue): Likewise.
12251         (HARD_FRAME_POINTER_MASK): Rename from FRAME_POINTER_MASK.
12252         (sparc_init_modes): SFP is GENERAL_REGS.
12253         (sparc_builtin_saveregs): SFP does not have bias applied.
12255 2002-02-04  Richard Henderson  <rth@redhat.com>
12257         * config/alpha/alpha.c (current_function_is_thunk): Don't check
12258         current_function_is_thunk.
12259         (alpha_sa_mask): Distinguish between current_function_is_thunk
12260         called from ASM_OUTPUT_MI_THUNK and not.
12261         (alpha_does_function_need_gp): Thunks always need gp.
12262         (alpha_start_function, alpha_output_function_end_prologue): Likewise.
12263         (alpha_output_mi_thunk_osf): New.
12264         * config/alpha/alpha-protos.h: Update.
12265         * config/alpha/alpha.h (ASM_OUTPUT_MI_THUNK): New.
12267 2002-02-04  Richard Sandiford  <rsandifo@redhat.com>
12269         * c-typeck.c (build_c_cast): Warn when qualifiers are added to
12270         function types, not when they're taken away.
12272 Mon Feb  4 09:05:58 2002  Jeffrey A Law  (law@redhat.com)
12274         * cfgrtl.c (try_redirect_by_replacing_jump): Remove associated
12275         CODE_LABEL and jump table when replacing a table jump with a
12276         simple jump.
12278 2002-02-04  Ulrich Weigand  <uweigand@de.ibm.com>
12280         * config/s390/s390-protos.h (legitimize_la_operand,
12281         s390_secondary_input_reload_class, s390_plus_operand,
12282         s390_expand_plus_operand): Add prototypes.
12284         config/s390/s390.c (s390_secondary_input_reload_class,
12285         s390_plus_operand, s390_expand_plus_operand): New functions.
12287         (struct s390_address): New member 'pointer'.
12288         (s390_decompose_address): Compute it.
12289         (legitimate_la_operand_p): Use it.
12290         (legitimize_la_operand): New function.
12291         (movti, movdi, movdf splitters): Call it.
12293         config/s390/s390.h (SECONDARY_INPUT_RELOAD_CLASS): Define.
12294         (PREDICATE_CODES): Add s390_plus_operand.
12296         config/s390/s390.md (adddi3_inv_64, addaddr_ccclobber): Delete.
12297         (la_ccclobber): Allow GENERAL_REGS as output operand.
12299         (reload_load_address, *reload_load_address_reg_0, *la, *do_la_reg_0,
12300         *reload_la_64, *reload_la_31 and splitters): Delete, replace by ...
12301         (*la_64, *la_31, reload_indi, reload_insi): ... these.
12303 2002-02-04  Ulrich Weigand  <uweigand@de.ibm.com>
12305         * gcc/config/s390/s390.h (CRT_CALL_STATIC_FUNCTION): Fixed
12306         register names for regular asm () construct.
12308 2002-02-04  Jakub Jelinek  <jakub@redhat.com>
12310         * config/i386/i386.md (movsf_1): Allow moving SF values in MMX
12311         registers.
12313 2002-02-04  Jakub Jelinek  <jakub@redhat.com>
12315         * combine.c (recog_for_combine): Create a dummy insn with PATTERN
12316         pat for recog.
12318 2002-02-04  Hartmut Penner  <hpenner@de.ibm.com>
12320         * varasm.c (decode_rtx_const): Allow unspec (symbol_ref) in
12321         constant pool to be identical by string address and index.
12323 2002-02-04  Anthony Green  <green@redhat.com>
12325         * output.h (SECTION_OVERRIDE): Define.
12326         * varasm.c (named_section): Obey SECTION_OVERRIDE.
12328 2002-02-03  Jason Thorpe  <thorpej@wasabisystems.com>
12330         * config.gcc (arm*-*-netbsdelf*): Placeholder to prevent match
12331         by existing arm*-*-netbsd* (a.out) target.
12332         (ns32k-*-netbsdelf*): Likewise.
12333         (sparc-*-netbsdelf*): Likewise.
12334         (vax-*-netbsdelf*): Likewise.
12336 2002-02-03  Danny Smith <dannysmith@users.sourceforge.net>
12338         * gthr-win32.h: Protect against conflicting typedef for BOOL in windows
12339         headers and libobjc headers.
12341 2002-02-03  Mumit Khan  <khan@nanotech.wisc.edu>
12343         * gthr-win32.h (__mingwthr_key_dtor): Use extern "C" linkage for C++.
12344         (_mingw.h): Remove duplicate include.
12346 2002-02-03  Jason Thorpe  <thorpej@wasabisystems.com>
12348         * config.gcc: Set cpu_type to m68k for 68010, as well.
12349         (m68010-*-netbsdelf*): New...
12350         (m68k*-*-netbsdelf*): ...targets.
12351         * config/m68k/netbsd-elf.h: New file.
12353 2002-02-02  Kazu Hirata  <kazu@hxi.com>
12355         * config/h8300/h8300.c (hand_list): Move inside function_arg.
12357 2002-02-02  Kazu Hirata  <kazu@hxi.com>
12359         * config/h8300/h8300.c (h8_push_ops): Move inside
12360         h8300_init_once.
12361         (h8_pop_ops): Likewise.
12362         (h8_move_ops): Likewise.
12364 2002-02-02  Kazu Hirata  <kazu@hxi.com>
12366         * config/h8300/h8300.c (os_task): Make it static.
12367         (monitor): Likewise.
12368         (pragma_saveall): Likewise.
12370 2002-02-02  Alexandre Oliva  <aoliva@redhat.com>
12372         * config/sh/sh.md (ic_invalidate_line): Make sure the immediate
12373         constant is a valid sign-extension for Pmode.
12375 2002-02-02  Kazu Hirata  <kazu@hxi.com>
12377         * config/h8300/h8300.c: Fix formatting.
12379 2002-02-02  Kazu Hirata  <kazu@hxi.com>
12381         * config/h8300/h8300.md: Fix formatting.
12383 2002-02-02  Kazu Hirata  <kazu@hxi.com>
12385         * config/h8300/h8300.md (one_cmpl patterns): Tighten the
12386         predicates of operands[1].  Split the patterns for each
12387         processor variant.
12389 2002-02-02  Kazu Hirata  <kazu@hxi.com>
12391         * config/h8300/h8300.md (xor patterns): Tighten the predicates
12392         of operands[1] to register_operand.
12394 2002-02-02  Neil Booth  <neil@daikokuya.demon.co.uk>
12396         * cpphash.h (struct spec_nodes): Remove n__CHAR_UNSIGNED__.
12397         * cpphash.c (_cpp_init_hashtable): Similarly.
12398         * cppinit.c (cpp_create_reader): Default the signed_char flag.
12399         (init_builtins): Define __CHAR_UNSIGNED__ appropriately.
12400         (COMMAND_LINE_OPTIONS): Recognise -f{un,}signed-char.
12401         (cpp_handle_option): Handle the new options.
12402         * cpplex.c (cpp_interpret_charconst): Use new flag.
12403         * cpplib.h (struct cpp_options): New member signed_char.
12404         * gcc.c (cpp_unique_options): Remove %c spec and documentation.
12405         (cpp_options): Handle -fsigned-char and -funsigned-char.
12406         (static_specs): Remove signed_char_spec.
12407         (do_spec1): Don't handle %c.
12408         * system.h: Poison SIGNED_CHAR_SPEC.
12409         * tradcif.y (yylex): Use flag_signed_char.
12410         * tradcpp.h (flag_signed_char): New.
12411         * tradcpp.c (flag_signed_char): New.
12412         (main): Handle new command-line options.
12413         (initialize_builtins): Define __CHAR_UNSIGNED__ if appropriate.
12414 config:
12415         * alpha/alpha.h (SIGNED_CHAR_SPEC): Remove.
12416         * avr/avr.h: Remove old comments.
12417         * i960/i960.h (CPP_SPEC): Pass -fsigned-char if -mic*.
12418         (CC1_SPEC): Pass -fsigned-char if -mic*.
12419         (SIGNED_CHAR_SPEC): Remove.
12420 doc:
12421         * tm.texi (SIGNED_CHAR_SPEC): Remove documentation.
12423 2002-02-01  Eric Christopher  <echristo@redhat.com>
12425         From Daniel Jacobowitz <dmj+@andrew.cmu.edu>
12426         * config/mips/mips.h (FUNCTION_PROFILER): Fix function profiling.
12427         * config/mips/linux.h (ASM_OUTPUT_REG_PUSH): Undefine.
12428         (ASM_OUTPUT_REG_POP): Ditto.
12430 2002-02-02  Neil Booth  <neil@daikokuya.demon.co.uk>
12432         * c-decl.c, tree.c, tree.h, objc/objc-act.c: Revert bitfield
12433         patch.
12435 2002-02-02  Jakub Jelinek  <jakub@redhat.com>
12437         * config/i386/i386.h (CPP_CPUCOMMON_SPEC): Add missing | separators.
12439 2002-02-02  Jakub Jelinek  <jakub@redhat.com>
12441         PR c/5304:
12442         * expmed.c (expand_mult_highpart): Use immed_double_const for wide_op1
12443         unconditionally.
12445 2002-02-01  Janis Johnson  <janis187@us.ibm.com>
12447         * cfganal.c: Include tm_p.h.
12448         (keep_with_call_p): Fix the test that determines if a register holds
12449         the return value of a call.
12451 2002-02-01  DJ Delorie  <dj@redhat.com>
12453         * config/sparc/sparc.c (sparc_emit_set_symbolic_const64): If
12454         we are given conflicting registers, switch to the other one we
12455         had allocated for us.
12456         * config/sparc/sparc.md (reload_indi, reload_outdi): Pass op[2]
12457         as TImode so we know when the "other" register is available.
12459 2002-02-01  David O'Brien  <obrien@FreeBSD.org>
12461         * config/sparc/sol2-sld-64.h: Include sparc/biarch64.h rather than
12462         sparc/sparc_bi.h.
12464 2002-02-01  Janis Johnson  <janis187@us.ibm.com>
12466         * cfganal.c (keep_with_call_p): New function.
12467         (flow_call_edges_add): Prevent splitting a block between a call and
12468         a single-set instruction that should be kept in the same block.
12470 2002-02-01  Craig Rodrigues  <rodrigc@gcc.gnu.org>
12472         * doc/install.texi (avr): Update outdated URL.
12474 2002-01-30  Andrew Haley  <aph@cambridge.redhat.com>
12476         * config/stormy16/stormy16.md (pushqi): New.
12477         (popqi): New.
12478         (pushhi): New.
12479         (pophi): New.
12480         (movhi): Remove stack operands.
12481         (movqi): Likewise.
12482         * config/stormy16/stormy16.h (PREDICATE_CODES): Add
12483         nonimmediate_nonstack_operand.
12484         * config/stormy16/stormy16.c (nonimmediate_nonstack_operand):
12485         New.
12486         * config/stormy16/stormy16-protos.h (nonimmediate_nonstack_operand)
12487         New.
12489 2002-01-31  Jason Merrill  <jason@redhat.com>
12491         * Makefile.in (c-parse.c): Handle .output file.
12492         * objc/Make-lang.in (objc-parse.c): Likewise.
12494 2002-02-01  Alexandre Oliva  <aoliva@redhat.com>
12496         * config/mips/mips.h (ENDIAN_SPEC): Output the endianness flag if
12497         the -me[lb] option is given.  Don't output the default flag
12498         twice.
12500 2002-01-31  Zack Weinberg  <zack@codesourcery.com>
12502         * c-lex.c (yyparse): Call debug_hooks->start_source_file for
12503         the primary source file; this has not been done yet.
12504         * c-decl.c (c_expand_body): Reset input_filename from
12505         DECL_SOURCE_FILE (fndecl) before calling init_function_start.
12507 2002-01-31  Kazu Hirata  <kazu@hxi.com>
12509         * rtlanal.c (subreg_regno_offset): Do not use
12510         SUBREG_REGNO_OFFSET.
12511         * system.h: Add SUBREG_REGNO_OFFSET to the GCC poison list.
12512         * doc/tm.texi (SUBREG_REGNO_OFFSET): Remove.
12514 2002-01-31  Joseph S. Myers  <jsm28@cam.ac.uk>
12516         * gccbug.in: Follow GNU Coding Standards for --version.  Use GCC
12517         version rather than GNATS version in --version output.
12519 2002-01-31  Richard Sandiford  <rsandifo@redhat.com>
12521         * ifcvt.c (noce_process_if_block): Make a copy of the destination
12522         when copying back from a temporary.
12524 2002-01-30  Richard Henderson  <rth@redhat.com>
12526         * ifcvt.c (dead_or_predicable): Handling merging when other_bb
12527         and new_dest are the same.
12529 2002-01-30  Richard Henderson  <rth@redhat.com>
12531         PR opt/5076
12532         * rtl.h (NOTE_INSN_LOOP_END_TOP_COND): New.
12533         * rtl.c (note_insn_name): Update.
12534         * emit-rtl.c (remove_unnecessary_notes): Kill it.
12535         * stmt.c (expand_end_loop): Kill jump opt code.  Use LOOP_END_TOP_COND
12536         to perform loop rotation.
12537         (expand_exit_loop_top_cond): New.
12538         * tree.h (expand_exit_loop_top_cond): Declare it.
12539         * c-semantics.c (genrtl_while_stmt): Use it.
12540         (genrtl_for_stmt): Likewise.
12542 2002-01-30  Alexandre Oliva  <aoliva@redhat.com>
12544         * config/mips/mips.h (PARM_BOUNDARY): Guarantee alignment of
12545         arguments to 64-bit boundaries on 64-bit ABIs.
12547 2002-01-30  Steve Ellcey  <sje@cup.hp.com>
12549         * loop.c (loop_invariant_p): Special case pic_offset_table_rtx.
12551 2002-01-31  Joseph S. Myers  <jsm28@cam.ac.uk>
12553         * c-decl.c (grokdeclarator): Handle type being a typedef for an
12554         invalid type.
12556 2002-01-30  David O'Brien  <obrien@FreeBSD.org>
12558         * config.gcc: Include sparc/biarch64.h rather than sparc/sparc_bi.h.
12559         * config/sparc/sparc_bi.h: Remove file.
12560         * config/sparc/biarch64.h: New file (rename of sparc_bi.h).
12562 2002-01-30  Richard Henderson  <rth@redhat.com>
12564         * sched-deps.c (sched_analyze): Make a call read the frame pointer.
12566 2002-01-30  Zack Weinberg  <zack@codesourcery.com>
12568         * expmed.c (emit_store_flag): Call protect_from_queue on op0 and op1.
12570 2002-01-30  Jason Merrill  <jason@redhat.com>
12572         * dwarf2out.c (dwarf_cfi_name): Add other DWARF 3 codes.
12573         (output_cfi): Likewise. Disable DW_CFA_GNU_negative_offset_extended.
12574         (reg_save): Use DW_CFA_offset_extended_sf instead.
12576         * dwarf2out.c (dwarf2out_finish): Don't abort if there were errors.
12578 2002-01-29  Jakub Jelinek  <jakub@redhat.com>
12580         * cselib.c (cselib_record_sets): Use IF_THEN_ELSE result
12581         in cselib_lookup.
12583 2002-01-29  Aldy Hernandez  <aldyh@redhat.com>
12585         * rs6000.md ("*call_value_local32"): Remove constraints.
12586         ("*call_value_local64"): Same.
12587         ("*call_value_indirect_nonlocal_aix32"): Same.
12588         ("*call_value_nonlocal_aix32"): Same.
12589         ("*call_value_indirect_nonlocal_aix64"): Same.
12590         ("*call_value_nonlocal_aix64"): Same.
12591         ("*call_value_nonlocal_sysv"): Same.
12593 2002-01-29  Richard Henderson  <rth@redhat.com>
12595         * config/alpha/elf.h (SDB_DEBUGGING_INFO): Undef.
12597 2002-01-29  Richard Henderson  <rth@redhat.com>
12599         * expr.c (force_operand): Ignore flag_pic for detecting pic
12600         address loads.
12601         * regclass.c (init_reg_sets_1): Test fixed_regs not flag_pic
12602         for determining if PIC_OFFSET_TABLE_REGNUM is call-clobbered.
12603         * resource.c (mark_target_live_regs): Use regs_invalidated_by_call
12604         instead of open-coded loop.
12605         * doc/tm.texi (PIC_OFFSET_TABLE_REGNUM): Clarify that it must
12606         be fixed when in use.
12608 2002-01-29  Richard Henderson  <rth@redhat.com>
12610         * sched-int.h (struct deps_reg): Add uses_length, clobbers_length.
12611         * sched-rgn.c (propagate_deps): Update them.
12612         * sched-deps.c (sched_analyze_insn): Update them.  Flush the
12613         clobbers list when either gets too long.
12615 2002-01-29  Jakub Jelinek  <jakub@redhat.com>
12617         * config/i386/i386.h (LIMIT_RELOAD_CLASS): Handle LEGACY_REGS
12618         and INDEX_REGS the same as GENERAL_REGS.
12619         (SECONDARY_OUTPUT_RELOAD_CLASS): Likewise.
12621 2002-01-29  Neil Booth  <neil@daikokuya.demon.co.uk>
12623         * tree.c (build_nonstandard_integer_type): Correct prototype.
12625 2002-01-29  Ulrich Weigand  <uweigand@de.ibm.com>
12627         * config/s390/s390.md (movstrsico, movstrdix_64,
12628         movstrsix_31): Remove, replace by ...
12629         (movstrdi_short, movstrsi_short, movstrdi_long,
12630         movstrsi_long): ... these.  New.
12631         (movstrdi, movstrsi): Adapt.
12633         (rotldi3, rotlsi3, ashldi3, *ashldi3_31, *ashldi3_64,
12634         ashlsi3, lshrdi3, *lshrdi3_31, *lshrdi3_64, lshrsi3):
12635         Remove unnecessary CC clobber.
12636         (*ashrdi3_cc_31, *ashrdi3_cconly_31, *ashrdi3_cc_64,
12637         *ashrdi3_cconly_64, *ashrsi3_cc, *ashrsi3_cconly): New.
12639         (divmoddi4): Don't partially initialize TImode register.
12641 2002-01-29  Geoffrey Keating  <geoffk@redhat.com>
12643         * doc/sourcebuild.texi (C Tests): Document gcc.dg/debug directory.
12645 2002-01-29  Richard Henderson  <rth@redhat.com>
12647         * flow.c (print_rtl_and_abort): Remove.
12648         (print_rtl_and_abort_fcn): Remove.
12649         (verify_local_live_at_start): Use dump_bb instead.
12650         (verify_wide_reg): Likewise. Take a basic_block, not rtl endpoints.
12651         (verify_wide_reg_1): Return 2 on mode test failure.
12653 2002-01-29  Neil Booth  <neil@daikokuya.demon.co.uk>
12655         PR c/3325, c/3326, c/2511, c/3347
12656         * c-decl.c (enum_decl_context): Remove BITFIELD.
12657         (grokdeclarator): Take bitfield width as an input.
12658         Ensure bitfields are given the correct type.  Perform
12659         bitfield width validation with build_bitfield_integer_type
12660         rather than waiting for finish_struct.
12661         (grok_typename, grok_typename_in_parm_context, start_decl,
12662         push_parmdecl, grokfield, start_function): Update calls to
12663         grokdeclarator.
12664         (build_bitfield_integer_type): New function.
12665         (finish_struct): Move bitfield validation to grokdeclarator
12666         and build_bitfield_integer_type.
12667         * tree.c (build_nonstandard_integer_type): New function.
12668         * tree.h (build_nonstandard_integer_type): New prototype.
12669 objc:
12670         * objc-act.c (objc_copy_list): Remove DECL_INITIAL kludge.
12672 2002-01-29  Jakub Jelinek  <jakub@redhat.com>
12674         PR other/1502:
12675         * cppinit.c (cpp_handle_option): Add ignore argument, if it is zero,
12676         don't ignore unrecognized -W* options.
12677         (cpp_handle_options): Pass 1 as last argument to cpp_handle_option.
12678         * cpplib.h (cpp_handle_option): Adjust prototype.
12679         * c-decl.c (c_decode_options): Pass 0 as last argument to
12680         cpp_handle_option.
12682         PR c/2896:
12683         * gcc.c (cpp_unique_options): Split from cpp_options.
12684         (cpp_options): Source cpp_unique_options.
12685         (default_compilers): Use cpp_unique_options instead of cpp_options
12686         when used together with cc1_options.
12687         (static_specs): Add cpp_unique_options.
12688         * objc/lang-specs.h: Use cpp_unique_options instead of cpp_options
12689         when used together with cc1_options.
12691 2002-01-29  Kazu Hirata  <kazu@hxi.com>
12693         * config/h8300/h8300-protos.h: Update the prototype of
12694         output_a_shift.
12695         * config/h8300/h8300.c (output_a_shift): Remove an unused
12696         argument 'insn'.  Remove redundant code.
12697         * config/h8300/h8300.md: Adust to the new prototype of
12698         output_a_shift.
12700 2002-01-29  Kazu Hirata  <kazu@hxi.com>
12702         * config/h8300/h8300-protos.h: Update the prototypes of
12703         emit_a_rotate and expand_a_rotate.
12704         * config/h8300/h8300.c (emit_a_rotate): Change the type of the
12705         first argument to 'enum rtx_code'.
12706         (expand_a_rotate): Likewise.
12708 2002-01-28  Kazu Hirata  <kazu@hxi.com>
12710         * config/h8300/h8300-protos.h: Update the prototype of
12711         output_simode_bld.
12712         * config/h8300/h8300.c (output_simode_bld): Remove an argumen
12713         'log2'.
12714         * config/h8300/h8300.md: Adjust to the new prototype.
12716 2002-01-28  Kazu Hirata  <kazu@hxi.com>
12718         * conifg/h8300/h8300.c (h8300_adjust_insn_length): Remove
12719         redundant code.
12721 2002-01-28  John David Anglin  <dave@hiauly1.hia.nrc.ca>
12723         * emit-rtl.c (gen_rtx_REG): Check that the PIC_OFFSET_TABLE_REGNUM
12724         is a fixed register before returning pic_offset_table_rtx.
12725         * loop.c (scan_loop): Don't hoist insns that set pic_offset_table_rtx
12726         when PIC_OFFSET_TABLE_REG_CALL_CLOBBERED is defined.
12728 2002-01-28  Jason Merrill  <jason@redhat.com>
12730         * dwarf2.h: Sync with src version.
12732 2002-01-28  Paul Koning  <pkoning@equallogic.com>
12734         * builtin-types.def (BT_FN_VOID_CONST_PTR_VAR): Replace
12735         BT_FN_VOID_PTR_VAR.
12736         * builtins.def (BUILT_IN_PREFETCH): Change first argument to be const.
12737         * doc/extend.texi (__builtin_prefetch): Update documentation:
12738         first argument is now const void ptr.
12740 2002-01-28  Kazu Hirata  <kazu@hxi.com>
12742         * config/h8300/h8300-protos.h: Remove an unused prototype.
12744 2002-01-28  Roman Zippel  <zippel@linux-m68k.org>
12746         * toplev.c (lang_independent_init): Round up identifier size.
12748 2002-01-28  Richard Earnshaw  <rearnsha@arm.com>
12750         * config.gcc: Revert previous change.
12752 2002-01-28  Andris Pavenis  <pavenis@latnet.lv>
12754         * config/i386/djgpp.h: Use STRIP_NAME_ENCODING in macro UNIQUE_SECTION
12756 2002-01-28  Richard Earnshaw  <rearnsha@arm.com>
12758         * config.gcc (*-*-netbsdelf*): Set up generic parameters.
12759         (*-*-netbsd*): Always use collect2.  Remove collect2 settings from
12760         other non-elf netbsd config frags.
12761         * config/netbsd-aout.h (STARTFILE_SPEC): Don't pull in c++rt0 since
12762         collect2 will does that.
12763         * config/netbsd.h (LIBGCC_SPEC): Add white space before -lgcc, so that
12764         shared-lib frobbing will work.
12766 2002-01-28  Kazu Hirata  <kazu@hxi.com>
12768         * config/h8300/h8300.h: Fix formatting.
12769         * config/h8300/h8300.md: Likewise.
12771 2002-01-28  Loren J. Rittle  <ljrittle@acm.org>
12773         * fixinc/inclhack.def (strict_ansi_not): Add a bypass based on
12774         the old, removed AAA_standards fix.
12775         * fixinc/fixincl.x: Rebuilt.
12777 2002-01-28  Hans-Peter Nilsson  <hp@axis.com>
12779         * config/cris/cris.h (CRT_CALL_STATIC_FUNCTION): Change to emit
12780         atexit call in crtbegin, hooked in after call to frame_dummy;
12781         register EH before registering __fini__start.
12783 2002-01-28  Aldy Hernandez  <aldyh@redhat.com>
12785         * config/rs6000/altivec.h: Remove spurious semicolons.
12787 2002-01-27  Kazu Hirata  <kazu@hxi.com>
12789         * config/h8300/h8300.md: Replace dead bit extraction patterns
12790         with ones that work.
12792 Sun Jan 27 13:23:40 2002  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
12794         * emit-rtl.c (get_mem_attrs): Don't default alignment for non-BLKmode
12795         if not STRICT_ALIGNMENT.
12796         * rtl.h (MEM_ALIGN): Likewise.
12798 2002-01-27  Craig Rodrigues  <rodrigc@gcc.gnu.org>
12800         * doc/invoke.texi (-fdump-translation-unit): Revert this
12801         patch: 2001-10-21  Craig Rodrigues  <rodrigc@gcc.gnu.org>
12803 2002-01-27  Kazu Hirata  <kazu@hxi.com>
12805         * config/h8300/h8300.md (define_constants): New.
12806         (anonymous patterns) Use defined constants appropriately.
12808 2002-01-27  Kazu Hirata  <kazu@hxi.com>
12810         * config/h8300/h8300.c (function_arg): Remove redundant code.
12812 2002-01-26  Richard Henderson  <rth@redhat.com>
12814         * sched-deps.c (reg_pending_uses_head): New.
12815         (reg_pending_barrier): Rename from reg_pending_sets_all.
12816         (find_insn_list): Don't mark inline.
12817         (find_insn_mem_list): Remove.
12818         (add_dependence_list, add_dependence_list_and_free): New.
12819         (flush_pending_lists): Replace only_write param with separate
12820         for_read and for_write parameters.  Update all callers.  Use
12821         add_dependence_list_and_free.
12822         (sched_analyze_1): Do not add reg dependencies here; just set
12823         the pending bits.  Use add_dependence_list.
12824         (sched_analyze_2): Likewise.
12825         (sched_analyze_insn): Replace schedule_barrier_found with
12826         reg_pending_barrier.  Add all dependencies for pending reg
12827         uses, sets, and clobbers.
12828         (sched_analyze): Don't add reg dependencies for calls, just
12829         set pending bits.  Use regs_invalidated_by_call.  Treat
12830         sched_before_next_call as a normal list, not a fake insn.
12831         (init_deps): No funny init for sched_before_next_call.
12832         (free_deps): Free pending mems lists.  Don't zero reg_last.
12833         (init_deps_global): Init reg_pending_uses.
12834         (finish_deps_global): Free it.
12835         * sched-int.h (deps): Make in_post_call_group_p boolean.  Update docs.
12836         (find_insn_mem_list): Remove.
12837         * sched-rgn.c (concat_INSN_LIST, concat_insn_mem_list): New.
12838         (propagate_deps): Use them.  Zero temp mem lists.
12840 2002-01-26  Richard Henderson  <rth@redhat.com>
12842         * Makefile.in (CRTSTUFF_CFLAGS): New.
12843         (crtbegin.o, crtend.o, crtbeginS.o, crtendS.o, crtbeginT.o): Use it.
12844         * config.gcc (alpha-linux, alpha-freebsd, alpha-netbsd): Use plain
12845         crtstuff.c instead of alpha assembly version.
12846         * crtstuff.c (CRT_CALL_STATIC_FUNCTION): Rewrite to assume the
12847         entire dummy function sequence.  Use FORCE_CODE_SECTION_ALIGN
12848         not FORCE_{INIT,FINI}_SECTION_ALIGN.
12849         (__do_global_dtors_aux): Mark used.
12850         (frame_dummy, __do_global_ctors_aux): Mark used.
12851         (fini_dummy, init_dummy): Remove.
12853         * config/alpha/crtbegin.asm: Remove file.
12854         * config/alpha/crtend.asm: Remove file.
12855         * config/alpha/t-crtbe: Remove file.
12856         * config/alpha/elf.h (CRT_CALL_STATIC_FUNCTION): New.
12857         (LINK_EH_SPEC): New.
12859         * config/cris/cris.h (CRT_CALL_STATIC_FUNCTION): Rewrite old
12860         FORCE_INIT_SECTION_ALIGN hack.  Register __fini_start before
12861         calling constructors.
12862         * config/cris/linux.h (CRT_CALL_STATIC_FUNCTION): Undef.
12864         * config/i386/i386.h (CRT_CALL_STATIC_FUNCTION): New.
12865         * config/i386/linux.h (CRT_CALL_STATIC_FUNCTION): Replace old
12866         CRT_END_INIT_DUMMY hack.
12867         * config/i386/sol2.h (FORCE_CODE_SECTION_ALIGN): Replace
12868         FORCE_{INIT,FINI}_SECTION_ALIGN.
12870         * config/mcore/mcore-elf.h (FORCE_CODE_SECTION_ALIGN): Replace
12871         FORCE_{INIT,FINI}_SECTION_ALIGN.
12873         * config/s390/s390.h (CRT_CALL_STATIC_FUNCTION): Update for new
12874         invocation sequence.
12875         * config/sh/sh.h (CRT_CALL_STATIC_FUNCTION): Likewise.
12877         * doc/tm.texi (CRT_CALL_STATIC_FUNCTION): Update.
12878         (FORCE_CODE_SECTION_ALIGN): New.
12880 2002-01-26  Richard Henderson  <rth@redhat.com>
12882         * config/cris/cris.c (cris_print_operand): Handle 64-bit CONST_INT.
12884 2002-01-26  Richard Henderson  <rth@redhat.com>
12886         * config/alpha/alpha.c (alpha_sa_mask): Mark RA for unicos here too.
12887         (alpha_sa_size): Use alpha_sa_mask to compute size of saved regs.
12889 2002-01-26  Kazu Hirata  <kazu@hxi.com>
12891         * config/h8300/h8300.md: Remove bit extraction patterns that
12892         cannot be triggered.
12893         Restrict each bit extraction pattern to a variant on which the
12894         pattern is tested.
12896 2002-01-26  Joseph S. Myers  <jsm28@cam.ac.uk>
12898         * doc/include/texinfo.tex: Update to version 2002-01-04.07.
12900 2002-01-26  Kazu Hirata  <kazu@hxi.com>
12902         * config/h8300/h8300.md: Remove bit test patterns that cannot
12903         be triggered.
12904         Restrict each bit test pattern to a variant on which the
12905         pattern is tested.
12907 2002-01-26  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
12909         * builtins.c (expand_builtin_strncat): Remove redundant check for
12910         INTEGER_CST.
12912 2002-01-25  David O'Brien  <obrien@FreeBSD.org>
12914         * config/i386/x86-64.h (DEFAULT_PCC_STRUCT_RETURN): Do not overide
12915         default setting.
12916         * config/i386/freebsd64.h (DEFAULT_PCC_STRUCT_RETURN): Do not override
12917         existing setting.
12919 2002-01-25  Geoffrey Keating  <geoffk@redhat.com>
12921         * dbxout.c (dbxout_init): Use assemble_name rather than just
12922         stripping off the first character.
12923         (dbxout_source_file): Likewise.
12925 2002-01-25  DJ Delorie  <dj@redhat.com>
12927         * config/sparc/sparc.c (sparc_emit_set_symbolic_const64): Compare
12928         using rtx_equal_p, not by comparing pointers.
12930 2002-01-25  Steve Ellcey  <sje@cup.hp.com>
12932         * emit-rtl.c (gen_rtx_REG): Always return the same rtx
12933         for PIC_OFFSET_TABLE_REGNUM.
12934         (init_emit_once): Use gen_raw_REG to initialize pic_offset_table_rtx.
12936 2002-01-25  David O'Brien  <obrien@FreeBSD.org>
12938         * config.gcc (x86_64-*-freebsd*): New target.
12939         (x86_64-*-netbsd*,x86_64-*-linux*): Use ${tm_file} rather than its
12940         value.
12941         (i[34567]86-*-freebsd*): Don't include svr4.h.
12942         * config/i386/freebsd64.h: New file.
12944 2002-01-25  Douglas B Rupp  <rupp@gnat.com>
12946         * config/alpha/x-vms (version): Make static.
12948         * config/alpha/vms.h (MD_FALLBACK_FRAME_STATE_FOR): Fix error
12949         in previous checkin.
12951         * Makefile.in (install-headers-cp): New target.
12952         * config.gcc (alpha-dec-*vms*): Install headers with
12953         install-headers-cp
12955 Fri Jan 25 22:42:49 CET 2002  Jan Hubicka  <jh@suse.cz>
12957         * unroll.c (unroll_loop): Lower final_value to nonmemory operand;
12958         avoid it's copies.
12960 Fri Jan 25 08:26:19 2002  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
12962         * builtins.c (expand_builtin_strncpy): Use integer_zerop instead
12963         of compare_tree_int.
12964         (expand_builtin_strncat): Likewise.
12965         * c-decl.c (finish_struct): Use tree_low_cst.
12966         * tree.h (compare_tree_int): Arg is unsigned HOST_WIDE_INT.
12967         * tree.c (compare_tree_int): Likewise.
12969 2002-01-25  Ulrich Weigand  <uweigand@de.ibm.com>
12971         * reload1.c (eliminate_regs_in_insn): Recognize frame pointer
12972         adjustments even if they are implemented by more than two insns.
12974 Fri Jan 25 20:43:56 CET 2002  Jan Hubicka  <jh@suse.cz>
12976         * df.c (df_ref_create, df_ref_record_1, df_ref_record): Kill BB arg.
12977         * df.h (struct ref): Kill B.
12978         (DF_REF_BB, DF_REF_BBNO): Use BLOCK_FOR_INSN.
12980         * basic-block.h (PROP_EQUAL_NOTES): New flag.
12981         * flow.c (propagate_one_insn): Use it.
12982         (mark_used_regs): Handle NIL.
12984 2002-01-25  Geoffrey Keating  <geoffk@redhat.com>
12986         * config/stormy16/stormy16.md (tablejump_pcrel): Use a MEM
12987         to help folding.
12989 2002-01-25  David Edelsohn  <edelsohn@gnu.org>
12991         * rs6000.md (prefetch): Make address V4SI mode so that the address
12992         is restricted to legitimate form for instruction.
12994 2002-01-25  Bob Wilson  <bob.wilson@acm.org>
12996         * doc/install.texi (xtensa-*-elf): New target.
12997         (xtensa-*-linux*): New target.
12998         * doc/contrib.texi: Add myself.
13000 2002-01-25  Nick Clifton  <nickc@cambridge.redhat.com>
13002         * config/arm/arm.c (arm_hard_regno_mode_ok): Allow any general
13003         purpose register to hold an SImode (or smaller) value.
13005 2002-01-25  Jakub Jelinek  <jakub@redhat.com>
13007         * unwind-dw2-fde-glibc.c: If inhibit_libc, use __register_frame*
13008         registry only.
13009         * crtstuff.c: Likewise.
13011 2002-01-25  Kazu Hirata  <kazu@hxi.com>
13013         * config/h8300/h8300.md (negation patterns): Tighten
13014         predicates to register_operand.
13016 2002-01-24  Aldy Hernandez  <aldyh@redhat.com>
13018         * loop.c (emit_prefetch_instructions): Use the prefetch insn's
13019         mode, not Pmode.
13021         * builtins.c (expand_builtin_prefetch): Same.
13023 2002-01-24  Alexandre Oliva  <aoliva@redhat.com>
13025         * config/sh/sh.md (sym_label2reg): Make sure all CONSTs have
13026         modes.
13028 2002-01-24  Kazu Hirata  <kazu@hxi.com>
13030         * config/h8300/h8300.c (print_operand): Remove support for
13031         operand character 'A'.
13032         * config/h8300/h8300.md (three anonymous patterns): Replace
13033         operand character 'A' with either 'T' or 'S'.
13035 2002-01-24  Kazu Hirata  <kazu@hxi.com>
13037         * config/h8300/h8300.c (print_operand): Remove support for
13038         operand character 'U'.
13040 2002-01-24  Andris Pavenis  <pavenis@latnet.lv>
13042         * config/i386/t-djgpp: Use NATIVE_SYSTEM_HEADER_DIR.
13044 2002-01-24  Nick Clifton  <nickc@cambridge.redhat.com>
13046         * config/arm/arm.c (arm_hard_regno_mode_ok): Allow SImode
13047         values to be assigned to the stack pointer.
13049 2002-01-14  Hartmut Penner  <hpenner@de.ibm.com>
13051         * emit_rtl.c (gen_lowpart_common): Conversion from const_int
13052         to const_double needs to be done right for big-endian systems.
13054 2002-01-24  Jason Merrill  <jason@redhat.com>
13056         PR c++/2432
13057         * config/sparc/sparc.md (call-jump peepholes): Pass the right insn
13058         to can_throw_internal.
13060 2002-01-23  Richard Henderson  <rth@redhat.com>
13062         * fold-const.c (fold): Change UINT_MAX test to check vs precision
13063         rather than TYPE_MAX_VALUE.  Fix indentation and a bogus negation.
13065 2002-01-24  Alexandre Oliva  <aoliva@redhat.com>
13067         * config/sh/sh.md (symGOT_load, sym2GOT, sym2GOTOFF): New expands.
13068         (symGOT2reg): Use them, then set as GOT value as unchanging.
13069         (symGOTOFF2reg): Set REG_EQUAL note.  Use a different pseudo
13070         as a temporary, if possible.
13071         (symPLT_label2reg): Enclose (pc) in UNSPEC_PIC.  Emit
13072         sym@PLT-(.LPCS#+2-.) instead of sym@PLT+.-(.LPCS#+2).
13074 2002-01-23  Kazu Hirata  <kazu@hxi.com>
13076         * config/h8300/h8300.md: Fix xorqi and xorqi so that they will
13077         accept to accept 0x80 as operands[2].
13079 2002-01-24  Alexandre Oliva  <aoliva@redhat.com>
13081         * config/sparc/sparc.md (fix_trunctfdi2): Correct typo in mode.
13083 2002-01-23  Richard Henderson  <rth@redhat.com>
13085         * config/alpha/alpha.md (call_value_osf_1_er peepholes): Fix typo.
13087 2002-01-23  Aldy Hernandez  <aldyh@redhat.com>
13089         * c-parse.in (parmlist_or_identifiers): Add maybe_attribute.
13090         (parmlist_or_identifiers_1): Verify that only a parmlist follows
13091         an attribute.
13093 2002-01-23  Richard Henderson  <rth@redhat.com>
13095         * expr.c (move_by_pieces_1): Extend size before negation.
13097         * config/m68k/t-m68kbare (MULTILIB_OPTIONS): Add 68040 and 68060.
13098         (MULTILIB_MATCHES): Remove 68040 and 68060 aliases.
13099         (MULTILIB_EXCEPTIONS): Ignore 68881 and soft-float for 68040 and 68060.
13100         * config/m68k/t-m68kelf: Likewise.
13102 2002-01-23  Bob Wilson  <bob.wilson@acm.org>
13104         * config/xtensa/elf.h: New file.
13105         * config/xtensa/lib1funcs.asm: New file.
13106         * config/xtensa/lib2funcs.S: New file.
13107         * config/xtensa/linux.h: New file.
13108         * config/xtensa/t-xtensa: New file.
13109         * config/xtensa/xtensa-config.h: New file.
13110         * config/xtensa/xtensa-protos.h: New file.
13111         * config/xtensa/xtensa.c: New file.
13112         * config/xtensa/xtensa.h: New file.
13113         * config/xtensa/xtensa.md: New file.
13114         * config.gcc (xtensa-*-elf*): New target.
13115         (xtensa-*-linux*): New target.
13116         * cse.c (canon_hash): Compare rtx pointers instead of register
13117         numbers.  This is required for the Xtensa port.
13118         * integrate.c (copy_insn_list): Handle case where the static
13119         chain is in memory and the memory address has to be copied to
13120         a register.
13121         * doc/invoke.texi (Option Summary): Add Xtensa options.
13122         (Xtensa Options): New node.
13123         * doc/md.texi (Machine Constraints): Add Xtensa machine constraints.
13125 2002-01-23  Zack Weinberg  <zack@codesourcery.com>
13127         * diagnostic.c (internal_error): Do ICE suppression only
13128         when ENABLE_CHECKING is not defined.
13130         * c-typeck.c (require_complete_type): Return error_mark_node
13131         if type is error_mark_node.
13133 2002-01-23  Janis Johnson  <janis187@us.ibm.com>
13135         * toplev.c (process_options): Disable -fprefetch-loop-arrays with
13136         -Os and issue a warning.
13138 2002-01-23  Zack Weinberg  <zack@codesourcery.com>
13140         * doc/fragments.texi, doc/hostconfig.texi: Update to reflect
13141         current (lack of) need for host configuration by hand.
13143         * doc/gccint.texi, doc/rtl.texi, doc/tm.texi: Adjust cross
13144         references.  Documentation of some target macros moved from
13145         hostconfig.texi to tm.texi.
13147 2002-01-23  Will Cohen  <wcohen@redhat.com>
13149         * config/arm/arm.h (THUMB_FUNCTION_PROFILER): Define if not currently
13150         defined.
13152 2002-01-23  Kazu Hirata  <kazu@hxi.com>
13154         * config/h8300/h8300.md (*andorhi3): Accept 0x8000 as an
13155         operand[3].
13157 2002-01-23  Jason Merrill  <jason@redhat.com>
13159         * tree.c (build1): Don't set TREE_READONLY on INDIRECT_REF.
13161         * function.c (assign_parms): Don't put args of inline functions
13162         into registers when not optimizing.
13164 2002-01-23  Nick Clifton  <nickc@cambridge.redhat.com>
13166         * config/arm/arm.md (UNSPEC_PROLOGUE_USE): New unspec constant.
13167         (prologue_use): New pattern.
13168         * config/arm/arm.c (expand_prologue): Use gen_prologue_use in
13169         preference to gen_rtx_USE.
13170         (thumb_expand_prologue): Use gen_prologue_use in preference to
13171         gen_rtx_USE.
13172         (thumb_expand_epilogue): Use gen_prologue_use in preference to
13173         gen_rtx_USE.
13175 2002-01-23  Hans-Peter Nilsson  <hp@bitrange.com>
13177         * loop.c [!HAVE_prefetch] (CODE_FOR_prefetch): Define to 0.
13179 2002-01-23  Neil Booth  <neil@daikokuya.demon.co.uk>
13181         PR c/3504
13182         * doc/extend.texi: Correct documentation of __alignof__.
13184 2002-01-22  Zack Weinberg  <zack@codesourcery.com>
13186         * params.h: Rename arguments of DEFPARAM so that it will be
13187         recognized as a translation keyword.
13189 2002-01-22  Aldy Hernandez  <aldyh@redhat.com>
13191         * extend.texi: Document altivec functions.
13192         Fix N-bit adjectives in X86 builtin documentation.
13194 2002-01-22  Alexandre Oliva  <aoliva@redhat.com>
13196         * reload.c (reg_overlap_mentioned_for_reload_p): Handle PLUS and
13197         auto_inc_dec values.
13199 2002-01-22  Richard Earnshaw  <rearnsha@arm.com>
13201         * config/netbsd-aout.h (SWITCH_TAKES_ARG): Remove bogus white space
13202         after backslash.
13203         (ASM_DECLARE_OBJECT_NAME): Add missing backslash before final line.
13205 2002-01-22  Alexandre Oliva  <aoliva@redhat.com>
13207         * config/i386/freebsd-aout.h (ASM_QUAD): Undefine.
13209 2002-01-22  Richard Henderson  <rth@redhat.com>
13211         * config/alpha/alpha.c (split_small_symbolic_mem_operand): Use
13212         copy_insn not copy_rtx.
13214 2002-01-23  Alan Modra  <amodra@bigpond.net.au>
13216         * combine.c (simplify_and_const_int): Don't trunc_int_for_mode
13217         "nonzero" as that might add "1" bits.  Ensure "constop" is
13218         properly sign extened.
13219         (force_to_mode): Tweak for sign extended constop.
13221 2002-01-22  Richard Henderson  <rth@redhat.com>
13223         * config/alpha/alpha.c (some_small_symbolic_mem_operand) Use
13224         for_each_rtx instead of assuming we're already looking at the MEM.
13225         (split_small_symbolic_mem_operand): Likewise.
13226         * config/alpha/alpha.h (PREDICATE_CODES): Update.
13227         * config/alpha/alpha.md (small symbolic memory splitters): Update.
13229 2002-01-22  Richard Henderson  <rth@redhat.com>
13231         * config/alpha/alpha.md (divmodsi_internal_er): Generate lituse
13232         sequence number for the literal.
13233         (divmoddi_internal_er): Likewise.
13235 2002-01-22  Craig Rodrigues  <rodrigc@gcc.gnu.org>
13237         PR java/4972
13238         * aclocal.m4 (AM_ICONV): Put linking flags for libiconv
13239         in LIBICONV variable.
13240         * configure: Regenerated.
13242 2002-01-22  Krister Walfridsson  <cato@df.lth.se>
13244         * dependence.c (build_def_use): Remove array_idx.
13246         * dwarfout.c (last_filename): Remove.
13247         (output_compile_unit_die): Remove last_filename.
13249 2002-01-22  Roger Sayle  <roger@eyesopen.com>
13250             Richard Henderson  <rth@redhat.com>
13252         PR opt/3640
13253         * fold-const.c (fold): Optimize unsigned comparisons against
13254         UINT_MAX (and similar unsigned constants).
13256 2002-01-22  Janis Johnson  <janis187@us.ibm.com>
13258         * Makefile.in (loop.o): Depend on OPTABS_H.
13259         * loop.c (emit_prefetch_instructions): Check the prefetch operand
13260         against the predicate.
13262         PR target/5379
13263         * config/i386/i386.md (prefetch_sse): Specify "p" as a constraint
13264         for the address operand.
13266 2002-01-22  Richard Henderson  <rth@redhat.com>
13268         * config/alpha/freebsd.h (FUNCTION_PROFILER): Remove.
13270 2002-01-22  Craig Rodrigues  <rodrigc@gcc.gnu.org>
13272         PR other/5450
13273         * config/i386/sysv4.h (CPP_SPEC): Define, and add CPU
13274         preprocessor flags.
13276 2002-01-22  Jason Thorpe  <thorpej@wasabisystems.com>
13278         * config.gcc (x86_64-*-netbsd*): New target.
13279         * config/i386/netbsd64.h: New file.
13281 2002-01-22  Aldy Hernandez  <aldyh@redhat.com>
13283         * regrename.c (kill_value): Fix typo.
13285 2002-01-22  Aldy Hernandez  <aldyh@redhat.com>
13287         * doc/tm.texi: Remove STARTING_FRAME_PHASE.
13289         * config/rs6000/rs6000.h: Same.
13291         * function.c (instantiate_virtual_regs): Remove
13292         STARTING_FRAME_PHASE.
13293         (assign_stack_local_1): Same.
13294         Calculate frame phase.
13296 2002-01-22  Nick Clifton  <nickc@redhat.com>
13298         * config/arm/arm.h (CONDITIONAL_REGISTER_USAGE): Move 'regno'
13299         variable declaration to outer scope in order to simplify
13300         future extensions.
13301         (HARD_REGNO_MODE_OK): Replace macro body with a with a call to
13302         arm_hard_regno_mode_ok.
13303         * config/arm/arm-protos.h: Add a prototype for
13304         arm_hard_regno_mode_ok.
13305         * config/arm/arm.c (soft_df_operand): Remove now redundant
13306         check for DImode values using IP_REGNUM.
13307         (nonimmediate_soft_df_operand): Remove now redundant check for
13308         DImode values using IP_REGNUM.
13309         (arm_hard_regno_mode_ok): New function. New check: make sure
13310         that DImode values are not stored in IP_REGNUM.
13312         * config/arm/arm.c (arm_expand_prologue): Replace REG_MAYBE_DEAD
13313         note with a USE.
13314         (thumb_expand_prologue): Replace REG_MAYBE_DEAD note with a USE.
13316 2002-01-22  Jason Merrill  <jason@redhat.com>
13318         * c-semantics.c (genrtl_compound_stmt): Only check nesting
13319         consistency if this COMPOUND_STMT is scoped.
13321 2002-01-22  Kazu Hirata  <kazu@hxi.com>
13323         * predict.c: Fix formatting.
13324         * print-tree.c: Likewise.
13325         * protoize.c: Likewise.
13326         * real.h: Likewise.
13327         * rtl.h: Likewise.
13328         * sbitmap.h: Likewise.
13329         * scan.c: Likewise.
13330         * sched-deps.c: Likewise.
13331         * sched-vis.c: Likewise.
13332         * sdbout.c: Likewise.
13333         * sibcall.c: Likewise.
13334         * ssa.c: Likewise.
13335         * ssa-ccp.c: Likewise.
13336         * ssa-dce.c: Likewise.
13337         * stmt.c: Likewise.
13338         * stor-layout.c: Likewise.
13339         * system.h: Likewise.
13341 Tue Jan 22 06:26:33 2002  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
13343         * tree.c (int_fits_type_p): If bounds of a subtype are variable, see
13344         if fits in bounds of base type.
13346         * dwarf2out.c (equate_decl_number_to_die): Add "int" to decls.
13347         (loc_descriptor_from_tree, case CALL_EXPR, case ADDR_EXPR): New.
13348         (add_bound_info, default): If can't find a context, make a
13349         SAVE_EXPR.
13350         (dwarf2out_finish): Check for SAVE_EXPR in node->created_for.
13352 2002-01-22  Hans-Peter Nilsson  <hp@axis.com>
13354         * c-typeck.c (parser_build_binary_op): If result from
13355         build_binary_op is ERROR_MARK just return error_mark_node without
13356         further processing.
13358 2002-01-21  Jason Thorpe  <thorpej@wasabisystems.com>
13360         * config/netbsd.h (TARGET_HAS_F_SETLKW): define.
13361         Split a.out-specific bits into...
13362         * config/netbsd-aout.h: ...this.
13363         * config/netbsd-elf.h: New file.
13364         * config/alpha/netbsd-elf.h: Remove.
13365         * config/alpha/netbsd.h: Rewrite for a NetBSD/alpha ELF target.
13366         * config/i386/netbsd-elf.h (LIB_SPEC): Remove.
13367         (STARTFILE_SPEC): Remove redundant definition.
13368         (ENDFILE_SPEC): Likewise.
13369         (LINK_SPEC): Likewise.
13370         (CPP_SPEC): Likewise.
13371         (ASM_SPEC): Likewise.
13372         (LIB_SPEC): Likewise.
13373         (SWITCH_TAKES_ARG): Likewise.
13374         (TARGET_MEM_FUNCTIONS): Likewise.
13375         (CPP_PREDEFINES): Redefine.
13376         (ASM_FINAL_SPEC): Remove redefinition.
13377         (ASM_COMMENT_START): Redefine.
13378         (FUNCTION_PROFILER): Define.
13379         (TARGET_VERSION): Redefine.
13380         Comment and formatting cleanup.
13381         * config/i386/netbsd.h: Include <netbsd-aout.h>.
13382         * config/m68k/netbsd.h: Include <netbsd-aout.h>.
13383         * config/mips/netbsd.h: Rewrite for NetBSD/mips ELF target,
13384         big- or little-endian.
13385         * config/ns32k/netbsd.h: Include <netbsd-aout.h>.
13386         * config.gcc (*-*-netbsd*): Add definitions common to all
13387         NetBSD configs.
13388         (alpha*-*-netbsd*): Remove redundant xm_defines, gas, and
13389         gnu_ld definitions.  Add netbsd-elf.h to and remove
13390         alpha/netbsd-elf.h from tm_file.  Remove alpha/t-crtfm from
13391         tmake_file, and don't lose previous tmake_file contents.
13392         (arm*-*-netbsd*): Add netbsd-aout.h to tm_file.
13393         (i[34567]86-*-netbsdelf*): Remove redundant xm_defines, gas, and
13394         gnu_ld definitions.  Add netbsd-elf.h to tm_file.
13395         (mips-dec-netbsd*): Remove as alias for mipsel-*-netbsd*.
13396         (mipsel-*-netbsd*): Rename this to...
13397         (mips*-*-netbsd*): ...this.  Add elfos.h to tm_file.  Add
13398         mips/little.h to tm_file for mips*el-*.
13399         (powerpc-*-netbsd*): Remove redundant xm_defines definition.
13400         (sparc-*-netbsd*): Add netbsd-aout.h to tm_file.
13401         (vax-*-netbsd*): Add netbsd-aout.h to tm_file.
13403 2002-01-21  John David Anglin  <dave@hiauly1.hia.nrc.ca>
13405         * pa-protos.h (reg_before_reload_operand): New function prototype.
13406         * pa.c (reg_before_reload_operand): New function implementation.
13407         * pa.md (decrement_and_branch_until_zero, movb): Use it.  Change "!*m"
13408         contraints to "*m".
13410 2002-01-21  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
13412         * combine.c (simplify_and_const_int): Properly sign-extend CONSTOP.
13414 2002-01-21  John David Anglin  <dave@hiauly1.hia.nrc.ca>
13416         * pa64-hpux.h (MD_EXEC_PREFIX): Set to "/usr/ccs/bin".
13417         (MD_STARTFILE_PREFIX): Set to "/usr/ccs/lib/pa20_64/".
13418         (MD_STARTFILE_PREFIX_1): Set to "/opt/langtools/lib/pa20_64/".
13419         (EH_FRAME_IN_DATA_SECTION): Define and update comment on init sections.
13420         (ENDFILE_SPEC): Undefine.
13421         (STARTFILE_SPEC): Redefine for PA.
13423 2002-01-21  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
13425         * config/rs6000/t-ppccomm (CRTSTUFF_T_CFLAGS_S): Re-add -fPIC.
13427 2002-01-21  Daniel Jacobowitz  <drow@mvista.com>
13429         * config.gcc: Add entries to supported PowerPC --with-cpu
13430         types.
13432 2002-01-21  Jakub Jelinek  <jakub@redhat.com>
13434         * config/i386/i386.c (ix86_function_arg_regno_p): Never return
13435         true for 64-bit mode only SSE registers in 32-bit mode.
13437 2002-01-21  Kazu Hirata  <kazu@hxi.com>
13439         * unwind-dw2.c: Fix formatting.
13440         * unwind-dw2-fde.c: Likewise.
13441         * unwind-dw2-fde.h: Likewise.
13442         * unwind-pe.h: Likewise.
13443         * varasm.c: Likewise.
13444         * varray.h: Likewise.
13446 2002-01-21  Hans-Peter Nilsson  <hp@bitrange.com>
13448         Remove workaround for register stack overwrite bug in mmix.
13449         * config/mmix/mmix.c (mmix_target_asm_function_prologue): Remove
13450         support for TARGET_REG_STACK_FILL_BUG.
13451         * config/mmix/mmix.h: Remove member has_call_without_parameters.
13452         (TARGET_MASK_REG_STACK_FILL_BUG, TARGET_REG_STACK_FILL_BUG):
13453         Delete.
13454         (TARGET_DEFAULT): Remove TARGET_MASK_REG_STACK_FILL_BUG.
13455         (TARGET_SWITCHES): Remove -mreg-stack-fill-bug-workaround and
13456         -mno-reg-stack-fill-bug-workaround.
13457         * config/mmix/mmix.md ("call", "call_value"): Don't set struct
13458         machine member has_call_without_parameters.
13459         * doc/invoke.texi (Option Summary) <MMIX Options>: Remove
13460         -mreg-stack-fill-bug-workaround and
13461         -mno-reg-stack-fill-bug-workaround.
13462         (MMIX Options): Ditto.
13464 2002-01-21  Kazu Hirata  <kazu@hxi.com>
13466         * config/h8300/h8300.c (function_arg): Replace 0 with NULL_RTX
13467         as appropriate.
13468         Remove redundant code.
13470 2002-01-21  Joseph S. Myers  <jsm28@cam.ac.uk>
13472         * config/alpha/alpha.h, config/arc/arc.h, config/avr/avr.h,
13473         config/c4x/c4x.h, config/d30v/d30v.h, config/dsp16xx/dsp16xx.h,
13474         config/fr30/fr30.h, config/ia64/ia64.h, config/m68hc11/m68hc11.h,
13475         config/mips/mips.h, config/rs6000/rs6000.h, config/sparc/sparc.h,
13476         config/stormy16/stormy16.h, config/v850/v850.h: Remove commented
13477         out target macro definitions and non-target-specific comments
13478         mostly taken from old versions of the manual.
13480 2002-01-20  Kazu Hirata  <kazu@hxi.com>
13482         * config/h8300/h8300.h: Fix comment formatting.
13483         * config/ia64/aix.h: Likewise.
13484         * config/ia64/ia64-protos.h: Likewise.
13485         * config/ia64/ia64.c: Likewise.
13486         * config/ia64/ia64.h: Likewise.
13487         * config/ia64/ia64intrin.h: Likewise.
13488         * config/ia64/linux.h: Likewise.
13489         * config/ia64/unwind-aix.c: Likewise.
13490         * config/ia64/unwind-ia64.c: Likewise.
13492 2002-01-20  Kazu Hirata  <kazu@hxi.com>
13494         * config/h8300/h8300.c: Revise comments about shift code.
13496 2002-01-20  Kazu Hirata  <kazu@hxi.com>
13498         * config/h8300/h8300.c (function_arg): Update a comment.
13500 2002-01-20  Kazu Hirata  <kazu@hxi.com>
13502         * config/h8300/h8300.md: Update the comments at the beginning
13503         of the file.
13505 2002-01-20  Kazu Hirata  <kazu@hxi.com>
13507         * config/i370/i370.c: Fix comment formatting.
13508         * config/i370/i370.h: Likewise.
13509         * config/i370/i370.md: Likewise.
13510         * config/i370/linux.h: Likewise.
13512 Sun Jan 20 18:40:14 2002  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
13514         * reg-stack.c (subst_stack_regs): Properly check for deleted insn.
13516         * dwarf2out.c (loc_descriptor_from_tree): Add TRUTH_*_EXPR cases.
13517         (gen_struct_or_union_type_die): Don't SIGSEGV if no TYPE_STUB_DECL
13518         in incomplete case.
13520 2002-01-20  Graham Stott  <grahams@redhat.com>
13522         * cfgloop.c (flow_loop_preheader_scan): Fix typo.
13524 2002-01-19  John David Anglin  <dave@hiauly1.hia.nrc.ca>
13526         * config.gcc (hppa*64*-*-hpux11*): Fix tmake_file.
13528 2002-01-19  Tom Rix  <trix@redhat.com>
13530         * config/rs6000/rs6000.md: Fix DF split for 64 bit hosts.
13532 2002-01-18  Aldy Hernandez  <aldyh@redhat.com>
13534         * doc/tm.texi (STARTING_FRAME_PHASE): Document.
13536         * function.c (assign_stack_local_1): Adjust x_frame_offset with
13537         STARTING_FRAME_PHASE.
13538         (STARTING_FRAME_PHASE): New.
13539         (instantiate_virtual_regs): Check saneness of
13540         STARTING_FRAME_PHASE.
13542         * config/rs6000/rs6000.h (STARTING_FRAME_PHASE): New.
13544 2002-01-19  Alexandre Oliva  <aoliva@redhat.com>
13546         * config/sh/sh.md (movdf_i4 split): Fix alter_subreg calls.
13548 2002-01-18  Craig Rodrigues  <rodrigc@gcc.gnu.org>
13550         * doc/install.texi (hppa*-hp-hpux11): Clarify that GCC 2.95.x cannot
13551         be used for bootstrapping GCC 3.0.
13553 2002-01-18  Kazu Hirata  <kazu@hxi.com>
13555         * config/h8300/h8300.md: Fix an insn length.
13557 2002-01-18  Kazu Hirata  <kazu@hxi.com>
13559         * bitmap.h: Fix comment formatting.
13560         * combine.c: Likewise.
13561         * cppfiles.c: Likewise.
13562         * c-pragma.h: Likewise.
13563         * c-typeck.c: Likewise.
13564         * df.c: Likewise.
13565         * dwarf2out.c: Likewise.
13566         * function.c: Likewise.
13567         * gcc.c: Likewise.
13568         * genattrtab.c: Likewise.
13569         * gthr-win32.h: Likewise.
13570         * haifa-sched.c: Likewise.
13571         * predict.c: Likewise.
13572         * rtlanal.c: Likewise.
13573         * rtl.h: Likewise.
13574         * unwind-dw2-fde.h: Likewise.
13575         * unwind-pe.h: Likewise.
13576         * vmsdbgout.c: Likewise.
13578 Thu Jan 17 15:28:26 2002  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
13580         * attribs.c (decl_attributes): Clear ATTR_FLAG_TYPE_IN_PLACE
13581         if type_required and passed decl.
13583 2002-01-17  Aldy Hernandez  <aldyh@redhat.com>
13585         * config.gcc (cpu_type): Include altivec.h in powerpc
13586         extra_headers.
13587         Same for darwin.
13589         * config/rs6000/altivec.h: New.
13591 2002-01-17  David Edelsohn  <edelsohn@gnu.org>
13593         * doc/install.texi (*-ibm-aix*): Update assembler and exception
13594         handling information.
13595         * doc/trouble.texi (Interoperation): Add libstdc++ information
13596         for AIX.
13597         (Misunderstandings): Add template instantiation and static template
13598         member information for AIX.
13600 2002-01-17  Jason Merrill  <jason@redhat.com>
13602         * dbxout.c (dbxout_type): Support const and volatile.
13604         * except.c (add_partial_entry): Remove backwards compatibility code.
13605         (end_protect_partials): Likewise.
13607 2002-01-17  Jakub Jelinek  <jakub@redhat.com>
13609         * config/ia64/ia64.md (prologue_use): New.
13610         * config/ia64/ia64.c (ia64_expand_prologue): Use
13611         gen_prologue_use instead of gen_rtx_USE.
13612         (group_barrier_needed_p): Handle CODE_FOR_prologue_use the same way
13613         as CODE_FOR_pred_rel_mutex.
13614         (ia64_sched_reorder2): Likewise.
13616 2002-01-16  Eric Christopher  <echristo@redhat.com>
13618         * config/mips/r3900.h: Reformat.
13619         (SUBTARGET_CPP_SIZE_SPEC): Remove.
13620         * config/mips/isa3264.h (SUBTARGET_CPP_SIZE_SPEC): Ditto.
13621         * config/mips/mips.h (ABI_GAS_ASM_SPEC): Default to "".
13622         (SUBTARGET_CPP_SIZE_SPEC): Rewrite.
13623         * config/mips/t-elf: Remove mips3 multilib.
13625 2002-01-16  H.J. Lu <hjl@gnu.org>
13627         * config/mips/linux.h: Include "mips/abi64.h".
13629 2002-01-16  H.J. Lu <hjl@gnu.org>
13631         * config/mips/t-linux: New.
13633         * config.gcc: Add mips/t-linux to tmake_file for mips*-*-linux*.
13635         * config/mips/linux.h: Don't include "gofast.h".
13636         (INIT_SUBTARGET_OPTABS): Removed.
13638 2002-01-16  Kazu Hirata  <kazu@hxi.com>
13640         * config/h8300/h8300-protos.h: Replace emit_a_shift with
13641         output_a_shift.
13642         * config/h8300/h8300.c: Likewise.
13643         * config/h8300/h8300.md: Likewise.
13645 2002-01-16  Kazu Hirata  <kazu@hxi.com>
13647         * config/h8300/h8300.md (pushqi1_h8300): Use a tab instead of
13648         spaces after an opcode name.
13649         (pushqi1_h8300hs): Likewise.
13650         (pushhi1_h8300hs): Likewise.
13652 2002-01-16  Kazu Hirata  <kazu@hxi.com>
13654         * doc/extend.texi: Replace "option" with "attribute"
13655         appropriately.
13657 2002-01-16  Jakub Jelinek  <jakub@redhat.com>
13659         * config/alpha/alpha.c (some_small_symbolic_mem_operand): Look into
13660         (and:DI () (const_int -8)).
13661         (split_small_symbolic_mem_operand): Split
13662         (mem (and:DI () (const_int -8)).
13664 2002-01-16  Jakub Jelinek  <jakub@redhat.com>
13666         PR target/5309:
13667         * config/sparc/sparc.c (ultrasparc_adjust_cost): Handle TYPE_IDIV the
13668         same way as TYPE_IMUL.
13669         (ultrasparc_sched_reorder): Likewise.
13670         * config/sparc/sparc.md (type): Add comment to update
13671         ultrasparc_sched_reorder when making changes.
13673 2002-01-16  Kazu Hirata  <kazu@hxi.com>
13675         * doc/invoke.texi: Change the dump file name of block
13676         reordering pass from 28.bbro to 29.bbro.
13677         Mention -dk option.
13679 Wed Jan 16 17:54:22 CET 2002  Jan Hubicka  <jh@suse.cz>
13681         * i386.md (minsf splitter): Fix pasto.
13683 2002-01-16  Nick Clifton  <nickc@cambridge.redhat.com>
13685         * config/arm/arm.c (arm_expand_prologue): Add REG_MAYBE_DEAD note
13686         to frame pointer initialisation instruction.
13687         (thumb_expand_prologue): Add REG_MAYBE_DEAD note to frame pointer
13688         initialisation instruction.
13689         (soft_df_operand): Do not accept the IP register.
13690         (nonimmediate_soft_df_operand): Do not accept the IP register.
13692 2002-01-16  Jakub Jelinek  <jakub@redhat.com>
13694         PR target/5357:
13695         * config/sparc/sparc.c (sparc_override_options): Avoid MASK_V9 and
13696         MASK_V8 being both set.
13698 2002-01-16  Ulrich Weigand  <uweigand@de.ibm.com>
13700         * config/s390/s390.c (s390_emit_prologue): Do not emit USE
13701         insn for GOT register; add REG_MAYBE_DEAD notes instead.
13702         config/s390/s390.md (call, call_value): Add GOT register to
13703         CALL_INSN_FUNCTION_USAGE where needed.
13704         (call_exp, call_value_exp): New.
13706 2002-01-16  Nick Clifton  <nickc@cambridge.redhat.com>
13708         * config/arm/arm.c: General formatting tidy up.
13710 2002-01-16  Graham Stott  <grahams@redhat.com>
13712         * calls.c (try_to_integrate): Use "(size_t)" intermediate
13713         cast and when casting an integer literal to "rtx" pointer.
13714         (expand_call): Likewise.
13715         * flow.c (try_pre_increment): Likewise.
13716         (find_use_as_address): Likewise.
13717         * integrate.c (expand_iline_function): Likewise.
13718         * regmove.c (try_auto_increment): Likewise.
13720 2002-01-16  Graham Stott  <grahams@redhat.com>
13722         * sched-rgn.c (passed): Use sbitmap_free.
13723         (header): Likewise.
13724         (inner): Likewise.
13725         (in_queue): Likewise.
13726         (in_stack): Likewise.
13728 2002-01-15  Eric Christopher  <echristo@redhat.com>
13730         * flow.c (propagate_one_insn): Change to use fatal_insn.
13732 2002-01-15  Kazu Hirata  <kazu@hxi.com>
13734         * expmed.c (extract_fixed_bit_field): Remove unused code.
13735         * system.h: Poison SLOW_ZERO_EXTEND.
13736         * doc/tm.texi: Remove.
13737         * config/1750a/1750a.h (SLOW_ZERO_EXTEND): Remove.
13738         * config/arm/arm.h: Likewise.
13739         * config/avr/avr.h: Likewise.
13740         * config/clipper/clipper.h: Likewise.
13741         * config/convex/convex.h: Likewise.
13742         * config/d30v/d30v.h: Likewise.
13743         * config/dsp16xx/dsp16xx.h: Likewise.
13744         * config/elxsi/elxsi.h: Likewise.
13745         * config/fr30/fr30.h: Likewise.
13746         * config/h8300/h8300.h: Likewise.
13747         * config/i370/i370.h: Likewise.
13748         * config/i386/i386.h: Likewise.
13749         * config/m68k/m68k.h: Likewise.
13750         * config/mips/mips.h: Likewise.
13751         * config/ns32k/ns32k.h: Likewise.
13752         * config/pdp11/pdp11.h: Likewise.
13753         * config/pj/pj.h: Likewise.
13754         * config/s390/s390.h: Likewise.
13755         * config/sh/sh.h: Likewise.
13756         * config/stormy16/stormy16.h: Likewise.
13757         * config/v850/v850.h: Likewise.
13758         * config/vax/vax.h: Likewise.
13759         * config/we32k/we32k.h: Likewise.
13761 2002-01-15  Aldy Hernandez  <aldyh@redhat.com>
13763         * config/rs6000/rs6000.md (altivec_stvx): Add parallels to stvx.
13764         (altivec_lvsl): Change constraint to b.
13765         (altivec_lvsr): Same.
13766         (altivec_lvebx): Same.
13767         (altivec_lvehx): Same.
13768         (altivec_lvewx): Same.
13769         (altivec_lvxl): Same.
13770         (altivec_lvx): Same.
13771         (altivec_stvx): Add parallel.
13772         (altivec_stvxl): Same.
13773         (altivec_stvehx): Same.
13774         (altivec_stvebx): Same.
13775         (altivec_stvebx): Same.
13777 2002-01-15  Aldy Hernandez  <aldyh@redhat.com>
13779         * config.gcc: Change altivec.h to altivec-defs.h.
13781         * config/rs6000/altivec.h: Delete.
13783         * config/rs6000/altivec-defs.h: Add.
13785 2002-01-15  John David Anglin  <dave@hiauly1.hia.nrc.ca>
13787         * vax.c (vax_rtx_cost): Return MAX_COST for unsupported MULT, UDIV
13788         and UMOD modes.
13790         * vax.h (INDEX_TERM_P): Restrict indexing to modes which have a size
13791         less than or equal to eight bytes.
13793         * vax.md (andsi3): Remove constraints and change SET destination
13794         operand type to nonimmediate_operand.
13795         (andhi3, andqi3): Likewise.  Don't clear high order bits of operand 1
13796         when it is a CONST_INT.
13798 2002-01-15  Jason Merrill  <jason@redhat.com>
13800         * c-common.def (FILE_STMT): New code.
13801         * c-common.c (statement_code_p): It's a statement.
13802         * c-common.h (stmt_tree_s): Add x_last_filename.
13803         (FILE_STMT_FILENAME_NODE, FILE_STMT_FILENAME): New macros.
13804         (last_expr_filename): New macro.
13805         * c-semantics.c (begin_stmt_tree): Initialize it.
13806         (add_stmt): If the filename changed, also insert a
13807         FILE_STMT.
13808         (expand_stmt): Handle seeing one.
13810 2002-01-15  Eric Christopher  <echristo@redhat.com>
13812         * flow.c (propagate_one_insn): Add error message and print out
13813         insn for debugging.
13815 2002-01-15  Joseph S. Myers  <jsm28@cam.ac.uk>
13817         * system.h (ASM_IDENTIFY_GCC, STDC_VALUE, TRAMPOLINE_ALIGN,
13818         ASM_IDENTIFY_GCC_AFTER_SOURCE): Poison.
13819         * config/pdp11/pdp11.h (TRAMPOLINE_ALIGN): Rename to
13820         TRAMPOLINE_ALIGNMENT.
13821         * config/arm/arm.h, config/mcore/mcore.h: Likewise.  Change value
13822         to be in bits.
13823         * config/i386/cygwin.h (PCC_BITFIELDS_TYPE_MATTERS): Rename to
13824         PCC_BITFIELD_TYPE_MATTERS.
13825         * config/interix.h (STDC_VALUE): Remove.  Use
13826         STDC_0_IN_SYSTEM_HEADERS.
13827         * config/darwin.h (ASM_IDENTIFY_GCC), config/dsp16xx/dsp16xx.h
13828         (ASM_IDENTIFY_GCC), config/stormy16/stormy16.h (ASM_IDENTIFY_GCC,
13829         ASM_IDENTIFY_GCC_AFTER_SOURCE): Remove.
13831 2002-01-15  Craig Rodrigues  <rodrigc@gcc.gnu.org>
13833         * doc/install.texi (hppa*-hp-hpux11): --enable-threads does
13834         not work on this platform currently.
13836 2002-01-15  Joseph S. Myers  <jsm28@cam.ac.uk>
13838         * c-typeck.c (build_unary_op): Don't wrap msgid argument of
13839         readonly_warning in _().
13841 2002-01-15  Douglas B Rupp  <rupp@gnat.com>
13843         * gcc.c (delete_if_ordinary): Backout previous change.
13845 2002-01-15  Kazu Hirata  <kazu@hxi.com>
13847         * config/h8300/h8300.c (print_operand): Remove support for
13848         unused operand characters.
13850         * read-rtl.c: Fix formatting.
13851         * real.c: Likewise.
13852         * recog.c: Likewise.
13853         * regclass.c: Likewise.
13854         * regmove.c: Likewise.
13855         * reg-stack.c: Likewise.
13856         * reload1.c: Likewise.
13857         * rtlanal.c: Likewise.
13859 2002-01-15  Kazu Hirata  <kazu@hxi.com>
13861         * config/i386/i386.c: Fix formatting.
13863 2002-01-15  Jakub Jelinek  <jakub@redhat.com>
13865         * c-typeck.c (process_init_element): Don't save_expr
13866         COMPOUND_LITERAL_EXPR if just its initializer will be used.
13868 2002-01-15  David Edelsohn  <edelsohn@gnu.org>
13870         * config/rs6000/rs6000.c (rs6000_output_function_epilogue): Do not
13871         emit optional traceback table if optimize_size or TARGET_ELF.
13872         * config/rs6000/rs6000.md (prefetch): New.
13874 2002-01-15  Andreas Jaeger  <aj@suse.de>
13876         * config.gcc (x86_64-*-*): Install mmintrin.h and xmmintrin.h.
13878 2002-01-15  Kazu Hirata  <kazu@hxi.com>
13880         * mips-tfile.c: Fix formatting.
13882 Tue Jan 15 00:56:11 CET 2002  Jan Hubicka  <jh@suse.cz>
13884         * unroll.c (final_reg_note_copy): Fix previous commit.
13886 2002-01-14  Kazu Hirata  <kazu@hxi.com>
13888         * config/h8300/h8300-protos.h: Remove the prototype for
13889         eq_operator.
13890         * config/h8300/h8300.c (eq_operator): Remove.
13892 2002-01-14  Richard Henderson  <rth@redhat.com>
13894         * config/i386/i386.md (prefetch): Tidy.
13895         (prefetch_3dnow): Fix locality operand.
13897 2002-01-14  Richard Henderson  <rth@redhat.com>
13899         * config/mips/mips.h (HI_AND_FP_REGS): New register class.
13900         (CLASS_CANNOT_CHANGE_MODE): Disallow HI in little-endian mode.
13902 2002-01-14  Hans-Peter Nilsson  <hp@bitrange.com>
13904         * reload1.c (reload_combine): Pass reg_sum replacement through
13905         copy_rtx in loop performing multiple changes.
13907 2002-01-14  Jakub Jelinek  <jakub@redhat.com>
13909         * except.c (remove_unreachable_regions): New.
13910         (free_eh_status): Clear exception_handler_labels.
13911         (convert_from_eh_region_ranges): Call remove_unreachable_regions.
13912         (find_exception_handler_labels): Don't add the same label more than
13913         once.
13914         (remove_exception_handler_label): Don't die if
13915         find_exception_handler_labels hasn't been called for the current
13916         function yet.
13918 Mon Jan 14 21:26:13 CET 2002  Jan Hubicka  <jh@suse.cz>
13920         * toplev.c (rest_of_compilation): Rebuild jump labels after
13921         gcse.
13923 2002-01-14  Joseph S. Myers  <jsm28@cam.ac.uk>
13925         * doc/extend.texi: Move documentation of X86 built-in functions
13926         here.
13927         * doc/invoke.texi: From here.
13928         * doc/sourcebuild.texi: Document location of documentation for
13929         machine built-in functions.
13931 2002-01-13  Christopher Faylor  <cgf@redhat.com>
13933         * cppfiles.c (TEST_THRESHOLD): New macro.
13934         (SHOULD_MMAP): Ditto.
13935         (read_include_file): Use SHOULD_MMAP macro to decide when mmap should
13936         be used.
13938 Mon Jan 14 20:23:34 CET 2002  Jan Hubicka  <jh@suse.cz>
13940         * unroll.c (final_reg_note_copy): Properly handle
13941         REG_LABEL
13942         (unroll_loops): Fix LOOP_CONDITION heuristics.
13944 2002-01-14  Geoffrey Keating  <geoffk@redhat.com>
13946         * doc/invoke.texi (Xstormy16 Options): Add xstormy16 option.
13947         * doc/md.texi (Machine Constraints): Use @minus{} where appropriate.
13949 Mon Jan 14 20:18:19 CET 2002  Jan Hubicka  <jh@suse.cz>
13951         * cfgcleanup.c (try_forward_edges): Avoid infinite loop at infinite
13952         threaded loop.
13954 2002-01-14  Tom Rix  <trix@redhat.com>
13956         * config/rs6000/rs6000.md: Fix typo with sradi.
13958 2002-01-14  Ulrich Weigand  <uweigand@de.ibm.com>
13960         * config/s390/s390.md (movstrdix_64, movstrsix_31, movstrdi_64,
13961         movstrsi_31, clrstrsi_64, clrstrsi_31): Improve RTL templates.
13962         (clrstrdi, clrstrsi): Adapt callers.
13964         (extendsidi2, zero_extendsidi2): Remove no-conflict blocks.
13966         (movti splitter): Never use register 0 as base register.
13968 2002-01-14  Hartmut Penner  <hpenner@de.ibm.com>
13970         * combine.c (simplify_shift_const): Always generate new rtx
13971         for shift expression instead of reusing given expression.
13973 Mon Jan 14 07:08:55 2002  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
13975         * config/alpha/alpha.c (alpha_expand_mov): Don't call
13976         alpha_legitimize_address unless mode is Pmode.
13978 2002-01-13  Geoffrey Keating  <geoffk@redhat.com>
13980         * doc/md.texi (Modifiers): Document the '*' constraint for the
13981         user.
13983         * doc/md.texi (Machine Constraints): Add constraints for xstormy16.
13984         * doc/extend.texi (Function Attributes): 'interrupt' is valid
13985         for xstormy16 too.
13987 2002-01-13  Richard Henderson  <rth@redhat.com>
13989         * reload.c (find_reloads): Use a hard reg destination as reload reg
13990         for an input reload of the source.
13992 2002-01-13  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
13994         * doc/install.texi (Binaries): Make link to ftp.writtenword.com
13995         more generic.
13997 Sun Jan 13 07:23:01 2002  Douglas B Rupp  <rupp@gnat.com>
13999         * Makefile.in (LIB2FUNCS): Split into LIB2FUNCS_1 and LIB2FUNCS_2.
14000         * mklibgcc.in (LIB2FUNCS): Split into LIB2FUNCS_1 and LIB2FUNCS_2.
14002         * config/alpha/x-vms (USE_COLLECT2): Set to empty.
14004 Sun Jan 13 06:55:31 2002  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
14006         * dwarf2out.c (mem_loc_descriptor, case ADDRESSOF): New case.
14008 2002-01-12  Tom Rix  <trix@redhat.com>
14010         * config/rs6000/rs6000.c (rs6000_emit_set_long_const): Use ior for
14011         TARGET_POWERPC64.
14013 2002-01-12  Richard Henderson  <rth@redhat.com>
14015         * config/i386/i386.c (bdesc_2arg): Mark psadbw MASK_3DNOW_A.
14017         * doc/invoke.texi: Update Alpha options.
14019         * doc/invoke.texi: Update i386 built-in function lists.
14021 Sat Jan 12 17:38:11 CET 2002  Jan Hubicka  <jh@suse.cz>
14023         * unroll.c (final_reg_note_copy): Avoid crash on REG_LABEL note
14024         referencing outside.
14026 Sat Jan 12 08:54:51 2002  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
14028         * diagnostic.c (warn_deprecated_use): Rework to lower indentation.
14029         * expr.c (emit_move_insn_1): Remove warning, use HOST_WIDE_INT for
14030         offsets, and change line folding.
14031         * optabs.c (expand_binop): Remove warnings.
14032         * sdbout.c (sdbout_record_type_name): Constify NAME to avoid warning.
14034 2002-01-12  Graham Stott <grahams@redhat.com>
14036         * attribs.c (handle_deprecated_attribute): constify WHAT.
14037         * diagnostic.c (warn_deprecated_use): Add braces, fixes
14038         dangling else warning and constify WHAT.
14039         * except.h (struct function, struct inline_remap): Move
14040         struct tag forward defs before all prototypes.
14041         (duplicate_eh_regions): Whitespace.
14043 2002-01-12  Nick Clifton  <nickc@cambridge.redhat.com>
14045         * config/arm/arm.h (ARM_LEGITIMIZE_RELOAD_ADDRESS): Use
14046         MODE_BASE_REG_CLASS.
14047         (THUMB_LEGITIMIZE_RELOAD_ADDRESS): Use MODE_BASE_REG_CLASS.
14049 2002-01-12  Richard Henderson  <rth@redhat.com>
14051         * config/i386/i386.c (override_options): If SSE, enable sse prefetch.
14052         (ix86_expand_vector_move): New.
14053         (bdesc_2arg): Remove andps, andnps, orps, xorps.
14054         (ix86_init_mmx_sse_builtins): Make static.  Remove composite builtins.
14055         Remove old prefetch builtins.  Special case the logicals removed above.
14056         (ix86_expand_builtin): Likewise.
14057         (safe_vector_operand): Use V4SFmode, not TImode.
14058         (ix86_expand_store_builtin): Remove shuffle arg.  Update callers.
14059         (ix86_expand_timode_binop_builtin): New.
14060         * config/i386/i386-protos.h: Update.
14061         * config/i386/i386.h (enum ix86_builtins): Update.
14062         * config/i386/i386.md: Correct predicates on MMX/SSE patterns.
14063         Use ix86_expand_vector_move in vector move expanders.
14064         (movti_internal, movti_rex64): Add xorps alternative.
14065         (sse_clrv4sf): Rename and adjust from sse_clrti.
14066         (prefetch): Don't work so hard.
14067         (prefetch_sse, prefetch_3dnow): Use PREFETCH rtx, not UNSPEC.
14068         * config/i386/xmmintrin.h (__m128): Use V4SFmode.
14069         (_mm_getcsr, _mm_setcsr): Fix typo in builtin name.
14071 2002-01-11  Richard Henderson  <rth@redhat.com>
14073         * config/i386/mmintrin.h: New file.
14074         * config/i386/xmmintrin.h: New file.
14075         * config.gcc (i?86-*-*): Add extra_headers.
14076         * simplify-rtx.c (simplify_unary_operation): Handle saturating
14077         truncation codes.
14078         (simplify_binary_operation): Handle saturating arithmetic codes.
14079         * config/i386/i386.c (ix86_expand_sse_comi): Return the full result,
14080         not the lowpart subreg.
14081         (ix86_expand_builtin): Return a TImode dummy register instead of 0
14082         on error.
14083         * config/i386/i386.md (mmx_clrdi): Override memory attribute.
14085 2002-01-12  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
14087         * conflict.c (conflict_graph_compute): Free regsets when finished.
14088         * ssa.c (compute_coalesced_reg_partition): Likewise.
14090 2002-01-12  Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
14092         * global.c (find_reg): Check for HARD_REGNO_CALL_PART_CLOBBERED
14093         every where we allocate a register.
14095 2002-01-12  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
14097         * gcse.c (compute_pre_data, pre_gcse): Use sbitmap_free.
14098         * lcm.c (compute_earliest, compute_farthest): Likewise.
14100 2002-01-11  Janis Johnson  <janis187@us.ibm.com>
14102         * expr.c (expand_assignment): Fix misuse of MEM_KEEP_ALIAS_SET.
14104 2002-01-11  Janis Johnson  <janis187@us.ibm.com>
14106         * doc/rtl.texi (Insns): Fix 2 typos.
14108 2002-01-11  Joseph S. Myers  <jsm28@cam.ac.uk>
14110         * doc/invoke.texi: Avoid overfull hboxes.  Add summary of D30V
14111         options.  Use @table @gcctabopt for MMIX options.  Add index
14112         entries for MMIX options.  Start new paragraph with first
14113         heading of the machine-dependent options.
14115 2002-01-11  Craig Rodrigues  <rodrigc@gcc.gnu.org>
14117         PR other/5299
14118         * config/ns32k/ns32k.md: Fix spelling mistake of "than" in comments.
14119         * combine.c (force_to_mode): Same.
14120         * reload1.c (clear_reload_reg_in_use): Same.
14122 2002-01-11  Nick Clifton  <nickc@cambridge.redhat.com>
14124         * config/arm/arm.c (arm_gen_constant): Correct test of 'remainder'
14125         and 'subtargets'.
14127 2002-01-11  Andreas Jaeger  <aj@suse.de>,
14128             Brad Lucier <lucier@math.purdue.edu>
14130         * config/i386/i386.h (CPP_CPUCOMMON_SPEC): Remove wrong
14131         mcpu.
14133 Fri Jan 11 07:35:12 2002  Douglas B Rupp  <rupp@gnat.com>
14135         * config/alpha/vms.h: (MD_FALLBACK_FRAME_STATE_FOR): Fix errors.
14136         Protect with IN_LIBGCC.
14137         (LINK_EH_SPEC): Add required trailing space.
14139 Fri Jan 11 09:25:05 2002  Nicola Pero  <n.pero@mi.flashnet.it>
14141         * c-tree.h: Move function declarations so that they are listed
14142         under the filename which contains them.
14143         (check_identifier, finish_decl_top_level,
14144         lookup_name_current_level_global, shadow_record_fields): Remove.
14146 2002-01-11  Andreas Jaeger  <aj@suse.de>
14148         * config/i386/i386.h (CPP_CPUCOMMON_SPEC): Remove duplicated
14149         march.
14151 2002-01-10  Richard Henderson  <rth@redhat.com>
14153         * config/alpha/alpha.c (print_operand): Add 'J'.
14154         * config/alpha/alpha.md (call_osf_1_er, call_value_osf_1_er): Take a
14155         new operand with the sequence number for the lituse.  When splitting
14156         the insns, use gen_movdi_er_high_g and generate a sequence number.
14157         (gen_movdi_er_high_g): Print the sequence number if non-zero.
14159 2002-01-10  Aldy Hernandez  <aldyh@redhat.com>
14161         * config/rs6000/rs6000.c (altivec_init_builtins): Add support for
14162         lvebx, lvehx, lvewx, lvxl, lvx, stvx, stvebx, stvehx, stvewx,
14163         stvxl.
14164         (altivec_expand_builtin): Same.
14165         (altivec_expand_stv_builtin): New.
14167         * config/rs6000/rs6000.h (rs6000_builtins): Same.
14169         * config/rs6000/rs6000.md ("altivec_lvebx"): New.
14170         ("altivec_lvehx"): New.
14171         ("altivec_lvewx"): New.
14172         ("altivec_lvxl"): New.
14173         ("altivec_lvx"): New.
14174         ("altivec_stvx"): New.
14175         ("altivec_stvebx"): New.
14176         ("altivec_stvehx"): New.
14177         ("altivec_stvewx"): New.
14178         ("altivec_stvxl"): New.
14180 2002-01-10  Richard Henderson  <rth@redhat.com>
14182         * cfgrtl.c (delete_insn): Assert insn hasn't been deleted yet.
14183         * reload1.c (delete_output_reload): Zap spill_reg_store.  Take
14184         care not to delete instructions twice.
14186 2002-01-10  Zack Weinberg  <zack@codesourcery.com>
14188         * toplev.c: Don't declare environ (it's not used anywhere).
14189         * configure.in: Don't check for declaration of environ.
14190         * config/i386/xm-mingw32.h: Don't #define environ.
14191         * config.in, configure: Regenerate.
14193 2002-01-10  Zack Weinberg  <zack@codesourcery.com>
14195         * configure.in: Set stage1_cflags for powerpc-*-darwin*.
14196         * configure: Regenerate.
14198         * config/interix.h: Set DO_GLOBAL_CTORS_BODY and
14199         DO_GLOBAL_DTORS_BODY here, not in xm-interix.h.
14200         * config/alpha/vms.h: Set INCLUDE_DEFAULTS here, not in
14201         alpha/xm-vms.h.
14202         * config/m68k/t-next: Set OTHER_FIXINCLUDES_DIRS and
14203         LIMITS_H_TEST here, not in m68k/x-next.
14204         * config/rs6000/beos.h: Set STANDARD_INCLUDE_DIR and
14205         SYSTEM_INCLUDE_DIR here, not in rs6000/xm-beos.h.
14207         * config/x-interix: Don't set RANLIB, RANLIB_TEST, SHELL,
14208         LIBGCC2_INCLUDES, or SYSTEM_HEADER_DIR.
14209         * config/alpha/x-vms: Don't set USE_COLLECT2.  Add comments.
14211         * config/i386/x-djgpp: Renamed i386/t-djgpp.
14212         * config/m88k/x-dolph: Renamed m88k/t-dolph.
14213         * config/m88k/x-texXD88: Renamed m88k/t-texXD88.
14214         * config/pa/x-pa-mpeix: Renamed pa/t-mpeix.  Update for
14215         replacement of quadlib.asm with quadlib.c.
14217         * config/x-interix3, config/xm-interix.h, config/i386/x-beos,
14218         config/i386/xm-osf1elf.h, config/rs6000/x-darwin,
14219         config/rs6000/xm-beos.h: Delete file.
14221         * config.gcc: Update to match above changes.
14223 2002-01-10  Kazu Hirata  <kazu@hxi.com>
14225         * config/h8300/h8300.h: Fix comment typos.
14226         * config/h8300/h8300.md: Likewise.
14227         * config/h8300/lib1funcs.asm: Likewise.
14229 2002-01-10  Dale Johannesen  <dalej@apple.com>
14231         PR optimization/5269
14232         * unroll.c (precondition_loop_p): Make *increment be the correct
14233         sign when n_iterations known, to avoid confusing caller.
14235 2002-01-10  Kazu Hirata  <kazu@hxi.com>
14237         * doc/extend.texi (deprecated): Fix a typo.
14239 Thu Jan 10 22:35:54 CET 2002  Jan Hubicka  <jh@suse.cz>
14241         * basic-block.h (update_br_prob_note): Declare.
14242         * cfgcleanup.c (try_simplify_condjump): Call update_br_prob_note.
14243         (try_forward_edges): Care negative frequencies and update note.
14244         (outgoing_edges_match): Tweek conditional merging heuristics.
14245         (try_crossjump_to_edge): use update_br_prob_note.
14246         * cfglayout.c (fixup_reorder_chain): Likewise.
14247         * cfrtl.c (update_br_prob_note): New.
14248         * ifcvt.c (dead_or_predicable): Call update_br_prob_note.
14250         * i386.c (ix86_decompose_address): Return -1 if address contains
14251         shift.
14252         (legitimate_address_p): Require ix86_decompose_address to return 1.
14254         * gcse.c (hash_scan_set): Use CONSTANT_INSN_P.
14255         (cprop_insn): Likewise.
14257 2002-01-10  Kazu Hirata  <kazu@hxi.com>
14259         * toplev.c: Fix formatting.
14260         * tree.c: Likewise.
14261         * tree-dump.c: Likewise.
14262         * unroll.c: Likewise.
14263         * unwind-dw2.c: Likewise.
14264         * unwind-dw2-fde.c: Likewise.
14265         * unwind-dw2-fde-glibc.c: Likewise.
14266         * unwind-sjlj.c: Likewise.
14268 2002-01-10  Joseph S. Myers  <jsm28@cam.ac.uk>
14270         * doc/invoke.texi: Document PDP-11 options.
14272 2002-01-10  Kazu Hirata  <kazu@hxi.com>
14274         * config/h8300/h8300.h: Fix formatting.
14276 2002-01-10  Ira Ruben   <ira@apple.com>
14278         Add __attribute__ ((deprecated)).
14279         * extend.texi: Document __attribute__ ((deprecated)).
14280         * invoke.texi: Document -Wno-deprecated-declarations.
14281         * testsuite/g++.dg/other/deprecated.C: New C++ test.
14282         * testsuite/gcc.dg/deprecated.c: New C test.
14283         * attribs.c (enum attrs): Declare handle_deprecated_attribute().
14284         (c_common_attribute_table): Add "deprecated" entry.
14285         (handle_deprecated_attribute): New function.
14286         * c-decl.c (deprecated_states): New enum.
14287         deprecated_state: State of "deprecated" handling.
14288         (start_decl): Set deprecated_state based on attributes.
14289         (grokdeclarator): Test for deprecated uses, propagate attribute.
14290         * c-typeck.c (build_component_ref): Test for deprecated fields.
14291         (build_external_ref): Test for deprecated primaries.
14292         * diagnostic.c (warn_deprecated_use) New function to issue
14293         warnings about __attribute__ ((depricated)) references.
14294         * flags.h (warn_deprecated_decl): Extern declared for
14295         -W[no-]deprecated-declarations option.
14296         * print-tree.c (print_node): Show deprecated flag status.
14297         * toplev.c (warn_deprecated_decl): Defined.
14298         (W_options): Added "deprecated-declaration".
14299         * toplev.h (warn_deprecated_use): Extern declared.
14300         * tree.h (struct tree_common): Define deprecated_flag.
14301         (TREE_DEPRECATED): New macro to access flag.
14302         * cp/call.c (build_call): Test for deprecated calls.
14303         * cp/class.c (add_implicitly_declared_members): Set global
14304         flag to tell grokdeclarator to not issue deprecated warnings.
14305         * cp/cp-tree.h: Add extern for adding_implicit_members.
14306         * cp/decl.c (deprecated_states): New enum.
14307         (start_decl): Set deprecated_state based on attributes.
14308         (grokdeclarator): Test for deprecated uses, propagate attribute.
14309         * cp/lex.c (do_identifier): Test for deprecated primaries.
14310         * cp/typeck.c (build_component_ref): Test for deprecated fields.
14312 2002-01-10  Ira Ruben   <ira@apple.com>
14314         Fix to assign attributes to inline member functions.
14315         * cp/decl.c (start_method): Handle attrlist.
14317 2002-01-10  Kazu Hirata  <kazu@hxi.com>
14319         * combine.c (expand_field_assignment): Use subreg_lsb().
14321 2002-01-10  David Edelsohn  <edelsohn@gnu.org>
14323         * alias.c (find_base_value): Add cases for HIGH, PRE_INC, PRE_DEC,
14324         POST_INC, POST_DEC, PRE_MODIFY, and POST_MODIFY.
14325         (find_base_term): Add cases for TRUNCATE, PRE_MODIFY, and POST_MODIFY.
14326         Recurse for any operand of AND as long as constant is non-zero.
14328 2002-01-10  Kazu Hirata  <kazu@hxi.com>
14330         * config/h8300/h8300.md: Remove constraints from expanders.
14332 2002-01-10  Kazu Hirata  <kazu@hxi.com>
14334         * varasm.c: Fix formatting.
14335         * varray.c: Likewise.
14336         * vmsdbgout.c: Likewise.
14337         * xcoffout.c: Likewise.
14339 Thu Jan 10 17:19:12 CET 2002  Jan Hubicka  <jh@suse.cz>
14341         * cfgcleanup.c (try_forward_edges): Properly initialize nthreaded_edges;
14342         update edge probabilities to match.
14344 2002-01-10  Joseph S. Myers  <jsm28@cam.ac.uk>
14346         * Makefile.in ($(docdir)/gccint.info, gccint.dvi): Add additional
14347         dependencies.
14348         * doc/languages.texi, doc/sourcebuild.texi: New files.
14349         * doc/configfiles.texi: Make a subsubsection.  Update.
14350         * doc/configterms.texi: Add @node.  Remove warning that this isn't
14351         instructions for building GCC.
14352         * doc/makefile.texi: Make a subsection.
14353         * doc/gccint.texi: Update.
14355 Thu Jan 10 16:39:58 CET 2002  Jan Hubicka  <jh@suse.cz>
14357         * i386.md (sse_mov?fcc_const0_?): Fix constraints.
14359 Thu Jan 10 12:45:50 2002  Nicola Pero  <n.pero@mi.flashnet.it>
14361         * doc/cpp.texi: Document the __OBJC__ preprocessor macro.
14363 Thu Jan 10 11:19:18 CET 2002  Jan Hubicka  <jh@suse.cz>
14365         * optabs.c (expand_fix): Look for wider integer modes first.
14367         * i386.md (mov?f): Avoid the fake const double trick for medium
14368         memory model.
14369         (min?f*/max?f*): Prohibit memory operands for i387 variant.
14370         (fop_df_4): Disable for SSE compilation.
14372 2002-01-10  Graham Stott  <grahams@redhat.com>
14374         * dwarf2out.c (indirect_string_alloc, output_indirect_string):
14375         Move prototype into DWARF2_DEBUGGING_INFO conditional block.
14377 2002-01-10  Richard Henderson  <rth@redhat.com>
14379         * config/alpha/alpha.md (extendsidi2_fix): Penalize f/f alternative.
14381 2002-01-10  Richard Henderson  <rth@redhat.com>
14383         * regrename.c (find_oldest_value_reg): Fix typo in mode change check.
14384         (copyprop_hardreg_forward_1): Likewise.  Use mode_change_ok.
14386 2002-01-10  Kazu Hirata  <kazu@hxi.com>
14388         * combine.c (can_combine_p): Fix a comment typo.
14390 2002-01-09  Zack Weinberg  <zack@codesourcery.com>
14392         * Makefile.in (s-gencheck, s-options, s-specs): Handle an
14393         empty list correctly.  Change loop index $t to $f for
14394         consistency with rest of Makefile.
14396 2002-01-08  Aldy Hernandez  <aldyh@redhat.com>
14398         * testuite/gcc.dg/altivec-4.c: Add test for mtvscr, dssall,
14399         mfvscr, dss, lvsl, lvsr, dstt, dstst, dststt, dst.
14401         * config/rs6000/rs6000.c (altivec_expand_builtin): Add support for
14402         mtvscr, dssall, mfvscr, dss, lvsl, lvsr, dstt, dst, dstst, dststt.
14403         (altivec_init_builtins): Same.
14404         (altivec_expand_unop_builtin): Return NULL_RTX on error.
14405         (altivec_expand_binop_builtin): Same.
14406         (altivec_expand_ternop_builtin): Same.
14407         (bdesc_dst): New.
14409         * config/rs6000/rs6000.md ("altivec_mtvscr"): New.
14410         ("altivec_vctuxs"): Fix typo.
14411         ("altivec_vnmsubfp"): Same.
14412         ("altivec_dssall"): New.
14413         ("altivec_mfvscr"): New.
14414         ("altivec_dss"): New.
14415         ("altivec_lvsl"): New.
14416         ("altivec_lvsr"): New.
14417         ("altivec_dstt"): New.
14418         ("altivec_dstst"): New.
14419         ("altivec_dststt"): New.
14420         ("altivec_dst"): New.
14422         * config/rs6000/rs6000.h (rs6000_builtins): Add mtvscr, dssall,
14423         mfvscr, dss, lvsl, lvsr, dstt, dstst, dststt, dst.
14425 2002-01-09  Richard Henderson  <rth@redhat.com>
14427         * config/alpha/alpha.md (prologue_mcount): Remove lituse_jsr reloc.
14429 2002-01-10  Hans-Peter Nilsson  <hp@bitrange.com>
14431         * config/mmix/mmix.c (mmix_asm_identify_gcc): Remove unused
14432         function.
14433         * config/mmix/mmix-protos.h (mmix_asm_identify_gcc): Don't
14434         prototype.
14435         * config/mmix/mmix.h (ASM_IDENTIFY_GCC): Remove unused macro.
14437 2002-01-09  Kazu Hirata  <kazu@hxi.com>
14439         * read-rtl.c: Fix formatting.
14440         * real.c: Likewise.
14441         * regclass.c: Likewise.
14442         * regrename.c: Likewise.
14443         * reg-stack.c: Likewise.
14444         * reload1.c: Likewise.
14445         * reload.c: Likewise.
14446         * rtl.c: Likewise.
14448 2002-01-09  Kazu Hirata  <kazu@hxi.com>
14450         * rtlanal.c (find_reg_fusage): Use XEXP instead of SET_DEST
14451         to extract items in the expr_list chain.
14453 2002-01-09  Richard Henderson  <rth@redhat.com>
14455         * config/vax/vax.c (vax_rtx_cost): Never abort.
14457         * config/vax/vax.h (REAL_ARITHMETIC): Define.
14459 2002-01-09  Jan Hubicka  <jh@suse.cz>
14461         * gcse.c (cprop_jump): Delete insn if simplified jump is no-op.
14463 2002-01-09  Richard Henderson  <rth@redhat.com>
14465         * config/arm/arm.c (arm_gen_constant): Use trunc_int_for_mode.
14466         Unify code from various alternatives.
14468 2002-01-09  Richard Henderson  <rth@redhat.com>
14470         * regrename.c (copy_value): Ignore the copy if the source register
14471         is present in the value chain with a narrower mode.
14473 2002-01-09  Herman A.J. ten Brugge  <Haj.Ten.Brugge@net.HCC.nl>
14475         * real.c (c4xtoe, toc4x): Do some special conversion on long doubles
14476         for the c4x target. Also improve layout.
14478 2002-01-09  Richard Henderson  <rth@redhat.com>
14480         * config/m32r/m32r.c (move_src_operand): Fix 32-bit int test.
14481         * config/m32r/m32r.md (and ior xor splitters): Swap operands
14482         to match insn patterns.
14484 2002-01-09  Richard Henderson  <rth@redhat.com>
14486         * regrename.c (find_oldest_value_reg): Use gen_rtx_raw_REG.
14487         (copyprop_hardreg_forward_1): Likewise.
14489 2002-01-09  John David Anglin  <dave@hiauly1.hia.nrc.ca>
14491         * pa.md (decrement_and_branch_until_zero): Change predicate for
14492         operand 0 from register_operand to reg_or_nonsymb_mem_operand.
14494 2002-01-09  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
14496         * ginclude/stddef.h: Define _BSD_WCHAR_T_DEFINED_ if _BSD_WCHAR_T_
14497         gets undefined. For Darwin.
14499 2002-01-09  Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
14501         * config/c4x/c4x.h: Use PUSH_ARGS and PUSH_ROUNDING for stack passing.
14503 2002-01-09  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
14505         * config/c4x/c4x/md: Remove extraneous constraints from define_splits.
14507 2002-01-08  Richard Henderson  <rth@redhat.com>
14509         * regrename.c (copy_value): Ignore overlapping copies.
14511 2002-01-08  Richard Henderson  <rth@redhat.com>
14513         * config/alpha/alpha.c (alpha_split_conditional_move): Call copy_rtx
14514         as needed to avoid shared structure.
14516 2002-01-08  Kazu Hirata  <kazu@hxi.com>
14518         * config/h8300/h8300.c (get_shift_alg): Fix 15-bit LSHIFTRT on
14519         H8/300H and H8/S.
14521 2002-01-08  Joseph S. Myers  <jsm28@cam.ac.uk>
14523         * doc/tm.texi (EASY_DIV_EXPR, IMPLICIT_FIX_EXPR,
14524         LONGJMP_RESTORE_FROM_STACK, MAX_INT_TYPE_SIZE): Remove
14525         documentation of obsolete macros.
14526         * system.h: Poison these macros.
14527         * config/1750a/1750a.h, config/a29k/a29k.h, config/alpha/alpha.h,
14528         config/arc/arc.h, config/arm/arm.h, config/avr/avr.h,
14529         config/c4x/c4x.h, config/clipper/clipper.h,
14530         config/convex/convex.h, config/cris/cris.h, config/d30v/d30v.h,
14531         config/dsp16xx/dsp16xx.h, config/elxsi/elxsi.h,
14532         config/fr30/fr30.h, config/h8300/h8300.h, config/i370/i370.h,
14533         config/i386/i386.h, config/i860/i860.h, config/i960/i960.h,
14534         config/ia64/ia64.h, config/m32r/m32r.h, config/m68hc11/m68hc11.h,
14535         config/m68k/m68k.h, config/m88k/m88k.h, config/mcore/mcore.h,
14536         config/mips/mips.h, config/mmix/mmix.h, config/mn10200/mn10200.h,
14537         config/mn10300/mn10300.h, config/ns32k/ns32k.h, config/pa/pa.h,
14538         config/pdp11/pdp11.h, config/pj/pj.h, config/romp/romp.h,
14539         config/rs6000/rs6000.h, config/s390/s390.h, config/sh/sh.h,
14540         config/sparc/sparc.h, config/stormy16/stormy16.h,
14541         config/v850/v850.h, config/vax/vax.h, config/we32k/we32k.h: Remove
14542         definitions and commented out definitions of obsolete macros.
14543         * config/mips/iris5.h (MAX_WCHAR_TYPE_SIZE): Don't define in terms
14544         of MAX_INT_TYPE_SIZE.
14546 2002-01-08  Ulrich Weigand  <uweigand@de.ibm.com>
14548         * config/s390/s390.c (s390_preferred_reload_class): Never
14549         return ADDR_REGS if it isn't a subset of the given class.
14550         * config/s390/s390.h (REGISTER_MOVE_COST): Penalize not just
14551         FP_REGS, but all superclasses as well.
14553         * config/s390/s390.c (s390_function_profiler): Fix thinko.
14555         * config/s390/s390.md (cmpdi_ccu_mem, cmpsi_ccu_mem,
14556         cmphi_ccu_mem, cmpqi_ccu_mem): First operand of compare
14557         must not be a const_int.
14559 2002-01-08  Richard Henderson  <rth@redhat.com>
14561         * Makefile.in (toplev.o): Depend on options.h.
14562         (gcc.o): Depend on specs.h.
14564 2002-01-08  Jakub Jelinek  <jakub@redhat.com>
14566         * expr.c (store_expr): Convert VOIDmode constants back to target's
14567         mode.
14569 2002-01-08  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
14571         * doc/invoke.texi: Markup gcc as @command.  Refer to
14572         http://gcc.gnu.org/onlinedocs/gcc/Contributors.html instead
14573         of http://gcc.gnu.org/thanks.html.
14575 2002-01-08  Dale Johannesen  <dalej@apple.com>
14577         * config/rs6000/rs6000.md: Add missing int register
14578         target case to movdf_low.
14580 2002-01-08  Zack Weinberg  <zack@codesourcery.com>
14582         * Makefile.in (cs-tconfig.h): Don't depend on $(CONFIG_H) or
14583         except.h.  Remove commands to define USING_SJLJ_EXCEPTIONS.
14584         (cppinit.o): Depend on except.h.
14585         (gencheck.h, options.h, specs.h, s-gencheck, s-options,
14586         s-specs): New rules.
14588         * configure.in: Don't AC_DEFINE_UNQUOTED PACKAGE or VERSION.
14589         Don't create specs.h/options.h/gencheck.h here.  Remove
14590         unnecessary variable settings from last argument of AC_OUTPUT.
14591         * config.in, configure: Regenerate.
14592         * intl.c: Hardcode package name as "gcc".
14594         * cppinit.c: Include except.h.
14595         (builtin_array): Define __USING_SJLJ_EXCEPTIONS__ when
14596         appropriate.
14597         * unwind-dw2.c, unwind-sjlj.c, config/ia64/unwind-ia64.c:
14598         Use #if(n)def __USING_SJLJ_EXCEPTIONS, not #if
14599         (!)USING_SJLJ_EXCEPTIONS.
14600         * doc/cpp.texi: Document __USING_SJLJ_EXCEPTIONS__.
14602 2002-01-08  Joseph S. Myers  <jsm28@cam.ac.uk>
14604         * doc/tm.texi (ASM_OUTPUT_EH_REGION_BEG, ASM_OUTPUT_EH_REGION_END,
14605         ASM_OUTPUT_LABELREF_AS_INT, DOESNT_NEED_UNWINDER, EH_TABLE_LOOKUP,
14606         OBJC_SELECTORS_WITHOUT_LABELS, OMIT_EH_TABLE): Remove
14607         documentation of obsolete macros.
14608         * system.h: Poison these macros.
14609         * config/d30v/d30v.h, config/ns32k/encore.h,
14610         config/stormy16/stormy16.h: Remove definitions and commented out
14611         definitions of obsolete macros.
14613 Tue Jan  8 15:56:41 2002  Nicola Pero  <nicola@brainstorm.co.uk>
14615         * objc/objc-act.c (handle_class_ref): Mark the declaration of
14616         %sobjc_class_ref_%s as used - to prevent unwanted compiler
14617         warnings.
14619 2002-01-08  Ulrich Weigand  <uweigand@de.ibm.com>
14621         * config/s390/linux.h (ASM_OUTPUT_LABELREF): Remove.
14622         * config/s390/s390.c (s390_emit_epilog): Add REG_FRAME_RELATED_EXPR
14623         to insn adjusting stack/frame pointer.
14624         * config/s390/s390.md (reload_la_64, reload_la_31): Do not
14625         accept operands that cause the insn to be non-splittable.
14627 2002-01-08  Graham Stott  <grahams@redhat.com>
14629         * c-tree.h (C_TYPE_FIELDS_READONLY): Uppercase macro parameter.
14630         (C_TYPE_FIELDS_VOLATILE): Likewise.
14631         (C_TYPE_BEING_DEFINED): Likewise.
14632         (C_IS_RESERVED_WORD): Likewise.
14633         (C_TYPE_VARIABLE_SIZE): Likewise.
14634         (C_DECL_VARIABLE_SIZE): Likewise.
14635         (C_MISSING_PROTOTYPE_WARNED): Likewise.
14636         (C_SET_EXP_ORIGINAL_CODE): Likewise.
14637         (C_TYPEDEF_EXPLICITLY_SIGNED): Uppercase macro parameter and remove
14638         parenthesis.
14639         (C_DECL_ANTICIPATED): Likewise.
14640         (c_build_type_variant): Add parenthesis.
14642 2002-01-08  Joseph S. Myers  <jsm28@cam.ac.uk>
14644         * gcc.c (option_map): Remove --version.
14645         (process_command): Handle -fversion following the GNU Coding
14646         Standards.  Partially addresses PR other/704.
14648 2002-01-08  Graham Stott  <grahams@redhat.com>
14650         * combine.c (combine_instructions): Fix typo.
14652 2002-01-08  Graham Stott  <grahams@redhat.com>
14654         * debug.h: Use "tree" and "rtx" throughout.
14656         * debug.c: Likewise.
14658 2002-01-08  Nick Clifton  <nickc@cambridge.redhat.com>
14660         * dbxout.c (dbxout_symbol_location): If a symbol ref is in the
14661         constant pool, use the pool's version of the symbol instead.
14663 2002-01-07  Richard Henderson  <rth@redhat.com>
14665         * regrename.c (find_oldest_value_reg): Ignore the value chain if
14666         the original register was copied in a mode with a fewer number of
14667         hard registers than the desired mode.
14668         (copyprop_hardreg_forward_1): Likewise.
14669         (debug_value_data): Fix loop test.
14670         * toplev.c (parse_options_and_default_flags): Reenable
14671         -fcprop-registers at -O1.
14673 2002-01-07  Aldy Hernandez  <aldyh@redhat.com>
14675         * config/rs6000/rs6000.c (bdesc_2arg): Add altivec predicates.
14676         (altivec_init_builtins): New node v4si_ftype_v16qi_v16qi.
14678         * config/rs6000/rs6000.h (rs6000_builtins): Add enums for altivec
14679         predicates.
14681         * config/rs6000/rs6000.md: Add altivec predicate patterns.
14683 2002-01-07  John David Anglin  <dave@hiauly1.hia.nrc.ca>
14685         * pa.c (FUNC_BEGIN_PROLOG_LABEL, current_function_number): Define.
14686         (pa_output_function_prologue): Output local label at the beginning of
14687         the prologue when profiling.
14688         (hppa_profile_hook): Use the local label rather than the function label.
14689         * pa.h (PROFILE_BEFORE_PROLOGUE): Define.
14691 2002-01-07  Aldy Hernandez  <aldyh@redhat.com>
14693         * config/rs6000/rs6000.c (print_operand): Remove extra space.
14694         (altivec_expand_unop_builtin): Fix thinko.
14695         (altivec_expand_binop_builtin): Same.
14696         (altivec_expand_ternop_builtin): Same.
14697         (altivec_expand_builtin): Same.
14699 2002-01-07  Richard Henderson  <rth@redhat.com>
14701         * config/rs6000/xcoff.h (ASM_FILE_START): Reverted to profile_flag.
14703 2002-01-07  Jason Merrill  <jason@redhat.com>
14705         * unwind-dw2.c (execute_cfa_program): Use < again.
14707 2002-01-07  Jakub Jelinek  <jakub@redhat.com>
14709         * predict.c (combine_predictions_for_insn): Avoid division by zero.
14711 2002-01-07  Jakub Jelinek  <jakub@redhat.com>
14713         * simplify-rtx.c (simplify_plus_minus): Bump n_ops for NOT.
14714         Don't allow -1 - x -> ~x simplifications in the first pass.
14716 2002-01-07  Aldy Hernandez  <aldyh@redhat.com>
14718         * rs6000.c (altivec_expand_ternop_builtin): Don't die on invalid
14719         arguments.
14720         (altivec_expand_binop_builtin): Same.
14721         (altivec_expand_unop_builtin): Same.
14722         (print_operand): Fix typo.
14723         (bdesc_1arg): Add vupk* variants.
14725         * rs6000.h (rs6000_builtins): Add vupk* enums.
14727         * rs6000.md: Add altivec_vupk* variants.
14729 2002-01-07  Joseph S. Myers  <jsm28@cam.ac.uk>
14731         * doc/gcc.texi, doc/gccint.texi, doc/cppinternals.texi,
14732         doc/install.texi, doc/invoke.texi, doc/rtl.texi: Update copyright
14733         and last update dates.
14735 2002-01-07  Janis Johnson  <janis187@us.ibm.com>
14737         * doc/rtl.texi (Flags): Clean up documentation of RTL flags
14739 2002-01-07  Marek Michalkiewicz  <marekm@amelek.gda.pl>
14741         * config/avr/avr.c (avr_mcu_types): Add new MCU types.
14742         * config/avr/avr.h (CPP_SPEC): Likewise.
14743         (LINK_SPEC): Likewise.
14744         (CRT_BINUTILS_SPECS): Likewise.
14745         * config/avr/t-avr (MULTILIB_MATCHES): Likewise.
14746         * doc/invoke.texi (AVR Options): Document them.
14748 Mon Jan  7 11:59:34 CET 2002  Jan Hubicka  <jh@suse.cz>
14750         * unroll.c (copy_loop_body): Always properly update JUMP_LABEL and
14751         LABEL_NUSES.
14753 2002-01-07  Graham Stott  <grahams@redhat.com>
14755         * config/i386/i386.h: Update copyright date.
14756         (HALF_PIC_PTR): Add parenthesis.
14757         (OPTIMIZATION_OPTIONS): Whitespace, add parenthesis and wrap.
14758         (CONSTANT_ALIGNMENT): Add parenthesis.
14759         (DATA_ALIGNMENT): Likewise.
14760         (LOCAL_ALIGNMENT): Likewise.
14761         (FUNCTION_ARG_BOUNDARY): Whitespace, add parenthesis and wrap.
14762         (IS_STACK_MODE): Uppercase macro parameter, add parenthesis and wrap.
14763         (CONDITIONAL_REGISTER_USAGE): Wrap in do {...} while (0).
14764         (HARD_REGNO_NREGS): Add paranethesis.
14765         (VALID_SSE_REG_MODE): Whitespace.
14766         (VALID_MMX_REG_MODE): Whitespace.
14767         (VALID_FP_MODE_P): Uppercase macros parameter and whitespace.
14768         (ix86_hard_regno_mode_ok): Add parenthesis.
14769         (HARD_REGNO_CALLER_SAVE_MODE): Whitespace.
14770         (RETURN_IN_MEMORY): Whitespace.
14771         (N_REG_CLASSES): Add parenthesis.
14772         (INTEGER_CLASS_P): Add parenthesis and wrap.
14773         (FLOAT_CLASS_P): Likewise.
14774         (SSE_CLASS_P): Likewise.
14775         (MMX_CLASS_P): Likewise.
14776         (MAYBE_INTEGER_CLASS_P): Likewise.
14777         (MAYBE_FLOAT_CLASS_P): Likewise.
14778         (MAYBE_SSE_CLASS_P): Likewise.
14779         (MAYBE_MMX_CLASS_P): Likewise.
14780         (Q_CLASS_P): Likewise.
14781         (GENERAL_REGNO_P): Uppercase macro parameter.
14782         (REX_INT_REGNO_P): Uppercase macro parameter and wrap.
14783         (FP_REGNO_P): Likewise.
14784         (ANY_FP_REGNO_P): Uppercase macro parameter.
14785         (SSE_REGNO_P): Likewise.
14786         (SSE_REGNO): Likewise.
14787         (SSE_REG_P): Likewise.
14788         (SSE_FLOAT_MODE_P): Likewise.
14789         (MMX_REGNO_P): Likewise.
14790         (MMX_REG_P):Likewise.
14791         (STACK_REG_P): Likewise.
14792         (NON_STACK_REG_P): Likewise.
14793         (STACK_TOP_P): Likewise.
14794         (CONVERT_HARD_REGISTER_TO_SSA_P): Add parenthesis.
14795         (PREFERRED_RELOAD_CLASS): Add parenthesis and whitespace.
14796         (SECONDARY_MEMORY_NEEDED): Likewise.
14797         (SECONDARY_OUTPUT_RELOAD_CLASS): Whitespace.
14798         (MD_ASM_CLOBBERS): Whitespace and wrap.
14799         (MUST_PASS_IN_STACK): Whitespace and wrap.
14800         (RETURN_POPS_ARGS): Add parenthesis.
14801         (INIT_CUMULATIVE_ARGS): Likewise.
14802         (FUNCTION_ARG): Likewise.
14803         (FUNCTION_OK_FOR_SIBCALL): Add parenthesis and whitespace.
14804         (SETUP_INCOMING_VARARGS): Likewise.
14805         (BUILD_VA_LIST_TYPE):  Add parenthesis.
14806         (EXPAND_BUILTIN_VA_START): Uppercase macro paremeters and add
14807         parenthsis.
14808         (EXPAND_BUILTIN_VA_ARG): Likewise.
14809         (FUNCTION_PROFILER): Wrap in do { ... } while (0) and add parenthesis.
14810         (INITIALIZE_TRAMPOLINE): Add parenthesis.
14811         (INITIAL_ELIMINATION_OFFSET): Likewise.
14812         (REGNO_OK_FOR_INDEX_P): Add parenthesis.
14813         (REGNO_OK_FOR_BASE_P): Likewise.
14814         (REGNO_OK_FOR_SIREG_P): Add parenthesis and wrap.
14815         (REGNO_OK_FOR_DIREG_P): Likewise.
14816         (REG_OK_FOR_INDEX_P): Whitespace.
14817         (REG_OK_FOR_BASE_P): Whitespace.
14818         (GO_IF_LEGITIMATE_ADDRESS): Wrap in do { ... } while (0) and add
14819         parenthesis.
14820         (FIND_BASE_TERM): Fix typo.
14821         (LEGITIMIZE_ADDRESS): Wrap in  { .. } while (0) and add parenthesis.
14822         (REWRITE_ADDRESS): Uppercase macro parameter and whitespace.
14823         (SYMBOLIC_CONST; Whitespace.
14824         (GO_IF_MODE_DEPENDENT_ADDRESS):Wrap in  { .. } while (0) and wrap.
14825         (ENCODE_SECTION_INFO): Whitespace.
14826         (FINALIZE_PIC): Remove do { ... } while (0).
14827         (PROMOTE_MODE): Wrap in do { ... } while (0).
14828         (CONST_COSTS): Whitespace.
14829         (RTX_COSTS): Add paramethesis, whitespace and wrap.
14830         (REGISTER_MOVE_COST): Add parenthesis.
14831         (MEMORY_MOVE_COST): Likewise.
14832         (EXTRA_CC_MODES): Whitespace.
14833         (SELECT_CC_MODE): Add parenthesis and whitespace.
14834         (DBX_REGISTER_NUMBER): Uppercase macro parameter and add parenthsis.
14835         (ASM_PREFERRED_EH_DATA_FORMAT): Add parenthesis and whitespace.
14836         (ASM_OUTPUT_LABEL): Add paramethesis.
14837         (ASM_OUTPUT_REG_PUSH): Add parenthesis and whitespace.
14838         (ASM_OUTPUT_REG_POP): Likewise.
14839         (ASM_OUTPUT_ADDR_VEC_ELT): Add parenthesis.
14840         (ASM_OUTPUT_ADDR_DIFF_ELT): Likewise.
14842         * config/i386/i386.c: Update copyright.
14843         (CHECK_STACK_LIMIT): Add parenthesis.
14844         (AT_BP): Uppercase macro parameter.
14845         (x86_64_int_parameter_registers): Constify.
14846         (x86_64_int_return_registers): Likewise.
14847         (ix86_compare_op0): Use rtx.
14848         (construct_container): Constify INTREG parameter.
14849         (function_arg): Use rtx.
14851         * diagnostic.h: Update copyright date.
14852         (output_buffer_state): Add parenthesis.
14853         (output_buffer_format_args): Likewise.
14855         * combine.c (combine_instructions): Replace XEXP (links, 0)
14856         with link.
14858 2002-01-06  H.J. Lu <hjl@gnu.org>
14860         * cfgcleanup.c (thread_jump): Fix 2 typos.
14862 2002-01-06  Aldy Hernandez  <aldyh@redhat.com>
14864         * config.gcc: Add support for --enable-altivec.
14866 2002-01-06  Craig Rodrigues  <rodrigc@gcc.gnu.org>
14868         * emit-rtl.c (gen_highpart): Add check for NULL_RTX.
14870 2002-01-06  Jakub Jelinek  <jakub@redhat.com>
14872         * objc/objc-act.c (handle_impent): Use assemble_variable to emit
14873         __objc_class_name_*.
14875 2002-01-06  Craig Rodrigues  <rodrigc@gcc.gnu.org>
14877         * doc/install.texi (sparcv9-*-solaris2*): Add documentation.
14879 2002-01-06  Richard Henderson  <rth@redhat.com>
14881         * reorg.c (emit_delay_sequence): Remove death notes, not merely
14882         nop them out.  Increment label reference count for REG_LABEL.
14883         (fill_slots_from_thread): Frob label reference count around
14884         delete_related_insns.
14886 2002-01-05  Richard Henderson  <rth@redhat.com>
14888         * cfgcleanup.c (try_forward_edges): Detect infinite loops while
14889         jump threading.
14891 2002-01-05  Richard Henderson  <rth@redhat.com>
14893         * c-decl.c (c_expand_body): Don't call outlining_inline_function.
14894         * integrate.c (output_inline_function): Likewise.
14895         * toplev.c (rest_of_compilation): Do it here instead.  Move call
14896         to remove_unnecessary_notes after emitting abstract instance.
14897         Force an emitted nested function to have its parent emited as well.
14898         * dwarf2out.c (loc_descriptor_from_tree): Read mode after checking
14899         for null.
14900         (rtl_for_decl_location): Do not look at reload data structures
14901         before reload has run.
14903 2002-01-05  Kazu Hirata  <kazu@hxi.com>
14905         * cse.c: Fix formatting.
14906         * dwarf2asm.c: Likewise.
14907         * dwarf2out.c: Likewise.
14908         * explow.c: Likewise.
14909         * expmed.c: Likewise.
14910         * function.c: Likewise.
14911         * gcov.c: Likewise.
14912         * gencheck.c: Likewise.
14913         * genrecog.c: Likewise.
14914         * ggc-common.c: Likewise.
14915         * ggc-page.c: Likewise.
14916         * global.c: Likewise.
14918 2002-01-05  Kazu Hirata  <kazu@hxi.com>
14920         * combine.c: Fix formatting.
14922 2002-01-05  Craig Rodrigues  <crodrigu@bbn.com>
14924         PR middle-end/1557
14925         * config/ia64/ia64.h (RENAME_EXTENDED_BLOCKS): Remove.
14927 2002-01-05  David Edelsohn  <edelsohn@gnu.org>
14929         * config/rs6000/rs6000.h (TARGET_POWERPC): For IN_LIBGCC2, define
14930         as 1 for __powerpc64__ as well.
14932         * config/rs6000/t-aix43 (T_ADAFLAGS): Define.
14934         * alias.c (find_base_value, PLUS/MINUS): If we found a base,
14935         return it.
14937 2002-01-05  Daniel Berlin  <dan@dberlin.org>
14939         * lcm.c: Revert change, due to performance regression it causes on
14940         SPEC because it's slightly more conservative (sigh, I hate
14941         edge-based LCM).
14943 Sat Jan  5 11:52:05 CET 2002  Jan Hubicka  <jh@suse.cz>
14945         * cfgcleanup.c (try_forward_edges): Allow multiple jump threading.
14947 2002-01-05  Neil Booth  <neil@daikokuya.demon.co.uk>
14949         * doc/cppinternals.texi: Update.
14951 2002-01-05  Hans-Peter Nilsson  <hp@bitrange.com>
14953         * doc/invoke.texi (Option Summary) <MMIX Options>: Document
14954         -mbranch-predict, -mreg-stack-fill-bug-workaround and their
14955         negatives.
14956         (MMIX Options): Ditto.  Fix item/itemx typo for -mno-zero-extend.
14957         * config/mmix/mmix.c (mmix_target_asm_function_prologue): Rework
14958         kludge for pre-october-14th mmix versions to handle new-found bug
14959         with PUSHJ/PUSHGO and the register stack.
14960         * config/mmix/mmix.h (struct machine_function): Rename member
14961         has_call_value_without_parameters to has_call_without_parameters.
14962         All referers changed.
14963         (TARGET_MASK_REG_STACK_FILL_BUG, TARGET_DEFAULT
14964         TARGET_MASK_BRANCH_PREDICT): New macros.
14965         (TARGET_SWITCHES): New options -mreg-stack-fill-bug-workaround,
14966         -mno-reg-stack-fill-bug-workaround.
14967         * config/mmix/mmix.md ("call"): Set struct machine member
14968         has_call_without_parameters.
14970 Sat Jan  5 02:20:22 CET 2002  Jan Hubicka  <jh@suse.cz>
14972         * cfgcleanup.c (thread_jump): Fix handling of reversed branches.
14974 Sat Jan  5 01:35:29 CET 2002  Jan Hubicka  <jh@suse.cz>
14976         * cfgcleanup.c: Include tm_p.h
14977         (mark_effect): Fix handling of hard register; fix handling of SET
14979 2002-01-04  Kazu Hirata  <kazu@hxi.com>
14981         * config/h8300/h8300.md (anonymous patterns): Check that
14982         operands are registers before using REGNO on them.
14984 2002-01-03  Roland McGrath  <roland@frob.com>
14986         * doc/invoke.texi (RS/6000 and PowerPC Options): Add -mcall-gnu.
14988 2002-01-04  Jakub Jelinek  <jakub@redhat.com>
14990         * tree.h (expand_expr_stmt_value): Add maybe_last argument.
14991         * c-common.h (genrtl_expr_stmt_value): Likewise.
14992         * stmt.c (expand_expr_stmt): Pass 1 as maybe_last.
14993         (expand_expr_stmt_value): Add maybe_last argument.
14994         Don't warn about statement with no effect if it is the last statement
14995         in expression statement.
14996         * c-semantics.c (genrtl_expr_stmt): Pass 1 as maybe_last.
14997         (genrtl_expr_stmt_value): Add maybe_last argument, pass it down to
14998         expand_expr_stmt_value.
14999         (expand_stmt) [EXPR_STMT]: Pass 1 as maybe_last to
15000         genrtl_expr_stmt_value if t is the last EXPR_STMT in its scope.
15001         * expr.c (expand_expr) [LABELED_BLOCK_EXPR, LOOP_EXPR]: Pass 1
15002         as maybe_last to expand_expr_stmt_value.
15004 Fri Jan  4 11:45:05 2002  Jeffrey A Law  (law@redhat.com)
15006         * c-common.c (c_expand_start_cond): Expect the IF_STMT node to
15007         be passed in, do not build it.
15008         (c_begin_if_stmt): New function.
15009         (c_begin_while_stmt, c_finish_while_stmt_cond): Likewise.
15010         * c-common.h (c_expand_start_cond): Update prototype.
15011         (c_begin_if_stmt): Prototype new function.
15012         (c_begin_while_stmt, c_finish_while_stmt_cond): Likewise.
15013         * c-parse.in (if_prefix): Use c_begin_if_stmt,
15014         c_begin_while_stmt and c_finish_while_stmt_cond.
15016 2002-01-04  William Cohen  <wcohen@redhat.com>
15018         * config/pa/elf.h (ASM_FILE_START): Reverted to profile_flag.
15019         * config/pa/pa-linux.h (ASM_FILE_START): Likewise.
15020         * config/pa/pa64-hpux.h (ASM_FILE_START): Likewise.
15021         * config/pa/som.h (ASM_FILE_START): Likewise.
15023 2002-01-04  Daniel Berlin  <dan@cgsoftware.com>
15025         * lcm.c: Include df.h.
15026         Add available_transfer_function prototype.
15027         (compute_available): Rework to use iterative dataflow framework.
15028         (struct bb_info): s/bb_info/lcm_bb_info/g to avoid conflict
15029         with bb_info in df.h
15030         (available_transfer_function): New function.
15032         * Makefile.in (lcm.o): add df.h to dependencies.
15034 2002-01-04  Richard Henderson  <rth@redhat.com>
15036         * config/alpha/alpha.c (some_operand): Accept HIGH.
15037         (input_operand): Likewise; accept simple references to globals.
15038         (alpha_const_ok_for_letter_p): New, outlined from alpha.h.
15039         (alpha_const_double_ok_for_letter_p): Likewise.
15040         (alpha_extra_constraint): Likewise.
15041         (alpha_preferred_reload_class): Likewise.  Do not force
15042         symbolic constants to memory.
15043         (alpha_legitimate_address_p): Accept simple references
15044         to small_symbolic_operand.
15045         (alpha_legitimize_address): New arg scratch.  Be prepared to be
15046         called when no_new_pseudos.  Emit simple symbolic references.
15047         Split integers into low, high, and rest.
15048         (alpha_expand_mov): Use alpha_legitimize_address.
15049         (some_small_symbolic_mem_operand): New.
15050         (split_small_symbolic_mem_operand): New.
15051         * config/alpha/alpha-protos.h: Update.
15052         * config/alpha/alpha.h (CONST_OK_FOR_LETTER_P): Out-line.
15053         (CONST_DOUBLE_OK_FOR_LETTER_P): Likewise.
15054         (EXTRA_CONSTRAINT): Likewise.
15055         (PREFERRED_RELOAD_CLASS): Likewise.
15056         (LEGITIMIZE_ADDRESS): Update for alpha_legitimize_address change.
15057         (PREDICATE_CODES): Update.
15058         * config/alpha/alpha.md: New post-reload splitters to convert
15059         simplfied symbolic operands to the form that references $29.
15060         (divide expanders): Use emit_move_insn, not gen_movdi_er_high_g.
15061         (movdi_er_nofix, movdi_er_fix): Accept any symbolic operand.
15063 2002-01-03  Richard Henderson  <rth@redhat.com>
15065         * local-alloc.c (function_invariant_p): Update commentary.
15067 2002-01-04  H.J. Lu <hjl@gnu.org>
15069         * toplev.c (rest_of_compilation): Fix a typo when calling
15070         cleanup_cfg.
15072 2002-01-03  Kazu Hirata  <kazu@hxi.com>
15074         * c-common.c: Fix formatting.
15075         * diagnostic.c: Likewise.
15076         * doloop.c: Likewise.
15077         * dwarf2out.c: Likewise.
15079 2002-01-03  Kazu Hirata  <kazu@hxi.com>
15081         * config/h8300/h8300.c (output_logical_op): Use 'not.w' instead
15082         of 'neg.w' when xoring with 0x0000ffff or 0xffff0000.
15084 2002-01-03  Neil Booth  <neil@daikokuya.demon.co.uk>
15086         * cpperror.c: Update comments and copyright.
15087         * cppexp.c, cppfiles.c, cpphash.c, cpphash.h, cppinit.c,
15088         cpplex.c, cpplib.c, cpplib.h, cppmacro.c, cppmain.c: Similarly.
15090 2002-01-03  John David Anglin  <dave@hiauly1.hia.nrc.ca>
15092         * collect2.c (main): Use strcmp when testing for "-shared".
15094 2002-01-03  Neil Booth  <neil@daikokuya.demon.co.uk>
15096         * cppmacro.c: Don't include intl.h.  Update comments.
15097         (new_number_token): Allocate enough buffer for 64-bit unsigned
15098         integers; update prototype.
15099         * cppmain.c: Update comments.
15101 2002-01-03  William Cohen  <wcohen@redhat.com>
15103         * function.h (struct function): Add profile.
15104         (current_function_profile): New.
15105         doc/extend.texi: Update documentation.
15106         * final.c (final_start_function): Use current_function_profile
15107         instead of profile_flag.
15108         (profile_after_prologue): Likewise.
15109         * function.c (expand_function_start): Likewise.
15110         (expand_function_start): Likewise.
15111         * config/alpha/alpha.c (direct_call_operand):
15112         (alpha_does_function_need_gp): Likewise.
15113         (alpha_expand_prologue): Likewise.
15114         * config/arm/arm.c (arm_expand_prologue): Likewise.
15115         thumb_expand_prologue: Likewise.
15116         * config/d30v/d30v.c (d30v_stack_info): Likewise.
15117         * config/fr30/fr30.c (MUST_SAVE_RETURN_POINTER): Likewise.
15118         (fr30_expand_prologue): Likewise.
15119         * config/i386/cygwin.h (SUBTARGET_PROLOGUE): Likewise.
15120         * config/i386/i386.c (ix86_osf_output_function_prologue): Likewise.
15121         * config/i386/i386.h (FINALIZE_PIC): Likewise.
15122         * config/i386/win32.h (SUBTARGET_PROLOGUE): Likewise.
15123         * config/i960/i960.c (i960_output_function_prologue): Likewise.
15124         * config/ia64/ia64.c (ia64_compute_frame_size): Likewise.
15125         * config/m32r/m32r.c (MUST_SAVE_RETURN_ADDR): Likewise.
15126         (m32r_expand_prologue): Likewise.
15127         * config/m88k/m88k.c (m88k_layout_frame): Likewise.
15128         (m88k_expand_prologue): Likewise.
15129         * config/m88k/m88k.h (ADJUST_INSN_LENGTH): Likewise.
15130         * config/mips/mips.c (compute_frame_size): Likewise.
15131         (mips_expand_prologue): Likewise.
15132         (mips_can_use_return_insn): Likewise.
15133         * config/pa/elf.h (ASM_FILE_START): Likewise.
15134         * config/pa/pa-linux.h (ASM_FILE_START): Likewise.
15135         * config/pa/pa64-hpux.h (ASM_FILE_START): Likewise.
15136         * config/pa/som.h (ASM_FILE_START): Likewise.
15137         * config/romp/romp.c (romp_using_r14): Likewise.
15138         * config/rs6000/rs6000.c (first_reg_to_save): Likewise.
15139         (rs6000_stack_info): Likewise.
15140         * config/rs6000/sysv4.h (ASM_DECLARE_FUNCTION_NAME): Likewise.
15141         * config/rs6000/xcoff.h (ASM_FILE_START): Likewise.
15142         * config/v850/v850.c (compute_register_save_size): Likewise.
15144 2002-01-03  Jakub Jelinek  <jakub@redhat.com>
15146         * simplify-rtx.c (simplify_binary_operation) [DIV]: If
15147         gen_lowpart_common fails, use gen_lowpart_SUBREG.
15149 2002-01-03  Turly O'Connor  <turly@apple.com>
15151         * darwin.c (machopic_output_possible_stub_label): Don't generate
15152         stub routines for pseudo-stubs which we've just defined.
15154 2002-01-03  Kazu Hirata  <kazu@hxi.com>
15156         * builtins.c: Fix formatting.
15157         * c-typeck.c: Likewise.
15158         * combine.c: Likewise.
15159         * expr.c: Likewise.
15160         * loop.c: Likewise.
15162 2002-01-03  Andreas Schwab  <schwab@suse.de>
15164         * cppfiles.c (_cpp_pop_file_buffer): Change return type to bool
15165         and return true if _cpp_push_next_buffer pushed a new include
15166         file.
15167         * cpplib.c (_cpp_pop_buffer): Only call obstack_free if
15168         _cpp_pop_file_buffer did not push a new file.
15169         * cpphash.h (_cpp_pop_file_buffer): Update declaration.
15171 2002-01-02  Eric Christopher  <echristo@redhat.com>
15173         * final.c (final_scan_insn): Change 0 -> NULL_RTX in
15174         FIND_REG_INC_NOTE call. Update copyright.
15175         * loop.c (canonicalize_condition): Ditto.
15176         * reorg.c (delete_scheduled_jump): Ditto.
15178 2002-01-03  Kazu Hirata  <kazu@hxi.com>
15180         * gcse.c: Fix formatting.
15182 2002-01-03  Graham Stott  <grahams@redhat.com>
15184         * mkconfig.sh: Output to config.h, hconfig.h and tconfig.h
15185         forward defs for struct tags rtx_def, union_tree, rtvec_def
15186         also output corresponding typedefs for rtx, tree, and rtvec.
15188         * system.h: Move forward defs for struct tags rtx_def, union_tree,
15189         rtvec_def along with corresponding typedefs for rtx, tree, and
15190         rtvec to config.h, hconfig.h, tconfig.h.
15192 2002-01-03  Graham Stott  <grahams@redhat.com>
15194         * tree.h: Update copyright date.
15195         (IS_EXPR_CODE_CLASS): Add parenthesis.
15196         (TREE_SET_CODE): Add whitespace.
15197         (TREE_CHECK): Add parenthesis.
15198         (TREE_CLASS_CODE): Add parenthesis and wrap long line.
15199         (CST_OR_CONSTRUCTOR_CHECK):
15200         (EXPR_CHECK): Add parenthis, whitespace and wrap line.
15201         (TREE_SYMBOL_REFERENCED): Whitespace.
15202         (INT_CST_LT): Likewise.
15203         (INT_CST_LT_UNSIGNED): Likewise.
15204         (tree_real_cst): Unwrap comment.
15205         (tree_string): Likewise.
15206         (tree_complex): Likewise.
15207         (IDENTIFIER_POINTER): correct cast.
15208         (SAVE_EXPR_CONTEXT): Whitespace.
15209         (EXPR_WFL_FILENAME_NODE): Likewise.
15210         (EXPR_WFL_FILENAME): Remove parenthesis.
15211         (DECL_ORIGIN): Add parenthesis.
15212         (DECL_FROM_INLINE): Use NULL_TREE.
15213         (build_int_2): Whitespace.
15214         (build_type_variant): Add parenthesis.
15216         * gcc/jcf-parse.c: Update copyright date.
15217         (yyparse): Constify resource_filename.
15219 2002-01-03  Graham Stott  <grahams@redhat.com>
15221         * rtl.h: Update copyright date.
15222         (RTL_CHECK1): Wrap long line.
15223         (RTL_CHECK2): Likewise.
15224         (RTL_CHECKC1): Wrap long line and whitespace.
15225         (RTL_CHECKC2): Likewise.
15226         (XWINT): Whitespace.
15227         (XINT): Likewise.
15228         (XSTR): Likewise.
15229         (XEXP): Likewise.
15230         (XVEC): Likewise.
15231         (XMODE): Likewise.
15232         (XBITMAP): Likewise.
15233         (XTREE): Likewise.
15234         (XBBDEF): Likewise.
15235         (XTMPL): Likewise.
15236         (X0WINT): Likewise.
15237         (X0INT):Likewise.
15238         (X0UINT): Likewise.
15239         (X0STR): Likewise.
15240         (X0EXP): Likewise.
15241         (X0VEC): Likewise.
15242         (X0MODE): Likewise.
15243         (X0BITMAP): Likewise.
15244         (X0TREE): Likewise.
15245         (X0BBDEF): Likewise.
15246         (X0ADVFLAGS): Likewise.
15247         (X0CSELIB): Likewise.
15248         (X0MEMATTR): Likewise.
15249         (XCWINT): Likewise.
15250         (XCINT): Likewise.
15251         (XCUINT): Likewise.
15252         (XCSTR): Likewise.
15253         (XCEXP): Likewise.
15254         (XCVEC): Likewise.
15255         (XCMODE): Likewise.
15256         (XCBITMAP): Likewise.
15257         (XCTREE): Likewise.
15258         (XCBBDEF): Likewise.
15259         (XCADVFLAGS): Likewise.
15260         (XCCSELIB): Likewise.
15261         (XC2EXP): Likewise.
15262         (INSN_UID): Likewise.
15263         (PREV_INSN): Likewise.
15264         (PATTERN): Likewise.
15265         (INSN_CODE): Likewise.
15266         (PUT_REG_NOTE_KIND): Likewise.
15267         (CODE_LABEL_NUMBER): Likewise.
15268         (NOTE_SOURCE_FILE): Likewise.
15269         (NOTE_BLOCK): Likewise.
15270         (NOTE_EH_HANDLER): Likewise.
15271         (NOTE_RANGE_INFO): Likewise.
15272         (NOTE_LIVE_INFO): Likewise.
15273         (NOTE_BASIC_BLOCK): Likewise.
15274         (NOTE_EXPECTED_VALUE): Likewise.
15275         (NOTE_LINE_NUMBER): Likewise.
15276         (LABEL_NAME): Likewise.
15277         (LABEL_NUSES): Likewise.
15278         (LABEL_ALTERNATE_NAME): Likewise.
15279         (ADDRESSOF_DECL): Likewise.
15280         (JUMP_LABEL): Likewise.
15281         (LABEL_NEXTREF): Likewise.
15282         (REGNO): Likewise.
15283         (ORIGINAL_REGNO: Likewise.
15284         (HARD_REGISTER_NUM_P): Add parenthesis.
15285         (SUBREG_REG): Whitespace.
15286         (SUBREG_BYTE): Likewise.
15287         (ASM_OPERANDS_TEMPLATE): Remove parenthesis.
15288         (ASM_OPERANDS_OUTPUT_CONSTRAINT): Likewise.
15289         (ASM_OPERANDS_OUTPUT_IDX): Likewise.
15290         (ASM_OPERANDS_INPUT_VEC): Likewise.
15291         (ASM_OPERANDS_INPUT_CONSTRAINT_VEC): Likewise.
15292         (ASM_OPERANDS_INPUT): Likewise.
15293         (ASM_OPERANDS_INPUT_LENGTH): Likewise.
15294         (ASM_OPERANDS_INPUT_CONSTRAINT_EXP): Likewise.
15295         (ASM_OPERANDS_INPUT_CONSTRAINT): Likewise.
15296         (ASM_OPERANDS_INPUT_MODE): Likewise.
15297         (ASM_OPERANDS_SOURCE_FILE): Likewise.
15298         (ASM_OPERANDS_SOURCE_LINE): Likewise.
15299         (MEM_SET_IN_STRUCT_P): Minor reformat.
15300         (TRAP_CONDITION): Whitespace.
15301         (TRAP_CODE): Likewise.
15302         (COND_EXEC_TEST): Likewise.
15303         (COND_EXEC_CODE): Likewise.
15304         (FIND_REG_INC_NOTE): Uppercase macro args and add parenthesis.
15305         (PHI_NODE_P): Add parenthesis.
15306         (plus_constant): Whitespace and add parenthesis.
15308 2002-01-03  Kazu Hirata  <kazu@hxi.com>
15310         * config/avr/avr.c: Fix comment typos.
15311         * config/c4x/c4x.md: Likewise.
15312         * config/dsp16xx/dsp16xx.h: Likewise.
15313         * config/dsp16xx/dsp16xx.md: Likewise.
15314         * config/i386/i386.md: Likewise.
15315         * config/ia64/ia64.c: Likewise.
15316         * config/m32r/m32r.h: Likewise.
15317         * config/m68hc11/m68hc11.md: Likewise.
15318         * config/mmix/mmix.c: Likewise.
15319         * config/mn10200/mn10200.c: Likewise.
15320         * config/romp/romp.c: Likewise.
15321         * config/sh/sh.c: Likewise.
15322         * config/stormy16/stormy16.c: Likewise.
15323         * config/stormy16/stormy16.h: Likewise.
15324         * config/stormy16/stormy16.md: Likewise.
15326 2002-01-03  Graham Stott  <grahams@redhat.com>
15328         * loop.h: Update copyright date.
15329         (LOOP_MOVABLES): Fix typo.
15330         (LOOP_REGS): Likewise.
15331         (LOOP_IVS): Likewise.
15333 2002-01-03  Graham Stott  <grahams@redhat.com>
15335         * cppinit.c: Update copyright date.
15336         Don't include output.h
15337         * Makefile.in: Update copyright date.
15338         Update dependency.
15340 2002-01-02  Craig Rodrigues  <rodrigc@gcc.gnu.org>
15342         PR c/5226
15343         * invoke.texi (-mthreads): Remove from documented RS/6000 options.
15344         (-pthread) Add to RS/6000 options.
15346 2002-01-02  Kazu Hirata  <kazu@hxi.com>
15348         * except.c: Fix comment typos.
15349         * loop.c: Likewise.
15350         * varasm.c: Likewise.
15351         * doc/tm.texi: Fix a typo.
15353 2002-01-02  Jakub Jelinek  <jakub@redhat.com>
15355         * c-typeck.c (output_init_element): Allow initializing static storage
15356         duration objects with compound literals.
15358 2002-01-02  Richard Henderson  <rth@redhat.com>
15360         * objc/objc-act.c (hack_method_prototype): Clear current_function_decl
15361         after abusing it.
15363 2002-01-02  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
15365         * gcc.c (default_compilers): Const-ify.
15366         * mips-tdump.c (stab_names): Likewise.
15367         * mips-tfile.c (map_coff_types, map_coff_storage,
15368         map_coff_sym_type, map_coff_derived_type, stabs_symbol,
15369         pseudo_ops_t, pseudo_ops): Likewise.
15370         * protoize.c (default_include): Likewise
15372         * real.c (GET_REAL, PUT_REAL): Don't cast away const-ness.
15373         (ezero, ehalf, eone, etwo, e32, elog2, esqrt2, epi): Const-ify.
15374         Add array size in declaration.
15375         (endian, emov, eisneg, eisinf, eisnan, eiisnan, eiisneg, emovi,
15376         emovo, emovz, eiisinf, ecmpm, eaddm, esubm, m16m, edivm, emulm,
15377         esub, eadd, eadd1, ediv, emul, e53toe, e64toe, e113toe, e24toe,
15378         etoe113, etoe64, etoe53, etoe24, ecmp, eround, ltoe, ultoe,
15379         eifrac, euifrac, e24toasc, e53toasc, e64toasc, e113toasc, etoasc,
15380         efloor, efrexp, eldexp, eremain, dectoe, etodec, ibmtoe, etoibm,
15381         c4xtoe, etoc4x, uditoe, ditoe, etoudi, etodi, esqrt, etens,
15382         emtens, make_nan): Const-ify.
15383         (TFbignan, TFlittlenan, XFbignan, XFlittlenan, DFbignan,
15384         DFlittlenan, SFbignan, SFlittlenan): Make static and const-ify.
15386 2002-01-02  Joseph S. Myers  <jsm28@cam.ac.uk>
15388         * config.gcc (ia64-*-*): Set extra_headers.
15389         (alpha*-dec-osf*): Likewise.  Don't use alpha/t-osf.
15390         * config/alpha/t-osf: Remove.
15391         * config/ia64/t-ia64 (EXTRA_HEADERS): Remove.
15393 2002-01-02  David Edelsohn  <edelsohn@gnu.org>
15395         * config/rs6000/t-aix43: Revert previous change.
15397 2002-01-02  Jason Merrill  <jason@redhat.com>
15399         * c-decl.c (c_expand_body): Call outlining_inline_function when
15400         emitting an inline function out of line.
15402 2002-01-02  Richard Henderson  <rth@redhat.com>
15404         * dwarf2out.c (limbo_die_node): Add created_for member.
15405         (new_die): New argument created_for.  Update all callers.
15406         (mark_limbo_die_list): New.
15407         (dwarf2out_init): Register limbo_die_list as a root.
15408         (dwarf2out_finish): Force insert limbo dies into their function
15409         context.
15411 2002-01-02  Nathan Sidwell  <nathan@codesourcery.com>
15413         PR c++/5089
15414         * doc/invoke.texi (-Wold-style-cast): Only warn about non-void casts.
15416 2002-01-02  Kazu Hirata  <kazu@hxi.com>
15418         * config/h8300/fixunssfsi.c: Update copyright.
15419         Fix comment typos.
15420         Fix formatting.
15421         * config/h8300/h8300.c: Update copyright.
15422         Eliminate warnings.
15424 2002-01-02  Kazu Hirata  <kazu@hxi.com>
15426         * config/romp/romp.c: Fix comment formatting.
15427         * config/romp/romp.h: Likewise.
15428         * config/romp/romp.md: Likewise.
15429         * config/s390/s390.c: Likewise.
15430         * config/stormy16/stormy16.c: Likewise.
15431         * config/stormy16/stormy16.h: Likewise.
15433 2002-01-02  Alexandre Oliva  <aoliva@redhat.com>
15435         * c-common.h (genrtl_expr_stmt_value): Declare.
15436         * c-semantics.c (genrtl_goto_stmt): Redirect to...
15437         (genrtl_goto_stmt_value): ... this new function.  Pass new
15438         argument down to expand_expr_stmt_value, taking
15439         TREE_ADDRESSABLE into account.
15440         * c-common.c (c_expand_expr): Mark the last EXPR_STMT of a
15441         STMT_EXPR as addressable, i.e., one whose result we want.
15442         * expr.c (expand_expr): Don't save expression statement value
15443         of labeled_blocks or loop_exprs.
15444         * stmt.c (expand_expr_stmt): Redirect to...
15445         (expand_expr_stmt_value): ... this new function.  Use new
15446         argument to tell whether to save expression value.
15447         (expand_end_stmt_expr): Reset last_expr_type and
15448         last_expr_value if we don't have either.
15449         * tree-inline.c (declare_return_variable): Mark its use
15450         statement as addressable.
15451         * tree.h: Document new use of TREE_ADDRESSABLE.
15452         (expand_expr_stmt_value): Declare.
15454 2002-01-01  Tom Rix  <trix@redhat.com>
15456         * config/rs6000/rs6000.c (rs6000_emit_set_long_const): Fix for use by
15457         rs6000_emit_allocate_stack.
15459 2002-01-01  Joseph S. Myers  <jsm28@cam.ac.uk>
15461         * configure.in: Prepend ${srcdir}/config/${cpu_type}/ instead of
15462         ${srcdir}/ginclude/ to every entry in extra_headers.
15463         * configure: Regenerate.
15464         * ginclude/math-3300.h: Rename to config/m68k/math-3300.h.
15465         * ginclude/math-68881.h: Rename to config/m68k/math-68881.h.
15466         * ginclude/ppc-asm.h: Rename to config/rs6000/ppc-asm.h.
15467         * ginclude/proto.h: Rename to config/convex/proto.h.
15469 Tue Jan  1 17:12:56 2002  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
15471         * attribs.c (handle_vector_size_attribute): Use host_integerp
15472         and tree_int_cst; remove warnings.
15473         * caller-save.c (insert_restore): Add cast to get rid of warning.
15474         (insert_save): Likewise.
15475         * emit-rtl.c (adjust_address_1, offset_address): Likewise.
15476         * regmove.c (find_matches): Add temporary var to kill a warning.
15478 2002-01-01  Douglas B Rupp  <rupp@gnat.com>
15480         * config/alpha/vms.h (DWARF2_UNWIND_INFO, EH_RETURN_HANDLER_RTX,
15481         LINK_EH_SPEC, MD_FALLBACK_FRAME_STATE_FOR): Define.
15482         * config/alpha/t-vms (EXTRA_PARTS): Add vms-dwarf2eh.o
15483         (vms-dwarf2eh.o): Add Makefile rule.
15484         * config/alpha/vms-ld.c (main): Handle vms-dwarf2eh.o.
15485         * config/alpha/vms-dwarf2eh.asm: New file.
15487         * gcc.c (delete_if_ordinary): Delete all versions.
15489 2002-01-01  Hans-Peter Nilsson  <hp@bitrange.com>
15491         * config/mmix/mmix.md: Update FIXME to not mention
15492         define_constants.
15493         (MMIX_rJ_REGNUM): New define_constants constant.
15494         ("movqi", "movsi", "movdi", "*movdicc_real_foldable",
15495         "*movdicc_real"): Adjust contraints formatting.
15496         ("*bCC_foldable"): Add %+ for P in output format and delete FIXME
15497         for branch prediction.
15498         ("*bCC", "*bCC_inverted_foldable", "*bCC_inverted"): Add %+ in
15499         output template.
15500         ("*call_real", "*call_value_real", "nonlocal_goto_receiver",
15501         "*nonlocal_goto_receiver_expanded"): Use MMIX_rJ_REGNUM instead of
15502         number.  Delete related FIXMEs.
15503         * config/mmix/mmix.h (MMIX_INCOMING_RETURN_ADDRESS_REGNUM): Change
15504         from number to MMIX_rJ_REGNUM.
15505         (TARGET_MASK_BRANCH_PREDICT): New.
15506         (TARGET_DEFAULT): Change to TARGET_MASK_BRANCH_PREDICT.
15507         (TARGET_SWITCHES): Update comment.  Correct -mno-toplevel-symbols
15508         value.  Add -mbranch-predict and -mno-branch-predict.
15509         (TARGET_VERSION): Drop date.
15510         (ADDITIONAL_REGISTER_NAMES): Use MMIX_rJ_REGNUM, not number.
15511         * config/mmix/mmix.c (mmix_encode_section_info): Correct condition
15512         for finding out global symbols.
15513         (mmix_asm_output_labelref): Revert condition for global symbol.
15514         (mmix_print_operand): <case '+'>: Emit P for a likely branch.
15515         (mmix_print_operand_punct_valid_p): A '+' is valid.
15517 See ChangeLog.6 for earlier changes.