* configure.in: Check for target objdump and use that in eh_frame
[official-gcc.git] / gcc / ChangeLog
blobdca1dce309a839bba13c71274a7fc24830a7c7dc
1 2001-11-15  Andreas Schwab  <schwab@suse.de>
3         * configure.in: Check for target objdump and use that in eh_frame
4         optimization test.
5         * configure: Regenerated.
7 2001-11-15  Jakub Jelinek  <jakub@redhat.com>
9         * jump.c (squeeze_notes): Return true if no real insns were found.
10         * rtl.h (squeeze_notes): Adjust prototype.
11         * cfgcleanup.c (merge_blocks_move_predecessor_nojumps): If
12         squeeze_notes finds no real instructions, abort.
13         (merge_blocks_move_successor_nojumps): Likewise.
14         * loop.c (find_and_verify_loops): Likewise.
15         * stmt.c (expand_end_case): Likewise.
16         * ifcvt.c (dead_or_predicable): Return TRUE if squeeze_notes doesn't
17         find any real instructions.
19         * config/ia64/ia64.c (ia64_adjust_cost): Handle SUBREGs.
21         * cfgcleanup.c (try_optimize_cfg): If try_simplify_condjump optimized
22         conditional jump, request updating life into for the block
23         containing it.  Fix a typo which prevented life info update.
24         Clear blocks bitmap before using it.
26 2001-11-15  Neil Booth  <neil@daikokuya.demon.co.uk>
28         * c-common.c: Include c-lex.h.
29         (c_common_lang_init): Change prototype.  Call init_c_lex and
30         init_pragma from here.
31         * c-common.h (c_common_lang_init): Change prototype.
32         * c-decl.c (init_decl_processing): Rename.  Call c_parse_init.
33         * c-lang.c (c_init): Change prototype.  Update.
34         (c_init_options): Update.
35         * c-lex.c (cpp_filename): Remove.
36         (init_c_lex): Update.  Read the main file, and get the original
37         file name.
38         (yyparse): Finish the command line options.
39         * c-parse.in (c_parse_init): Call init_reswords here.
40         (init_parse): Remove.
41         * c-tree.h (c_init_decl_processing): New.
42         * cpphash.c (_cpp_init_hashtable): After initializing the hash
43         table, populate it.
44         * cppinit.c (read_original_filename, cpp_finish_options): New.
45         (cpp_create_reader): New prototype. Defer hash table initialization.
46         (cpp_start_read): Rename cpp_read_main_file.  Initialize the
47         hash table.  Get the original filename.
48         * cpplib.h (cpp_create_reader): Update.
49         (cpp_start_read): Remove.
50         (cpp_read_main_file, cpp_finish_options): New.
51         * cppmain.c (main, do_preprocessing): Update.
52         * langhooks.h (struct langhooks): Update init prototype.
53         * toplev.c (general_init, parse_options_and_default_flags,
54         process_options, lang_indpendent_init, lang_dependent_init,
55         init_asm_output): New; perform the bulk of initialization.
56         (compile_file): Move most of initialization to above functions.
57         (debug_hooks): Initialize statically.
58         (set_Wunused): Relocate.
59         (toplev_main): Move most of initialization to other init functions.
60         Have a clear logic flow.
61         * tree.h (init_parse, init_decl_processing): Remove.
62 objc:
63         * objc-act.c (objc_init): Update prototype, combine with old
64         init_parse.
65         (objc_init_options): Update.
68 2001-11-15  Andreas Jaeger  <aj@suse.de>
70         * cfgrtl.c (purge_all_dead_edges): Use int as argument for
71         portability.
72         * basic-block.h: Adjust prototype.
74 2001-11-15  Kazu Hirata  <kazu@hxi.com>
76         * config/rs6000/aix31.h: Fix comment formatting.
77         * config/rs6000/beos.h: Likewise.
78         * config/rs6000/darwin.h: Likewise.
79         * config/rs6000/eabi.asm: Likewise.
80         * config/rs6000/linux.h: Likewise.
81         * config/rs6000/linux64.h: Likewise.
82         * config/rs6000/lynx.h: Likewise.
83         * config/rs6000/netbsd.h: Likewise.
84         * config/rs6000/rs6000.c: Likewise.
85         * config/rs6000/rs6000.h: Likewise.
86         * config/rs6000/rs6000.md: Likewise.
87         * config/rs6000/sol2.h: Likewise.
88         * config/rs6000/tramp.asm: Likewise.
89         * config/rs6000/xcoff.h: Likewise.
90         * config/rs6000/xm-beos.h: Likewise.
92 2001-11-14  Alan Matsuoka  <alanm@redhat.com>
94         * rtl.def (INCLUDE) : Define.
95         * gensupport.c  (init_include_reader, process_include,
96         save_string) :  New functions to implement an include facility
97         in .md files.
98         * gensupport.h : Add prototype for init_md_reader_args.
99         * genattr.c genattrtab.c gencodes.c genconfig.c genemit.c
100         genextract.c genflags.c genopinit.c genoutput.c
101         genpeep.c genrecog.c: Change call to init_md_reader to
102         init_md_reader_args.
103         * md.texi: Document (include "path") and -I directives for RTL
104         generation tools.
106 2001-11-14  DJ Delorie  <dj@redhat.com>
108         * integrate.c (get_hard_reg_initial_reg): New.
109         * integrate.h (get_hard_reg_initial_reg): Prototype.
110         * local-alloc.c (block_alloc): Don't tie pseudos that
111         represent call-saved hard regs' initial values.
113 2001-11-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
115         * m68k/linux.h: Include <linux.h> not "linux.h" to avoid infinite
116         recursion.
118 2001-11-14  Roger Sayle <roger@eyesopen.com>
120         * fold-const.c (fold): Optimize strlen comparisons against zero.
122 2001-11-14  David O'Brien  <obrien@FreeBSD.org>
124         * config.gcc (sparc64-wrs-vxworks*, sparc-*-netbsd*, sparc-*-openbsd*,
125         sparc-*-chorusos*, sparc-*-elf*, sparc-*-linux*aout*,
126         sparc-*-linux*libc1*, sparc-*-linux*, sparc-*-lynxos*, sparc-*-rtems*,
127         sparc-*-rtemself*, sparc-hal-solaris2*, sparc-*-solaris2*,
128         sparc-*-sunos4.0*, sparc-*-sunos4*, sparc-*-sunos3*, sparc-*-sysv4*,
129         sparc-*-vxsim*, sparclite-*-aout*, sparclite-*-elf*, sparc86x-*-aout*,
130         sparc86x-*-elf*, sparc64-*-aout*, sparc64-*-elf*, sparc64-*-linux*):
131         Include various CPU headers via tm_file.  a.out based platforms now
132         properly include sparc/aout.h.  sol2.h usage now implies including
133         elfos.h, svr4.h, and sparc/sysv4.h.
134         * config/netbsd.h (TARGET_MEM_FUNCTIONS): Undef before defining it.
135         Also define to '1'.
136         * sparc/sparc.h (CPP_PREDEFINES, TARGET_VERSION, WORD_SWITCH_TAKES_ARG,
137         SELECT_SECTION, ASM_DECLARE_FUNCTION_NAME, TEXT_SECTION_ASM_OP,
138         DATA_SECTION_ASM_OP, DBX_REGISTER_NUMBER, ASM_OUTPUT_SOURCE_LINE):
139         Remove.  They are a.out specific and belong in sparc/aout.h.
140         * sparc/aout.h (TARGET_VERSION, WORD_SWITCH_TAKES_ARG, SELECT_SECTION,
141         ASM_DECLARE_FUNCTION_NAME, TEXT_SECTION_ASM_OP, DATA_SECTION_ASM_OP,
142         DBX_REGISTER_NUMBER, ASM_OUTPUT_SOURCE_LINE): Define.  Moved here from
143         sparc/sparc.h.
144         * sparc/litecoff.h (WORD_SWITCH_TAKES_ARG, ASM_DECLARE_FUNCTION_NAME,
145         TEXT_SECTION_ASM_OP, DATA_SECTION_ASM_OP, DBX_REGISTER_NUMBER): Define.
146         Moved here from sparc/sparc.h.
147         * config/sparc/linux-aout.h (DEFAULT_PCC_STRUCT_RETURN): Undef before
148         defining.
149         * config/sparc/linux64.h (UNALIGNED_DOUBLE_INT_ASM_OP): Undef before
150         * config/sparc/lynx.h:  Don't include lynx.h.
151         (SELECT_SECTION): Do not undef.
152         * config/sparc/openbsd.h: Don't include sparc/sparc.h.
153         * config/sparc/sol2-sld-64.h: Include sparc/sparc.h, elfos.h, svr4.h,
154         and sparc/sysv4.h.
155         * config/sparc/sol2.h: Don't include sparc/sparc.h and sparc/sysv4.h.
156         * config/sparc/sp64-aout.h (CPP_PREDEFINES): Don't define.  Get from
157         sparc/aout.h now.
158         * config/sparc/sp64-elf.h (DWARF_DEBUGGING_INFO, DWARF2_DEBUGGING_INFO):
159         Don't undef, there is no need.
160         * config/sparc/splet.h (CPP_PREDEFINES): Define.
161         * config/sparc/sun4o3.h (CPP_PREDEFINES): Likewise.
162         * config/sparc/sunos4.h (CPP_PREDEFINES): Likewise.
163         Don't include sparc/sparc.h.
164         * config/sparc/sysv4.h (WORD_SWITCH_TAKES_ARG, ASM_OUTPUT_SOURCE_LINE,
165         SELECT_SECTION, ASM_DECLARE_FUNCTION_NAME, TEXT_SECTION_ASM_OP,
166         DATA_SECTION_ASM_OP): Don't undef, there is no need now.  Don't include
167         elfos.h and svr4.h.
168         (TARGET_VERSION): Define.
169         * config/sparc/vxsim.h (TARGET_VERSION): Define.
171 Wed Nov 14 19:46:08 CET 2001  Jan Hubicka  <jh@suse.cz>
173         * cfglayout.c (fixup_fallthru_exit_predecesor): New static function.
174         (cfg_layout_finalize): Use it.
175         * bb-reorder.c (HAVE_epilogue): Remove.
176         (make_reorder_chain): Do not care special placement of
177         last basic block.
179         * predict.c (expected_value_to_br_prob): Delete the note
180         once transformed.
182         * c-decl.c (c_expand_body): Fix TV_EXPAND nesting problem;
183         measure integration time separately.
185 Wed Nov 14 12:30:57 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
187         * function.c (struct temp_slot): ALIGN now unsigned.
189 2001-11-14  Kazu Hirata  <kazu@hxi.com>
191         * config/dsp16xx/dsp16xx.c: Fix comment formatting.
192         * config/dsp16xx/dsp16xx.h: Likewise.
193         * config/dsp16xx/dsp16xx.md: Likewise.
195 2001-11-14  Kazu Hirata  <kazu@hxi.com>
197         * config/h8300/h8300.c (get_shift_alg): Reorganize the code
198         that deals with 7-bit shifts in HImode.
200 Wed Nov 14 14:17:05 CET 2001  Jan Hubicka  <jh@suse.cz>
202         * dbxout.c (dbxout_symbol_location): Update call of alter_subreg.
203         * final.c (walk_alter_subreg): Take pointer; update call of alter_subreg.
204         (final_scan_insn): Update call of alter_subreg.
205         (cleanup_subreg_operands): Likewise.
206         (alter_subreg): Rewrite using simplify_subreg.
207         (output_address, output_operand): Update call of alter_subreg.
208         * output.h (alter_subreg): Update prototype.
209         * sdbout.c (sdbout_symbol): Update call of alter_subreg.
210         * simplify-rtx.c (simplify_subreg): Copy ORIGINAL_REGNO.
211         * Makefile.in (final.o): Add depdendancy on expr.h
213 Wed Nov 14 06:37:54 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
215         * c-lang.c (finish_file): Make I unsigned to eliminate warning.
217 2001-11-13  Jeff Sturm  <jsturm@one-point.com>
219         * doc/install.texi (sparc-*-linux*): Mention requirements for
220         binutils and glibc.
222 2001-11-14  Joseph S. Myers  <jsm28@cam.ac.uk>
224         * Makefile.in (POD2MAN): Don't include --section=1.
225         (manext): Rename to man1ext.  All users changed.
226         (man7ext): New.
227         (man7dir): New.
228         (generated-manpages): Also depend on $(docdir)/gfdl.7,
229         $(docdir)/gpl.7, and $(docdir)/fsf-funding.7.
230         ($(docdir)/gcov.1, $(docdir)/cpp.1, $(docdir)/gcc.1): Include
231         --section=1 in calls to $(POD2MAN).
232         ($(docdir)/gfdl.7, $(docdir)/gpl.7, $(docdir)/fsf-funding.7): New.
233         (maintainer-clean, install, uninstall): Handle the new man pages.
234         ($(docdir)/cpp.info, cpp.dvi): Depend on fdl.texi.
235         (installdirs): Create man7dir.
236         * doc/cpp.texi: Include GFDL in this manual.  In the man page,
237         refer to gfdl(7) for the GFDL.  Apply Front Cover and Back Cover
238         texts to man page.  Include gpl(7), gfdl(7) and fsf-funding(7) in
239         the SEE ALSO man page section.
240         * doc/gcov.texi: Apply GFDL to man page.  Include gpl(7), gfdl(7)
241         and fsf-funding(7) in the SEE ALSO man page section.
242         * doc/invoke.texi: Apply GFDL to man page.  Include gpl(7),
243         gfdl(7) and fsf-funding(7) in the SEE ALSO man page section.
244         * doc/include/fdl.texi, doc/include/funding.texi,
245         doc/include/gpl.texi: Adjust for conversion by texi2pod.pl.
246         * doc/.cvsignore: Add gfdl.7, gpl.7 and fsf-funding.7.
248 2001-11-13  Richard Henderson  <rth@redhat.com>
250         * dwarf2asm.c (dw2_force_const_mem): Set PUBLIC or STATIC
251         as appropriate for the artificial decl.
253 2001-11-13  Richard Henderson  <rth@redhat.com>
255         * loop.c (combine_movables): Turn off combination until
256         move_movables validation bugs are fixed.
258 2001-11-13  DJ Delorie  <dj@redhat.com>
260         * config.gcc (powerpc|rs6000): Set default cpp options based
261         on --with-cpu settings.
262         * config/rs6000/softfloat.h: New.
264 2001-11-13  Kazu Hirata  <kazu@hxi.com>
266         * config/h8300/h8300.c (shift_alg_si): Use special code for
267         25-bit shifts on H8/S.
268         (get_shift_alg): Generate special code for 25-bit shifts on
269         H8/S.
271 2001-11-13  Jakub Jelinek  <jakub@redhat.com>
273         * emit-rtl.c (adjust_address_1): Add ADJUST argument.
274         (adjust_automodify_address_1): New.
275         * expr.h (adjust_address, adjust_address_nv): Adjust.
276         (adjust_automodify_address, adjust_automodify_address_nv): Define.
277         (adjust_address_1): Update prototype.
278         (adjust_automodify_address_1): Add prototype.
279         * expr.c (move_by_pieces_1): Use adjust_automodify_address.
280         (store_by_pieces_2): Likewise.
282 Tue Nov 13 05:45:40 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
284         * Makefile.in (explow.o): Now depends on ggc.h.
285         * explow.c (ggc.h): Include.
286         (set_stack_check_libfunc): Mark stack_check_libfunc as ggc root.
288         * Makefile.in (expr.o): Depends on insn-attr.h.
289         * expr.c (insn-attr.h): New include.
290         (force_operand): If INSN_SCHEDULING, deal with paradoxical SUBREG
291         of MEM.
292         (highest_pow2_factor, case INTEGER_CST): Handle negative values.
293         (expand_expr): Remove unneeded mark_temp_addr_taken calls and
294         clean up related usage in ADDR_EXPR.
295         (expand_expr_unaligned): Likewise.
297         * emit-rtl.c (change_address): Fix typo in alias setting.
299 2001-11-13  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
301         * Makefile.in (cfgcleanup.o): Depend on insn-config.h
303 2001-11-12  Craig Rodrigues  <rodrigc@gcc.gnu.org>
305         PR bootstrap/3451
306         * c-pragma.c: Rename macros BAD, BAD2, BAD_ACTION to
307         GCC_BAD, GCC_BAD2, GCC_BAD_ACTION.
309 2001-11-12  David O'Brien  <obrien@FreeBSD.org>
311         * config.gcc (sparc-tti-*, sparc64-wrs-vxworks*, sparc-wrs-vxworks*,
312         sparclite-wrs-vxworks*, sparc-*-aout*, sparc-*-netbsd*,
313         sparc-*-chorusos*, sparc-*-linux*aout*, sparc-*-linux*libc1*,
314         sparc-*-linux*, sparc-*-lynxos*, sparc-*-rtemsaout*, sparc-*-rtems*,
315         sparc-*-rtemself*, sparc-*-solaris2*, sparc-*-sunos3*, sparc-*-sysv4*,
316         sparc-*-vxsim*, sparclet-*-aout*, sparclite-*-coff*, sparclite-*-aout*,
317         sparc86x-*-aout*, sparc86x-*-elf*, sparc64-*-aout*, sparc64-*-elf*,
318         sparc64-*-linux*):  Include various CPU headers via tm_file.
319         * config/svr3.h (ASM_OUTPUT_IDENT): Undef before defining it.
320         (SELECT_SECTION): Likewise.
321         (SELECT_RTX_SECTION): Likewise.
322         * config/sparc/sparc_bi.h: New file.
323         * config/sparc/aout.h: Don't include sparc/sparc.h and aoutos.h.
324         * config/sparc/linux-aout.h: Likewise.
325         * config/sparc/linux.h: Don't include sparc/sysv4.h.
326         * config/sparc/linux64.h: Likewise.
327         (SPARC_BI_ARCH): Don't define.  sparc_bi.h will do it instead.
328         * config/sparc/lite.h:  Don't include sparc/sparc.h and gofast.h.
329         * config/sparc/litecoff.h: Don't include sparc/lite.h, svr3.h,
330         and dbxcoff.h
331         (ASM_OUTPUT_IDENT): Do not #undef.
332         (SELECT_SECTION): Likewise.
333         (SELECT_RTX_SECTION): Likewise.
334         * config/sparc/liteelf.h: Don't include gofast.h.
335         * config/sparc/lynx-ng.h: Don't include sparc/sparc.h and lynx-ng.h.
336         * config/sparc/lynx.h: Don't include sparc/sparc.h.
337         * config/sparc/pbd.h: Likewise.
338         * config/sparc/netbsd.h: Don't include sparc/sparc.h and netbsd.h.
339         * config/sparc/rtems.h: Don't include sparc/aout.h and rtems.h.
340         * config/sparc/rtemself.h: Don't include rtems.h.
341         * config/sparc/sol2-64.h: Don't include sparc/sol2-sld-64.h.
342         * config/sparc/sol2-sld-64.h (SPARC_BI_ARCH): Don't define, include
343         sparc_bi.h instead.
344         * config/sparc/sol2-sld.h: Don't include sparc/sol2.h.
345         * config/sparc/sol2.h: Include sparc/sparc.h directly.
346         * config/sparc/sp64-aout.h: Don't include sparc/sparc.h and aoutos.h.
347         * config/sparc/sp64-elf.h: Don't include sparc/sol2.h.
348         * config/sparc/sp86x-aout.h: Don't include sparc/sparc.h and gofast.h.
349         * config/sparc/sp86x-elf.h: Don't include gofast.h.
350         * config/sparc/splet.h: Don't include sparc/aout.h.
351         * config/sparc/sun4o3.h: Don't include sparc/sparc.h.
352         * config/sparc/sysv4.h: Don't include sparc/sparc.h directly.
353         * config/sparc/vxsim.h: Don't include sparc/sysv4.h.
354         * config/sparc/vxsparc.h: Don't include sparc/aout.h and gofast.h.
355         * config/sparc/vxsparc64.h: Don't include gofast.h.
356         (SPARC_BI_ARCH): Don't define.  sparc_bi.h will do it instead.
358 2001-11-12  Joseph S. Myers  <jsm28@cam.ac.uk>
360         * doc/standards.texi: Mention C99 TC1.
362 2001-11-12  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
364         * mips-protos.h (mips_output_conditional_branch): Const-ify.
365         * mips.c (mips_output_conditional_branch): Likewise.
367 2001-11-12  Kazu Hirata  <kazu@hxi.com>
369         * config/h8300/h8300.c (shift_alg_si): Use special code for
370         15-bit logical shifts and 31-bit logical shifts.
371         (get_shift_alg): Generate special code for 15-bit and 31-bit
372         logical shifts.
374 2001-11-12  Kazu Hirata  <kazu@hxi.com>
376         * config/h8300/h8300.c (shift_alg_qi): Use rotations when
377         doing 6-bit logical shifts on H8/S.
378         (shift_alg_qi): Use special code for 21-bit shifts on H8/S.
379         (get_shift_alg): Generate special code for 21-bit shifts on
380         H8/S.
382 2001-11-12  Kazu Hirata  <kazu@hxi.com>
384         * config/h8300/h8300.c (get_shift_alg): Remove a redundant
385         label.
387 Mon Nov 12 11:58:26 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
389         * alias.c (nonoverlapping_memrefs_p): Only update size from memref
390         if both size and offset known.
392 2001-11-12  David O'Brien  <obrien@FreeBSD.org>
394         * config/ia64/freebsd.h: Fix misspelling.
396 2001-11-12  Joseph S. Myers  <jsm28@cam.ac.uk>
398         * doc/gcc.texi: Move several chapters out to ...
399         * doc/configterms.texi, doc/fragments.texi, doc/hostconfig.texi,
400         doc/include/linux-and-gnu.texi, doc/interface.texi,
401         doc/makefile.texi, doc/passes.texi, doc/portability.texi:
402         ... here.  New files.
403         * doc/gcc.texi, doc/contrib.texi: Move section headings into
404         contrib.texi.
405         * Makefile.in ($(docdir)/gcc.info, gcc.dvi): Update dependencies.
407 2001-11-12  Kazu Hirata  <kazu@hxi.com>
409         * config/alpha/alpha-interix.h: Fix comment formatting.
410         * config/alpha/alpha.c: Likewise.
411         * config/alpha/alpha.h: Likewise.
412         * config/alpha/alpha32.h: Likewise.
413         * config/alpha/freebsd.h: Likewise.
414         * config/alpha/unicosmk.h: Likewise.
415         * config/alpha/vms.h: Likewise.
417 2001-11-12  Kazu Hirata  <kazu@hxi.com>
419         * config/h8300/h8300.c (get_shift_alg): Remove redundant code.
421 2001-11-12  Jakub Jelinek  <jakub@redhat.com>
423         * dbxout.c (dbxout_symbol_location): Avoid emitting invalid register
424         numbers.
426 Mon Nov 12 05:18:42 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
428         * emit-rtl.c (set_mem_attributes): If making object, can set alignment
429         from type.
430         (replace_equiv_address): Call update_temp_slot_address.
432         * dwarf2out.c (loc_descriptor_from_tree, case COMPOUND_EXPR): New case.
434         * alias.c (nonoverlapping_memrefs_p): Handle DECL_RTL being a CONCAT.
436 2001-11-12  Kazu Hirata  <kazu@hxi.com>
438         * config/h8300/h8300.c (shift_alg_qi): New.
439         (shift_alg_hi): Likewise.
440         (shift_alg_si): Likewise.
441         (get_shift_alg): Change the type of count to unsigned int.
442         Use the tables.
444 2001-11-11  Alexandre Oliva  <aoliva@redhat.com>
446         * Makefile.in (c-lang.o): Depend on $(VARRAY_H).
447         * c-decl.c (c_expand_body): Take argument can_defer_p.  Use it
448         to decide whether to defer a function.
449         (finish_function): Adjust.
450         (c_expand_deferred_function): New function.
451         * c-lang.c (deferred_fns): New variable.
452         (c_init): Initialize it, and mark it as a root.
453         (defer_fn): New function.
454         (finish_file): Expand all deferred functions.
455         * c-tree.h (defer_fn): Declare.
456         (c_expand_deferred_function): Likewise.
457         * objc/Make-lang.in (objc-act.o): Depend on $(VARRAY_H).
458         * objc-act.c (deferred_fns): New variable.
459         (objc_init): Initialize it, and mark it as a root.
460         (defer_fn): New function.
461         (finish_file): Expand all deferred functions.
463 2001-11-11  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
465         * alpha.c (unicosmk_special_name): Prototype.
466         (unicosmk_ssib_name): Delete unused variable.
467         * alpha/unicosmk.h (common_section, ssib_section): Prototype.
468         * alpha/vms.h (PREFIX): Undef before defining.
469         * arm/pe.h (SUBTARGET_NAME_ENCODING_LENGTHS): Likewise.
470         * i370/i370.c (mvs_hash_alias): Prototype.  Wrap with macro
471         controlling usage.  Const-ify.
472         (alias_number): Delete unused variable.
473         * m32r/m32r.c (m32r_sched_init): Add missing argument.
474         (m32r_expand_block_move): Fix uninitialized warnings.
475         * mn10300/mn10300.h (REGNO_IN_RANGE_P): Fix 'unsigned >=0 is
476         always true' warnings.
477         * openbsd.h (TARGET_MEM_FUNCTIONS): Don't redefine.
478         * sh/sh.c: Include "integrate.h".
479         (output_far_jump): Fix uninitialized warning.
480         * final.c (shorten_branches): Avoid automatic aggregate
481         initialization.
482         * integrate.c (subst_constants): Likewise.
484 2001-11-11  Kazu Hirata  <kazu@hxi.com>
486         * config/h8300/h8300.c (shift_alg): Remove SHIFT_MAX.
487         (get_shift_alg): Remove redundant code.
489 2001-11-11  Kazu Hirata  <kazu@hxi.com>
491         * config/pa/milli64.S: Fix comment formatting.
492         * config/pa/pa-64.h: Likewise.
493         * config/pa/pa-linux.h: Likewise.
494         * config/pa/pa-protos.h: Likewise.
495         * config/pa/pa.c: Likewise.
496         * config/pa/pa.h: Likewise.
497         * config/pa/pa32-linux.h: Likewise.
498         * config/pa/pa32-regs.h: Likewise.
499         * config/pa/pa64-hpux.h: Likewise.
500         * config/pa/pa64-regs.h: Likewise.
501         * config/pa/som.h: Likewise.
503 2001-11-11  Joseph S. Myers  <jsm28@cam.ac.uk>
505         * doc/gcc.texi: Move several chapters out to ...
506         * doc/bugreport.texi, doc/contribute.texi, doc/frontends.texi,
507         doc/service.texi, doc/standards.texi, doc/trouble.texi,
508         doc/vms.texi: ... here.  New files.
509         * Makefile.in ($(docdir)/gcc.info, gcc.dvi): Update dependencies.
511 2001-11-11  Joseph S. Myers  <jsm28@cam.ac.uk>
513         * ChangeLog.2, ChangeLog.3, ChangeLog.4, ChangeLog.5, ChangeLog,
514         cfg.c, cfganal.c, cfgcleanup.c, cfglayout.c, cfgloop.c, cfgrtl.c,
515         collect2.c, combine.c, config.in, configure, configure.in,
516         conflict.c, dwarf2out.c, dwarfout.c, except.c, final.c, flow.c,
517         genattrtab.c, ggc-page.c, jump.c, lcm.c, predict.c, reg-stack.c,
518         reload1.c, rtlanal.c, sched-rgn.c, toplev.c, unwind-dw2-fde.h: Fix
519         spelling errors.
521 Sun Nov 11 05:56:01 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
523         * config/rs6000/rs6000.c (rs6000_hash_constant, toc_hash_eq):
524         Adjust operand number in CONST_DOUBLE.
526         * expmed.c (extract_bit_field): No longer pass in alignment.
527         (extract_fixed_bit_field, extract_split_bit_field): Likewise.
528         (store_bit_field, store_fixed_bit_field, store_split_bit_field):
529         Likewise.
530         * expr.c (store_constructor, store_constructor_field): Likewise.
531         (store_field, emit_group_load, emit_group_store): Likewise.
532         * expr.h (emit_group_load, emit_group_store): Delete ALIGN parm.
533         (store_bit_field, extract_bit_field): Likewise.
534         * calls.c, expr.c, function.c: Change calls to above functions.
535         * ifcvt.c, stmt.c: Likewise.
537         * alias.c (nonoverlapping_memrefs_p): Not overlapping if one base is
538         constant and one is on frame.
539         If know memref offset, adjust size from decl.
541 2001-11-11  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
543         * alpha/unicosmk.h (ASM_OUTPUT_DOUBLE, ASM_OUTPUT_FLOAT): Fix
544         format specifier warning.
545         * convex.h (ASM_OUTPUT_BYTE): Likewise.
546         * elfos.h (ALIGN_ASM_OP): Undef before defining.
547         * i386/att.h (ASM_GENERATE_INTERNAL_LABEL): Fix format specifier
548         warning.
549         * i386/bsd.h (ASM_GENERATE_INTERNAL_LABEL): Likewise.
550         * i386/gas.h (ASM_GENERATE_INTERNAL_LABEL): Likewise.
551         * i386-interix.h (gen_stdcall_suffix): Prototype.
552         * i386.h (ASM_OUTPUT_BYTE): Fix format specifier warning.
553         * i386elf.h (ASM_OUTPUT_FLOAT, ASM_OUTPUT_DOUBLE,
554         ASM_OUTPUT_LONG_DOUBLE): Likewise.
555         * i386/interix.c (gen_stdcall_suffix): Const-ify.
556         * i386/next.h (ASM_OUTPUT_LONG_DOUBLE, ASM_OUTPUT_DOUBLE,
557         ASM_OUTPUT_FLOAT, ASM_GENERATE_INTERNAL_LABEL): Fix format
558         specifier warnings.
559         * i386/osfrose.h (ASM_GENERATE_INTERNAL_LABEL): Likewise.
560         * i386/ptx4-i.h (ASM_OUTPUT_FLOAT, ASM_OUTPUT_DOUBLE,
561         ASM_OUTPUT_LONG_DOUBLE): Likewise.
562         * i386/sco5.h (ASM_GENERATE_INTERNAL_LABEL): Likewise.
563         * i386/sequent.h (ASM_GENERATE_INTERNAL_LABEL): Likewise.
564         * i386/sun386.h (ASM_GENERATE_INTERNAL_LABEL): Likewise.
565         * i386/svr3dbx.h (ASM_GENERATE_INTERNAL_LABEL): Likewise.
566         * m68k/3b1.h (ASM_OUTPUT_DOUBLE, ASM_OUTPUT_LONG_DOUBLE,
567         ASM_OUTPUT_FLOAT, ASM_GENERATE_INTERNAL_LABEL): Likewise.
568         * m68k/altos3068.h (ASM_OUTPUT_FLOAT_OPERAND): Likewise.
569         * m68k/amix.h (ASM_OUTPUT_ASCII, ASM_GENERATE_INTERNAL_LABEL):
570         Likewise.
571         * m68k/atari.h (ASM_OUTPUT_ASCII, ASM_GENERATE_INTERNAL_LABEL):
572         Likewise.
573         * m68k/crds.h (ASM_OUTPUT_DOUBLE, PRINT_OPERAND): Likewise.
574         * m68k/dpx2.h (ASM_OUTPUT_LONG_DOUBLE, ASM_OUTPUT_DOUBLE,
575         ASM_OUTPUT_FLOAT, ASM_OUTPUT_BYTE, ASM_OUTPUT_FLOAT_OPERAND):
576         Likewise.
577         * m68k/hp320.h (ASM_OUTPUT_LONG_DOUBLE, ASM_OUTPUT_BYTE):
578         Likewise.
579         * m68k.h (ASM_GENERATE_INTERNAL_LABEL, ASM_OUTPUT_BYTE):
580         Likewise.
581         * m68k/m68kv4.h (ASM_OUTPUT_ASCII): Delete unused variable.
582         * m68k/mot3300.h (ASM_OUTPUT_BYTE): Fix format specifier warning.
583         * m68k/news.h (PRINT_OPERAND): Likewise.
584         * m68k/next.h (ASM_OUTPUT_DOUBLE, ASM_OUTPUT_FLOAT,
585         ASM_OUTPUT_FLOAT_OPERAND, ASM_OUTPUT_DOUBLE_OPERAND): Likewise.
586         * m68k/next21.h (ASM_OUTPUT_FLOAT_OPERAND): Likewise.
587         * m68k/plexus.h (ASM_SPEC): Insert space between macro name and
588         definition.
589         * m68k/sgs.h (ASM_OUTPUT_LONG_DOUBLE, ASM_OUTPUT_DOUBLE,
590         ASM_OUTPUT_FLOAT, ASM_OUTPUT_ASCII, ASM_OUTPUT_FLOAT_OPERAND,
591         ASM_OUTPUT_DOUBLE_OPERAND): Fix format specifier warnings.
592         * m68k/sun3.h (ASM_OUTPUT_FLOAT_OPERAND): Likewise.
593         * m68k/tower-as.h (ASM_GENERATE_INTERNAL_LABEL, ASM_OUTPUT_DOUBLE,
594         ASM_OUTPUT_LONG_DOUBLE, ASM_OUTPUT_FLOAT, ASM_OUTPUT_BYTE,
595         PRINT_OPERAND): Likewise.
596         * m88k/m88k.h (ASM_GENERATE_INTERNAL_LABEL, ASM_OUTPUT_BYTE):
597         Likewise.
598         * mips/elf.h (PUT_SDB_SIZE, ASM_DECLARE_OBJECT_NAME): Likewise.
599         * mips/elf64.h (PUT_SDB_SIZE, ASM_DECLARE_OBJECT_NAME): Likewise.
600         * mips/iris5gas.h (PUT_SDB_SIZE): Likewise.
601         * mips/linux.h (ASM_DECLARE_OBJECT_NAME): Likewise.
602         * mips.c (mips_output_external_libcall): Mark parameter with
603         ATTRIBUTE_UNUSED.
604         (mips_asm_file_start): Move variable into the scope where it's
605         used.
606         * mips.h (PUT_SDB_INT_VAL, PUT_SDB_SIZE): Likewise.
607         * mips/netbsd.h (ASM_DECLARE_OBJECT_NAME): Likewise.
608         * mips/sni-gas.h (PUT_SDB_SIZE): Likewise.
609         * ns32k/encore.h (ASM_GENERATE_INTERNAL_LABEL): Likewise.
610         * ns32k.c (print_operand): Likewise.
611         * pa.c (print_operand, output_div_insn): Likewise.
612         * pa.h (ASM_OUTPUT_MI_THUNK, ASM_GENERATE_INTERNAL_LABEL,
613         ASM_OUTPUT_BYTE, PRINT_OPERAND_ADDRESS): Likewise.
614         * pa/pa64-hpux.h (UNIQUE_SECTION): Const-ify.
615         * sparc/linux.h (ASM_GENERATE_INTERNAL_LABEL): Fix format
616         specifier warnings.
617         * sparc/linux64.h (ASM_GENERATE_INTERNAL_LABEL): Likewise.
618         * sparc/pbd.h (ASM_GENERATE_INTERNAL_LABEL): Likewise.
619         (ASM_OUTPUT_SOURCE_LINE): Don't list macro arguments in undef.
620         * sparc/vxsim.h (ASM_GENERATE_INTERNAL_LABEL): Fix format
621         specifier warnings.
622         * svr3.h (ASM_GENERATE_INTERNAL_LABEL): Likewise.
624         * sdbout.c (sdbout_end_epilogue): Mark parameter with
625         ATTRIBUTE_UNUSED.
626         * varasm.c (assemble_global): Likewise.
628 2001-11-11  H.J. Lu <hjl@gnu.org>
630         * config.gcc: Add "elfos.h svr4.h" to $tm_file for Linux/mips.
632 Sun Nov 11 01:26:00 CET 2001  Jan Hubicka  <jh@suse.cz>
634         * final.c (*_MAX_SKIP): Use *_max_skip variables.
635         * flags.h (align_loops_max_skip, align_jumps_max_skip,
636         align_labels_max_skip): New global variables.
637         * toplev.c (align_loops_max_skip, align_jumps_max_skip,
638         align_labels_max_skip): New global variables.
639         (toplev_main): Set new variables.
640         * i386.c (override_options): Set max_skip values.
642 2001-11-10  Geoffrey Keating  <geoffk@redhat.com>
644         * doc/tm.texi (Label Output): Document ASM_OUTPUT_LABEL_REF.
645         * final.c (output_addr_const): Use ASM_OUTPUT_LABEL_REF.
646         * config/stormy16/stormy16.c (xstormy16_print_operand): For '%C',
647         don't print an @fptr for labels either.
648         (xstormy16_output_addr_vec): Don't print @fptr here.
649         * config/stormy16/stormy16.h (ASM_OUTPUT_LABEL_REF): New macro.
651 Sat Nov 10 08:50:50 2001  Jeffrey A Law  (law@cygnus.com)
653         * ssa-ccp.c (examine_flow_edges): Use old-style definition, not
654         an ANSI/ISO definitino.
655         (ssa_const_prop): Likewise.
657 2001-11-10  Aldy Hernandez  <aldyh@redhat.com>
659         * config/rs6000/rs6000.c (rs6000_reg_names): Remove leading "v" or
660         altivec registers.
662 2001-11-09  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
664         * cppexp.c (parse_number): Use ISXDIGIT/hex_value.
665         * cpplex.c (hex_digit_value): Use hex_p/hex_value.
666         * cppmain.c (general_init): Call hex_init.
667         * tradcif.y (parse_number): Use TOLOWER/ISXDIGIT/hex_value/hex_p.
669         * config.gcc (i[34567]86-dg-dgux*): Don't set `out_file'.
671         * i386/dgux.h (ASM_FILE_START): Set to the meaningful portions
672         of dgux.c:output_file_start().
674         * i386/dgux.c: Delete file.
676 2001-11-09  Richard Henderson  <rth@redhat.com>
678         * config/alpha/alpha.c (decl_in_text_section): New.
679         (current_file_function_operand): Use it.
680         (alpha_encode_section_info, alpha_end_function): Likewise.
682 2001-11-07  David O'Brien  <obrien@FreeBSD.org>
684         * config.gcc: Add FreeBSD/IA-64 target. Expand config/i64/elf.h headers.
685         * config/i64/ia64.h (TARGET_VERSION,ASM_SPEC,LINK_SPEC): Remove,
686         they are OS specific.  Use CPP_CPU_SPEC rather than CPP_PREDEFINES,
687         so OS specific files and use CPP_PREDEFINES for their needs.
688         * config/i64/elf.h (TARGET_VERSION): Add.  Also, move inclusion of
689         target headers to tm_file.
690         * config/ia64/aix.h (TARGET_VERSION): Likewise.
691         * config/ia64/hpux.h (TARGET_VERSION): Likewise.
692         * config/ia64/linux.h (TARGET_VERSION): Likewise.
693         (FUNCTION_PROFILER): Remove.
694         * config/ia64/ia64.h (FUNCTION_PROFILER): Update defintion using the
695         version in config/ia64/linux.h.
696         * config/ia64/freebsd.h: New file.
697         * config/freebsd.h: Tidy up.
698         (_USING_CONFIG_FREEBSD): Define.
699         (FBSD_CPP_PREDEFINES): Add __KPRINTF_ATTRIBUTE__.
700         (FBSD_CPP_SPEC): Define generic FreeBSD spec.
701         (FBSD_STARTFILE_SPEC): Likewise.
702         (FBSD_ENDFILE_SPEC): Likewise.
703         (FBSD_LIB_SPEC): Likewise.
704         (WCHAR_UNSIGNED): Undefine, FreeBSD's wchars are signed.
705         (USER_LABEL_PREFIX): Define to ELF compatible value as some CPU headers
706         set an ELF-improper one.
708 2001-11-09  John David Anglin  <dave@hiauly1.hia.nrc.ca>
710         * pa.c (emit_move_sequence): Use cint_ok_for_move to check whether a
711         constant can be loaded in a single instruction to a register.  When
712         loading immediate constants, use PLUS instead of HIGH/LO_SUM.  Use
713         depdi for insertion of most significant 32-bits on 64-bit hosts.
714         * pa.h (LEGITIMATE_CONSTANT_P): Accept constants that can be built
715         with ldil/ldo/depdi instruction sequence on 64-bit hosts.
716         * pa.md: New addmove pattern for adding constant_int to HImode
717         register and moving result to HImode register.  Remove HImode HIGH
718         and LO_SUM patterns.
720 2001-11-09  Neil Booth  <neil@daikokuya.demon.co.uk>
722         * Makefile.in: Update.
723         * c-decl.c (print_lang_decl, print_lang_type): Remove.
724         (print_lang_identifier): Rename c_print_identifier.
725         * c-lang.c (LANG_HOOKS_PRINT_IDENTIFIER, LANG_HOOKS_SET_YYDEBUG): New.
726         (print_lang_statistics, lang_print_xnode): Remove.
727         * c-parse.in (set_yydebug): Rename c_set_yydebug.
728         * c-tree.h (c_set_yydebug, c_print_identifier): New.
729         * langhooks-def.h (lhd_print_tree_nothing, lhd_set_yydebug): New.
730         LANG_HOOKS_PRINT_STATISTICS, LANG_HOOKS_PRINT_XNODE,
731         LANG_HOOKS_PRINT_DECL, LANG_HOOKS_PRINT_TYPE,
732         LANG_HOOKS_PRINT_IDENTIFIER, LANG_HOOKS_SET_YYDEBUG): New.
733         (LANG_HOOKS_INITIALIZER): Update.
734         * langhooks.h (struct lang_hooks): New members.
735         (lang_print_tree_hook): New.
736         * langhooks.c (lhd_print_tree_nothing, lhd_set_yydebug): New.
737         * print-tree.c: Include langhooks.h.
738         (print_node): Update.
739         * toplev.c (decode_d_option): Update.
740         * tree.c: Include langhooks.h.
741         (dump_tree_statistics): Update.
742         * tree.h (print_lang_statistics, print_lang_decl, print_lang_type,
743         print_lang_identifier, set_yydebug, lang_print_xnode): Remove.
744 objc:
745         * objc-act.c (LANG_HOOKS_PRINT_IDENTIFIER,
746         LANG_HOOKS_SET_YYDEBUG): Override.
747         (lang_print_xnode, print_lang_statistics): Remove.
749 2001-11-09  Richard Henderson  <rth@redhat.com>
751         * dwarf2asm.c (dw2_force_const_mem): Invoke STRIP_NAME_ENCODING
752         on the symbol string.
754 2001-11-09  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
756         * pa/elf.h (ASM_DECLARE_FUNCTION_NAME,
757         ASM_OUTPUT_EXTERNAL_LIBCALL): Undef before defining.
758         * config.gcc (hppa1.1-*-rtems*): Remove duplicate clause.
760         * clipper.h (ASM_OUTPUT_REG_POP): Fix typo.
762         * tlink.c (recompile_files): Copy strings passed to `putenv'.
764 2001-11-09  Geoffrey Keating  <geoffk@redhat.com>
766         * tree.h (TYPE_VOLATILE): Trap use not on TYPEs.
767         (TYPE_READONLY): Likewise.
769         * flow.c (insn_dead_p): Allow for AUTO_INC notes all the time.
771         * config/stormy16/stormy16.h (ASM_SPEC): Revert last change,
772         don't pass --gdwarf2 to the assembler if the compiler will also
773         provide debug info.
775         * config/stormy16/stormy16.c (xstormy16_expand_casesi):
776         Don't change INDEX.
778 Fri Nov  9 17:51:09 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
780         * alias.c (nonoverlapping_memrefs_p): New function.
781         (true_dependence, canon_true_depenence, write_dependence_p): Call it.
783         * emit-rtl.c (set_mem_attributes): Get alignments for constants.
785 2001-11-09  Aldy Hernandez  <aldyh@redhat.com>
787         * rs6000.h (REG_CLASS_CONTENTS): Add VRSAVE bit to ALL_REGS.
788         (CONDITIONAL_REGISTER_USAGE): Disable AltiVec registers unless
789         generating altivec code.
790         (FIXED_REGISTERS): VRSAVE is fixed.
791         (CALL_USED_REGISTERS): VRSAVE is call used.
793 2001-11-09  Jason Eckhardt  <jle@rice.edu>
795         * config/mips/mips.c (mips_output_conditional_branch): Do not hard
796         code the branch target as ".+16/.+12", but rather use labels.
798 Fri Nov  9 11:27:42 2001  Jeffrey A Law  (law@cygnus.com)
800         * config/pa/milli64.S: Use %r25 and %r0 instead of arg1 and r0
801         to work around limitations of certain versions of GAS.
803         * pa.md (mulsi3): Remove PA64 hack to work around SUBREG issues.
804         (muldi3): Update due to SUBREG_BYTE changes.
805         (casesi): Similarly.
807 2001-11-09  Zack Weinberg  <zack@codesourcery.com>
809         * doc/invoke.texi: Remove comment referring to -xf77-version.
811 2001-11-09  Kazu Hirata  <kazu@hxi.com>
813         * config/convex/convex.c: Fix comment formatting.
814         * config/convex/convex.h: Likewise.
816 2001-11-08  Zack Weinberg  <zack@codesourcery.com>
818         * Makefile.in (.po.pox): Look both in srcdir and builddir
819         for $(PACKAGE).pot.
820         (po/$(PACKAGE).pot): Don't move-if-change the new potfile over
821         to the source directory.
823 2001-11-09 Ben Elliston  <bje@redhat.com>
824            Michael Meissner  <meissner@redhat.com>
825            Andrew MacLeod  <amacleod@redhat.com>
826            Richard Henderson  <rth@redhat.com>
827            Nick Clifton  <nickc@redhat.com>
828            Catherine Moore  <clm@redhat.com>
830         * m32r.c: Add support for m32rx processor.
831         * m32r.h: Ditto.
832         * m32r.md: Ditto.
833         * t-m32r: Ditto.
834         * m32r-protos.h: Add prototypes for m32rx functions.
835         * doc/invoke.texi: Document -m32rx option.
837 2001-11-09  Jakub Jelinek  <jakub@redhat.com>
839         * config/sparc/sparc.md (movdf): Avoid calling validize_mem during
840         or after reload.
842 2001-11-09  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
844         * doc/install.texi2html: Use $MAKEINFO --no-split.
846 2001-11-09  Andreas Schwab  <schwab@suse.de>
848         * Makefile.in ($(HOST_PREFIX_1)rtl.o,
849         $(HOST_PREFIX_1)print-rtl.o, $(HOST_PREFIX_1)bitmap.o,
850         $(HOST_PREFIX_1)vfprintf.o, $(HOST_PREFIX_1)doprint.o,
851         $(HOST_PREFIX_1)strstr.o, $(HOST_PREFIX_1)errors.o,
852         $(HOST_PREFIX_1)ggc-none.o): Update dependencies.
854 2001-11-09  H.J. Lu <hjl@gnu.org>
856         * config/mips/mips.c (mips_output_function_prologues): Cast
857         `tsize' to long for output.
859 2001-11-09  Neil Booth  <neil@daikokuya.demon.co.uk>
861         * c-lang.c (LANG_HOOKS_NAME): New.
862         (lang_hooks): Constify.
863         (c_init_options): Update.
864         (lang_identify): Remove.
865         * c-parse.in (language_string): Remove.
866         * dbxout.c: Include langhooks.h.
867         (dbxout_symbol_location): Update.
868         * dwarf2out.c: Include langhooks.h.
869         (gen_compile_unit_die): Update.
870         * dwarfout.c: Include langhooks.h.
871         (prototyped_attribute, output_compile_unit_die): Update.
872         * langhooks-def.h (LANG_HOOKS_NAME, LANG_HOOKS_IDENTIFIER_SIZE): New.
873         (LANG_HOOKS_INITIALIZER): Update.
874         * langhooks.h (struct lang_hooks): New members.  Constify.
875         * stringpool.c: Don't include toplev.h.
876         (set_identifier_size): Remove.
877         * toplev.c (toplev_main): Initialize identifier size.
878         (print_version): Update.
879         * tree.h (language_string, init_lex, lang_identify,
880         set_identifier_size): Remove.
881         * Makefile.in: Update dependencies.
882         * config/darwin.c: Include langhooks.h.
883         (func_name_maybe_scoped): Update.
884         * config/darwin.h (ASM_END_FILE): Update.
885         * config/nextstep.h (ASM_END_FILE): Update.
886         * config/nextstep21.h (ASM_END_FILE): Update.
887         * config/i386/sun386.h (ASM_END_FILE): Update.
888         * config/rs6000/rs6000.c (ASM_END_FILE): Include langhooks.h.
889         (rs6000_output_function_epilogue): Update.
890 objc:
891         * objc-act.c (LANG_HOOKS_NAME): Override.
892         (struct lang_hooks): Constify.
893         (objc_init_options): Update.
894         (lang_identify): Remove.
896 Fri Nov  9 00:25:18 EST 2001  John Wehle  (john@feith.com)
898         * fold-const.c (lshift_double): Honor PREC.
899         (rshift_double): Likewise.
901 2001-11-08  Kazu Hirata  <kazu@hxi.com>
903         * config/1750a/1750a.c: Fix comment formatting.
904         * config/1750a/1750a.h: Likewise.
906 2001-11-08  Phil Edwards  <pedwards@disaster.jaj.com>
908         * configure.in (--enable-languages): Be more permissive about
909         syntax.  Check for empty lists better.  Warn about $LANGUAGES.
910         * configure: Regenerated.
912 2001-11-08  Richard Henderson  <rth@redhat.com>
914         * dwarf2asm.c (dw2_force_const_mem): Fix typo.
916 2001-11-08  Geoffrey Keating  <geoffk@redhat.com>
918         * config.gcc: Rename stormy16 to xstormy16.
919         * config/stormy16/stormy-abi: Likewise.
920         * config/stormy16/stormy16-protos.h: Likewise.
921         * config/stormy16/stormy16.c: Likewise.
922         * config/stormy16/stormy16.h: Likewise.
923         * config/stormy16/stormy16.md: Likewise.
925 2001-11-06  Geoffrey Keating  <geoffk@redhat.com>
927         * tree.h (TYPE_VOLATILE): Add enable-checking code.
928         (TYPE_READONLY): Likewise.
930 Thu Nov  8 18:00:55 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
932         * reload1.c (reload): Don't delete equiv insn if can throw.
934         * expr.c (emit_block_move): If X is readonly emit CLOBBER for it.
935         (clear_storage): Likewise, for OBJECT.
937 Thu Nov  8 16:23:51 2001  Jeffrey A Law  (law@cygnus.com)
939         * pa.c (emit_move_sequence): Fix SUBREG expression to
940         use proper byte offset when extending a constant from
941         SImode to DImode.
943 2001-11-09  Jakub Jelinek  <jakub@redhat.com>
945         * cfgrtl.c (purge_dead_edges): Remove REG_EH_REGION note for insns
946         which cannot throw.
948 Thu Nov  8 18:00:55 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
950         * explow.c (convert_memory_address, case SUBREG): Only return
951         inner object if SUBREG_PROMOTED_VAR_P or known to be pointer.
953 2001-11-08  Richard Henderson  <rth@redhat.com>
955         * Makefile.in (GCC_FOR_TARGET): Add build_tooldir/sys-include.
956         (CROSS_SYSTEM_HEADER_DIR): Use build_tooldir not tooldir.
957         (ORDINARY_FLAGS_TO_PASS, stmp-fixinc): Likewise.
959 2001-11-08  Aldy Hernandez  <aldyh@redhat.com>
961         * config/rs6000/rs6000.h (ASM_CPU_SPEC): Add -maltivec.
963 2001-11-08  Jakub Jelinek  <jakub@redhat.com>
965         * dwarf2out.c (debug_str_hash): New.
966         (struct indirect_string_node): New.
967         (struct dw_val_struct): Change type of val_str to it.
968         (DEBUG_STR_SECTION_FLAGS): Define.
969         (add_AT_string): Push string into hashtable, increment reference
970         counter.
971         (AT_string): Return string from ht_identifier.
972         (AT_string_form): New.
973         (free_AT): For dw_val_class_str, just decrement reference counter.
974         (size_of_string): Remove.
975         (size_of_die): Use AT_string_form to decide what size the string
976         occupies in DIE.
977         (size_of_pubnames): Use strlen instead of size_of_string.
978         (value_format): Use AT_string_form for dw_val_class_str.
979         (output_die): Output DW_FORM_strp strings using
980         dw2_asm_output_offset.
981         (indirect_string_alloc, output_indirect_string): New.
982         (dwarf2out_finish): Emit .debug_str strings if there are any.
984 2001-11-08  Andreas Franck  <afranck@gmx.de>
986         * configure.in: Add AC_ARG_PROGRAM to support program name
987         transformation with --program-prefix, --program-suffix and
988         --program-transform-name.
989         * configure: Regenerated.
990         * Makefile.in (GCC_INSTALL_NAME, CPP_INSTALL_NAME,
991         PROTOIZE_INSTALL_NAME, UNPROTOIZE_INSTALL_NAME, GCOV_INSTALL_NAME,
992         GCCBUG_INSTALL_NAME, GCC_CROSS_NAME, CPP_CROSS_NAME,
993         PROTOIZE_CROSS_NAME, UNPROTOIZE_CROSS_NAME): Handle
994         program_transform_name the way suggested by autoconf.
995         (GCC_TARGET_INSTALL_NAME): Define.
996         (install-driver): Use the transformed target alias name.
998 2001-11-08  Richard Henderson  <rth@redhat.com>
1000         * config/mips/mips.c (save_restore_insns): Remove GP from the
1001         restore registers mask early instead of special casing it inside
1002         the loop.
1004 2001-11-08  Neil Booth  <neil@daikokuya.demon.co.uk>
1006         * cp/decl.c (shadow_warning): New function.
1007         (pushdecl): Improve -Wshadow warnings.  Don't give both a warning
1008         and an error when a block scope decl shadows a parameter.
1010 2001-11-08  Richard Henderson  <rth@redhat.com>
1012         * config/fp-bit.h (usi_to_float): Define for US_SOFTWARE_GOFAST
1013         case as well.
1015 2001-11-08  John David Anglin  <dave@hiauly1.hia.nrc.ca>
1017         * pa.md (negdf2, negsf2): Use multiplication rather than subtraction
1018         to implement floating negation on processors prior to PA 2.0.
1020 2001-11-08  Jakub Jelinek  <jakub@redhat.com>
1022         * dwarf2asm.c (mark_indirect_pool_entry, mark_indirect_pool): New.
1023         (USE_LINKONCE_INDIRECT): Define.
1024         (dw2_output_indirect_constant_1): Try to output indirect constants
1025         into linkonce sections if possible.
1026         (dw2_force_const_mem): Likewise.  Register indirect_pool with GGC.
1027         (dw2_output_indirect_constants): Likewise.
1029 2001-11-07  Aldy Hernandez  <aldyh@redhat.com>
1031         * config/rs6000/rs6000.h (REG_ALLOC_ORDER): Add vrsave.
1033 2001-11-07  Neil Booth  <neil@daikokuya.demon.co.uk>
1035         * c-decl.c (pushdecl): Remove file and line.
1036         * c-typeck.c (pop_init_level): Remove size.
1038 2001-11-07  Aldy Hernandez  <aldyh@redhat.com>
1040         * doc/invoke.texi: Add -maltivec, -mno-altivec, and -mabi=altivec
1041         for rs6000.
1043         * config/rs6000/rs6000.h (MASK_ALTIVEC): New.
1044         (TARGET_ALTIVEC): New.
1045         (TARGET_SWITCHES): Add altivec.
1046         (FIRST_PSEUDO_REGISTER): Change to 109.
1047         (CALL_USED_REGISTERS): Same.
1048         (FIRST_ALTIVEC_REGNO): New.
1049         (LAST_ALTIVEC_REGNO): New.
1050         (ALTIVEC_REGNO_P): New.
1051         (UNITS_PER_ALTIVEC_WORD): New.
1052         (ALTIVEC_VECTOR_MODE): New.
1053         (FIXED_REGISTERS): Add altivec registers.
1054         (REG_ALLOC_ORDER): Same.
1055         (HARD_REGNO_NREGS): Adjust for altivec registers.
1056         (HARD_REGNO_MODE_OK): Same.
1057         (MODES_TIEABLE_P): Same.
1058         (REGISTER_MOVE_COST): Same.
1059         (REGNO_REG_CLASS): Same.
1060         (reg_class): Add ALTIVEC_REGS.
1061         (REG_CLASS_NAMES): Same.
1062         (REG_CLASS_CONTENTS): Same.
1063         (REG_CLASS_FROM_LETTER): Add 'v' constraint for ALTIVEC_REGS.
1064         (ALTIVEC_ARG_RETURN): New.
1065         (FUNCTION_VALUE): Handle VECTOR_TYPE.
1066         (LIBCALL_VALUE): Handle altivec vector modes.
1067         (VECTOR_MODE_SUPPORTED_P): New.
1068         (ALTIVEC_ARG_MIN_REG): New.
1069         (ALTIVEC_ARG_MAX_REG): New.
1070         (ALTIVEC_ARG_NUM_REG): New.
1071         (FUNCTION_VALUE_REGNO_P): Return true for altivec return register.
1072         (FUNCTION_ARG_REGNO_P): Support passing args in altivec registers.
1073         (REGISTER_NAMES): Add altivec regs.
1074         (DEBUG_REGISTER_NAMES): Same.
1075         (ADDITIONAL_REGISTER_NAMES): Same.
1076         (rs6000_builtins): New.
1077         (MD_EXPAND_BUILTIN): New.
1078         (MD_INIT_BUILTINS): New.
1079         (LEGITIMATE_OFFSET_ADDRESS_P): This addressing mode is not valid
1080         for AltiVec instructions.
1081         (LEGITIMATE_LO_SUM_ADDRESS_P): Same.
1082         (HARD_REGNO_MODE_OK): Altivec modes can only go in altivec
1083         registers.
1084         (SECONDARY_MEMORY_NEEDED): We need memory to copy vector modes.
1085         (TARGET_SWITCHES): Add no-altivec.
1086         (DATA_ALIGNMENT): Align vectors to 128 bits.
1087         (TARGET_OPTIONS): Add abi= option.
1088         Add rs6000_abi_string extern.
1089         (LOCAL_ALIGNMENT): New.
1090         (CPP_CPU_SPEC): Define __ALTIVEC__ when -maltivec.
1091         (MASK_ALTIVEC_ABI): New.
1092         (TARGET_ALTIVEC_ABI): New.
1093         (CONDITIONAL_REGISTER_USAGE): Set first 20 AltiVec registers to
1094         call-saved.
1095         (STACK_BOUNDARY): Adjust for altivec.
1096         (BIGGEST_ALIGNMENT): Same.
1097         (rs6000_args): Add vregno.
1098         (USE_ALTIVEC_FOR_ARG_P): New.
1099         (FIXED_REGISTERS): Add vrsave register.
1100         (CALL_USED_REGISTERS): Same.
1101         (CONDITIONAL_REGISTER_USAGE): Set VRSAVE info.
1102         (VRSAVE_REGNO): New.
1103         (reg_class): Add VRSAVE_REGS.
1104         (REG_CLASS_NAMES): Same.
1105         (REG_CLASS_CONTENTS): Same.
1106         (REGNO_REG_CLASS): Same.
1108         * config/rs6000/sysv4.h (STACK_BOUNDARY): Adjust for altivec.
1109         (ABI_STACK_BOUNDARY): Same.
1110         (BIGGEST_ALIGNMENT): Same.
1111         (ADJUST_FIELD_ALIGN): Remove undef.  Define anew.
1112         (ROUND_TYPE_ALIGN): Same.
1114         * config/rs6000/aix.h (ROUND_TYPE_ALIGN): Change BIGGEST_ALIGNMENT
1115         to 64.
1117         * config/rs6000/darwin.h (ROUND_TYPE_ALIGN): Change BIGGEST_ALIGNMENT
1118         to 64.
1120         * config/rs6000/darwin.h (ROUND_TYPE_ALIGN): Change BIGGEST_ALIGNMENT
1121         to 64.
1123         * config/rs6000/rs6000.c (rs6000_expand_builtin): New.
1124         (altivec_expand_builtin): New.
1125         (altivec_init_builtins): New.
1126         (TARGET_EXPAND_BUILTIN): New.
1127         (TARGET_INIT_BUILTINS): New.
1128         (rs6000_init_builtins): New.
1129         (struct builtin_description): New.
1130         (bdesc_2arg): New.
1131         (rs6000_reg_names): Add altivec registers.
1132         (alt_reg_names): Same.
1133         (secondary_reload_class): Altivec regs can hold altivec regs and
1134         memory.
1135         (rs6000_emit_move): Force constants into memory for AltiVec moves.
1136         (print_operand): Add 'y' case for printing altivec memory
1137         operands.
1138         (rs6000_legitimize_address): Legitimize vector addresses into
1139         [REG+REG] or [REG].
1140         (altivec_expand_binop_builtin): New.
1141         New string rs6000_current_abi.
1142         (rs6000_override_options): Call rs6000_parse_abi_options.
1143         (rs6000_parse_abi_options): New.
1144         (function_arg_boundary): Vector arguments must be 16
1145         byte aligned.
1146         (function_arg_advance): Handle vector arguments.
1147         (function_arg_partial_nregs): Same.
1148         (init_cumulative_args): Same.
1149         (function_arg): Same.
1151         * config/rs6000/rs6000.md (altivec_lvx): New.
1152         (type): Add altivec attribute.
1153         (movv4si): New.
1154         (*movv4si_internal): New.
1155         (movv16qi): New.
1156         (*movv16qi_internal): New.
1157         (movv8hi): New.
1158         (*movv8hi_internal1): New.
1159         (movv4sf): New.
1160         (*movv4sf_internal1): New.
1161         (altivec_stvx): New.
1162         (vaddubm): New.
1163         (vadduhm): New.
1164         (vadduwm): New.
1165         (vaddfp): New.
1166         (vaddcuw): New.
1167         (vaddubs): New.
1168         (vaddsbs): New.
1169         (vadduhs): New.
1170         (vaddshs): New.
1171         (vadduws): New.
1172         (vaddsws): New.
1173         (vand): New.
1174         (vandc): New.
1175         (vavgub): New.
1176         (vavgsb): New.
1177         (vavguh): New.
1178         (vavgsh): New.
1179         (vavguw): New.
1180         (vavgsw): New.
1181         (vcmpbfp): New.
1182         (vcmpequb): New.
1183         (vcmpequh): New.
1184         (vcmpequw): New.
1185         (vcmpeqfp): New.
1186         (vcmpgefp): New.
1187         (vcmpgtub): New.
1188         (vcmpgtsb): New.
1189         (vcmpgtuh): New.
1190         (vcmpgtsh): New.
1191         (vcmpgtuw): New.
1192         (vcmpgtsw): New.
1193         (vcmpgtfp): New.
1194         (vcmpgefp): New.
1195         (vcmpgtub): New.
1196         (vcmpgtsb): New.
1197         (vcmpgtuh): New.
1198         (vcmpgtsh): New.
1199         (vcmpgtuw): New.
1200         (vcmpgtsw): New.
1201         (vcmpgtfp): New.
1202         (vmaxub): New.
1203         (vmaxsb): New.
1204         (vmaxuh): New.
1205         (vmaxsh): New.
1206         (vmaxuw): New.
1207         (vmaxsw): New.
1208         (vmaxfp): New.
1209         (vmrghb): New.
1210         (vmrghh): New.
1211         (vmrghw): New.
1212         (vmrglb): New.
1213         (vmrglh): New.
1214         (vmrglw): New.
1215         (vminub): New.
1216         (vminsb): New.
1217         (vminuh): New.
1218         (vminsh): New.
1219         (vminuw): New.
1220         (vminsw): New.
1221         (vminfp): New.
1222         (vmuleub): New.
1223         (vmulesb): New.
1224         (vmuleuh): New.
1225         (vmulesh): New.
1226         (vmuloub): New.
1227         (vmulosb): New.
1228         (vmulouh): New.
1229         (vmulosh): New.
1230         (vnor): New.
1231         (vor): New.
1232         (vpkuhum): New.
1233         (vpkuwum): New.
1234         (vpkpx): New.
1235         (vpkuhss): New.
1236         (vpkshss): New.
1237         (vpkuwss): New.
1238         (vpkswss): New.
1239         (vpkuhus): New.
1240         (vpkshus): New.
1241         (vpkuwus): New.
1242         (vpkswus): New.
1243         (vrlb): New.
1244         (vrlh): New.
1245         (vrlw): New.
1246         (vslb): New.
1247         (vslh): New.
1248         (vslw): New.
1249         (vsl): New.
1250         (vslo): New.
1251         (vsrb): New.
1252         (vrsh): New.
1253         (vrsw): New.
1254         (vsrab): New.
1255         (vsrah): New.
1256         (vsraw): New.
1257         (vsr): New.
1258         (vsro): New.
1259         (vsububm): New.
1260         (vsubuhm): New.
1261         (vsubuwm): New.
1262         (vsubfp): New.
1263         (vsubcuw): New.
1264         (vsububs): New.
1265         (vsubsbs): New.
1266         (vsubuhs): New.
1267         (vsubshs): New.
1268         (vsubuws): New.
1269         (vsubsws): New.
1270         (vsum4ubs): New.
1271         (vsum4sbs): New.
1272         (vsum4shs): New.
1273         (vsum2sws): New.
1274         (vsumsws): New.
1275         (vxor): New.
1277 2001-11-07  Daniel Berlin  <dan@cgsoftware.com>
1279         * Makefile.in (df.o): Add fibheap.h to dependencies.
1281         * df.h: Add prototypes for transfer functions, iterative_dataflow
1282         functions.
1283         (enum df_flow_dir): New enum.
1284         (enum df_confluence_op): New enum.
1285         (struct df): Add inverse_rts_map.
1287         * df.c: Add sbitmap.h to the list of includes.
1288         (df_rd_global_compute): Removed.
1289         (df_ru_global_compute): Removed.
1290         (df_lr_global_compute): Removed.
1291         (df_rd_transfer_function): New function.
1292         (df_ru_transfer_function): New function.
1293         (df_lr_transfer_function): New function.
1294         (df_analyse_1): allocate/compute/free df->inverse_rts_map.
1295         Use iterative_dataflow_bitmap instead of df_*_global_compute.
1296         (iterative_dataflow_sbitmap): New function.
1297         (iterative_dataflow_bitmap): New function.
1299 2001-11-07  Joseph S. Myers  <jsm28@cam.ac.uk>
1301         * doc/gcc.texi: Move terminology and spelling conventions to
1302         htdocs/codingconventions.html.
1304 2001-11-07  Graham Stott  <grahams@redhat.com>
1306         * cse.c (cse_insn): Emit BARRIER after unconditional jump.
1308 Wed Nov  7 13:33:34 CET 2001  Jan Hubicka  <jh@suse.cz>
1310         * expmed.c (expand_mult): Force operand to register before computing
1311         cost.
1312         * i386.c (x86_decompose_lea): New global vairable.
1313         * i386.h (x86_decompose_lea): Declare.
1314         (TARGET_DECOMPOSE_LEA): New macro.
1315         (RTX_COST): Handle leas properly.
1317 2001-11-06  Richard Henderson  <rth@redhat.com>
1319         * config/alpha/elf.h (DO_SELECT_SECTION): TREE_READONLY is not
1320         defined for a CONSTRUCTOR; don't check it.
1322 2001-11-06  Danny Smith  <dannysmith@users.sourceforge.net>
1324         * gcov.c (output_data): Use IS_ABSOLUTE_PATHNAME to
1325         test for absolute pathnames.
1327 2001-11-06  Olivier Hainque <hainque@act-europe.fr>
1329         * unwind-dw2.c (execute_cfa_program): Evaluate call frame
1330         instructions up to the target pc inclusive.
1332 2001-11-06  Steve Christiansen  <smc@us.ibm.com>
1334         * loop.c (loop_regs_scan):  Don't invalidate PIC register.
1336 2001-11-06  Eric Christopher  <echristo@redhat.com>
1338         * config/mips/mips.md(movdf_internal2): Add constraints for float
1339         to general register move.
1340         * config/mips/elf64.h: Add default ABI.
1342 2001-11-06  Neil Booth  <neil@cat.daikokuya.demon.co.uk>
1344         * alias.c:: Include langhooks.h.
1345         * emit-rtl.c: Similarly.
1346         * toplev.c: Similarly.
1347         * tree-inline.c: Similarly.
1348         * langhooks-def.h: New, the old langhooks.h.  Give the default
1349         hooks a common prefix.
1350         * langhooks.h: Contents extracted from toplev.h.
1351         * toplev.h: Move langhook stuff to langhooks.h.
1352         * langhooks.c: Give default hooks a common prefix.
1354         * c-lang.c: Include langhooks-def.h.
1355         * objc/objc-act.c: Similarly.
1356         * Makefile.in: Update.
1357         * objc/Make-lang.in: Update.
1359 2001-11-06  Joseph S. Myers  <jsm28@cam.ac.uk>
1361         * doc/install.texi: Document that configure options not listed in
1362         this file are unsupported.  Document --with-system-zlib.
1364 Tue Nov  6 09:21:34 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
1366         * rtl.h (mem_for_const_double): New declaration.
1367         * varasm.c (mem_for_const_double): New function.
1368         * config/convex/convex.md (movdf): Use it.
1369         * config/m68k/hp320.h (LEGITIMATE_PIC_OPERAND_P): Likewise.
1370         * config/m68k/linux.h, config/m68k/m68k.h: Likewise.
1371         * config/m68k/m68kv4.h: Likewise.
1373         * config/alpha/alpha.h (SECONDARY_MEMORY_NEEDED): Adjust for addition
1374         of new GP reg classes.
1376         * expr.c (store_field): When making temp object for unaligned
1377         component, set it to alias set 0.
1379 2001-11-06  Joseph S. Myers  <jsm28@cam.ac.uk>
1381         * c-common.c (c_expand_expr_stmt): Apply default conversions to
1382         non-lvalue arrays if C99.
1383         * c-typeck.c (default_conversion): Split out code handling
1384         array-to-pointer and function-to-pointer conversions into a
1385         separate default_function_array_conversion function.
1386         (default_function_array_conversion): New function.  Keep track of
1387         whether any NON_LVALUE_EXPRs were stripped.  Return non-lvalue
1388         arrays unchanged outside C99 mode instead of giving an error for
1389         them.
1390         (build_component_ref): Use pedantic_non_lvalue when handling
1391         COMPOUND_EXPR.  Don't handle COND_EXPR specially.
1392         (convert_arguments): Use default_function_array_conversion.
1393         (build_unary_op): For ADDR_EXPR, take a flag indicating whether
1394         non-lvalues are OK.
1395         (unary_complex_lvalue): Likewise.
1396         (internal_build_compound_expr): Use
1397         default_function_array_conversion.  Apply default conversions to
1398         function in compound expression.
1399         (build_c_cast, build_modify_expr, digest_init, build_asm_stmt):
1400         Use default_function_array_conversion.
1401         * doc/extend.texi: Update documentation of subscripting non-lvalue
1402         arrays.
1403         Fixes PR c/461.
1405 2001-11-05  Zack Weinberg  <zack@codesourcery.com>
1407         * aclocal.m4: (AM_WITH_NLS): Don't look at ALL_LINGUAS.
1408         (AM_GNU_GETTEXT): Set CATALOGS to a list of .gmo files
1409         corresponding to the complete set of .po and .gmo files in
1410         the source directory's po subdir, modified by LINGUAS.  Don't
1411         look at ALL_LINGUAS.
1412         * configure.in: Don't set ALL_LINGUAS.
1413         * configure: Regenerate.
1415         * Makefile.in (.po.gmo): Don't move into source directory.
1416         (.po.pox): Clarify comments.
1417         (install-po): Look for .gmo files in both srcdir and objdir;
1418         don't fail if a file is totally missing.
1419         (distclean): rmdir ada subdirectory too.
1421 2001-11-05  Geoffrey Keating  <geoffk@redhat.com>
1423         * config/rs6000/rs6000.c (rs6000_select_section): Handle
1424         CONSTRUCTORs _correctly_.
1426 2001-11-05  Neil Booth  <neil@cat.daikokuya.demon.co.uk>
1428         * c-decl.c (delete_block): Remove.
1429         * c-tree.h (delete_block): Remove.
1431 2001-11-05  Neil Booth  <neil@cat.daikokuya.demon.co.uk>
1433         * cppexp.c (lex, parse_defined): Update warning about defined.
1435 2001-11-05  Geoffrey Keating  <geoffk@redhat.com>
1437         * config/rs6000/rs6000.c (rs6000_select_section): Handle
1438         CONSTRUCTORs too.
1440 2001-11-05  Nick Clifton  <nickc@cambridge.redhat.com>
1442         * config/arm/arm.c (arm_return_in_memory): Cope with
1443         int_size_in_bytes returning -1.
1445         * config/arm/unknown-elf.h (ASM_OUTPUT_ALIGNED_DECL_LOCAL): Handle
1446         DECL being NULL.
1448 Mon Nov  5 16:15:25 CET 2001  Jan Hubicka  <jh@suse.cz>
1450         * Makefile.in (bb-reoder.o): Add dependency on cfglayout.h;
1451         remove unneeded dependencies;
1452         (cfglayout.o): New.
1453         * cfglayout.c, cfglayout.h: New files; break out from ...
1454         * bb-reorder.c: ... here; Remove unneeded includes;
1456 2001-11-04  Alan Modra  <amodra@bigpond.net.au>
1458         * config/rs6000/rs6000.md (load_toc_aix_{si,di}): Mark r2 as used.
1460 2001-11-04  David Edelsohn  <edelsohn@gnu.org>
1462         * config/rs6000/rs6000.c (rs6000_emit_move): Handle 64-bit
1463         mode as well.  Do not explicitly create intermediate regs.
1465 2001-11-04  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1467         * arm/aof.h (aof_text_section, aof_data_section): Don't declare.
1468         (common_section): Delete unused variable.
1469         (ASM_OUTPUT_ASCII): Fix signed/unsigned warnings.
1470         (ASM_GENERATE_INTERNAL_LABEL): Fix format specifier warning.
1471         * arm-protos.h (arm_poke_function_name, aof_add_import,
1472         aof_delete_import): Const-ify.
1473         * arm.c (legitimize_pic_address): Wrap variables in the macro
1474         controlling their usage.
1475         (arm_finalize_pic): Mark variable with ATTRIBUTE_UNUSED.
1476         (arm_poke_function_name, pic_chain, import, aof_add_import,
1477         aof_delete_import): Const-ify.
1478         * i386.c (ix86_osf_output_function_prologue): Const-ify.
1479         * i386/sysv4.h (ASM_OUTPUT_FLOAT, ASM_OUTPUT_DOUBLE,
1480         ASM_OUTPUT_LONG_DOUBLE): Fix format specifier warnings.
1481         * i860/fx2800.h (DBX_OUTPUT_STANDARD_TYPES): Const-ify.
1482         * i860/sysv3.h: Add missing comment closure.
1483         * m68k/apollo68.h (ASM_RETURN_CASE_JUMP): Add missing semi-colon.
1484         * m88k/dgux.h (SELECT_RTX_SECTION): Add missing argument in call
1485         to symbolic_operand.
1487         * config.gcc (m680[02]0-*-*): Rename case from m68000-*-*.
1488         (i960-*-*): Set tmake_file.
1489         (sparc86x-*-elf*): Fix typo in header name.
1491         * sched-rgn.c (schedule_insns): Delete unused variable.
1493 2001-11-04  Neil Booth  <neil@cat.daikokuya.demon.co.uk>
1495         PR c/2820
1496         * c-typeck.c (lookup_field): Rework to return a chain down to
1497         the looked-up field.
1498         (build_component_ref): Use the new lookup_field to handle
1499         nested anonymous entities correctly.
1501 Sun Nov  4 11:53:31 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
1503         * config/sparc/sparc.c (sparc_emit_set_const32, GEN_HIGHINT64):
1504         Change parameters to gen_rtx_CONST_DOUBLE.
1505         (GEN_INT64, sparc_emit_set_const64): Likewise.
1506         * config/sparc/sparc.md (movdf split): Likewise.
1508 2001-11-03  Geoffrey Keating  <geoffk@redhat.com>
1510         * unroll.c (calculate_giv_inc): Use find_last_value rather
1511         than just hoping the last instruction is the right SET.
1512         [Fixes 990604-1.c on stormy16.]
1514         * config/stormy16/stormy16.h (LIB_SPEC): Don't supply any libgloss
1515         library at all if -T is used.
1517         * config/stormy16/stormy16.c (stormy16_print_operand): Avoid
1518         some uses of uninitialized variables in error cases.
1520         * config/stormy16/stormy16.c (stormy16_output_shift): Don't
1521         look at 'temp' if we won't be using it.
1523         * config/stormy16/stormy16.h (CONST_COSTS): Define.
1524         (RTX_COSTS): Define.
1525         (ADDRESS_COST): Define.
1526         (MEMORY_MOVE_COST): Allow for memory_move_secondary_cost.
1528         * config/stormy16/stormy16.h (ASM_SPEC): Pass -g to the assembler.
1530         * config/stormy16/stormy16.h (ASM_OUTPUT_MI_THUNK): Call
1531         stormy16_asm_output_mi_thunk.
1532         * config/stormy16/stormy16.c (stormy16_asm_output_mi_thunk): New
1533         function.
1534         * config/stormy16/stormy16-protos.h
1535         (stormy16_asm_output_mi_thunk): New prototype.
1537 2001-11-04  Joseph S. Myers  <jsm28@cam.ac.uk>
1539         * ChangeLog.2, ChangeLog.4, ChangeLog.5, ChangeLog,
1540         FSFChangeLog.10, FSFChangeLog.11, alias.c, attribs.c,
1541         caller-save.c, calls.c, cfg.c, cfganal.c, cfgcleanup.c, cfgrtl.c,
1542         cppmacro.c, fold-const.c, ifcvt.c, local-alloc.c, profile.c,
1543         sched-int.h, toplev.c, config/alpha/alpha.c,
1544         config/alpha/alpha.md, config/c4x/c4x.h, config/cris/cris.h,
1545         config/cris/cris.md, config/i370/i370.md, config/i386/i386.c,
1546         config/i386/i386.h, config/i386/i386.md, config/i386/xm-djgpp.h,
1547         config/ia64/ia64.c, config/m68hc11/m68hc11.c, config/m68k/m68k.md,
1548         config/mcore/mcore.h, config/mmix/mmix.c, config/ns32k/ns32k.h,
1549         config/ns32k/ns32k.md, config/rs6000/rs6000.c,
1550         config/rs6000/sysv4.h, config/sh/sh.md: Fix spelling errors.
1552 2001-11-03  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1554         * Makefile.in (dbxout.o): Depend on function.h.
1555         * collect2.c (is_in_list): Hide unused function.
1556         * dbxout.c: Include function.h.
1557         (source_label_number, dbxout_source_line, dbxout_source_file,
1558         dbxout_function_end, dbxout_begin_function): Wrap/move inside
1559         macros controlling usage.
1560         * gcc.c (TARGET_EXECUTABLE_SUFFIX): Undef before defining.
1561         * output.h (exports_section): Prototype.
1563         * convex.c (convex_output_function_prologue): Fix format specifier
1564         warning.
1565         (asm_declare_function_name): Fix signed/unsigned warning.
1566         (print_operand): Fix format specifier warning.
1567         * convex.h (S_REGNO_P, A_REGNO_P): Fix signed/unsigned warning.
1568         * dsp16xx-protos.h (uns_comparison_operator,
1569         num_1600_core_shifts): Prototype.
1570         * dsp16xx.c: Include tm_p.h, not dsp16xx-protos.h.
1571         (frame_size, frame_pointer_offset): Delete.
1572         (dsp16xx_output_function_prologue, dsp16xx_output_function_epilogue):
1573         Make static.  Fix format specifier warnings.
1574         * dsp16xx.h (IS_ACCUM_REG): Fix unsigned>=0 warning.
1575         (EXTRA_SECTION_FUNCTIONS): Prototype const_section.
1576         * dsp16xx.md: Add default case in switches.
1577         * fr30.h (IN_RANGE): Delete.
1578         * ia64.h (ASM_OUTPUT_MI_THUNK): Fix format specifier warnings.
1579         * mcore-protos.h (mcore_output_cmov): Const-ify.
1580         * mcore.c (mcore_output_cmov): Likewise.
1581         * mcore.h (switch_to_section): Make static and prototype.
1582         * mn10200.h (REGNO_OK_FOR_INDEX_P, REG_OK_FOR_INDEX_P): Fix
1583         unsigned>=0 warnings.
1584         * mn10300.h (REGNO_IN_RANGE_P): Likewise.
1585         * rs6000-protos.h (read_only_data_section,
1586         read_only_private_data_section): Prototype.
1587         * rs6000.h (ASM_OUTPUT_BYTE): Fix format specifier warning.
1588         * sh.c (sh_adjust_cost): Mark parameter with ATTRIBUTE_UNUSED.
1589         * sh.h (GENERAL_REGISTER_P): Fix unsigned>=0 warning.
1591 2001-11-03  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1593         * dwarf2asm.c (dw2_asm_output_pcrel): Mark parameters with
1594         ATTRIBUTE_UNUSED.
1595         * final.c (final_scan_insn): Add brackets around body of if-stmt.
1596         * gcc.c (convert_filename): Add static prototype.  Const-ify.
1597         Wrap variable in macros controlling its use.
1598         * output.h (sdata_section): Add prototype.
1600         * 1750a.h (EXTRA_SECTION_FUNCTIONS): Add prototype.
1601         (ASM_OUTPUT_ASCII): Avoid signed/unsigned warning.
1602         * c4x.h (INIT_SECTION_FUNCTION): Add prototype.
1603         (ASM_FILE_START): Const-ify.
1604         (ASM_OUTPUT_BYTE_FLOAT, ASM_OUTPUT_SHORT_FLOAT): Fix format
1605         specifier warning.
1606         * c4x.md: Don't use the 'U' integer suffix.
1607         * clipper.md (clipper_movstr): Delete declaration.
1608         * d30v-protos.h (d30v_move_2words): Const-ify.
1609         (debug_stack_info): Add prototype.
1610         * d30v.c: Include "integrate.h".
1611         (d30v_function_arg_boundary, d30v_function_arg,
1612         d30v_function_arg_partial_nregs, d30v_function_arg_advance): Avoid
1613         signed/unsigned warnings.
1614         (d30v_print_operand_memory_reference, d30v_move_2words):
1615         Const-ify.
1616         * d30v.h (REG_CLASS_FROM_LETTER): Use unsigned array subscript.
1617         * fr30.c (fr30_pass_by_reference, fr30_pass_by_value): Prototype.
1618         * fr30.md: Const-ify.
1619         * h8300.h (EXTRA_SECTION_FUNCTIONS): Add prototype.
1620         * i370.c (i370_label_scan, mvs_get_label): Make definition static.
1621         (mvs_get_label_page): Hide unused static function.
1622         * i860.c (current_function_original_name): Const-ify.
1623         * i860/sysv3.h (current_function_original_name): Likewise.
1624         * i860/sysv4.h (current_function_original_name): Likewise.
1625         * i960.md: Add default case in switches.  Remove unused variable.
1626         * i960/vx960-coff.h (MULTILIB_DEFAULTS): Undef before defining.
1627         * m32r.md: Const-ify.
1628         * m68hc11-protos.h (m68hc11_asm_file_start): Const-ify.
1629         * m68hc11.c: Include "reload.h".
1630         (static_chain_reg, print_options, m68hc11_asm_file_start):
1631         Const-ify.
1632         * m68hc11.md: Delete unused variable.  Const-ify.  Add parens
1633         around & in comparison.
1634         * mcore.h (TARGET_ASM_NAMED_SECTION): Undef before defining.
1635         * mn10200.c (shift_mode): Remove trailing comma.
1636         * mn10300-protos.h (output_tst): Const-ify.
1637         * mn10300.c (output_tst): Likewise.
1638         * pa/long_double.h (ASM_OUTPUT_LONG_DOUBLE): Fix format specifier
1639         warnings.
1640         * pa-protos.h (output_ascii): Use regular char *, not unsigned.
1641         * pa.c (output_ascii): Likewise.
1642         * pa/som.h (EXTRA_SECTION_FUNCTIONS): Add prototype.
1643         * pdp11.md (expand_unop): Delete declarations.
1644         * pj-protos.h (pj_output_addsi3): Const-ify.
1645         * pj.c (pj_output_push_int, pj_output_load, pj_output_inc,
1646         pj_output_cnv_op, mode_to_char, pj_output_varidx, pj_print_cond,
1647         unique_src_operand): Add prototypes.
1648         (pj_output_store_into_lval): Make definition static.
1649         (pj_function_incoming_arg): Don't use unary plus.
1650         (pj_output_addsi3): Const-ify.
1651         * romp.md (get_symref): Delete declarations.
1652         * v850-c.c (mark_current_function_as_interrupt): Don't return
1653         value from void function.
1654         * v850.c: Include "integrate.h".
1655         * v850.h (ASM_OUTPUT_LABELREF): Const-ify.
1656         * vax-protos.h (const_section): Add prototype.
1658 2001-11-03  Aldy Hernandez  <aldyh@redhat.com>
1660         * machmode.def: Add documentation for the seventh argument in
1661         vector modes.
1663 2001-11-04  Hans-Peter Nilsson  <hp@bitrange.com>
1665         * doc/invoke.texi (MMIX Options) <-mno-knuthdiv>: Say remainder
1666         consistently.
1667         <-mno-toplevel-symbols>: Change @code{:} to @samp{:}.
1668         <-melf>: Don't have markup for ELF acronym.
1670 2001-11-03  Hans-Peter Nilsson  <hp@bitrange.com>
1672         * config.gcc (mmix-*-*): New target.
1673         * doc/invoke.texi: Document MMIX options.
1674         * doc/contrib.texi: Add note about MMIX port to my entry.
1675         * config/mmix/t-mmix: New file.
1676         * config/mmix/mmix.h: New file.
1677         * config/mmix/mmix-protos.h: New file.
1678         * config/mmix/mmix.c: New file.
1679         * config/mmix/mmix.md: New file.
1680         * config/mmix/crti.asm: New file.
1681         * config/mmix/crtn.asm: New file.
1683 2001-11-03  Kazu Hirata  <kazu@hxi.com>
1685         * config/sparc/linux-aout.h: Fix comment formatting.
1686         * config/sparc/linux.h: Likewise.
1687         * config/sparc/linux64.h: Likewise.
1688         * config/sparc/lynx.h: Likewise.
1689         * config/sparc/pbd.h: Likewise.
1690         * config/sparc/sol2-sld-64.h: Likewise.
1691         * config/sparc/sol2.h: Likewise.
1692         * config/sparc/sparc.c: Likewise.
1693         * config/sparc/sparc.h: Likewise.
1694         * config/sparc/sparc.md: Likewise.
1695         * config/sparc/sunos4.h: Likewise.
1696         * config/sparc/vxsim.h: Likewise.
1697         * config/sparc/vxsparc.h: Likewise.
1698         * config/sparc/vxsparc64.h: Likewise.
1700 Sat Nov  3 10:37:56 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
1702         * cselib.c (cselib_subst_to_values, case CONST_DOUBLE): Remove
1703         reference to CONST_DOUBLE_MEM in comment.
1704         * emit-rtl.c (gen_rtx_CONST_DOUBLE): Remove one operand.
1705         (gen_rtx, case CONST_DOUBLE): Call it with one less operand.
1706         (init_emit_once): Don't clear CONST_DOUBLE_MEM.
1707         * function.c (pop_function_context_from): Don't call
1708         restore_varasm_status.
1709         * function.h (restore_varasm_status): Delete declaration.
1710         * gengenrtl.c (CONST_DOUBLE_FORMAT): Delete CONST_DOUBLE_MEM slot.
1711         * rtl.c: Likewise.
1712         * rtl.def (CONST_DOUBLE): Update comment.
1713         * rtl.h (CONST_DOUBLE_HIGH, CONST_DOUBLE_LOW): Update operand number.
1714         (CONST_DOUBLE_CHAIN): Likewise.
1715         (CONST_DOUBLE_MEM): Delete.
1716         (gen_rtx_CONST_DOUBLE): Update parameters.
1717         * varasm.c (struct varasm_status): x_pool_offset now HOST_WIDE_INT.
1718         Remove reference to CONST_DOUBLE_MEM.
1719         (const_alias_set): New variable.
1720         (immed_double_const): Change call to gen_rtx_CONST_DOUBLE.
1721         (immed_real_const_1): Adjust tests for 0, 1, and 2.
1722         Don't set CONST_DOUBLE_MEM.
1723         (clear_const_double_mem): Don't do anything with const_tiny_rtx.
1724         (output_constant_def): Don't look at TREE_CST_RTL if INTEGER_CST.
1725         Put constant in const_alias_set.
1726         (struct pool_constant): ALIGN now unsigned.
1727         OFFSET now HOST_WIDE_INT.
1728         Delete LABEL.
1729         (restore_varasm_status): Deleted.
1730         (mark_pool_constant): Mark desc->rtl.
1731         (force_const_mem): Rework to store rtl in hash table,
1732         not CONST_DOUBLE_MEM.
1733         Put constant in const_alias_set.
1734         (find_pool_constant): Check desc->rtl.
1735         (mark_constants, mark_constant): Don't special-case CONST_DOUBLE.
1736         (init_varasm_once): Initialize const_alias_set.
1738         * expr.c (expand_expr, case ADDDR_EXPR): If at top level, don't call
1739         force_const_mem.
1741         * reload.c (combine_reloads): Don't combine an output reload if there
1742         are other reloads around for part of the output.
1744         * emit-rtl.c (set_mem_attributes): Set RTX_UNCHANGINGP_P if T is a
1745         constant expression.
1746         (set_mem_decl): New function.
1747         * expr.h (set_mem_decl): New declaration.
1748         * final.c (get_decl_from_op): Don't use ORIGINAL_REGNO if not pseudo.
1749         (output_asm_operand_names): Add tab.
1750         * reload1.c (alter_reg): Set decl of MEM from REG_DECL.
1752         * builtins.c (get_memory_rtx): Properly set MEM alias set and
1753         attributes.
1755 2001-11-03  Joseph S. Myers  <jsm28@cam.ac.uk>
1757         * doc/extend.texi, doc/gcc.texi, doc/install.texi, doc/tm.texi:
1758         Use "invalid" instead of "illegal".  Use @r in comments in
1759         examples.
1761 2001-11-02  Neil Booth  <neil@daikokuya.demon.co.uk>
1763         * c-decl.c (pushdecl): Move block inside if conditional to remove
1764         possibility of a segfault.  Lookup block-level extern
1765         variables in enclosing scopes correctly.
1767         * testsuite/gcc.c-torture/compile/20001018-1.x: Remove XFAIL.
1769 2001-11-02  Aldy Hernandez  <aldyh@redhat.com>
1771         * expmed.c (store_bit_field): Use simplify_gen_subreg to make
1772         SUBREG so we avoid SUBREGing memory.
1774         * expmed.c (store_bit_field): Same.
1776 2001-11-02  DJ Delorie  <dj@redhat.com>
1778         * config/rs6000/rs6000.c (rs6000_emit_move): Make sure that
1779         using FP registers for DImode mem-mem moves is acceptable.
1781 2001-11-02  Aldy Hernandez  <aldyh@redhat.com>
1783         * builtins.c (apply_args_size): Handle vector arguments.
1784         (apply_result_size): Same.
1786         * machmode.def: Set WIDER mode field for all vector entries.
1788 2001-11-02  Graham Stott  <grahams@redhat.com>
1790         * recog.c (decode_asm_operands):  Check that the SRC is ASM_OPERANDS.
1792 2001-11-01  Eric Christopher  <echristo@redhat.com>
1794         * config.gcc: Revert part of earlier patch.
1795         * config/mips/linux.h: Ditto.
1796         * df.c: Include tm_p.h to avoid warnings.
1797         * config/mips/mips.h (ABI_GAS_ASM_SPEC): Add defaults.  Adjust
1798         #if/#endif.
1799         * config/mips/mips.c: Define mips_abi regardless.
1800         (mips_output_function_prologues): Add long casts for .frame
1801         output.
1802         (override_options): Allow use of ABI_32.
1804 2001-11-01  Kazu Hirata  <kazu@hxi.com>
1806         * config/m68hc11/m68hc11.c: Fix comment formatting.
1807         * config/m68hc11/m68hc11.h: Likewise.
1808         * config/m68hc11/m68hc11.md: Likewise.
1810 2001-11-01  Neil Booth  <neil@daikokuya.demon.co.uk>
1812         * c-typeck.c (default_conversion): Retain the original expression
1813         codes.
1814         * gcc.dg/Wparentheses.c: New tests.
1816 2001-11-01  David S. Miller  <davem@redhat.com>
1818         * doc/install.texi (Specific, sparc-sun-solaris2*): Bring
1819         64-bit Sparc description more in line with reality.
1821 2001-11-01  Joseph S. Myers  <jsm28@cam.ac.uk>
1823         * Makefile.in (GCOV_OBJS): Add version.o.
1824         * gcov.c: Include "version.h" and <getopt.h>.
1825         (gcov_version_string): Remove.
1826         (print_usage): Take a parameter to determine whether this is a
1827         call from --help or an error message.  Give fuller output that
1828         follows the GNU Coding Standards for --help.
1829         (print_version): New function.
1830         (options): New.
1831         (process_args): Use getopt_long.  Support long options.  Follow
1832         GNU Coding Standards for --help and --version.
1833         * doc/gcov.texi: Document long options.
1834         Addresses part of PR other/704.
1836 2001-11-01  John David Anglin  <dave@hiauly1.hia.nrc.ca>
1838         * pa.c (output_move_double): Fix typo in double load.
1840 2001-11-01  Kazu Hirata  <kazu@hxi.com>
1842         * config/h8300/h8300.c (h8300_encode_label): Compute a string
1843         before passing it to ggc_alloc_string.
1845 2001-11-01  Kazu Hirata  <kazu@hxi.com>
1847         * config/m68k/3b1.h: Fix comment formatting.
1848         * config/m68k/3b1g.h: Likewise.
1849         * config/m68k/a-ux.h: Likewise.
1850         * config/m68k/amix.h: Likewise.
1851         * config/m68k/apollo68.h: Likewise.
1852         * config/m68k/atari.h: Likewise.
1853         * config/m68k/aux-exit.c: Likewise.
1854         * config/m68k/ccur-GAS.h: Likewise.
1855         * config/m68k/crds.h: Likewise.
1856         * config/m68k/dpx2.h: Likewise.
1857         * config/m68k/dpx2g.h: Likewise.
1858         * config/m68k/hp310.h: Likewise.
1859         * config/m68k/hp320.h: Likewise.
1860         * config/m68k/isi.h: Likewise.
1861         * config/m68k/linux.h: Likewise.
1862         * config/m68k/lynx.h: Likewise.
1863         * config/m68k/m68k-psos.h: Likewise.
1864         * config/m68k/m68k.c: Likewise.
1865         * config/m68k/m68k.h: Likewise.
1866         * config/m68k/m68k.md: Likewise.
1867         * config/m68k/m68kelf.h: Likewise.
1868         * config/m68k/m68kv4.h: Likewise.
1869         * config/m68k/mot3300.h: Likewise.
1870         * config/m68k/news.h: Likewise.
1871         * config/m68k/next.h: Likewise.
1872         * config/m68k/pbb.h: Likewise.
1873         * config/m68k/plexus.h: Likewise.
1874         * config/m68k/sgs.h: Likewise.
1875         * config/m68k/sun3.h: Likewise.
1876         * config/m68k/tower.h: Likewise.
1877         * config/m68k/vxm68k.h: Likewise.
1879 2001-10-31  DJ Delorie  <dj@redhat.com>
1881         * config/mips/mips.h (mips_cache_flush_func): Prototype.
1882         (TARGET_OPTIONS): Support -mflush-func= and -mno-flush-func.
1883         (INITIALIZE_TRAMPOLINE): Use mips_cache_flush_func if nonzero.
1884         * config/mips/mips.c (mips_cache_flush_func): New.
1885         * doc/invoke.texi: Document the new options.
1887 2001-10-31  Hans-Peter Nilsson  <hp@axis.com>
1889         * config.gcc (cris-*-linux*, tm_file): Rearrange order.
1890         * config/cris/linux.h (LIB_SPEC, STARTFILE_SPEC): Don't redefine.
1892         * config/cris/cris.h (EH_RETURN_DATA_REGNO): Fix formatting.
1894         * config/cris/cris.c: Include output.h after tree.h but before
1895         target.h.
1897 2001-10-31  Zack Weinberg  <zack@codesourcery.com>
1899         * Makefile.in (INTL_TARGETS, POSUB): Delete all references.
1900         (INTL_SUBDIRS): Just intl.
1901         (.SUFFIXES): Add .gmo .po .pox.
1902         (native): Also depend on build-@POSUB@.
1903         (intl.all, intl.install): Depend on config.h and things it includes.
1904         (po-generated): New target; depend on c-parse.c and tradcif.c.
1905         (install-normal): Also depend on install-@POSUB@.
1906         (XGETTEXT, GMSGFMT, MSGMERGE, PACKAGE, CATALOGS): New variables.
1907         (build-, install-, build-po, update-po, install-po,
1908         .po.gmo, .po.pox, $(PACKAGE).pot, po/$(PACKAGE).pot): New rules.
1910         * aclocal.m4: Prefix each entry in CATALOGS with "po/"
1911         * configure.in: Don't munge XGETTEXT.  Don't generate
1912         po/Makefile.in.
1913         * configure: Regenerate.
1915         * exgettext: Delete.
1916         * config/m68k/m68k.h: Add doc strings for -msky and -mnosky.
1917         * objc/Make-lang.in: Replace $(INTL_TARGETS) with po-generated.
1919 2001-10-31  Kazu Hirata  <kazu@hxi.com>
1921         * config/h8300/h8300.md (two anonymous patterns): New.
1923 2001-10-31  Aldy Hernandez  <aldyh@redhat.com>
1925         * tree.h (tree_index): Add support for V16QI and V8HI.
1926         (V8HI_type_node): New.
1927         (V16QI_type_node): New.
1929         * tree.c (build_common_tree_nodes_2): Same.
1931         * c-common.c (type_for_mode): Same.
1933 2001-10-31  Kazu Hirata  <kazu@hxi.com>
1935         * config/i386/att.h: Fix comment formatting.
1936         * config/i386/beos-elf.h: Likewise.
1937         * config/i386/bsd.h: Likewise.
1938         * config/i386/bsd386.h: Likewise.
1939         * config/i386/crtdll.h: Likewise.
1940         * config/i386/cygwin.asm: Likewise.
1941         * config/i386/cygwin.h: Likewise.
1942         * config/i386/djgpp.h: Likewise.
1943         * config/i386/freebsd-aout.h: Likewise.
1944         * config/i386/freebsd.h: Likewise.
1945         * config/i386/gas.h: Likewise.
1946         * config/i386/i386-interix.h: Likewise.
1947         * config/i386/i386-protos.h: Likewise.
1948         * config/i386/i386.c: Likewise.
1949         * config/i386/i386.h: Likewise.
1950         * config/i386/i386.md: Likewise.
1951         * config/i386/i386elf.h: Likewise.
1952         * config/i386/interix.c: Likewise.
1953         * config/i386/isc.h: Likewise.
1954         * config/i386/isccoff.h: Likewise.
1955         * config/i386/iscdbx.h: Likewise.
1956         * config/i386/linux.h: Likewise.
1957         * config/i386/lynx.h: Likewise.
1958         * config/i386/mingw32.h: Likewise.
1959         * config/i386/netbsd-elf.h: Likewise.
1960         * config/i386/next.h: Likewise.
1961         * config/i386/osf1elf.h: Likewise.
1962         * config/i386/osfrose.h: Likewise.
1963         * config/i386/sco5.h: Likewise.
1964         * config/i386/seq-gas.h: Likewise.
1965         * config/i386/seq-sysv3.h: Likewise.
1966         * config/i386/sequent.h: Likewise.
1967         * config/i386/sol2.h: Likewise.
1968         * config/i386/sun386.h: Likewise.
1969         * config/i386/uwin.asm: Likewise.
1970         * config/i386/uwin.h: Likewise.
1971         * config/i386/vxi386.h: Likewise.
1972         * config/i386/win32.h: Likewise.
1973         * config/i386/winnt.c: Likewise.
1974         * config/i386/xm-cygwin.h: Likewise.
1975         * config/i386/xm-mingw32.h: Likewise.
1977 2001-10-31  Kazu Hirata  <kazu@hxi.com>
1979         * builtins.def: Fix comment typos.
1980         * config/alpha.c: Likewise.
1981         * config/arm/arm.c: Likewise.
1982         * config/avr/avr.h: Likewise.
1983         * config/d30v/d30v.c: Likewise.
1984         * config/d30v/d30v.h: Likewise.
1985         * config/d30v/d30v.md: Likewise.
1986         * config/dsp16xx/dsp16xx.c: Likewise.
1987         * config/fr30/fr30.c: Likewise.
1988         * config/fr30/fr30.md: Likewise.
1989         * config/i386/i386.c: Likewise.
1990         * config/i860/i860.c: Likewise.
1991         * config/i960/i960.c: Likewise.
1992         * config/ia64/ia64.c: Likewise.
1993         * config/mips/mips.c: Likewise.
1994         * config/pa/pa.c: Likewise.
1995         * config/rs6000/rs6000.c: Likewise.
1996         * config/s390/s390.c: Likewise.
1997         * config/sparc/sparc.c: Likewise.
1999 2001-10-30  Kazu Hirata  <kazu@hxi.com>
2001         * config/mips/elf.h: Fix comment formatting.
2002         * config/mips/elf64.h: Likewise.
2003         * config/mips/iris5.h: Likewise.
2004         * config/mips/iris5gas.h: Likewise.
2005         * config/mips/iris6.h: Likewise.
2006         * config/mips/isa3264.h: Likewise.
2007         * config/mips/linux.h: Likewise.
2008         * config/mips/mips.c: Likewise.
2009         * config/mips/mips.h: Likewise.
2010         * config/mips/mips.md: Likewise.
2011         * config/mips/mips16.S: Likewise.
2012         * config/mips/netbsd.h: Likewise.
2013         * config/mips/osfrose.h: Likewise.
2014         * config/mips/r3900.h: Likewise.
2015         * config/mips/sni-svr4.h: Likewise.
2016         * config/mips/svr4-t.h: Likewise.
2017         * config/mips/ultrix.h: Likewise.
2019 2001-10-30  Daniel Berlin  <dan@cgsoftware.com>
2021         * bitmap.c (bitmap_element_free): Don't forget to update head->indx
2022         when we update head->current.
2024 2001-10-30  Neil Booth  <neil@daikokuya.demon.co.uk>
2026         * tree.c (id_string_size): Remove.
2027         (dump_tree_statistics): Update.
2028         * toplev.c (compile_file): If dumping stats, dump tree stats too.
2030 Tue Oct 30 19:00:43 CET 2001  Jan Hubicka  <jh@suse.cz>
2032         * sched-rgn.c (schedule_insns): Fix comment.
2034 2001-10-30  Zack Weinberg  <zack@codesourcery.com>
2036         * configure.in: Correct previous change: don't assume that
2037         gas's version number _isn't_ the last thing on the line, or
2038         isn't the only number on the line, either.
2039         * configure: Regenerate.
2041 2001-10-30  Kazu Hirata  <kazu@hxi.com>
2043         * cfgcleanup.c: Fix a comment typo.
2045 2001-10-30  Kazu Hirata  <kazu@hxi.com>
2047         * alias.c: Fix comment formatting.
2048         * recog.c: Likewise.
2049         * config/cris/cris.c: Likewise.
2050         * config/cris/cris.h: Likewise.
2051         * config/i960/i960.c: Likewise.
2052         * config/i960/i960.h: Likewise.
2054 2001-10-30  Kazu Hirata  <kazu@hxi.com>
2056         * config/arm/arm.c: Fix a comment typo.
2057         * config/arm/arm.h: Likewise.
2058         * config/ia64/ia64.c: Likewise.
2060 2001-10-30  Jakub Jelinek  <jakub@redhat.com>
2062         * emit-rtl.c (set_unique_reg_note): Don't create REG_EQUAL or
2063         REG_EQUIV notes for ASM_OPERANDS.  Return the new note (if any).
2064         * rtl.h (set_unique_reg_note): Change return value.
2065         * gcse.c (try_replace_reg): Use set_unique_reg_note.
2066         * cse.c (cse_insn): Likewise.
2067         * expr.c (emit_move_insn): Likewise.
2068         * explow.c (force_reg): Likewise.
2069         * local-alloc (update_equiv_regs): Likewise.
2070         * loop.c (move_moveables, load_mems): Likewise.
2071         * reload (find_reloads): Likewise.
2073 2001-10-30  Paolo Bonzini  <bonzini@gnu.org>
2075         Localization fixes.
2076         * c-decl.c (parmlist_tags_warning, start_struct,
2077         check_for_loop_decls): Separate messages for struct, union and
2078         enum cases to allow for languages in which they have different
2079         genders.
2080         * c-format.c (scanf_flag_specs): Separate short and long name of
2081         the assignment suppression feature.
2082         (check_format_types): Localize "pointer" and "different types"
2083         strings.
2084         * c-lex.c (lex_number): Localize "an unsigned long int" and
2085         related strings.
2086         (lex_string) [MULTIBYTE_CHARS]: Use initial lowercase letter on
2087         warning message.
2088         * c-typeck.c (build_unary_up): Separate messages for increment and
2089         decrement cases to allow for languages in which they use different
2090         articles.  Localize the strings "increment" and "decrement" in one
2091         case.
2093 Tue Oct 30 11:08:11 CET 2001  Jan Hubicka  <jh@suse.cz>
2095         * lcm.c (optimize_mode_switching):  Do not rebuild liveness information
2096         when no changes has been made.
2098         * gcse.c (reg_set_bitmap): Turn into reg_set.
2099         (modify_mem_list_set, canon_modify_mem_list_set)
2100         (clear_modify_mem_tables, free_modify_mem_tables): New.
2101         (gcse_main); Use free_modify_mem_tables.
2102         (free_gcse_mem): Likewise; free the bitmaps.
2103         (alloc_gcse_main): Initialize the bitmaps.
2104         (canon_list_insert): Set canon_modify_mem_list_set.
2105         (record_last_mem_set_info): Likewise; set modify_mem_list_set.
2106         (compute_hash_table): Use clear_modify_mem_tables.
2107         (reset_opr_set_tables): Likewise.
2108         (oprs_not_set_p): reg_set_bitmap is regset.
2109         (mark_set, mark_clobber): Likewise.
2111         * df.h (DF_EQUIV_NOTES): New constant.
2112         (df_insn_refs_record): Record uses inside or REG_EQUIV/EQUAL notes
2113         when asked for.
2115         * sched-rgn.c (CHECK_DEAD_NOTES): New constant.
2116         (init_regions, schedule_insns): Conditionalize the checking
2117         code by CHECK_DEAD_NOTES; avoid multiple calls to update_life_info.
2119 Tue Oct 30 11:02:31 CET 2001  Jan Hubicka  <jh@suse.cz>
2121         * i386.md (movti_rex64 splitter): Fix condition.
2123 2001-10-29  Zack Weinberg  <zack@codesourcery.com>
2125         * configure.in: Do not assume that gas's version number is the
2126         last thing on the first line of as --version output.
2127         * configure: Regenerate.
2129         * tradcpp.c: Include intl.h.  Rename WARNING, ERROR, FATAL to
2130         MT_WARNING, MT_ERROR, MT_FATAL.
2131         (main): Call gcc_init_libintl.
2132         (v_message): Call gettext on msgid and "warning: "
2133         * tradcif.y: Include intl.h.
2134         (yyerror): Make parameter definition consistent with
2135         prototype.  Call gettext on msgid argument.
2137 2001-10-29  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2139         * combine.c (num_sign_bit_copies): Avoid signed/unsigned
2140         warnings.
2142         * sparc/sol2.h: Include <sys/mman.h> when L_trampoline is defined.
2144 Mon Oct 29 19:22:07 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
2146         * reload1.c (eliminate_regs): Test for reg_renumber being allocated
2147         before referencing it.
2149 2001-10-26  DJ Delorie  <dj@redhat.com>
2151         * config/rs6000/sysv4.h (LINK_SPEC): Allow -msdata=none to
2152         override -G, and force -G0.
2154 2001-10-29  Joseph S. Myers  <jsm28@cam.ac.uk>
2156         * ChangeLog.2, ChangeLog.3, ChangeLog.4, FSFChangeLog.10,
2157         FSFChangeLog.11, c-common.c, c-common.def, c-common.h, c-decl.c,
2158         c-dump.c, c-typeck.c, except.c, sdbout.c, simplify-rtx.c,
2159         timevar.h, tree.h, varasm.c: Fix spelling errors and typos.
2161         * loop.h (struct induction): Rename ext_dependant to
2162         ext_dependent.
2163         * loop.c: Change all uses.
2164         (check_ext_dependant_givs): Rename to check_ext_dependent_givs.
2165         All callers changed.
2166         * timevar.c (DEFTIMEVAR): Fix spelling of identifier__ parameter.
2168 2001-10-29  Joseph S. Myers  <jsm28@cam.ac.uk>
2170         * c-parse.in (expr_no_commas, primary), c-typeck.c
2171         (parser_build_binary_op): Use IS_EXPR_CODE_CLASS.
2173 2001-10-29  David Edelsohn  <edelsohn@gnu.org>
2175         Undo assemble_name change in earlier patch.
2177 Mon Oct 29 21:11:40 2001  Nicola Pero  <n.pero@mi.flashnet.it>
2179         * objc/objc-act.c (finish_message_expr): For the GNU runtime: when
2180         determining the type of the receiver, do not check that TREE_CODE
2181         of receiver is CALL_EXPR before calling receiver_is_class_object().
2182         (receiver_is_class_object): For the GNU runtime: recognize
2183         the case that the receiver is self in a class method context.
2184         Check that TREE_CODE of receiver is CALL_EXPR when checking that
2185         the receiver is a call to objc_get_class.
2187 2001-10-29  John David Anglin  <dave@hiauly1.hia.nrc.ca>
2189         * pa.md (floatunssisf2): Set subreg 0 of operand 2 to zero.
2191 Mon Oct 29 07:23:33 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
2193         * Makefile.in (OBJS): Put all files in alphabetical order.
2195         * dwarf2out.c (add_const_value_attribute): Fix error in last
2196         change.
2198 Mon Oct 29 12:43:06 CET 2001  Jan Hubicka  <jh@suse.cz>
2200         * basic-block.h (purge_all_dead_edges): Add update_life_p argument.
2201         * cfgcleanup.c (merge_blocks): Update the life flag after merging;
2202         fix warning.
2203         * cfgrtl.c (purge_all_dead_edges): Allow updating of liveness.
2204         (life_analysis): call purge_all_dead_edges after deleting noops.
2205         (delete_noop_move): Do not purge CFG.
2206         * toplev.c (rest_of_compilation): Update purge_all_dead_edges call.
2208 2001-10-28  David Edelsohn  <edelsohn@gnu.org>
2210         * config/rs6000/aix31.h (ASM_OUTPUT_EXTERNAL): Use assemble_name.
2211         * config/rs6000/darwin.h (RS6000_OUTPUT_BASENAME): Delete.
2212         (ASM_GLOBALIZE_LABEL): Use assemble_name.
2213         (ASM_OUTPUT_COMMON): Likewise.
2214         * config/rs6000/rs6000.c (print_operand): Use assemble_name.
2215         (rs6000_output_function_epilogue): Likewise.
2216         (output_mi_thunk): Fix typo.
2217         (rs6000_output_symbol_ref): Use assemble_name.
2218         (output_toc): Likewise.
2219         * config/rs6000/sysv4.h (RS6000_OUTPUT_BASENAME): Delete.
2220         * config/rs6000/xcoff.h (RS6000_OUTPUT_BASENAME): Delete;
2221         assemble_name calls STRIP_NAME_ENCODING.
2222         (ASM_OUTPUT_LABEL): Use assemble_name.
2223         (ASM_GLOBALIZE_LABEL): Likewise.
2224         (ASM_DECLARE_FUNCTION_NAME): Likewise.
2225         (ASM_OUTPUT_ALIGNED_COMMON): Indent pseudo-op.  Use assemble_name.
2226         (ASM_OUTPUT_LOCAL): Likewise.
2228 Sun Oct 28 15:45:16 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
2230         * builtins.c (get_memory_rtx): Handle POINTERS_EXTEND_UNSIGNED case.
2231         (expand_builtin_apply, expand_builtin_return): Likewise.
2232         (expand_builtin_va_arg, expand_builtin_va_copy): Likewise.
2234 2001-10-28  Joseph S. Myers  <jsm28@cam.ac.uk>
2236         * ChangeLog.0, ChangeLog.1, ChangeLog.2, ChangeLog.3, ChangeLog.4,
2237         ChangeLog.5, ChangeLog, FSFChangeLog.10, FSFChangeLog.11,
2238         c-common.c, c-common.h, c-parse.in, c-typeck.c, cfg.c, config.gcc,
2239         configure, configure.in, except.c, except.h, flow.c, function.c,
2240         gcc.c, gcse.c, genrecog.c, libgcc2.c, loop.c, loop.h, params.def,
2241         predict.def, predict.h, reg-stack.c, regmove.c, sched-deps.c,
2242         sched-int.h, sibcall.c, ssa.c, stringpool.c, toplev.c, tree.c,
2243         unroll.c: Fix spelling errors.
2245         * doc/extend.texi, doc/invoke.texi: Fix spelling.
2247         * doc/gcc.texi: Document use of "dependent" and American spelling.
2249 Sun Oct 28 17:05:36 CET 2001  Jan Hubicka  <jh@suse.cz>
2251         * expr.c (emit_group_load): Support CONCATs by storing them to memory
2252         and reloading.
2254 Sun Oct 28 09:59:54 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
2256         * expr.c (store_constructor_field): Only call adjust_address on MEM.
2258 Sun Oct 28 16:48:09 CET 2001  Jan Hubicka  <jh@suse.cz>
2260         * genrecog.c (write_switch):  Output if before switch for
2261         DT_elt_zero_wide_safe.
2263 2001-10-28  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2265         * Makefile.in (toplev.o, halfpic.o): Depend on halfpic.h
2266         * i386/osfrose.h (SUBTARGET_SWITCHES): Add missing comma.
2267         (FUNCTION_PROFILER): Const-ify.
2268         * halfpic.c: Include "expr.h", "output.h" and "halfpic.h".
2269         (eliminate_constant_term, assemble_name, output_addr_const):
2270         Remove declarations.
2271         (ptr_half_pic_address_p, half_pic_hash): Prototype.
2272         (all_refs, half_pic_prefix, half_pic_hash, half_pic_declare,
2273         half_pic_external, half_pic_address_p, half_pic_ptr): Const-ify.
2274         * halfpic.h (ptr_half_pic_address_p, half_pic_finish): Prototype.
2275         (half_pic_declare, half_pic_external): Const-ify.
2276         * toplev.c: Include "halfpic.h".
2278 2001-10-28  Joseph S. Myers  <jsm28@cam.ac.uk>
2280         * config/alpha/alpha.md, config/arm/arm.c, config/arm/arm.h,
2281         config/d30v/d30v.h, config/fr30/fr30.c, config/i370/x-oe,
2282         config/i386/i386.c, config/i386/i386-interix.h,
2283         config/i386/i386.md, config/i386/i386.h, config/i386/sco5.h,
2284         config/i860/i860.h, config/i860/i860.md, config/m68k/aux-exit.c,
2285         config/m68k/m68k.c, config/mcore/mcore.c, config/mips/mips.md,
2286         config/ns32k/ns32k.h, config/pa/pa.c, config/rs6000/rs6000.c,
2287         config/sparc/sparc.c, config/m68hc11/m68hc11.c,
2288         config/cris/cris.c, config/cris/cris.h, config/s390/s390.c,
2289         config/s390/s390.h, config/stormy16/stormy16.h, doc/tm.texi: Fix
2290         spelling errors.
2292         * ChangeLog.0, ChangeLog.1, ChangeLog.2, ChangeLog.3, ChangeLog.4,
2293         ChangeLog.5, ChangeLog, ChangeLog.lib, FSFChangeLog.10, ONEWS,
2294         c-common.c, caller-save.c, cfg.c, cfgcleanup.c, cfgrtl.c,
2295         collect2.c, df.h, diagnostic.h, final.c, gcse.c, gthr.h,
2296         haifa-sched.c, jump.c, local-alloc.c, profile.c, protoize.c,
2297         regmove.c, reload1.c, rtlanal.c, sched-vis.c, ssa.c, stmt.c,
2298         system.h, toplev.c: Fix spelling errors.
2300 Sat Oct 27 17:32:04 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
2302         * gcse.c (insert_insn_end_bb): Don't assume PAT is a SET.
2304         * dwarf2out.c (reg_number): Abort if pseudo.
2305         (reg_loc_descriptor): Return 0 if pseudo.
2306         (is_based_loc): Return 0 if pseudo.
2307         (mem_loc_descriptor): Return 0 for pseudo and handle 0 return from
2308         recursive calls.
2309         (concat_loc_descriptor): Return 0 if either part's descriptor is 0.
2310         (loc_descriptor): Return 0 if can't find location and handle 0
2311         return from recursive calls.
2312         (loc_descriptor_from_tree): Likewise.
2313         Fix handling of indirect.
2314         Also return 0 for PLACEHOLDER_EXPR.
2315         Clean up COMPONENT_REF cases.
2316         (add_AT_location_descriptor): Simplify, but handle 0 return from
2317         loc_descriptor.
2318         (add_const_value_attribute): Avoid shift count warning.
2319         (add_bound_info): Remove test for PLACEHOLDER_EXPR here.
2320         Set comp_unit_die as context if not in function.
2322         * config/mips/mips-protos.h: Break up long lines.
2323         Remove needless #ifdef/#endif blocks.
2324         Don't declare functions declared in file made by genpreds or recog.h.
2325         * config/mips/mips.c (mips_output_function_prologue): TSIZE
2326         is now HOST_WIDE_INT; delete unneeded casts.
2327         * config/mips/mips.h: Don't use #elif.
2329         * expr.c (stor_constructor_field): Always call adjust_address.
2330         Copy TARGET before changing its alias set.
2331         (store_field): Likewise, for TO_RTX.
2332         (get_inner_reference): Stop at PLACEHOLDER_EXPR if can't find
2333         replacement.
2334         (safe_from_p, case ADDR_EXPR): Properly check for conflict.
2335         (find_placeholder): Return 0 if can't find object.
2336         (expand_expr, case PLACEHOLDER_EXPR): Abort if find_placeholder
2337         returns 0.
2339 Sat Oct 27 16:31:23 CEST 2001  Jan Hubicka  <jh@suse.cz>
2341         * ifcvt.c (if_convert): Call clear_aux_for_blocks.
2343 Sat Oct 27 12:12:09 CEST 2001  Jan Hubicka  <jh@suse.cz>
2345         * cfgcleanup.c (merge_blocks_move_predecessor_nojumps,
2346         merge_blocks_move_successors_nojumps): Set BB_UPDATE_LIFE.
2347         (merge_blocks): Properly udpate life after making edge nonfallthru.
2348         * cfgrtl.c (merge_blocks_nomove): Update global_live_at_end.
2350 2001-10-26  Kazu Hirata  <kazu@hxi.com>
2352         * config/h8300/h8300.c (get_shift_alg): Remove redundant code.
2354 2001-10-26  Neil Booth  <neil@daikokuya.demon.co.uk>
2356         * c-typeck.c (convert_arguments): When comparing for enumeral
2357         type equality, use TYPE_MAIN_VARIANT.
2358         * gcc.dg/Wconversion.c: New tests.
2360 2001-10-26  Kazu Hirata  <kazu@hxi.com>
2362         * s390/s390.c: Fix comment typos.
2363         * s390/s390.h: Likewise.
2364         * s390/s390.md: Likewise.
2366 2001-10-26  Alexandre Oliva  <aoliva@redhat.com>
2368         * tree-inline.c (WALK_SUBTREE_TAIL): New macro.
2369         (walk_tree): Use it for tail calls where appropriate.
2371 2001-10-26  Alexandre Oliva  <aoliva@redhat.com>
2373         * cse.c (check_for_label_ref): Don't require REG_LABEL notes for
2374         non-local label_refs.
2376 2001-10-26  Kazu Hirata  <kazu@hxi.com>
2378         * config/h8300/h8300.md (4 anonymous patterns): New.
2380 2001-10-26  Kazu Hirata  <kazu@hxi.com>
2382         * config/h8300/h8300.c (get_shift_alg): Clean up.  Return the
2383         algorithm through the shift_info structure.
2384         (emit_a_shift): Update the use of get_shift_alg.
2386 2001-10-27  Daniel Berlin  <dan@cgsoftware.com>
2388         * sched-rgn.c: Remove bitset typedef.
2389         Change bitset to sbitmap in prototypes / variable types.
2390         Remove bbset_size.
2391         Remove edgeset_bits.
2392         Remove edgeset_size.
2393         s/BITSET_ADD/SET_BIT/g
2394         s/BITSET_INVERT/sbitmap_ones/g
2395         s/BITSET_INTER/sbitmap_a_and_b/g
2396         s/BITSET_UNION/sbitmap_a_or_b/g
2397         s/BITSET_DIFFER/sbitmap_difference/g
2398         s/bitset_member/TEST_BIT/g
2399         (BITSET_*): Removed.
2400         (bitset_member): Removed.
2401         (extract_bitlst): Rewrite, now that we have sbitmaps, we can use
2402         EXECUTE_IF_SET_IN_SBITMAP.
2403         (split_edges): Rewrite, use sbitmap functions instead of bitset
2404         operations.
2405         (schedule_region): Allocate/free sbitmaps, rather than bitsets.
2407 2001-10-26  Andreas Schwab  <schwab@suse.de>
2409         * reload1.c (emit_input_reload_insns): Fix parens in last
2410         (undocumented) change that was supposed to change only whitespace.
2412 Fri Oct 26 07:18:08 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
2414         * cfgcleanup.c (BB_SET_FLAG, BB_CLEAR_FLAG): Add cast to avoid warning.
2416         * local-alloc.c (update_equiv_regs): Don't make REG_EQUAL note for
2417         ASM_OPERANDS.
2419 2001-10-26  Andreas Jaeger  <aj@suse.de>
2421         * flow.c (clear_log_links): Remove unused variable.
2422         * cfgcleanup.c (cleanup_cfg): Likewise.
2424 2001-10-26  Alexandre Oliva  <aoliva@redhat.com>
2426         * tree-inline.c (remap_decl): Don't copy size and size_unit here.
2427         (remap_save_expr): Map a remapped SAVE_EXPR to error_mark_node.
2429 2001-10-26  Richard Henderson  <rth@redhat.com>
2431         * config/alpha/alpha.h (enum reg_class): Add R24_REG, R25_REG;
2432         rename PV_REG to R27_REG.
2433         (REG_CLASS_CONTENTS, REGNO_REG_CLASS): Update.
2434         (REG_CLASS_FROM_LETTER): Update.
2435         (PREFERRED_RELOAD_CLASS): Don't widen a reg class.
2436         * config/alpha/alpha.md (divsi3): Don't hard-code r24, r25, r27.
2437         (udivsi3, modsi3, umodsi3): Likewise.
2438         (divdi3, udivdi3, moddi3, umoddi3): Likewise.
2440 2001-10-26  Richard Henderson  <rth@redhat.com>
2442         * cfg.c (clear_aux_for_blocks): Split out of ...
2443         (free_aux_for_blocks): here.
2444         (clear_aux_for_edges): Split from ...
2445         (free_aux_for_edges): here.
2446         * basic-block.h: Declare them.
2447         * lcm.c (compute_antinout_edge): Use them.
2448         (compute_laterin, compute_available, compute_nearerout): Likewise.
2449         (optimize_mode_switching): Likewise.
2451 2001-10-26  Richard Henderson  <rth@redhat.com>
2453         * Makefile.in (unstage*): Remove as, ld, collect-ld before
2454         moving everything back to the main build directory.
2456 2001-10-26  Christopher Faylor  <cgf@redhat.com>
2458         * config/i386/cygwin.h: Search target specific include directory, if
2459         appropriate.
2461 2001-10-25  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2463         * dwarf2out.c (PTR_SIZE, default_eh_frame_section): Move outside
2464         of macro guards. Fix #endif comment.
2466         * output.h (default_exception_section, default_eh_frame_section):
2467         Move prototypes outside of macro guard.
2469         * crtstuff.c: Fix #endif comment.
2471 Thu Oct 25 12:21:58 2001  Jeffrey A Law  (law@cygnus.com)
2473         * doc/md.texi (movMM): Clarify semantics of storing into a
2474         non-paradoxical SUBREG.
2476 2001-10-25  Zack Weinberg  <zack@codesourcery.com>
2478         * langhooks.c (lang_hook_default_clear_binding_stack): New.
2479         (lang_hook_default_get_alias_set): Move next to other alias
2480         hooks.
2481         * langhooks.h: Prototype lang_hook_default_clear_binding_stack.
2482         (LANG_HOOKS_CLEAR_BINDING_STACK): New macro.
2483         (LANG_HOOKS_INITIALIZER): Add it.
2484         * toplev.h (struct lang_hooks): Add clear_binding_stack.
2485         * toplev.c (compile_file):  Call lang_hooks.clear_binding_stack
2486         instead of a loop calling poplevel.
2488 2001-10-25  Nick Clifton  <nickc@cambridge.redhat.com>
2490         * config/mips/isa3264.h (SUBTARGET_CPP_SIZE_SPEC): Replace
2491         occurrences of #elif with #if...#endif.
2493 2001-10-25  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2495         * cris.h (EH_RETURN_DATA_REGNO): Fix unsigned>=0 warning.
2497 Thu Oct 25 08:46:06 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
2499         * alias.c (can_address_p): No longer static.
2500         * emit-rtl.c (get_mem_attrs): New parameter, MODE; all callers changed.
2501         Return 0 if all parameters are default values.
2502         (set_mem_attributes): Set MEM_KEEP_ALIAS_SET_P.
2503         (adjust_address_1): Try harder to compute a size.
2504         * expr.c (expand_assignment, store_constructor): If can't address,
2505         set MEM_KEEP_ALIAS_SET_P.
2506         (store_constructor_field): Don't change set if MEM_KEEP_ALIAS_SET_P.
2507         (store_field): Likewise.
2508         (store_constructor): Simplify call to store_constructor_field.
2509         * expr.h (can_address_p): New declaration.
2510         * gensupport.c (gen_rtx_CONST_INT): New function.
2511         * rtl.h (MEM_KEEP_ALIAS_SET_P): New macro.
2512         (MEM_SIZE): Get size from mode, if not set and not BLKmode.
2513         (MEM_COPY_ATTRIBUTES): Copy MEM_KEEP_ALIAS_SET_P.
2515         * stmt.c (expand_end_case): Remove orig_minval and use tree_low_cst.
2517 2001-10-24  Christopher Faylor  <cgf@redhat.com>
2519         * config/i386/cygwin.h: Use proper path for mingw crt files when
2520         -mno-cygwin.
2522 Wed Oct 24 18:43:42 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
2524         * dwarf2out.c (file_info_cmp): Always return consistent results.
2526 2001-10-24  Roger Sayle <roger@eyesopen.com>
2528         * stmt.c (expand_end_case): Index jumptables from zero for
2529         suitably small values of minval.
2531 2001-10-24  Jakub Jelinek  <jakub@redhat.com>
2533         * stor-layout.c (place_union_field): If any field was aligned with
2534         attribute aligned, set record type's TYPE_USER_ALIGN.
2535         (place_field): Likewise.
2536         (finalize_record_size): Don't clear TYPE_USER_ALIGN.
2537         (layout_type) [ARRAY_TYPE]: Copy element's TYPE_USER_ALIGN.
2539 2001-10-24  Zack Weinberg  <zack@codesourcery.com>
2541         * c-common.h (struct c_common_identifier): Remove rid_code field.
2542         (C_RID_CODE): Use ->node.rid_code instead of ->rid_code.
2544         * c-typeck.c (constructor_designated): New local flag.
2545         (struct constructor_stack): Add "designated" field to match.
2546         (start_init): Clear it.
2547         (really_start_incremental_init, push_init_level): Push and
2548         clear it.
2549         (pop_init_level): Pop it.
2550         (set_designator): Set it.
2552         (pop_init_level): Suppress "missing initializer" warnings if
2553         constructor_designated is true.
2554         (process_init_element): Suppress warning about union
2555         initialization under traditional C, if constructor_designated
2556         is true.
2558 Wed Oct 24 15:35:38 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
2560         * integrate.c (copy_rtx_and_substitute, case CALL): Fix error in last
2561         change.
2563 Wed Oct 24 13:26:12 2001  Jeffrey A Law  (law@cygnus.com)
2565         * h8300.h (RETURN_ADDR_RTX): Remove old, incorrect definition.
2567 2001-10-24  Dan Nicolaescu  <dann@ics.uci.edu>
2569         * ssa-ccp.c (ssa_ccp_substitute_constants): Don't do anything if
2570         the node was already a set to a constant.
2572 Wed Oct 24 12:41:19 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
2574         * emit-rtl.c (set_mem_attributes): Fix typo in last change.
2575         * print-rtl.c (print_rtx, case MEM): Improve display of MEM_DECL.
2577 2001-10-24  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2579         * s390/linux.h (ASM_OUTPUT_BYTE): Fix format specifier warnings.
2580         (ASM_OUTPUT_ASCII): Const-ify.  Fix signed/unsigned warning.
2581         (ASM_OUTPUT_MI_THUNK): Fix format specifier warnings.
2582         * s390.c (s390_final_chunkify): Don't use string concatenation.
2583         (s390_function_prologue, s390_function_epilogue): Const-ify.
2584         * s390.h (FUNCTION_PROFILER): Remove unused variable.
2586 2001-10-24  Jakub Jelinek  <jakub@redhat.com>
2588         * c-decl.c (finish_decl): Don't add DECL_STMTs for nested function
2589         prototypes.
2591 2001-10-23  Stan Shebs  <shebs@apple.com>
2593         * config/rs6000/x-darwin: Use -no-cpp-precomp instead of
2594         -traditional-cpp in first-stage compilation.
2596 Tue Oct 23 21:45:40 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
2598         * gensupport.c (target_flags): Add.
2600 Tue Oct 23 13:05:53 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.
2602         * builtins.c (expand_builtin_setjmp): Only call convert_memory_address
2603         if needed.
2604         (expand_builtin_longjmp, expand_builtin_alloca): Likewise.
2605         * except.c (expand_builtin_frob_return_addr): Likewise.
2606         (expand_builtin_eh_return): Likewise.
2607         * stmt.c (expand_computed_goto): Likewise.
2608         * explow.c (memory_address): Likewise.
2609         (allocate_dynamic_stack_space): Clean up predicate testing.
2610         (probe_stack_range): Convert SIZE to Pmode.
2611         * calls.c (rtx_for_function_call): Only call convert_memory_address
2612         if needed.
2613         Pass function call operand as ptr_mode, not Pmode.
2614         * expr.c (expand_assignment): Clean up calls to convert_memory
2615         address by only doing so when needed and making offsets Pmode.
2616         (store_constructor, expand_expr, expand_expr_unaligned): Likewise.
2617         * function.c (assign_parms): Ensure address in MEM for RESULT_DECL
2618         is in Pmode, not ptr_mode.
2620 2001-10-23  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2622         * darwin-protos.h (constructor_section, destructor_section,
2623         mod_init_section, mod_term_section): Prototype.
2624         * darwin.c (machopic_finish, update_non_lazy_ptrs, update_stubs):
2625         Const-ify.
2626         * darwin.h (ASM_DECLARE_OBJECT_NAME, ASM_DECLARE_FUNCTION_NAME):
2627         Likewise.
2628         (SECTION_FUNCTION): Prototype `FUNCTION'.  Delete
2629         objc_section_init declaration.
2630         (EXTRA_SECTION_FUNCTIONS): Prototype objc_section_init.
2631         (objc_section_init, try_section_alias): Make static.
2632         (alias_section): Make static and hide unused function.
2633         (ASM_GENERATE_INTERNAL_LABEL): Fix format specifier warning.
2635 Tue Oct 23 13:05:53 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
2637         * alias.c (can_address_p): Compnonents are not addressable if
2638         the containing type has alias set 0.
2639         (get_alias_set): Rework to use STRIP_NOPS.
2640         Only call front-end routine on object, type, or object with
2641         NOPs stripped, not inner values.
2642         Use language hook to call front-end routine.
2643         * builtins.c (get_memory_rtx): Always call set_mem_attributes.
2644         (expand_builtin_apply): Call set_mem_align on MEMs we make.
2645         Don't pass alignment to emit_block_move.
2646         (expand_builtin_memcpy, expand_builtin_va_copy): Likewise.
2647         (expand_builtin_memset): Likewise, but for clear_storage.
2648         * c-common.c (lang_get_alias_set): Renamed to c_common_alias_set
2649         and remove C++ specific parts.
2650         * c-common.h (c_common_get_alias_set): Add declaration.
2651         * c-lang.c (LANG_HOOKS_GET_ALIAS_SET): New macro.
2652         * calls.c (emit_call_1): Fix typo in sibcall_pop case.
2653         (save_fixed_argument_area): Call set_mem_align.
2654         Remove alignment in call to emit_block_move.
2655         (emit_library_call_value_1, store_one_arg): Likewise.
2656         (target_for_arg): Remove; disabled long ago.
2657         * emit-rtl.c (set_mem_attributes): Rework to only call get_mem_attrs
2658         once and similar cleanups.
2659         (offset_address): Use proper introductory comment.
2660         * expr.c (emit_block_move): Use alignment from that of MEM args, not
2661         from explicit operand; all callers changed.
2662         (clear_storage): Likewise.
2663         (expand_assignment): Don't call set_mem_alias_set on to_rtx.
2664         (store_field): Remove kludge on alias set used for to_rtx.
2665         (highest_pow2_factor, case *_DIV_EXPR): Never return 0.
2666         (expand_expr_unaligned): Call set_mem_attributes instead of
2667         set_mem_alias_set.
2668         * expr.h (emit_block_move, clear_storage): Remove ALIGN argument.
2669         * function.c (assign_stack_temp_for_type): Set MEM alignment.
2670         (expand_function_end): Track MEM attributes of trampolines.
2671         * ifcvt.c (noce_try_cmove_arith): Set alignment of new MEM.
2672         * integrate.c (copy_rtx_and_substitute, case CALL): Copy memory
2673         attributes from original.
2674         * langhooks.c (lang_hook_default_get_alias_set): New function.
2675         (hook_get_alias_set_0): New function.
2676         * langhooks.h (hook_get_alias_set_0): New declaration.
2677         (lang_hook_default_get_alias_set): Likewise.
2678         (LANG_HOOKS_GET_ALIAS_SET): New macro; add to initializer.
2679         * reload1.c (alter_reg): Use adjust_address_nv.
2680         * rtl.c (get_mode_alignment): Moved to here.
2681         * rtl.h (MEM_ALIGN): Take default from mode, if not BLKmode, and
2682         change default if unknown from 1 to BITS_PER_UNIT.
2683         * stor-layout.c (get_mode_alignment): Remove from here.
2684         * toplev.h (struct lang_hoks): Add get_alias_set field.
2685         * tree.h (lang_get_alias_set): Delete declaration.
2686         * config/arc/arc.c (arc_setup_incoming_varags): Set MEM alignment.
2687         * config/i386/i386.c (ix86_setup_incoming_varargs): Likewise.
2688         (ix86_va_arg): Likewise.
2689         * config/i960/i960.c (i960_setup_incoming_varargs): Likewise.
2690         * config/pa/pa.c (hppa_builtin_saveregs): Likewise.
2691         * config/sparc/sparc.c (sparc_va_arg): Likewise.
2692         * config/rs6000/rs6000.c (setup_incoming_varargs): Likewise.
2693         (expand_block_move_mem): Remove dead code.
2695 2001-10-22  Neil Booth  <neil@daikokuya.demon.co.uk>
2697         * c-common.c (warn_div_by_zero): New.
2698         * c-common.h (warn_div_by_zero): New.
2699         * c-decl.c (c_decode_option): Take it on the command line.
2700         * c-typeck.c (build_binary_op): Warn about division by zero.
2701         * doc/invoke.texi: Document the new command line option, fix
2702         documentation of -Wmultichar.
2703         * testsuite/gcc.dg/divbyzero.c: New tests.
2704         * testsuite/gcc.dg/noncompile/20010524-1.c: Update.
2706 Tue Oct 23 15:30:23 CEST 2001  Jan Hubicka  <jh@suse.cz>
2708         * i386.c (ix86_expand_int_movcc): Cleanup; use expand_simple_*op.
2710         * toplev.c (rest_of_compilation): Use CLEANUP_UPDATE_LIFE
2711         to avoid update_life_info call.
2712         * basic-block.h (CLEANUP_UPATE_LIFE): Define.
2713         * cfgcleanup.c (bb_flags): New enum.
2714         (BB_FLAGS, BB_SET_FLAG, BB_CLEAR_FLAG, FORWARDER_BLOCK_P): New macros.
2715         (notice_new_block, update_forwarder_flag): New functions.
2716         (try_simplify_condjump): Use FORWARDER_BLOCK_P.
2717         (try_forward_edges): Likewise; update flags.
2718         (merge_blocks): Likewise.
2719         (outgoing_edges_match): Likewise.
2720         (try_crossjump_to_edge): Likewise.
2721         (try_optimize_cfg): Likewise; initialize and clear the flags;
2722         recompute life info if needed.
2723         (cleanup_cfg): No need to clear aux pointers.
2725 2001-10-23  Alexandre Oliva  <aoliva@redhat.com>
2727         * config/i386/i386.c (override_options): Default to minimum
2728         stack alignment when optimizing for code size.
2729         * doc/invoke.texi (-mpreferred-stack-boundary): Document the
2730         change.
2732         * config/i386/i386.c (override_options): Set upper limit of
2733         -mpreferred-stack-boundary to 12.
2735 2001-10-22  Zack Weinberg  <zack@codesourcery.com>
2737         * recog.c (peephole2_optimize): Add default case to switch.
2739 2001-10-23  Joseph S. Myers  <jsm28@cam.ac.uk>
2741         * doc/gcc.texi (Sending Patches): Remove.
2743 2001-10-22  Hans-Peter Nilsson  <hp@bitrange.com>
2745         * unwind-dw2-fde.c (fde_unencoded_compare): Derefer pc_begin
2746         fields when comparing.
2748 2001-10-22  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2750         * arm.h (HOST_INT, HOST_UINT): Delete.  Remove all uses.
2751         * arm.c (HOST_INT, HOST_UINT): Likewise.
2753 2001-10-22  Stan Shebs  <shebs@apple.com>
2755         * config/darwin-protos.h (darwin_exception_section): Declare.
2756         (darwin_eh_frame_section): Declare.
2758 Mon Oct 22 18:21:25 CEST 2001  Jan Hubicka  <jh@suse.cz>
2760         * i386.md (movti_rex64): Fix mode.
2762 2001-10-22  Stan Shebs  <shebs@apple.com>
2764         * target.h (struct gcc_target): Add asm_out.exception_section,
2765         asm_out.eh_frame_section.
2766         * target-def.h (TARGET_ASM_EXCEPTION_SECTION): New macro.
2767         (TARGET_ASM_EH_FRAME_SECTION): New.
2768         (TARGET_INITIALIZER): Update.
2769         * output.h (default_exception_section): Declare.
2770         (default_eh_frame_section): Declare.
2771         * dwarf2out.c: Include target.h.
2772         (output_call_frame_info): Call target hook for eh frames.
2773         (default_eh_frame_section): New function.
2774         * except.c: Include target.h.
2775         (output_function_exception_table): Call target hook for exception
2776         section.
2777         * varasm.c (default_exception_section): Rename from
2778         exception_section, remove EXCEPTION_SECTION macro.
2780         * config/darwin.h (darwin_eh_frame_section): New function.
2781         (EXCEPTION_SECTION): Remove.
2782         (TARGET_ASM_EXCEPTION_SECTION): Define.
2783         * config/nextstep.h (EH_FRAME_SECTION_ASM_OP): Remove.
2784         (nextstep_exception_section): New function.
2785         (nextstep_eh_frame_section): New function.
2786         (TARGET_ASM_EXCEPTION_SECTION): Define.
2787         (TARGET_ASM_EH_FRAME_SECTION): Define.
2789         * config/pa/som.h (EXCEPTION_SECTION): Remove.
2790         (TARGET_ASM_EXCEPTION_SECTION): Define.
2791         * config/rs6000/sysv4.h, config/rs6000/xcoff.h
2792         (EXCEPTION_SECTION): Remove.
2793         (TARGET_ASM_EXCEPTION_SECTION): Define.
2794         * config/stormy16/stormy16.h: Remove comments referencing
2795         EXCEPTION_SECTION and EH_FRAME_SECTION_ASM_OP.
2797         * doc/tm.texi: Document TARGET_ASM_EXCEPTION_SECTION and
2798         TARGET_ASM_EH_FRAME_SECTION.
2800 2001-10-22  Nick Clifton  <nickc@cambridge.redhat.com>
2802         * config/mips/mips.md (mul_acc_si): Fix precedence of conditional
2803         terms.
2805         * c-format.c: Fix spelling typo in comment.
2807         * sched-int.h: Fix typo in GCC preamble.
2809 2001-10-21  Craig Rodrigues  <rodrigc@gcc.gnu.org>
2811         PR debug/4252
2812         * doc/invoke.texi: Remove references to -fdump-translation-unit.
2814 2001-10-22  Richard Henderson  <rth@redhat.com>
2816         * config/i386/i386.c (ix86_expand_clear): New.
2817         * config/i386/i386-protos.h: Declare it.
2818         * config/i386/i386.md (setcc peep2s): Use it.
2819         (movsi_xor): Unexport.
2821 2001-10-22  Richard Henderson  <rth@redhat.com>
2823         * flow.c (clear_log_links): Use free_INSN_LIST_list, not
2824         free_EXPR_LIST_list for LOG_LINKS.
2826 2001-10-21  Robert Lipe  <robertlipe@usa.net>
2828         * config/i386/i386.c (sco_asm_named_section): Delete.
2829         (sco_asm_out_constructor): Delete.
2830         * config/i386/sco5.h (ASM_QUAD): Undo damage from att.h.
2831         (ASM_OUTPUT_DOUBLE_INT): Likewise.
2832         (TARGET_ASM_CONSTRUCTOR): Delete.  Use default.
2833         (TARGET_ASM_NAMED_SECTION): Use default for ELF.
2834         (EXCEPTION_SECTION): Delete EH scn renaming hack.
2836 2001-10-21  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2838         * c-format.c (maybe_read_dollar_number): Use safe-ctype macros
2839         and/or fold extra calls into fewer ones.
2840         * collect2.c (dump_file): Likewise.
2841         * cppexp.c (parse_number): Likewise.
2842         * cpplex.c (_cpp_lex_direct): Likewise.
2843         * final.c (output_asm_insn, asm_fprintf): Likewise.
2844         * fix-header.c (inf_scan_ident, main): Likewise.
2845         * fixinc/fixfixes.c (char_macro_use_fix, char_macro_def_fix):
2846         Likewise.
2847         * fold-const.c (real_hex_to_f): Likewise.
2848         * gen-protos.c (parse_fn_proto): Likewise.
2849         * genattrtab.c (check_attr_test, check_attr_value): Likewise.
2850         * genrecog.c (change_state, write_action): Likewise.
2851         * gensupport.c (shift_output_template): Likewise.
2852         * local-alloc.c (requires_inout): Likewise.
2853         * mips-tfile.c (IS_ASM_IDENT): Likewise.
2854         * protoize.c (is_id_char, main): Likewise.
2855         * real.c (asctoeg): Likewise.
2856         * recog.c (asm_operand_ok): Likewise.
2857         * reload.c (find_reloads): Likewise.
2858         * scan.c (scan_identget_token): Likewise.
2859         * sched-vis.c (print_value): Likewise.
2860         * stringpool.c (ggc_alloc_string): Likewise.
2861         * toplev.c (read_integral_parameter, decode_g_option): Likewise.
2862         * tradcif.y (parse_number, yylex, parse_escape): Likewise.
2863         * tradcpp.c (rescan): Likewise.
2864         * tree.c (clean_symbol_name): Likewise.
2865         * varasm.c (decode_reg_name): Likewise.
2867         * alpha.h (ASM_OUTPUT_ASCII): Likewise.
2868         * darwin.c (name_needs_quotes, func_name_maybe_scoped): Likewise.
2869         * dsp16xx.h (ASM_OUTPUT_ASCII): Likewise.
2870         * m88k.c (output_ascii): Likewise.
2871         * m88k.h (OVERRIDE_OPTIONS): Likewise.
2872         * mcore.h (REG_CLASS_FROM_LETTER): Likewise.
2873         * ns32k/encore.h (ASM_OUTPUT_ASCII): Likewise.
2874         * sh.h (REG_CLASS_FROM_LETTER): Likewise.
2876 2001-10-21  Neil Booth  <neil@daikokuya.demon.co.uk>
2878         * langhooks.c (lang_hook_default_do_nothing,
2879         lang_hook_default_decode_option): New defaults.
2880         * langhooks.h: Make hooks unconditional and non-NULL.
2881         * toplev.c (compile_file, toplev_main): Update.
2882         * toplev.h: Update comments.
2883         * objc/objc-act.c (lang_hooks): Update to new paradigm.
2885 2001-10-21  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2887         * arm.h (FUNCTION_ARG_REGNO_P): Use IN_RANGE.
2889         * system.h (IN_RANGE): New macro.
2891 2001-10-21  Zack Weinberg  <zack@codesourcery.com>
2893         * aclocal.m4 (AM_WITH_NLS): Also create and substitute
2894         INTLDEPS variable, which does not include $LIBICONV.
2895         * Makefile.in: Use INTLDEPS in LIBDEPS.
2896         * configure: Regenerate.
2898 2001-10-21  Neil Booth  <neil@daikokuya.demon.co.uk>
2900         * cpphash.h (struct cpp_buffer): Delete read_ahead and extra_char.
2901         * cpplex.c (lex_percent, lex_dot): Remove.
2902         (get_effective_char, skip_block_comment, skip_line_comment,
2903         parse_identifier_slow, parse_number, parse_string, save_comment,
2904         _cpp_lex_direct): Update to do lookback freely.
2905         (IF_NEXT_IS, BACKUP): New macros.
2906         * cpplib.c (cpp_push_buffer): Don't set read_ahead and extra_char.
2907         * cppmacro.c (paste_tokens): Update.
2909 2001-10-20  Nick Clifton  <nickc@cambridge.redhat.com>
2911         * doc/invoke.texi (i386 and x86-64 Options): Fix typo.
2913 2001-10-20  Hans-Peter Nilsson  <hp@axis.com>
2915         * reload1.c (reload): Check CONSTANT_P before calling
2916         LEGITIMATE_PIC_OPERAND_P.
2917         * config/cris/cris.c (cris_legitimate_pic_operand): Revert
2918         workaround of 2001-10-13.
2920 Sat Oct 20 15:16:10 CEST 2001  Jan Hubicka  <jh@suse.cz>
2922         * i386.c (split_di): Handle splitting of DFmode.
2924 Sat Oct 20 07:27:14 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
2926         * emit-rtl.c (set_mem_attributes): Alignment is in bits.
2927         (adjust_address_1, offset_address): Likewise.
2929         * final.c (output_asm_operand_names): New fcn, from output_asm_insn.
2930         (output_asm_insn): Call it for each line output.
2931         Don't record an operand more than once.
2933         * toplev.h (struct lang_hooks): HONOR_READONLY now bool.
2934         * main.c: Include config.h and system.h, but not ansidecl.h.
2935         * Makefile.in (main.o): Update accordingly.
2937 Sat Oct 20 12:05:31 CEST 2001  Jan Hubicka  <jh@suse.cz>
2939         * i386.h (SSE_REGPARM_MAX): Set to 8 for x86_64.
2941 Sat Oct 20 12:01:07 CEST 2001  Jan Hubicka  <jh@suse.cz>
2943         * basic-block.h (find_sub_basic_blocks): Use sbitmap parameter.
2944         * cfgbuild.c (find_bb_boundaries, compute_outgoing_frequencies):
2945         Break out from ...
2946         (find_sub_basic_blocks): ... here;
2947         (find_many_sub_basic_blocks): New.
2948         * recog.c (split_all_insns): Update find_sub_basic_blocks call.
2950         * i386.h (ASM_PREFERRED_EH_DATA_FORMAT): Define sdata4.
2952         * i386.c (ix86_va_arg): Kill indirect_p handling; fix aliasing issues.:
2954         * i386.c (split_di, split_ti): Revamp to use simplify_subreg.
2956         * timevar.def (TV_LIFE, TV_LIFE_UPDATE, TV_MODE_SWITCH): new.
2957         * flow.c (update_life_info): Measure time.
2958         * c-decl.c: Include timevar.h
2959         (c_expand_body): Measure time.
2960         * toplev.c (rest_of_compilation): Measure time of mode switching
2961         separately.
2962         * Makefile.in (c-decl.o, cfgcleanup.o): Add dependency.
2964         * toplev.c (flag_asynchronous_unwind_tables): New global variable.
2965         (lang_independent_options): Add asynchronous-unwind-tables
2966         (toplev_main): flag_asynchronous_unwind_tables implies
2967         flag_unwind_tables.
2968         * flags.h (flag_asynchronous_unwind_tables): Declare.
2969         * dwarf2out.c (dwarf2out_stack_adjust): Take into account
2970         flag_asynchronous_unwind_tables.
2971         (output_call_frame_info): Likewise.
2972         * invoke.texi (-fasynchronous-unwind-tables): Document.
2973         * i386.c (optimization_options): Enable
2974         flag_asynchronous_unwind_tables.
2976         * i386.c (ix86_expand_setcc):  Always expect target to be QImode.
2977         * i386.md (s* expanders): Destination is QImode.
2979         * toplev.c (rest_of_compilation): Do not call clear_log_links.
2980         * rtl.h (clear_log_links): Kill.
2981         * flow.c (clear_log_links): Make static; accept blocks parameter;
2982         do no clear life info.
2983         (update_life_info): Call clear_log_links.
2985         * cfganal.c (forwarder_block_p): Avoid active_insn_p calls.
2987 2001-10-20  Neil Booth  <neil@daikokuya.demon.co.uk>
2989         * cpplex.c (handle_newline, skip_escaped_newlines,
2990         get_effective_char, skip_block_comment, skip_line_comment,
2991         parse_identifier_slow, parse_number, parse_string,
2992         _cpp_lex_direct): Update to do more stepping back.
2993         (trigraph_ok): Similarly.  Rename trigraph_p.
2994         (SAVE_STATE, RESTORE_STATE): Remove.
2995         (BUFF_SIZE_UPPER_BOUND): Tweak.  Add sanity check.
2997         * cpplib.c (destringize): Rename destringize_and_run, and
2998         call run_directive directly.
2999         (_cpp_do__Pragma): Simplify.
3001 2001-10-19  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
3003         * pe.c (arm_pe_unique_section): Const-ify.
3004         * pe.h (TARGET_ASM_NAMED_SECTION): Undef before defining.
3005         (switch_to_section): Add static prototype.
3007         * output.h (drectve_section): Prototype.
3009 2001-10-19  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
3011         * config.gcc (i[34567]86-*-gnu*, arc-*-elf*, d30v-*,
3012         fr30-*-elf, hppa*64*-*-linux*, parisc*64*-*-linux*, hppa*-*-linux*,
3013         parisc*-*-linux*, i370-*-linux*, i[34567]86-*-chorusos*,
3014         i[34567]86-*-elf*, i[34567]86-ncr-sysv4*, i[34567]86-*-netware,
3015         i[34567]86-sequent-ptx4*, i[34567]86-sequent-sysv4*,
3016         i[34567]86-*-beoself*, i[34567]86-*-beos*, i[34567]86-*-freebsd*,
3017         i[34567]86-*-netbsdelf*, i[34567]86-*-linux*libc1,
3018         i[34567]86-*-linux*, i[34567]86-moss-msdos*, i[34567]86-*-moss*,
3019         i[34567]86-go32-rtems*, i[34567]86-*-rtems*, i[34567]86-*-rtemself*,
3020         i[34567]86-*-solaris2*, i[34567]86-*-sysv5*, i[34567]86-*-sysv4*,
3021         i[34567]86-*-udk*, i[34567]86-*-osf1*, i[34567]86-dg-dgux*,
3022         i860-alliant-*, i860-*-sysv4*, ia64*-*-aix*, ia64*-*-linux*,
3023         ia64*-*-hpux*, m32r-*-elf*, m88k-dg-dgux*, m88k-*-sysv4*, mcore-*-elf,
3024         mips*-*-linux*, mn10200-*-*, mn10300-*-*, pj*-linux*, pjl-*,
3025         powerpc64-*-linux*, powerpc-*-sysv*, powerpc-*-netbsd*,
3026         powerpc-*-chorusos*, powerpc-*-eabiaix*, powerpc-*-eabisim*,
3027         powerpc-*-elf*, powerpc-*-eabi*, powerpc-*-rtems*,
3028         powerpc-*-linux*libc1, powerpc-*-linux*, powerpc-wrs-vxworks*,
3029         powerpcle-wrs-vxworks*, powerpcle-*-sysv*, powerpcle-*-elf*,
3030         powerpcle-*-eabisim*, powerpcle-*-eabi*, powerpcle-*-solaris2*,
3031         rs6000-*-mach*, s390-*-linux*, s390x-*-linux*, sh-*-elf*,
3032         sh-*-rtemself*, sh-*-rtems*, sh-*-linux*, stormy16-*-elf,
3033         v850-*-rtems*, v850-*-*, x86_64-*-linux*), cris-*-aout, cris-*-elf,
3034         cris-*-none, cris-*-linux*: Update ${tmfile} list.
3035         (c4x-*-rtems*, c4x-*, i[34567]86-go32-rtems*, i[34567]86-*-rtemscoff*,
3036         i[34567]86-*-rtems*, i[34567]86-*-rtemself*, i[34567]86-*-osf1*,
3037         mn10200-*-*, mn10300-*-*, powerpc-*-beos*, powerpc-*-darwin*,
3038         powerpc-wrs-vxworks*, powerpcle-wrs-vxworks*, v850-*-rtems*,
3039         v850-*-*): Delete superflous ${cpu_type} setting.
3040         * config/linux.h: Delete svr4.h include.
3041         (SET_ASM_OP): Delete.
3042         * config/netware.h (INT_ASM_OP): Undef before define.
3043         * config/ptx4.h: Delete elfos.h include.
3044         (PREFERRED_DEBUGGING_TYPE): Undef instead of wrapping.
3045         * config/svr4.h: Delete elfos.h include. Update commentary.
3046         * config/arc/arc.h, config/d30v/d30v.h, config/fr30/fr30.h,
3047         config/m32r/m32r.h, config/m88k/sysv4.h, config/mn10200/mn10200.h,
3048         config/mn10200/mn10300.h, config/stormy16/stormy16.h,
3049         config/v850/v850.h: Delete svr4.h include.
3050         * config/i370/linux.h, config/i386/osf1elf.h, config/m68k/linux.h,
3051         config/m68k/m68kv4.h, config/m88k/sysv4.h,
3052         config/sparc/sysv4.h: Update includes.
3053         * config/i386/beos-elf.h, config/i386/netware.h, config/i386/ptx4-i.h,
3054         config/i386/rtemself.h, config/i386/sol2.h, config/i386/sysv4.h,
3055         config/i386/sysv5.h, config/i386/udk.h, config/ia64/linux.h,
3056         config/m88k/dguxbcs.h: Delete includes.
3057         * config/i386/dgux.h, config/i386/osf1elfgdb.h: Delete include.
3058         (PREFERRED_DEBUGGING_TYPE): Undef before defining it.
3059         * config/i860/fx2800.h (ASM_OUTPUT_SOURCE_LINE): Undef before defining
3060         it.
3061         * config/m88k/dgux.h: Delete include.
3062         (SDB_DEBUGGING_INFO, PREFERRED_DEBUGGING_TYPE):  Undef before
3063         defining it.
3064         * config/pj/pj.h (ASM_GENERATE_INTERNAL_LABEL,
3065         ASM_OUTPUT_INTERNAL_LABEL, ASM_OUTPUT_SKIP): Undef before defining it.
3066         * config/sh/elf.h: Update include.
3067         (SDB_DEBUGGING_INFO, DWARF2_DEBUGGING_INFO, PREFERRED_DEBUGGING_TYPE,
3068         DWARF2_ASM_LINE_DEBUG_INFO): Move behind includes.
3070 2001-10-19  Catherine Moore  <clm@redhat.com>
3072         * config/stormy16/stormy-abi:  Updates to varargs descriptions.
3073         * config/stormy16/stormy16.c (stormy16_build_va_list):  Reverse
3074         base and count fields.
3075         (stormy16_expand_builtin_va_start):  last_reg_count changed to
3076         size_of_reg_args.  Use count + size in first comparison.
3078 Fri Oct 19 15:24:39 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
3080         * langhooks.h (LANG_HOOKS_HONOR_READONLY): New macro.
3081         * toplev.h (struct lang_hooks): New field HONOR_READONLY.
3082         * emit-rtl.c (set_mem_attributes): Set RTX_UNCHANGING_P from
3083         TREE_READONLY and TYPE_READONLY if lang_hooks.honor_readonly.
3084         Set alignment from type if INDIRECT_REF.
3085         (adjust_address_1, offset_address): Simplify alignment compuitation.
3086         * expr.c (expand_expr, case INDIRECT_REF): Don't set RTX_UNCHANGING_P
3087         here; done by set_mem_attributes.
3089 2001-10-19  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
3091         * Makefile.in (rtlanal.o): Depend on $(TM_P_H).
3092         * arm-protos.h (rdata_section, zero_init_section, common_section):
3093         Prototype.
3094         * arm.h (ASM_OUTPUT_DEF_FROM_DECLS): Const-ify.
3095         * avr.h (ASM_OUTPUT_SKIP): Rename macro parameter to avoid
3096         traditional mode stringification.
3097         * function.c (thread_prologue_and_epilogue_insns): Wrap variable
3098         in macros controling its use.
3099         * rtlanal.c: Include tm_p.h.
3100         * varasm.c (asm_output_aligned_bss): Mark parameter with
3101         ATTRIBUTE_UNUSED.
3102         (assemble_constant_align, assemble_start_function, assemble_align,
3103         assemble_variable, assemble_trampoline_template,
3104         output_constant_def_contents): Wrap potentially empty if-stmt body
3105         in brackets.
3107 2001-10-19  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
3109         * a29k-protos.h (literal_section): Prototype.
3110         * a29k.h (ASM_FILE_START): Don't discard pointer qualifier.
3111         * a29k.md: Ensure function pointers are prototyped.
3112         * genattrtab.c (write_eligible_delay): Mark parameter with
3113         ATTRIBUTE_UNUSED.
3115 2001-10-19  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
3117         * calls.c (emit_call_1): Mark parameter with ATTRIBUTE_UNUSED.
3118         * 1750a.c (print_operand): Fix format specifier warning.
3119         * 1750a.h (ASM_FILE_START): Don't discard pointer qualifier.
3120         * 1750a.md: Likewise.
3121         * gcc.c (init_gcc_specs): Wrap with ENABLE_SHARED_LIBGCC.
3122         * genemit.c (output_add_clobbers): Mark parameter with
3123         ATTRIBUTE_UNUSED.
3124         * genrecog.c (write_subroutine): Likewise.
3125         * integrate.c (expand_inline_function): Delete unused variable.
3126         * varasm.c (remove_from_pending_weak_list): Wrap with
3127         ASM_WEAKEN_LABEL.
3129 2001-10-19  Jakub Jelinek  <jakub@redhat.com>
3131         * simplify-rtx.c (simplify_plus_minus): Negate constant iff its neg
3132         field is different to previous argument's neg field.
3134         * config/alpha/alpha.c (summarize_insn): Don't abort on ASM_INPUT.
3136 Fri Oct 19 15:24:39 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
3138         * final.c (get_decl_from_op): New function.
3139         (output_asm_insn): Call it; write "*" when item with decl is address.
3141 2001-10-19  Janis Johnson  <janis187@us.ibm.com>
3143         * doc/install.texi (Specific, sparc-sun-solaris2*) Copy documentation
3144         about 64-bit support from the 3.0_branch version.
3146 2001-10-19  Zack Weinberg  <zack@codesourcery.com>
3148         * aclocal.m4 (AM_WITH_NLS): AC_DEFINE HAVE_LIBINTL_H and
3149         USE_INCLUDED_LIBINTL when appropriate.
3150         * configure, config.in: Regenerate.
3151         * Makefile.in (datadir): Set to @datadir@.
3152         (intl.o): Also depend on $(CONFIG_H) and system.h.
3154         * intl.c: Factor out common gettext initialization sequence.
3155         (gcc_init_libintl):  New function.
3156         * intl.h: Include intl/libgnuintl.h if USE_INCLUDED_LIBINTL;
3157         otherwise include libintl.h if HAVE_LIBINTL_H; otherwise turn
3158         off NLS.  Add multiple include guard.  No need to #ifdef-guard
3159         an #undef.  Prototype gcc_init_libintl here.
3161         * collect2.c (main), cppmain.c (general_init), gcc.c (main),
3162         gcov.c (main), protoize.c (main), toplev.c (toplev_main):
3163         Use gcc_init_libintl.
3165 2001-10-19  Catherine Moore  <clm@redhat.com>
3167         * config/stormy16/stormy16.h (ASM_COMMENT_START): Define.
3169         * config/stormy16/stormy16.c (stormy16_split_move):  Make
3170         sure that REG_INC notes are present for auto_inc operands.
3172 2001-10-19  Andreas Jaeger  <aj@suse.de>
3174         * configure: Regenerated.
3175         * configure.in: Add x86_64 to switch statements.
3177 2001-10-18  Richard Henderson  <rth@redhat.com>
3179         * config/alpha/alpha.md (sibcall_osf_1): Load destination
3180         address into $27 explicitly.
3181         (sibcall_value_osf_1): Likewise.
3183 Thu Oct 18 16:07:39 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
3185         * emit-rtl.c (gen_reg_rtx): Also reallocate reg_decl array.
3186         (offset_address): New function.
3187         (free_emit_status): Free regno_decl.
3188         (init_emit): Pass proper number of elements to xcalloc.
3189         Allocate regno_decl.
3190         (mark_emit_status): Mark regno_decl values.
3191         * expr.c (highest_pow2_factor): New function.
3192         (expand_assigment): Use it and offset_address.
3193         Properly handle ptr_mode vs. Pmode in offset calculation.
3194         (store_constructor, expand_expr_unaligned): Likewise.
3195         (expand_expr, case COMPONENT_EXPR): Likewise.
3196         * expr.h (offset_address): New decl.
3197         * function.h (struct emit_status): Add regno_decl.
3198         (REGNO_DECL): New macro.
3199         * final.c (output_asm_name): Move in file and don't conditionalize
3200         on flag_print_asm_name.
3201         (output_asm_insn): Only call output_asm_name if flag_print_asm_name.
3202         Output names of operands, if known.
3203         * function.c (assign_parms): Set REGNO_DECL.
3204         * integrate.c (integrate_decl_tree): Likewise.
3205         * stmt.c (expand_decl): Likewise.
3206         * regclass.c (reg_scan_mark_refs): Propagate REGNO_DECL for copies.
3208 2001-10-18  Alexandre Oliva  <aoliva@redhat.com>
3210         * attribs.c (handle_noinline_attribute): New function.
3211         (handle_used_attribute): Likewise.
3212         (c_common_attribute_table): Added noinline and used.
3213         * doc/extend.texi (Function Attributes): Document them.
3214         * c-decl.c (duplicate_decls): Propagate DECL_UNINLINABLE.
3215         Warn when merging inline with attribute noinline.
3216         (start_decl, start_function): Warn if inline and attribute
3217         noinline appear in the same declaration.
3219 2001-10-17  Neil Booth  <neil@daikokuya.demon.co.uk>
3221         * config.gcc: Update c4x and i370 for C front end-specific
3222         dependencies.
3223         * config/c4x/c4x-c.c: New.
3224         * config/c4x/c4x-protos.h (c4x_handle_pragma): Remove.
3225         (code_tree, data_tree, pure_tree, noreturn_tree, interrupt_tree):
3226         New declarations.
3227         * config/c4x/c4x.c: Don't include c-lex.h or c-pragma.h.
3228         (code_tree, data_tree, pure_tree, noreturn_tree, interrupt_tree):
3229         Make extern.
3230         (c4x_init_pragma): Remove.
3231         (c4x_parse_pragma, c4x_pr_CODE_SECTION, c4x_pr_DATA_SECTION,
3232         c4x_pr_FUNC_IS_PURE, c4x_pr_FUNC_NEVER_RETURNS, c4x_pr_INTERRUPT,
3233         c4x_pr_ignored): Move to c4x-c.c.
3234         * config/c4x/c4x.h (REGISTER_TARGET_PRAGMAS): Update.
3235         * config/c4x/t-c4x: Update.
3236         * config/i370/i370-c.c: New.
3237         * config/i370/i370.c: Don't include c-lex.h or c-pragma.h.
3238         (i370_pr_map): Move to i370-c.c.
3239         * config/i370/t-i370: New.
3241         * doc/tm.texi: Update.
3243 2001-10-17  Stan Shebs  <shebs@apple.com>
3245         * config/rs6000/rs6000.c: Make assorted mechanical formatting and
3246         typo fixes throughout.
3247         (machopic_output_stub): Remove some dead code.
3249 2001-10-17  Richard Earnshaw <rearnsha@arm.com>
3251         * cpplex.c (_cpp_get_buff): Fix off-by-one error that caused memory
3252         leak.
3254 Wed Oct 17 05:26:39 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
3256         * Makefile.in (print-rtl.o): Depend on TREE_H.
3257         * alias.c (get_alias_set): Make two passes over objects to first
3258         see if inner object is access via restricted pointer.
3259         Defer allocating alias set for restricted pointer until here.
3260         Call find_placeholder with second arg nonzero.
3261         Minor cleanups.
3262         * c-common.c (c_apply_type_quals_to_decl): Defer getting alias
3263         set for restricted pointer types.
3264         * emit-rtl.c (set_mem_attributes): Set more attributes.
3265         (set_mem_align, change_address, adjust_address_1): New functions.
3266         (change_address_1): Now static.
3267         (adjust_address, adjust_address_nv): Deleted.
3268         (replace_equiv_address): Call change_address_1.
3269         * expr.c (get_inner_reference): Handle PLACEHOLDER_EXPR.
3270         (find_placeholder): Get starting point from PLIST arg.
3271         (expand_expr, case PLACEHOLDER_EXPR): Initialize find_placeholder arg.
3272         * expr.h (set_mem_align, change_address, adjust_address_1): New decls.
3273         (adjust_address, adjust_address_nv): New macros.
3274         * print-rtl.c (tree.h): New include.
3275         (print_rtx, case MEM): Print all memory attributes.
3277 2001-10-17  Richard Henderson  <rth@redhat.com>
3279         * config/alpha/alpha.c (direct_call_operand): Don't fall off end.
3281 2001-10-16  Matt Kraai  <kraai@alumni.carnegiemellon.edu>
3283         * c-tree.texi: Eliminate duplicated word.
3284         * cpp.texi: Likewise.
3285         * install.texi: Likewise.
3286         * invoke.texi: Likewise.
3287         * tm.texi: Likewise.
3289 2001-10-17  Michael Collison  <collison@isisinc.net>
3291         * dsp16xx.c: Fix comment formatting to match GNU standards.
3292         (dsp16xx_output_function_prologue): Change type of 'size'
3293         parameter from 'int' to HOST_WIDE_INT.
3294         (dsp16xx_output_function_epilogue): Change type of 'size'
3295         parameter from 'int' to HOST_WIDE_INT.
3297 2001-10-16  Richard Henderson  <rth@redhat.com>
3299         * configure.in (HAVE_AS_GOTOFF_IN_DATA): New x86 check.
3300         * configure, config.in: Rebuild.
3302         * config/i386/i386.c (ix86_output_addr_vec_elt): New.
3303         (ix86_output_addr_diff_elt): New.
3304         * config/i386/i386.h (ASM_OUTPUT_ADDR_VEC_ELT): Use them.
3305         (ASM_OUTPUT_ADDR_DIFF_ELT): Likewise.
3306         (JUMP_TABLES_IN_TEXT_SECTION): New.
3307         * config/i386/i386.md (tablejump): Handle HAVE_AS_GOTOFF_IN_DATA.
3308         * config/i386/i386-protos.h: Update.
3310         * config/i386/386bsd.h, config/i386/beos-elf.h,
3311         config/i386/freebsd-aout.h, config/i386/freebsd.h,
3312         config/i386/i386-interix.h, config/i386/i386elf.h,
3313         config/i386/linux.h, config/i386/netbsd-elf.h,
3314         config/i386/netbsd.h, config/i386/openbsd.h,
3315         config/i386/ptx4-i.h, config/i386/rtemself.h,
3316         config/i386/sco5.h, config/i386/sysv4.h, config/i386/x86-64.h
3317         (ASM_OUTPUT_ADDR_DIFF_ELT, JUMP_TABLES_IN_TEXT_SECTION): Remove.
3319 2001-10-16  Florian Weimer  <fw@deneb.enyo.de>
3321         * stmt.c (expand_asm_operands): Update commentary.
3323 2001-10-16  Stan Shebs  <shebs@apple.com>
3325         * config/darwin.h (GCC_NAME): Remove, no longer used.
3326         (NO_MATH_LIBRARY): Ditto.
3327         (MATH_LIBRARY): Define to emptiness.
3328         (DWARF2_DEBUGGING_INFO): Define.
3329         (PREFERRED_DEBUGGING_TYPE): Define.
3330         (EXTRA_SECTION_FUNCTIONS): Add darwin_exception_section.
3331         (EXCEPTION_SECTION): Define.
3332         (ASM_PREFERRED_EH_DATA_FORMAT): Define.
3333         * config/darwin.c (darwin_encode_section_info): Handle case of
3334         DECL_INITIAL being error_mark_node.
3336 2001-10-16  Richard Henderson  <rth@redhat.com>
3338         * alpha.c (current_file_function_operand): Don't fail for profiling.
3339         (direct_call_operand): New.
3340         * alpha-protos.h: Declare it.
3341         * alpha.h (EXTRA_CONSTRAINT): Use it.
3342         (PREDICATE_CODES): Add it.
3343         (ASM_OUTPUT_MI_THUNK): Remove.
3344         * alpha32.h (ASM_OUTPUT_MI_THUNK): Remove.
3345         * alpha.md (sibcall_osf_1, sibcall_value_osf_1): Add 's' alternative.
3347 2001-10-16  Krister Walfridsson  <cato@df.lth.se>
3349         * config/i386/netbsd-elf.h (ASM_OUTPUT_ADDR_DIFF_ELT): Define.
3350         (JUMP_TABLES_IN_TEXT_SECTION): Define.
3352 Wed Oct 17 00:21:31 CEST 2001  Jan Hubicka  <jh@suse.cz>
3354         * cfg.c (free_edge): Break out from ....
3355         (remove_edge): ... here.
3356         (clear_edges): Use free_edge.
3358         * att.h (ASM_QUAD): Add comment.
3359         * bsd.h, sco5.h, sun386.h (ASM_QUAD): Define.
3361 Wed Oct 17 00:01:02 CEST 2001  Jan Hubicka  <jh@suse.cz>
3363         * i386.c (split_ti): New function.
3364         (ix86_split_to_parts): Support TImodes.
3365         * i386.h (VALID_INT_MODE_P): Add TImode.
3366         * i386.md (movdi splitter): Fix.
3367         (movti): Support 64bit integer registers.
3368         (movti_rex64): New function and splitter.
3370         * i386.c (*_cost): Add movsx/movzx cost.
3371         * i386.h (struct processor_costs): Add movsx/movzx fields.
3372         (RTX_COSTS): Handle zero/sign extend + avoid believing that
3373         64bit operations require split on 64bit machine.
3374         (CONST_COST): Make large 64bit constants expensive on 64bit compilation.
3376         * i386.c (ix86_setup_incoming_varargs): Fix mode of PLUS.
3377         (ix86_expand_move): Avoid pushes of memory if size does not match;
3378         move long constants to register.
3379         (x86_initialize_trampoline): Fix mode.
3380         * i386.h (ASM_OUTPUT_ADDR_VEC_ELT, ASM_OUTPUT_ADDR_DIFF_ELT):
3381         Use ASM_QUAD on 64bit.
3382         * i386.md (test pattern): Disallow impossible constants.
3383         (tablejump PIC expander): Fix emitting of sum.
3384         (movdicc_rex64): Rename to movdicc.
3385         * linux64.h (LINK_SPEC): Add missing '%'.
3387 2001-10-16  Alexandre Oliva  <aoliva@redhat.com>
3389         * tree-inline.c (inlinable_function_p): Leave it up to the
3390         front-end to turn -finline-functions into DECL_INLINE set for all
3391         functions.
3393 2001-10-16  Stan Shebs  <shebs@apple.com>
3395         * config/rs6000/darwin.h (ASM_COMMENT_START): Define.
3397 2001-10-16  Alan Modra  <amodra@bigpond.net.au>
3399         * recog.c: Formatting and comment typo fixes.
3401         * configure.in (gcc_cv_as_bfd_srcdir): New.  Use it to find gas
3402         version in single tree build.
3403         * configure: Regenerate.
3405 2001-10-15  David Edelsohn  <edelsohn@gnu.org>
3407         * config/rs6000/rs6000.md (cr_logical): Swap order of CODE and
3408         MODE arguments to gen_rtx and compare operand with const0_rtx.
3410 2001-10-15  Neil Booth  <neil@daikokuya.demon.co.uk>
3412         * system.h: Poison old unused target macros.
3413         * config/dsp16xx.h (ASM_OPEN_PAREN, ASM_CLOSE_PAREN): Remove.
3414         * config/stormy16/stormy16.c: Update references to obsolete macros.
3415         * config/stormy16/stormy16.h: Similarly.
3416         * config/stormy16/stormy16.md: Similarly.
3417         * config/cris/cris.h: Similarly.
3419 2001-10-15  Neil Booth  <neil@daikokuya.demon.co.uk>
3421         * cpplib.c (struct pragma_entry): Store the name as a hashnode.
3422         (lookup_pragma_entry, insert_pragma_entry, do_pragma,
3423         cpp_register_pragma): Update accordingly.
3425 2001-10-14  Neil Booth  <neil@daikokuya.demon.co.uk>
3427         * c-pragma.h (cpp_register_pragma_space): Remove.
3428         * cpplib.h (cpp_register_pragma_space): Remove.
3429         * cpplib.c (lookup_pragma_entry, insert_pragma_entry): New.
3430         (cpp_register_pragma_space): Remove.
3431         (cpp_register_pragma): Simplify using lookup_pragma_entry,
3432         add sanity checks.
3433         (do_pragma): Similarly.
3434         (_cpp_init_internal_pragmas): Don't register namespaces.
3436         * config/v850/v850.h (REGISTER_TARGET_PRAGMAS):
3437         Don't register namespaces.
3438         * cp/lex.c (init_cp_pragma): Similarly.
3439         * doc/tm.texi: Update.
3441 2001-10-10  Craig Rodrigues  <rodrigc@gcc.gnu.org>
3443         PR c/4157
3444         * config/i386/cygwin.h: Add missing space to MINGW_INCLUDES
3446 2001-10-13  Michael Collison  <collison@dhcp-12-114.townisp.com>
3448         * config/dsp16xx/dsp16xx.md: Rewrite for more efficient code and
3449         add scheduling support.
3450         * config/dsp16xx/dsp16xx.h: Rewrite for more efficient code.
3451         * config/dsp16xx/dsp16xx.c: Rewrite for more efficient code.
3452         * config/dsp16xx/dsp16xx-protos.h: Add new function prototypes.
3455 2001-10-13  Hans-Peter Nilsson  <hp@axis.com>
3457         * config/cris/cris.c (cris_legitimate_pic_operand): Kludge around
3458         missing CONSTANT_P test in core GCC.
3460 2001-10-12  Neil Booth  <neil@daikokuya.demon.co.uk>
3462         * cppmain.c (struct printer): New member source.
3463         (scan_translation_unit): Fix spacing at start of lines.
3464         (cb_line_change): Update.
3466         * gcc.dg/cpp/spacing2.c: New test.
3468 2001-10-12  Hans-Peter Nilsson  <hp@axis.com>
3470         * config/cris/arit.c: Use __builtin_labs, not abs.
3472         * config/cris/cris.h (SET_STRIPPABLE_EXECUTABLE): Don't define.
3474         * config/cris/cris.c (cris_target_asm_function_epilogue): Move
3475         misplaced sprintf and fprintf argument.
3477 2001-10-12  Zack Weinberg  <zack@codesourcery.com>
3479         * ABOUT-NLS, aclocal.m4: Update i18n framework from gettext 0.10.40.
3480         * configure.in, Makefile.in: Take out obsolete check-po logic.
3481         * configure, config.in: Regenerate.
3483 2001-10-12  Ziemowit Laski  <zlaski@apple.com>
3485         * objc/objc-act.c (finish_objc): Correct precondition for emitting
3486         symtab declarations.
3488 2001-10-12  Stan Shebs  <shebs@apple.com>
3490         * config/rs6000/rs6000.c: Remove uses of "register" specifier in
3491         declarations of arguments and local variables.
3493 2001-10-12  Christopher Faylor  <cgf@redhat.com>
3495         * config/i386/cygwin.h: Revert erroneous checkin of crtbegin and
3496         ENDFILE_SPEC definition.
3498 2001-10-12  Kazu Hirata  <kazu@hxi.com>
3500         * gthr-dce.h: Fix comment formatting.
3501         * gthr-posix.h: Likewise.
3502         * gthr-single.h: Likewise.
3503         * gthr-solaris.h: Likewise.
3504         * gthr-vxworks.h: Likewise.
3505         * gthr-win32.h: Likewise.
3507 2001-10-12  Jakub Jelinek  <jakub@redhat.com>
3509         * final.c (output_asm_insn): Make sure assembly dialects are
3510         terminated, not nested.  Output `|' and `}' characters if they
3511         don't appear inside assembly dialect selection.
3512         * config/i386/i386.md (rep_movdi_rex64, rep_movsi, rep_movsi_rex64,
3513         rep_movqi, rep_movqi_rex64, rep_stosdi_rex64, rep_stossi,
3514         rep_stossi_rex64, rep_stosqi, rep_stosqi_rex64, strsetsi_1,
3515         strsetsi_rex_1): Add {} braces.
3517 2001-10-11  Zack Weinberg  <zack@codesourcery.com>
3519         * toplev.c (compile_file): Ignore return value from yyparse.
3520         Always pop any nested binding levels after yyparse returns.
3522 2001-10-11  Richard Henderson  <rth@redhat.com>
3524         * doc/c-tree.texi (Expression trees): Add VTABLE_REF.
3526 2001-10-11  Richard Henderson  <rth@redhat.com>
3528         * dwarf2out.c (add_const_value_attribute): If long < HOST_WIDE_INT,
3529         fall back to add_AT_long_long for large CONST_INT.
3531 2001-10-11  Richard Henderson  <rth@redhat.com>
3533         * config/i386/i386.md (setcc splitters): Add four splitters to
3534         simplify compound compares that simplify_comparison can't handle.
3536 2001-10-11  Zack Weinberg  <zack@codesourcery.com>
3538         * cpplex.c (digraph_spellings, token_spellings): Make static.
3540 2001-10-11  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
3542         * unroll.c (loop_iterations): Fixup last patch.
3544 2001-10-11  Richard Henderson  <rth@redhat.com>
3546         * rtl.h (REG_VTABLE_REF): New.
3547         * rtl.c (reg_note_name): Add it.
3548         * combine.c (distribute_notes): Handle it.
3549         * final.c (final_scan_insn): Handle it.
3550         * tree.def (VTABLE_REF): New.
3551         * expr.c (expand_expr): Handle it.
3552         * varasm.c (assemble_vtable_entry, assemble_vtable_inherit): New.
3553         * output.h: Declare them.
3555 2001-10-11  Richard Henderson  <rth@redhat.com>
3557         * dwarf2out.c (rtl_for_decl_location): If no DECL_RTL, look
3558         for a DECL_INITIAL.
3560 2001-10-11  David Edelsohn  <edelsohn@gnu.org>
3562         * config/rs6000/xcoff.h (UNALIGNED_DOUBLE_INT_ASM_OP): Only
3563         available in 64-bit mode.
3565 2001-10-11  Hans-Peter Nilsson  <hp@axis.com>
3567         * config.gcc: Add cris-*-aout, cris-*-elf, cris-*-none,
3568         cris-*-linux* cases.
3569         * config/cris/cris-protos.h: New file.
3570         * config/cris/cris.c: New file.
3571         * config/cris/cris.h: New file.
3572         * config/cris/cris.md: New file.
3573         * config/cris/linux.h: New file.
3574         * config/cris/aout.h: New file.
3575         * config/cris/arit.c: New file.
3576         * config/cris/cris_abi_symbol.c: New file.
3577         * config/cris/mulsi3.asm: New file.
3578         * config/cris/t-aout: New file.
3579         * config/cris/t-cris: New file.
3580         * config/cris/t-elfmulti: New file.
3581         * config/cris/t-linux: New file.
3582         * doc/invoke.texi: Add CRIS options.
3583         * doc/install.texi (Specific): Add blurb for CRIS.
3585 2001-10-10  Hartmut Schirmer <SchirmerH@Innovative-Systems.de>
3587         * config/float-i128.h: Make sure __STDC__VERSION__ is defined
3588         before using it.
3589         * config/float/i32.h: Likewise.
3590         * config/float-i386.h: Likewise.
3591         * config/float-i64.h: Likewise.
3592         * config/float-m68k.h: Likewise.
3593         * config/float-sh.h: Likewise.
3594         * config/float-sparc.h: Likewise.
3596 2001-10-11  Hans-Peter Nilsson  <hp@axis.com>
3598         * doc/contrib.texi: Add note about CRIS port to my entry.
3600 2001-10-11  Kazu Hirata  <kazu@hxi.com>
3602         * basic-block.h: Fix formatting.
3603         * bitmap.h: Likewise.
3604         * cpplib.h: Likewise.
3605         * c-tree.h: Likewise.
3606         * diagnostic.h: Likewise.
3607         * flags.h: Likewise.
3608         * ggc.h: Likewise.
3609         * longlong.h: Likewise.
3610         * real.h: Likewise.
3611         * reload.h: Likewise.
3612         * rtl.h: Likewise.
3613         * tree.h: Likewise.
3615 2001-10-10  Richard Henderson  <rth@redhat.com>
3617         * c-parse.in (asm_operand): Allow named operands.
3618         * genconfig.c (max_recog_operands): Set to 29.
3619         * local-alloc.c (requires_inout): Skip multiple digits.
3620         * recog.c (asm_operand_ok): Likewise.
3621         (preprocess_constraints): Use strtoul for matching constraints.
3622         (constrain_operands): Likewise.
3623         * regmove.c (find_matches): Likewise.
3624         * reload.c (find_reloads): Likewise.
3625         * stmt.c (parse_output_constraint): Don't reject in-out
3626         constraint on operands > 9.  Reject '[' in constraint.
3627         (expand_asm_operands): Handle named operands.  Use strtoul
3628         for matching constraints.
3629         (check_operand_nalternatives): Split out from expand_asm_operands.
3630         (check_unique_operand_names): New.
3631         (resolve_operand_names, resolve_operand_name_1): New.
3633         * doc/extend.texi (Extended Asm): Document named operands.
3634         * doc/md.texi (Simple Constraints): Document matching constraints
3635         on operands > 9.
3637 2001-10-10  Richard Henderson  <rth@redhat.com>
3639         * combine.c (try_combine): Handle a SEQUENCE of one insn.
3641         * i386.c (test splitter): Narrow tests vs paradoxical subregs.
3642         (jcc splitters): Add two splitters to simplify compound compares
3643         that simplify_comparison can't handle.
3645 2001-10-10  Richard Henderson  <rth@redhat.com>
3647         * langhooks.c: Include langhooks.h.
3648         * Makefile.in (langhooks.o): Depend on it.
3650 Wed Oct 10 23:49:06 EDT 2001  John Wehle  (john@feith.com)
3652         * rtlanal.c (noop_move_p): Insns with a REG_RETVAL note
3653         should not be considered as a no-op.
3654         * flow.c (delete_noop_moves): Handle REG_LIBCALL notes.
3656 2001-10-10  Stan Shebs  <shebs@apple.com>
3658         * alias.c: Remove uses of "register" specifier in declarations
3659         of arguments and local variables.
3660         * c-common.c: Ditto.
3661         * c-convert.c: Ditto.
3662         * c-decl.c: Ditto.
3663         * c-format.c: Ditto.
3664         * c-semantics.c: Ditto.
3665         * c-typeck.c: Ditto.
3666         * caller-save.c: Ditto.
3667         * calls.c: Ditto.
3668         * cfg.c: Ditto.
3669         * cfgbuild.c: Ditto.
3670         * cfgrtl.c: Ditto.
3671         * collect2.c: Ditto.
3672         * combine.c: Ditto.
3673         * convert.c: Ditto.
3674         * cppexp.c: Ditto.
3675         * cppfiles.c: Ditto.
3676         * cse.c: Ditto.
3677         * dbxout.c: Ditto.
3678         * defaults.h: Ditto.
3679         * df.c: Ditto.
3680         * dwarf2out.c: Ditto.
3681         * dwarfout.c: Ditto.
3682         * emit-rtl.c: Ditto.
3683         * explow.c: Ditto.
3684         * expmed.c: Ditto.
3685         * expr.c: Ditto.
3686         * final.c: Ditto.
3687         * fix-header.c: Ditto.
3688         * floatlib.c: Ditto.
3689         * flow.c: Ditto.
3690         * fold-const.c: Ditto.
3691         * function.c: Ditto.
3692         * gcc.c: Ditto.
3693         * gcse.c: Ditto.
3694         * gen-protos.c: Ditto.
3695         * genattrtab.c: Ditto.
3696         * gencheck.c: Ditto.
3697         * genconfig.c: Ditto.
3698         * genemit.c: Ditto.
3699         * genextract.c: Ditto.
3700         * genflags.c: Ditto.
3701         * gengenrtl.c: Ditto.
3702         * genoutput.c: Ditto.
3703         * genpeep.c: Ditto.
3704         * genrecog.c: Ditto.
3705         * gensupport.c: Ditto.
3706         * global.c: Ditto.
3707         * gmon.c: Ditto.
3708         * graph.c: Ditto.
3709         * haifa-sched.c: Ditto.
3710         * hard-reg-set.h: Ditto.
3711         * hash.c: Ditto.
3712         * integrate.c: Ditto.
3713         * jump.c: Ditto.
3714         * lists.c: Ditto.
3715         * local-alloc.c: Ditto.
3716         * loop.c: Ditto.
3717         * mips-tdump.c: Ditto.
3718         * mips-tfile.c: Ditto.
3719         * optabs.c: Ditto.
3720         * prefix.c: Ditto.
3721         * print-rtl.c: Ditto.
3722         * read-rtl.c: Ditto.
3723         * real.c: Ditto.
3724         * recog.c: Ditto.
3725         * reg-stack.c: Ditto.
3726         * regclass.c: Ditto.
3727         * regmove.c: Ditto.
3728         * reload.c: Ditto.
3729         * reload1.c: Ditto.
3730         * reorg.c: Ditto.
3731         * resource.c: Ditto.
3732         * rtl.c: Ditto.
3733         * rtlanal.c: Ditto.
3734         * scan.c: Ditto.
3735         * sched-deps.c: Ditto.
3736         * sched-rgn.c: Ditto.
3737         * sdbout.c: Ditto.
3738         * simplify-rtx.c: Ditto.
3739         * stmt.c: Ditto.
3740         * stor-layout.c: Ditto.
3741         * toplev.c: Ditto.
3742         * tradcif.y: Ditto.
3743         * tradcpp.c: Ditto.
3744         * tree.c: Ditto.
3745         * unroll.c: Ditto.
3746         * varasm.c: Ditto.
3747         * xcoffout.c: Ditto.
3749 2001-10-10  Richard Henderson  <rth@redhat.com>
3751         * rtl.h (can_reverse_comparison_p): Remove.
3753 2001-10-10  Christopher Faylor <cgf@redhat.com>
3755         * config/i386/cygwin.h: Avoid adding include files if -nostdinc is
3756         used.
3758 2001-10-10  Danny Smith  <danny_r_smith_2001@yahoo.co.nz>
3760         * config/i386/mingw32.h (WIN32_NO_ABSOLUTE_INST_DIRS): New define.
3761         (Thanks to Chris Faylor for suggesting macro name).
3762         (CPP_PREDEFINES): Define __MINGW32__ but don't set value; add more
3763         WIN32 defines.
3764         (STANDARD_INCLUDE_DIR): Remove i386- from directory name.
3765         (STANDARD_INCLUDE_COMPONENT): Change to MINGW.
3766         (MATH_LIBRARY): Undef before definition.
3767         (OUTPUT_QUOTED_STRING): Likewise.
3768         * config/i386/cygwin.h: Use WIN32_NO_ABSOLUTE_INST_DIRS.
3770 2001-10-10  Richard Henderson  <rth@redhat.com>
3772         * unwind-dw2-fde.c (fde_compare_t): Change return type to int.
3773         (fde_unencoded_compare): Likewise.  Don't use subtraction to get
3774         a tristate comparison value.
3775         (fde_single_encoding_compare, fde_mixed_encoding_compare): Likewise.
3777 2001-10-10  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
3779         PR c++/4512
3780         * unroll.c (loop_iterations): Ignore insns generated by loop
3781         unrolling.
3783         * config.gcc (mips*-*-gnu*): Delete support.
3784         * config/mips/gnu.h: Remove.
3786 2001-10-10  Kazu Hirata  <kazu@hxi.com>
3788         * calls.c: Fix formatting.
3789         * c-decl.c: Likewise.
3790         * cfgcleanup.c: Likewise.
3791         * combine.c: Likewise.
3792         * cppfiles.c: Likewise.
3793         * cpplib.c: Likewise.
3794         * cppmacro.c: Likewise.
3795         * crtstuff.c: Likewise.
3796         * cse.c: Likewise.
3797         * dwarf2out.c: Likewise.
3798         * expmed.c: Likewise.
3799         * expr.c: Likewise.
3800         * fold-const.c: Likewise.
3801         * function.c: Likewise.
3802         * gcse.c: Likewise.
3803         * genattrtab.c: Likewise.
3804         * ggc-page.c: Likewise.
3805         * integrate.c: Likewise.
3806         * libgcc2.c: Likewise.
3807         * loop.c: Likewise.
3808         * optabs.c: Likewise.
3809         * profile.c: Likewise.
3810         * protoize.c: Likewise.
3811         * real.c: Likewise.
3812         * recog.c: Likewise.
3813         * reload1.c: Likewise.
3814         * reload.c: Likewise.
3815         * reorg.c: Likewise.
3816         * resource.c: Likewise.
3817         * sched-rgn.c: Likewise.
3818         * sdbout.c: Likewise.
3819         * stmt.c: Likewise.
3820         * toplev.c: Likewise.
3821         * varasm.c: Likewise.
3823 2001-10-10  Janis Johnson  <janis187@us.ibm.com>, Alexandre Oliva  <aoliva@redhat.com>
3825         * langhooks.c: Include rtl.h, insn-config.h and integrate.h.
3826         * Makefile.in (langhooks.o): Add dependencies.
3828 Wed Oct 10 00:41:29 EDT 2001  John Wehle  (john@feith.com)
3830         * rs6000.c (rs6000_emit_load_toc_table): Don't
3831         strdup the toc label.
3832         (create_TOC_reference): Likewise.
3834 2001-10-09  Danny Smith  <danny_r_smith_2001@yahoo.co.nz>
3836         * config.gcc (i[34567]86-*-mingw32*): Make msvcrt-dependent
3837         version default.
3839 2001-10-09  Danny Smith  <danny_r_smith_2001@yahoo.co.nz>
3841         * config/i386/i386.c (ix86_attribute_table): Correct
3842         min_len, max_len fields for dllimport, dllexport and shared.
3844 2001-10-10  Joseph S. Myers  <jsm28@cam.ac.uk>
3846         * doc/c-tree.texi, doc/cppinternals.texi, doc/extend.texi,
3847         doc/install.texi, doc/md.texi, doc/rtl.texi, doc/tm.texi:
3848         Consistently use "nonzero" instead of "non-zero".
3850 2001-10-09  Kazu Hirata  <kazu@hxi.com>
3852         * acconfig.h: Fix comment formatting.
3853         * c-dump.h: Likewise.
3854         * c-tree.h: Likewise.
3855         * conditions.h: Likewise.
3856         * expr.h: Likewise.
3857         * function.h: Likewise.
3858         * gthr.h: Likewise.
3859         * hwint.h: Likewise.
3860         * integrate.h: Likewise.
3861         * intl.h: Likewise.
3862         * loop.h: Likewise.
3863         * optabs.h: Likewise.
3865 2001-10-09  Kazu Hirata  <kazu@hxi.com>
3867         * c-common.h: Fix comment formatting.
3868         * c-dump.c: Likewise.
3869         * cfg.c: Likewise.
3870         * diagnostic.h: Likewise.
3871         * except.c: Likewise.
3872         * gcc.h: Likewise.
3873         * gcov-io.h: Likewise.
3874         * genattrtab.c: Likewise.
3875         * output.h: Likewise.
3876         * predict.h: Likewise.
3877         * reload1.c: Likewise.
3878         * reload.h: Likewise.
3879         * resource.h: Likewise.
3880         * scan.h: Likewise.
3881         * system.h: Likewise.
3882         * tree.h: Likewise.
3883         * tree-inline.c: Likewise.
3884         * tsystem.h: Likewise.
3885         * varasm.c: Likewise.
3886         * xcoffout.h: Likewise.
3888 2001-10-09  Joseph S. Myers  <jsm28@cam.ac.uk>
3890         * doc/gcc.texi: Document preference for "nonzero" over "non-zero".
3892 2001-10-09  Joseph S. Myers  <jsm28@cam.ac.uk>
3894         * config/alpha/freebsd.h, config/alpha/lib1funcs.asm,
3895         config/i386/i386elf.h, config/i386/netbsd-elf.h,
3896         config/i386/netware.h, config/mcore/gfloat.h,
3897         config/mcore/mcore.c, config/mcore/mcore.h, config/mcore/mcore.md,
3898         config/netware.h, gccbug.in: Update FSF address.
3900 2001-10-09  Kazu Hirata  <kazu@hxi.com>
3902         * c-common.c: Fix comment typos.
3903         * cfgrtl.c: Likewise.
3904         * collect2.c: Likewise.
3905         * cpplex.c: Likewise.
3906         * doloop.c: Likewise.
3907         * dwarf2out.c: Likewise.
3908         * dwarfout.c: Likewise.
3909         * expr.c: Likewise.
3910         * fold-const.c: Likewise.
3911         * gcc.c: Likewise.
3912         * gcov.c: Likewise.
3913         * gcse.c: Likewise.
3914         * global.c: Likewise.
3915         * ifcvt.c: Likewise.
3916         * loop.c: Likewise.
3917         * optabs.c: Likewise.
3918         * protoize.c: Likewise.
3919         * regclass.c: Likewise.
3920         * reorg.c: Likewise.
3921         * rtl.h: Likewise.
3922         * stmt.c: Likewise.
3923         * tree.h: Likewise.
3924         * doc/cpp.texi: Likewise.
3925         * doc/c-tree.texi: Likewise.
3926         * doc/extend.texi: Likewise.
3927         * doc/invoke.texi: Likewise.
3928         * doc/objc.texi: Likewise.
3929         * doc/tm.texi: Likewise.
3931 2001-10-08  Richard Henderson  <rth@redhat.com>
3933         * varasm.c (set_named_section_flags): Initialize "declared".
3935 2001-10-08  Robert Lipe  <robertlipe@usa.net>
3937         * varasm.c (struct in_named_entry): Add declared.
3938         (named_section_first_declaration): New function.
3939         (default_elf_asm_named_section): Use it.
3940         * output.h (named_section_first_declaration): New.
3942 2001-10-08  Richard Henderson  <rth@redhat.com>
3944         * i386.md (movsi_xor): Export.
3945         (setcc peep2): Use it when available; add an alternative to
3946         match zero_extendhisi2_and.
3948 2001-10-08  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
3950         * romp-protos.h (romp_initialize_trampoline): New function.
3951         * romp.c (romp_initialize_trampoline): Likewise.
3952         * romp.h (INITIALIZE_TRAMPOLINE): Define in terms of
3953         romp_initialize_trampoline.
3955 2001-10-08  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
3957         * m68k/3b1.h (ASM_OUTPUT_SOURCE_LINE): Don't reference `last_linenum'.
3958         * m68k/auxas.h (ASM_OUTPUT_SOURCE_LINE): Likewise.
3959         * m68k/crds.h (ASM_OUTPUT_SOURCE_LINE): Likewise.
3960         * m68k/mot3300.h (ASM_OUTPUT_SOURCE_LINE): Likewise.
3962 2001-10-08  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
3964         * unroll.c (loop_iterations): Extend check for multiple back edges.
3966 2001-10-08  Alexandre Oliva  <aoliva@redhat.com>
3968         * langhooks.h: New file.
3969         * Makefile.in (OBJS): Added langhooks.o.
3970         (c-lang.o): Depend on langhooks.h.
3971         (c-common.o): Don't depend on tree-inline.h.
3972         (tree-inline.o): Depend on toplev.h.
3973         (langhooks.o): New rule.
3974         * c-common.c: Don't include tree-inline.h.
3975         (c_mark_lang_decl): Mark argument c as unused.
3976         (c_common_lang_init): Don't initialize hooks here.
3977         * c-lang.c: Include langhooks.h, then override some macros.
3978         (lang_hooks): Initialize with macros in langhooks.h.
3979         (c_init): Don't initialize hooks here.
3980         * toplev.c (struct lang_hooks_for_tree_inlining): New struct.
3981         (struct lang_hooks): Add tree_inlining.  Refer to langhooks.h.
3982         * tree-inline.c: Include toplev.h.  Don't define hook variables.
3983         * tree-inline.h: Don't define hook types nor declare hook
3984         variables.  Move macros to...
3985         * langhooks.c: ... new file, as functions.  Adjust all callers.
3987 2001-10-08  Jeffrey A Law  <law@cygnus.com>
3989         * sibcall.c (optimize_sibling_and_tail_recursive_calls): Call
3990         purge_mem_unchanging_flag on all instructions, not just on those
3991         before NOTE_INSN_FUNCTION_BEG.
3993 2001-10-08  Neil Booth  <neil@daikokuya.demon.co.uk>
3995         * cppmacro.c (_cpp_create_definition): Leave comments off.
3997         * doc/cpp.texi: Update.
3999 2001-10-08  DJ Delorie  <dj@redhat.com>
4001         * c-decl.c (grokfield): Make sure the only unnamed fields
4002         we're allowing are either structs or unions.
4003         * doc/extend.texi: Add documentation for the unnamed field
4004         extension.
4006 2001-10-08  Zack Weinberg  <zack@codesourcery.com>
4008         * aclocal.m4 (gcc_AC_PROG_GNAT): New.
4009         * configure.in: Use it.
4010         * configure: Regenerated.
4011         * config/pa/t-linux, config/pa/t-pa, config/pa/t-pa64,
4012         config/pa/t-pro: Set T_ADAFLAGS, not ADA_CFLAGS.
4014 2001-10-08  Neil Booth  <neil@daikokuya.demon.co.uk>
4016         * cppfiles.c (open_file): Don't mark zero-length files
4017         never-reread here.  Don't output diagnostics here either.
4018         (stack_include_file): Mark them never-reread here.
4019         (_cpp_read_file): Update.
4021 2001-10-08  Richard Henderson  <rth@redhat.com>
4023         * config/i386/sol2.h (UNALIGNED_DOUBLE_INT_ASM_OP): New.
4025 2001-10-08  Richard Henderson  <rth@redhat.com>
4027         * expr.c (store_expr): When converting a CONST_INT for storage
4028         in a SUBREG, convert it to both SUBREG modes before stripping
4029         the SUBREG.
4031 2001-10-08  Richard Henderson  <rth@redhat.com>
4033         * varasm.c (restore_varasm_status): New.
4034         * function.h: Declare it.
4035         * function.c (pop_function_context_from): Call it.
4037 2001-10-08  Richard Henderson  <rth@redhat.com>
4039         * c-common.h (struct c_lang_decl): Add declared_inline.
4040         * c-tree.h (DECL_DECLARED_INLINE_P): New.
4041         * c-lang.c (c_disregard_inline_limits): Use it.
4042         * c-decl.c (duplicate_decls): Likewise.
4043         (pushdecl, redeclaration_error_message): Likewise.
4044         (pushdecl): Allocate DECL_LANG_SPECIFIC if needed.
4045         (grokdeclarator): Likewise.  Set DECL_DECLARED_INLINE_P.
4046         Set DECL_INLINE if -finline-functions.
4047         (store_parm_decls): Don't allocate DECL_LANG_SPECIFIC here.
4049 2001-10-08  Neil Booth  <neil@daikokuya.demon.co.uk>
4051         * cppmacro.c (funlike_invocation_p): Move some logic to caller
4052         in enter_macro_context.  Create a padding token in its own context
4053         if necessary when the search for '(' fails.
4054         (enter_macro_context): Update.
4056 2001-10-07  Joseph S. Myers  <jsm28@cam.ac.uk>
4058         * ChangeLog.2, c-decl.c, config/i386/i386.md, doc/gcc.texi, gcc.c,
4059         genmultilib, toplev.c: Fix spelling errors of "separate" as
4060         "seperate", and corresponding spelling errors of related words.
4062 2001-10-07  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
4064         * builtins.c (expand_builtin_setjmp_receiver): Const-ify.
4065         * c-common.c (fname_var_t, c_tree_code_type, c_tree_code_length):
4066         Likewise.
4067         * c-dump.c (dump_option_value_info): Likewise.
4068         * c-format.c (format_length_info, format_char_info,
4069         format_flag_spec, format_flag_pair, format_kind_info): Likewise.
4070         * collect2.c (names): Likewise.
4071         * cppdefault.h (default_include): Likewise.
4072         * cppexp.c (suffix, vsuf_1, vsuf_2, vsuf_3): Likewise.
4073         * flow.c (life_analysis): Likewise.
4074         * gcc.c (dir_separator_str, modify_target, option_map,
4075         target_option_translations, spec_list_1, extra_specs_1,
4076         init_spec): Likewise.
4077         * gcov.c (gcov_version_string): Likewise.
4078         * genattr.c (write_units): Likewise.
4079         * genattrtab.c (make_length_attrs, write_function_unit_info): Likewise.
4080         * gengenrtl.c (rtx_definition, defs): Likewise.
4081         * genrecog.c (pred_table): Likewise.
4082         * global.c (global_alloc): Likewise.
4083         * lcm.c (optimize_mode_switching): Likewise.
4084         * local-alloc.c (find_free_reg): Likewise.
4085         * params.h (param_info): Likewise.
4086         * predict.c (predictor_info): Likewise.
4087         * protoize.c (unexpansion_struct): Likewise.
4088         * real.c (bmask): Likewise.
4089         * recog.h (insn_operand_data, insn_data): Likewise.
4090         * regclass.c (initial_fixed_regs, initial_call_used_regs): Likewise.
4091         * stmt.c (expand_nl_goto_receiver): Likewise.
4092         * toplev.c (da, debug_args, lang_opt, documented_lang_options,
4093         target_switches, target_options): Likewise.
4094         * tradcif.y (token, tokentab2, yylex): Likewise.
4095         * tree.h (attribute_spec): Likewise.
4097         * alpha.c (override_options, alpha_lookup_xfloating_lib_func):
4098         Likewise.
4099         * arc.c (arc_output_function_epilogue): Likewise.
4100         * arm.c (processors, all_cores, all_architectures,
4101         arm_override_options, isr_attribute_arg, isr_attribute_args,
4102         arm_isr_value): Likewise.
4103         * avr.c (mcu_type_s, reg_class_tab, order_regs_for_local_alloc):
4104         Likewise.
4105         * c4x.c (c4x_int_reglist): Likewise.
4106         * d30v.c (override_options): Likewise.
4107         * h8300.c (shift_insn): Likewise.
4108         * i386.c (size_cost, i386_cost, i486_cost, pentium_cost,
4109         pentiumpro_cost, k6_cost, athlon_cost, pentium4_cost, ix86_cost,
4110         ix86_expand_sse_comi, ix86_expand_sse_compare, override_options,
4111         builtin_description, bdesc_comi, bdesc_2arg, bdesc_1arg,
4112         ix86_init_mmx_sse_builtins, ix86_expand_builtin): Likewise.
4113         * i386.h (processor_costs, ix86_cost): Likewise.
4114         * m68hc11.c (m68hc11_cost, m6811_cost, m6812_cost): Likewise.
4115         * m68hc11.h (processor_costs, m68hc11_cost): Likewise.
4116         * m68k.c (codes_68881, codes_FPA): Likewise.
4117         * m88k.c (mode_from_align, max_from_align, all_from_align,
4118         best_from_align, m_options): Likewise.
4119         * m88k.h (ORDER_REGS_FOR_LOCAL_ALLOC): Likewise.
4120         * mcore.c (mode_from_align): Likewise.
4121         * mips/elf64.h (UNIQUE_SECTION): Likewise.
4122         * mips/iris6gld.h (UNIQUE_SECTION): Likewise.
4123         * mips.c (mips_sw_reg_names, mips_regno_to_class): Likewise.
4124         * mips.h (mips_regno_to_class): Likewise.
4125         * ns32k.c (scales): Likewise.
4126         * pa.c (import_string, magic_milli): Likewise.
4127         * rs6000.c (alt_reg_names, rs6000_override_options): Likewise.
4128         * sparc.c (leaf_reg_remap, sparc_override_options,
4129         reg_leaf_alloc_order, reg_nonleaf_alloc_order, reg_alloc_orders):
4130         Likewise.
4131         * sparc.h (sparc_cpu_select, leaf_reg_remap): Likewise.
4133 2001-10-07  Dale Johannesen  <dalej@apple.com>
4135         * reload1.c (reload_reg_free_p): Teach register interference
4136         checking that multiple output reloads are emitted in
4137         reverse order.
4138         reload1.c (reload_reg_reaches_end_p):  Ditto.
4139         reload1.c (reloads_conflict):  Ditto.
4141 2001-10-07  Joseph S. Myers  <jsm28@cam.ac.uk>
4143         * doc/c-tree.texi, doc/tm.texi: Consistently put NULL and
4144         NULL_TREE inside @code.
4146 2001-10-07  Joseph S. Myers  <jsm28@cam.ac.uk>
4148         * doc/gcc.texi: Document consistent style of "32-bit",
4149         "Objective-C", and "@code{NULL}".
4151 2001-10-06  Zack Weinberg  <zack@codesourcery.com>
4153         * cpplex.c (enum spell_type): Add SPELL_NUMBER.
4154         (cpp_token_len, cpp_spell_token, cpp_output_token,
4155         _cpp_equiv_tokens): Handle it.
4156         * cpplib.h (TTYPE_TABLE): Use SPELL_NUMBER for CPP_NUMBER and
4157         CPP_COMMENT, SPELL_NONE for CPP_PADDING and CPP_EOF.
4158         * cppexp.c (_cpp_parse_expr): Use the correct operator code in
4159         error messages.
4161 Sat Oct  6 07:42:39 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
4163         * gcc.c (default_compilers): Remove .ada.
4165 2001-10-06  Neil Booth  <neil@daikokuya.demon.co.uk>
4167         * doc/cppinternals.texi: Update.
4169 2001-10-06  Zack Weinberg  <zack@codesourcery.com>
4171         * gcc.c (main): Set this_file_error if the appropriate
4172         compiler for a language has not been installed.
4174 2001-10-06  Ulrich Weigand  <uweigand@de.ibm.com>
4176         * config/s390/s390.c (s390_va_arg): Use set_mem_alias_set.
4178 2001-10-05  Joseph S. Myers  <jsm28@cam.ac.uk>
4180         * gccbug.in (CATEGORIES): Add ada.
4182 2001-10-05  Catherine Moore  <clm@redhat.com>
4184         * config/stormy16/stormy-abi:  Document abi changes.
4185         * config/stormy16/stormy16.h (REG_ALLOC_ORDER): Redefine.
4186         (ICALL_REGS): New register class.
4187         (NUM_ARGUMENT_REGISTERS): Now 6.
4188         (DEFAULT_PCC_STRUCT_RETURN): Don't try to return structs
4189         in registers.
4190         (REG_CLASS_FROM_LETTER): Map 'z' to ICALL_REGS.
4191         * config/stormy16.md (call_internal, call_value_internal,
4192         indirect_jump): Use new 'z' constraint.
4194 2001-10-05  Neil Booth  <neil@daikokuya.demon.co.uk>
4196         * doc/cppinternals.texi: Update.
4198 2001-10-05  Richard Henderson  <rth@redhat.com>
4200         * dwarf2out.c (FRAME_BEGIN_LABEL): New.
4201         (output_call_frame_info): Use it instead of __FRAME_BEGIN__ and
4202         the gas section-name-as-label feature.
4204 2001-10-05  Neil Booth  <neil@daikokuya.demon.co.uk>
4206         * doc/cppinternals.texi: Update.
4208 Fri Oct  5 08:17:46 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
4210         * config/i386/i386.c (ix86_split_to_parts): Use trunc_int_for_mode
4211         to ensure valid SImode constants.
4213 2001-10-05  Alexandre Oliva  <aoliva@redhat.com>
4215         * Makefile.in (c-decl.o): Depend on tree-inline.h.
4216         (c-lang.o): Likewise, as well as insn-config.h and integrate.h.
4217         * c-decl.c: Include tree-inline.h.
4218         (c_expand_body): Call optimize_inline_calls. Determine whether
4219         a function is inlinable upfront, and only clear
4220         DECL_SAVED_TREE, DECL_INITIAL and DECL_ARGUMENTS if it isn't.
4221         * c-lang.c: Include tree-inline.h, insn-config.h and integrate.h.
4222         (c_disregard_inline_limits): New function.
4223         (inline_forbidden_p, c_cannot_inline_tree_fn): Likewise.
4224         (c_post_options): Enable tree inlining if inlining is enabled.
4225         Don't inline trees when instrumenting functions.
4226         (c_init): Initialize lang_disregard_inline_limits and
4227         lang_cannot_inline_tree_fn.
4228         * tree-inline.c (initialize_inlined_parameters): Handle calls
4229         with fewer arguments than declared parameters, and fewer
4230         parameters than passed arguments.  Don't assume value is a
4231         DECL.
4232         (declare_return_variable): Convert return value back to the
4233         original type, if it was promoted.
4234         (tree_inlinable_function_p): New function.
4235         (inlinable_function_p): Don't look at DECL_INLINE if we're
4236         inlining all functions.  Make it work with a NULL id.
4237         Re-check DECL_UNINLINABLE after language-specific checks.
4238         * tree-inline.h (tree_inlinable_function_p): Declare it.
4239         * integrate.c (save_for_inline): Don't bother to prepare argvec
4240         when not inlining.
4241         * cse.c (check_for_label_ref): Don't check deleted labels.
4243         * Makefile.in (tree-inline.o): Depend on newly-included headers.
4244         * tree-inline.c: Include headers needed for the functions moved in.
4245         (struct inline_data, INSNS_PER_STMT): Moved from cp/optimize.c.
4246         (remap_decl, remap_block, copy_scopy_stmt, copy_body_r): Likewise.
4247         (copy_body, initialize_inlined_parameters): Likewise.
4248         (declare_return_variable, inlinable_function_p): Likewise.
4249         (expand_call_inline, expand_calls_inline): Likewise.
4250         (optimize_inline_calls, clone_body): Likewise.
4251         (walk_tree, walk_tree_without_duplicates): Moved from cp/tree.c.
4252         (copy_tree_r, remap_save_expr): Likewise.
4254 2001-10-04  Alexandre Oliva  <aoliva@redhat.com>
4256         * Makefile.in (OBJS): Added tree-inline.o.
4257         (c-common.o): Depend on tree-inline.h.
4258         (tree-inline.o): New target.
4259         * c-common.c: Include tree-inline.h.
4260         (c_mark_lang_decl): Don't mark saved_tree.
4261         (c_common_lang_init): Set lang_anon_aggr_type_p.
4262         * c-common.h (walk_tree_fn, DECL_SAVED_TREE): Moved to tree.h.
4263         (struct c_lang_decl): Moved saved_tree to tree_decl.
4264         * ggc-common.c: Mark saved_tree and inlined_fns of FUNCTION_DECLs.
4265         * integrate.h (function_attribute_inlinable_p): Declare it.
4266         * integrate.c (function_attribute_inlinable_p): Export it.
4267         * tree-inline.c: New file.  Define variables declared in...
4268         * tree-inline.h: New file.  Declare functions to be moved to
4269         tree-inline.c.  Define macros and declare types and hooks for
4270         language-specific tree inlining.
4271         (flag_inline_trees): Moved definition from cp/decl2.c.
4272         * tree.h (walk_tree_fn, DECL_SAVED_TREE): Moved from c-common.h.
4273         (TREE_READONLY_DECL_P, DECL_INLINED_FNS): Moved from cp/cp-tree.h.
4274         (struct tree_decl): Moved saved_tree from c_lang_decl and
4275         inlined_fns from C++'s lang_decl.
4277 2001-10-04  Loren J. Rittle  <ljrittle@acm.org>
4279         * Makefile.in (STAGE2_FLAGS_TO_PASS): Remove patches which
4280         propagated HOST_CC, HOST_CFLAGS, HOST_LDFLAGS and HOST_CPPFLAGS.
4282 2001-10-04  Neil Booth  <neil@daikokuya.demon.co.uk>
4284         * doc/cppinternals.texi: Update.
4286 2001-10-04  Eric Christopher  <echristo@redhat.com>
4288         * config/mips/mips.c (init_cumulative_args): Remember to set
4289         cum->prototype.
4290         * config.gcc: Redo linux configuration. Add target_cpu_default
4291         of soft-float to all mipsisa32 combinations and tx39.
4292         * config/mips/linux.h: Remove include of mips.h.
4294 2001-10-03  Loren J. Rittle  <ljrittle@acm.org>
4296         * Makefile.in (STAGE2_FLAGS_TO_PASS): Propagate HOST_CFLAGS,
4297         HOST_LDFLAGS and HOST_CPPFLAGS.
4299 2001-10-03  Ziemowit Laski  <zlaski@apple.com>
4301         * c-parse.in (objc_inherit_code, objc_pq_context,
4302         objc_public_flag): Make static.
4303         (objc_interface_context, objc_implementation_context,
4304         objc_method_context, objc_ivar_chain, objc_ivar_context): Move to
4305         global tree array in objc/objc-act.[ch].
4306         (methoddef): Remove unnecessary code.
4308         * objc/objc-act.c: (hashed_attribute, hashed_entry, imp_entry):
4309         Hoist struct definitions to objc-act.h.
4310         (nst_method_hash_list, cls_method_hash_list, imp_list, imp_count,
4311         cat_count): Place declaration in objc-act.h.
4312         (objc_tree_index): Move enumeration to objc-act.h.
4313         (objc_global_trees): Place declaration and macro accessors in
4314         objc-act.h.
4315         (implementation_context): Remove duplicate; use
4316         objc_implementation_context instead:
4317         (method_context): Remove duplicate; use objc_method_context
4318         instead.
4319         (objc_ellipsis_node, objc_method_prototype_template,
4320         implemented_classes, function_type): Move global vars to
4321         objc_global_trees.
4322         (init_objc): Use LAST_BASE_TREE_CODE instead of LAST_CODE.
4323         (build_message_expr): Move actual construction of ObjC message
4324         send nodes to finish_message_expr.
4325         (finish_message_expr): New routine, contains code formerly in
4326         build_message_expr.
4327         * objc/objc-act.h (finish_message_expr): New prototype.
4328         (objc_ivar_chain, objc_method_context, objc_ellipsis_node): Remove
4329         declarations; these vars are now part of objc_global_trees.
4330         (objc_tree_index, objc_global_trees): Move definitions from
4331         objc-act.c.
4332         * objc/objc-tree.def: Update copyright info.
4334 Wed Oct  3 12:22:11 EDT 2001  John Wehle  (john@feith.com)
4336         * dwarf2asm.c (unaligned_integer_asm_op): Abort if
4337         op is NULL.
4338         * sparc/sysv4.h (UNALIGNED_DOUBLE_INT_ASM_OP): Use
4339         only if TARGET_ARCH64.
4341 2001-10-02  Bernd Schmidt  <bernds@redhat.com>
4343         * doc/extend.texi: Fix some problems with previous checkin.
4344         * doc/invoke.texi: Likewise.
4346 2001-10-02  Neil Booth  <neil@daikokuya.demon.co.uk>
4348         * cpphash.h: Update comments.
4349         (cpp_context): Update.
4350         (spec_nodes): Remove n__Pragma.
4351         * cppinit.c (cpp_create_reader): Update.
4352         (builtin_array): Add _Pragma.
4353         * cpplib.h: Update comments.
4354         (NODE_DISABLED, BT_PRAGMA): New.
4355         (cpp_start_lookahead, cpp_stop_lookahead): Remove prototypes.
4356         * cppmacro.c (struct cpp_macro): Remove disabled.
4357         (builtin_macro): Return int, handle _Pragma, push the new token
4358         on the context stack.
4359         (funlike_invocation_p): Unconstify, update.
4360         (enter_macro_context): Handle builtins here.
4361         (replace_args, push_token_context, push_ptoken_context):
4362         Update for prototype changes.
4363         (_cpp_pop_context): Update.
4364         (cpp_get_token): Don't handle buitins, nor _Pragma here.
4365         (cpp_sys_macro_p): Update.
4366         (_cpp_free_definition): Clear disabled flag.
4367         (_cpp_create_definition): Upate.
4368         * cppmain.c: Update comments.
4370 Tue Oct  2 12:46:01 CEST 2001  Bo Thorsen     <bo@suse.co.uk>,
4371                                 Andreas Jaeger <aj@suse.de>,
4372                                 Jan Hubicka    <jh@suse.cz>
4374         * doc/invoke.texi (i386 Options): Document x86-64 options.
4375         (i386 and x86-64 Options): Rename i386 options section.
4377         * config/i386/i386.h (TARGET_UNWIND_INFO): New.
4378         (TARGET_SWITCHES): Add -munwind-info.
4379         (MASK_NO_UNWIND_INFO): New.
4380         (NO_BUILTIN_SIZE_TYPE, NO_BUILTIN_PTRDIFF_TYPE): Define for
4381         biarch compilation.
4382         (ASM_OUTPUT_DOUBLE_INT): New.
4384         * config/i386/linux64.h: New spec file for Linux x86-64 support.
4385         * config.gcc: Fix tm_file settings for x86-64.
4386         * config/i386/x86-64.h: New file with OS independent x86-64
4387         definitions.
4388         * config/i386/biarch64.h: New file used to configure compiler
4389         to biarch/64bit compilation.
4391         * config/i386/i386.c: (override_options): Set flags default
4392         for 64bit compilation.
4394 Tue Oct  2 12:46:01 CEST 2001  Jan Hubicka  <jh@suse.cz>
4396         * i386.c (legitimize_pic_address): Add missing bits of 64bit support.
4397         (ix86_expand_int_movcc): Optimize DImode conditional moves with
4398         constants on x86_64.
4399         (ix86_attr_length_immediate_default): Support MODE_DI.
4400         * i386.md (fixdi splitter): Add missing "&& 1" in splitter
4401         condition.
4402         (indirect_jump, tablejump): Turn into expander.
4404 2001-10-02  Joseph S. Myers  <jsm28@cam.ac.uk>
4406         * c-common.c (c_format_attribute_table): Make format and
4407         format_arg attributes apply to function types rather than to
4408         decls.
4409         (is_valid_printf_arglist): Construct an attribute list and pass
4410         that to check_function_format rather than a name.
4411         * c-common.h (check_function_format): Adjust prototype.
4412         * c-decl.c (duplicate_decls): Preserve attributes from type of
4413         built-in decl when allowing for harmless conflict in types.
4414         * c-format.c (record_function_format,
4415         record_international_format, function_format_list,
4416         international_format_info, international_format_list): Remove.
4417         (function_format_info): Remove next, name and assembler_name.
4418         Make format_num and first_arg_num be unsigned HOST_WIDE_INT.
4419         (decode_format_attr): New.
4420         (handle_format_attribute): Handle receiving a type rather than a
4421         decl.  Call decode_format_attr.  Store format information in a
4422         function_format_info.
4423         (handle_format_arg_attribute): Correct comment.  Handle receiving
4424         a type rather than a decl.  Use unsigned HOST_WIDE_INT for
4425         arg_num.
4426         (check_format_info_recurse, check_format_info_main): Take argument
4427         numbers as unsigned HOST_WIDE_INT.
4428         (check_function_format): Take a list of attributes from the
4429         function type rather than a name or assembler name.  Check for
4430         format attributes in that list and the attributes on the type of
4431         the current function rather than looking through
4432         function_format_list.
4433         (check_format_info): Use unsigned HOST_WIDE_INT for argument
4434         numbers.
4435         (check_format_info_recurse): Take format_arg attributes from the
4436         type of the function calls rather than using
4437         international_format_list.  Allow for multiple format_arg
4438         attributes.
4439         * c-typeck.c (build_function_call): Pass type attributes to
4440         check_function_format rather than name or assembler name.  Don't
4441         require there to be a name or assembler name to check formats.
4443 2001-10-02  Joseph S. Myers  <jsm28@cam.ac.uk>
4445         * attribs.c (decl_attributes): Possibly call
4446         insert_default_attributes to insert default attributes on
4447         functions in a lazy manner.
4448         * builtin-attrs.def: New file; define the default format and
4449         format_arg attributes.
4450         * c-common.c (c_format_attribute_table): Move to earlier in the
4451         file.
4452         (c_common_nodes_and_builtins): Initialize format_attribute_table.
4453         (enum built_in_attribute, built_in_attributes,
4454         c_attrs_initialized, c_init_attributes,
4455         c_common_insert_default_attributes): New.
4456         (c_common_lang_init): Don't initialize format_attribute_table.  Do
4457         call c_init_attributes.
4458         * Makefile.in (c-common.o): Depend on builtin-attrs.def.
4459         * c-common.h (init_function_format_info): Don't declare.
4460         (c_common_insert_default_attributes): Declare.
4461         * c-decl.c (implicitly_declare, builtin_function): Call
4462         decl_attributes.
4463         (init_decl_processing): Don't call init_function_format_info.
4464         (insert_default_attributes): New.
4465         * c-format.c (handle_format_attribute,
4466         handle_format_arg_attribute): Be quiet about inappropriate
4467         declaration when applying default attributes.
4468         (init_function_format_info): Remove.
4469         * tree.h (enum attribute_flags): Add ATTR_FLAG_BUILT_IN.
4470         (insert_default_attributes): Declare.
4472 2001-10-02  Joseph S. Myers  <jsm28@cam.ac.uk>
4474         * c-format.c (CPLUSPLUS_STD_VER): Define to STD_C94.
4476 2001-10-01  Jim Wilson  <wilson@redhat.com>
4478         * sched-deps.c (add_dependence): When elide conditional dependence,
4479         check that insn doesn't modify cond2.
4481 2001-10-01  Dale Johannesen  <dalej@apple.com>
4483         * config/rs6000/rs6000.h (enum processor_type): Add support
4484         for 7400 (G4) and 7450.
4485         (RTX_COSTS): Ditto.
4486         * config/rs6000/rs6000.c (rs6000_override_options): Ditto.
4487         (rs6000_issue_rate): Ditto.
4488         (rs6000_adjust_cost): Fix cycle counts for compares.
4489         (debug_stack_info):  Fix an obvious typo.
4490         * config/rs6000/rs6000.md: Add functional units for 7400 and 7450.
4491         * doc/invoke.texi: Document.
4492         * config/rs6000/darwin.h (TARGET_DEFAULT): Set to be reasonable
4493         for Darwin.
4494         (PROCESSOR_DEFAULT): Ditto.
4496 2001-10-01  Loren J. Rittle  <ljrittle@acm.org>
4498         * Makefile.in (STAGE2_FLAGS_TO_PASS): Propagate HOST_CC.
4499         (fixinc.sh): Map CC, CFLAGS and LDFLAGS to HOST_* versions for
4500         later recursive make invocation.
4502 2001-10-01  Hans Boehm  <boehm@acm.org>
4504         * optabs.c (emit_libcall_block): When using non-call exceptions,
4505         don't add REG_LIBCALL reg notes to trapping calls.
4507 2001-10-01  David Billinghurst <David.Billinghurst@riotinto.com>
4509         * flow.c (propagate_block_delete_libcall): Remove unused first arg
4510         (propagate_one_insn):  Update for above change
4512 2001-10-01  David Billinghurst <David.Billinghurst@riotinto.com>
4514         * unwind-sjlj.c (_Unwind_GetRegionStart, _Unwind_GetDataRelBase,
4515         _Unwind_GetTextRelBase): Argument is unused.
4517 Mon Oct  1 19:20:57 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
4519         * alias.c (get_alias_set): Try to replace PLACEHOLDER_EXPR.
4520         Loop through NOPs, placeholders, and components.
4521         Don't go through NOPs if change mode.
4522         (record_alias_subset): Do nothing if SUBSET and SET are the same.
4523         * emit-rtl.c (set_mem_alias_set): Enable check.
4524         * expr.c (find_placeholder): New function.
4525         (expand_expr, case PLACEHOLDER_EXPR): Use it.
4526         (expand_expr, case COMPONENT_EXPR): Always copy OP0 when we need
4527         to modify it and avoid unneeded copies.
4528         * expr.h (expand_expr): Always define.
4529         (find_placeholder): New declaration.
4531 2001-10-01  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
4533         * config/m68hc11/m68hc11.md ("add-split"): Fix add split when
4534         operand 2 is the stack pointer.
4535         ("addr-peephole"): Fix address computation peephole when operand 2
4536         is the stack pointer.
4538 Mon Oct  1 09:26:41 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
4540         * config/i386/i386.c (ix86_va_arg): Call set_mem_alias_set.
4541         (ix86_setup_incoming_varargs): Likewise.
4543 2001-10-01  Jason Merrill  <jason_merrill@redhat.com>
4545         * stor-layout.c (layout_type): Don't complain about too-large
4546         array here.
4548 Mon Oct  1 06:43:41 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
4550         * function.c (keep_stack_depressed): Don't use delete_insn.
4552         * expr.h (set_mem_alias_set): Move decl to here.
4553         * rtl.h (mem_attrs): New typedef and struct.
4554         (union rtunion_def): Add field for mem_attrs.
4555         (X0MEMATTR, MEM_ATTRS): New macros.
4556         (MEM_ALIAS_SET): Use MEM_ATTRS.
4557         (MEM_DECL, MEM_OFFSET, MEM_SIZE, MEM_ALIGN): New macros.
4558         (MEM_COPY_ATTRIBUTES): Copy MEM_ATTRS.
4559         (set_mem_alias_set): Delete decl from here.
4561         * alias.c (set_mem_alias_set): Delete from here.
4562         * emit-rtl.c (mem_attrs_htab): New variable.
4563         (rtx_htab_mark, rtx_htab_mark_1): Deleted.
4564         (mem_attrs_htab_hash, mem_attrs_htab_eq): New functions.
4565         (mem_attrs_mark, get_mem_attrs): Likewise.
4566         (gen_rtx_MEM): Clear MEM_ATTRS.
4567         (set_mem_attributes): Move to here.
4568         (set_mem_alias_set): Likewise, and call get_mem_attrs.
4569         (init_emit_once): const_int_htab now deletable htab.
4570         Initialize mem_attrs_htab.
4571         * explow.c (set_mem_attributes): Delete from here.
4572         * function.c (put_var_into_stack): Clear MEM_ATTRS.
4573         (gen_mem_addressof): Likewise; rework to use set_mem_attributes.
4574         * ggc-common.c (ggc_mark_rtx_children, case MEM): New case.
4575         * reload1.c (reload): Rework changing REG to MEM.
4577 2001-09-30  H.J. Lu <hjl@gnu.org>
4579         * acconfig.h (PREFIX_INCLUDE_DIR): New variable.
4580         * config.in: Rebuild.
4582 2001-09-30  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
4584         * config/m68hc11/m68hc11.md ("cmpqi_1"): Fix constraints.
4585         ("tsthi_1"): Avoid allocation in register y.
4586         ("*movqi_68hc12"): Reorganize and fix constraints.
4587         ("zero_extendqisi2"): Prefer d over x and y for operand 1.
4588         ("addqi3"): Likewise.
4589         ("addhi3"): Fix constraints.
4590         ("*logicalhi3_zexthi"): Disparage soft registers.
4592 2001-09-30  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
4594         * config/m68hc11/m68hc11.c (m68hc11_gen_movhi): Fix move of sp
4595         to tmp reg.
4597 2001-09-30  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
4599         * config/m68hc11/m68hc11.h(INCOMING_RETURN_ADDR_RTX): Remove so
4600         that we use setjmp/longjmp exceptions.
4602 2001-09-30  Neil Booth  <neil@daikokuya.demon.co.uk>
4604         * cpphash.h (POOL_ALIGN, POOL_FRONT, POOL_LIMIT, POOL_BASE,
4605         POOL_SIZE, POOL_ROOM, POOL_COMMIT, struct cpp_chunk,
4606         struct cpp_pool, _cpp_init_pool, _cpp_free_pool, _cpp_pool_reserve,
4607         _cpp_pool_alloc, _cpp_next_chunk): Remove.
4608         (_cpp_extend_buff, BUFF_ROOM): Update.
4609         (_cpp_append_extend_buff): New.
4610         (struct cpp_reader): Remove macro_pool, add a_buff.
4611         * cppinit.c (cpp_create_reader): Initialize a_buff, instead of
4612         macro_pool.
4613         (cpp_destroy): Free a_buff instead of macro_pool.
4614         * cpplex.c (new_chunk, chunk_suitable, _cpp_next_chunk,
4615         new_chunk, _cpp_init_pool, _cpp_free_pool, _cpp_pool_reserve,
4616         _cpp_pool_alloc, ): Remove.
4617         (parse_number, parse_string): Update use of _cpp_extend_buff.
4618         (_cpp_extend_buff): Update.
4619         (_cpp_append_extend_buff, cpp_aligned_alloc): New.
4620         * cpplib.c (glue_header_name, parse_answer):
4621         Update use of _cpp_extend_buff.
4622         (cpp_register_pragma, cpp_register_pragma_space): Use
4623         _cpp_aligned_alloc.
4624         (do_assert, do_unassert): Check for EOL, update.
4625         * cppmacro.c (stringify_arg, collect_args): Update to use
4626         _cpp_extend_buff and _cpp_append_extend_buff.
4627         (save_parameter, parse_params, alloc_expansion_token,
4628         _cpp_create_definition): Rework memory management.
4630 2001-09-29  Andris Pavenis  <pavenis@lanet.lv>
4632         * config/i386/xm-djgpp.h (GCC_DRIVER_HOST_INITIALIZATION): Don't
4633         update md_exec_prefix.
4634         (UPDATE_PATH_HOST_CANONICALIZE): Don't free PATH as it can point
4635         to string constant.
4637 2001-09-30  Ulrich Weigand  <uweigand@de.ibm.com>
4639         * config/s390/s390.h (EXTRA_CC_MODES): Add CCLmode.
4640         (SELECT_CC_MODE): Use s390_select_ccmode.
4641         * config/s390/s390-protos.h (s390_select_ccmode): Add.
4642         * config/s390/s390.c (s390_select_ccmode): New.
4643         (s390_match_ccmode): Add CCLmode.
4644         (s390_branch_condition_mask, s390_branch_condition_mnemonic): New.
4645         (output_branch_condition, output_inverse_branch_condition): Removed.
4646         (print_operand): Use s390_branch_condition_mnemonic.
4647         * config/s390/s390.md (addsi3_cc, addsi3_cconly, addsi3_cconly2,
4648         subsi3_cc, subsi3_cconly): Use logical instructions and CCLmode.
4649         (bunordered, bordered, buneq, bungt, bunlt, bnuge, bunle, bltgt): New.
4651         * config/s390/s390.c (check_and_change_labels): Preserve CC mode
4652         when converting conditional branches to far branches.
4653         * config/s390/s390.md (cmpstr_const, cmpstr_64, cmpstr_31, cmpint_si,
4654         cmpint_di): Use CCSmode instead of CCUmode.
4656         * config/s390/s390.c (legitimate_la_operand_p): New.
4657         * config/s390/s390-protos.h (legitimate_la_operand_p): Add.
4658         * config/s390/s390.md (movsi): Convert load address patterns to
4659         arithmetic operations when necessary.
4660         (addaddr_picR, addaddr_picL, addaddr_picN): Removed.
4661         (do_la): Renamed to *do_la and use legitimate_la_operand_p.
4662         (*do_la_reg_0): Don't use before reload.
4664         * config/s390/s390.c (legitimize_address): Make more efficient
4665         use of two-register addressing mode.
4667         * config/s390/s390.c (s390_function_prologue): Fix incorrect prolog
4668         with -mno-backchain in some corner cases.
4670         * config/s390/s390.md (cmpsi_cct): Operands 0 and 1 do not commute.
4672 2001-09-29  Alexandre Oliva  <aoliva@redhat.com>
4674         * reload.c (find_reloads): Mark new USE insns with QImode.
4675         (find_reloads_toplev, find_reloads_address, subst_reg_equivs,
4676         find_reloads_subreg_address): Likewise.
4677         * regrename.c (note_sets, clear_dead_regs): Abort if pseudos are
4678         encountered.
4679         * reload1.c (reload_combine_note_use): Likewise, inside USEs and
4680         CLOBBERs.
4681         (reload): Make sure there are no USEs with mode other than
4682         VOIDmode.  At the end, remove those marked with QImode.
4684 2001-09-29  Per Bothner  <per@bothner.com>
4686         * cppdefault.c (cpp_include_defaults):  Also search PREFIX_INCLUDE_DIR.
4687         * Makefile.in (includedir):  Rename to local_includedir.
4688         (includedir):  Define as $(prefix)/include.
4689         * config.in (PREFIX_INCLUDE_DIR):  New variable.
4690         * configure.in (PREFIX_INCLUDE_DIR):  Test for new variable.
4692 2001-09-29  Bernd Schmidt  <bernds@redhat.com>
4694         * config/i386/i386.c (init_mmx_sse_builtins): Fix type of storelps and
4695         storehps builtins.
4696         * doc/extend.texi (Vector Extensions): New node.
4697         * doc/invoke.texi (Machine Dependent Options): Add documentation for
4698         i386 -mmmx, -msse, -m3dnow.
4700 Sat Sep 29 15:08:16 CEST 2001  Jan Hubicka  <jh@suse.cz>
4702         * doc/invoke.texi (Optimize Options): Revert an accidental checkin.
4704 2001-09-29  Hans-Peter Nilsson  <hp@axis.com>
4706         * cse.c (cse_insn) [HAVE_cc0]: Fix typo delete-insn -> delete_insn.
4708         * doc/invoke.texi (Optimize Options): Delete spurious @table.
4710 2001-09-28  Richard Henderson  <rth@redhat.com>
4712         * varasm.c (assemble_integer): Bound alignment check by
4713         BIGGEST_ALIGNMENT.
4715         * cfgrtl.c (redirect_edge_and_branch): Abort if redirect_jump fails.
4717 2001-09-28  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
4719         * config/i386/sol2.h (CPLUSPLUS_CPP_SPEC): Define.
4721 2001-09-25  Bernd Schmidt  <bernds@redhat.com>
4723         Mostly from Graham Stott  <grahams@redhat.com>
4724         * c-common.c (type_for_mode): Add support for V2SFmode.
4725         * tree.c (build_common_tree_nodes_2): Likewise.
4726         * tree.h (enum tree_index, global_trees): Likewise.
4727         * config/i386/i386.c (x86_3dnow_a): New variable.
4728         (override_options): Support 3Dnow extensions.
4729         (bdesc_2arg, bdesc_1arg): Some SSE instructions are also part of
4730         Athlon's version of 3Dnow.
4731         (ix86_init_mmx_sse_builtins): Create 3Dnow builtins.
4732         (ix86_expand_builtin): Handle them.
4733         (ix86_hard_regno_mode_ok): Support V2SFmode if using 3Dnow.
4734         * config/i386/i386.h (MASK_3DNOW, MASK_3DNOW_A, TARGET_3DNOW,
4735         TARGET_3DNOW_A): New macros.
4736         (TARGET_SWITCHES): Add 3Dnow switches.
4737         (VALID_MMX_REG_MODE_3DNOW): New macro.
4738         (VECTOR_MODE_SUPPORTED_P): Use it.
4739         (enum ix86_builtins): Add entries for 3Dnow builtins.
4740         * config/i386/i386.md (movv2sf_internal, movv2sf, pushv2sf, pf2id,
4741         pf2iw, addv2sf3, subv2sf3, subrv2sf3, gtv2sf3, gev2sf3, eqv2sf3,
4742         pfmaxv23sf3, pfminv2sf3, mulv2sf3, femms, prefetch_3dnow, prefetchw,
4743         pfacc, pfnacc, pfpnacc, pi2fw, floatv2si2, pavgusb, pfrcpv2sf2,
4744         pfrcpit1v2sf3, pfrcpit2v2sf3, pfrsqrtv2sf2, pfrsqit1v2sf3,
4745         pmulhrwvhi3, pswapdv2si2, pswapdv2sf2): New patterns.
4746         (mmx_pmovmskb, mmx_maskmovq, sse_movntdi, umulv4hi3_highpart,
4747         mmx_uavgv8qi3, mmx_uavgv4hi3, mmx_psadbw, mmx_pinsrw, mmx_pextrw,
4748         mmx_pshufw, umaxv8qi3, smaxv4hi3, uminv8qi3, sminv4hi3, sfence,
4749         sfence_insn, prefetch): Make these available if TARGET_SSE or
4750         TARGET_3DNOW_A.
4752 Fri Sep 28 19:18:40 CEST 2001  Jan Hubicka  <jh@suse.cz>
4754         * i386-protos.h (ix86_setup_incoming_varargs, ix86_va_arg,
4755         ix86_va_start, ix86_build_va_list): Declare.
4756         * i386.c (ix86_setup_incoming_varargs, ix86_va_arg,
4757         ix86_va_start, ix86_build_va_list): New global functions.
4758         * i386.md (sse_prologue_save_insn): New insn.
4759         (sse_prologue_save): New expander.
4760         * i386.h (EXPAND_BUILTIN_VA_ARG, EXPAND_BUILTIN_VA_START,
4761         BUILD_VA_LIST_TYPE, SETUP_INCOMING_VARARGS): New macros.
4763 2001-09-28  Neil Booth  <neil@daikokuya.demon.co.uk>
4765         * cpplex.c (new_buff, _cpp_get_buff, _cpp_extend_buff):
4766         Use size_t everywhere, make definitions consistent with
4767         prototypes.
4769 Fri Sep 28 14:59:34 CEST 2001  Jan Hubicka  <jh@suse.cz>
4771         * gcse.c (replace_store_insn): Use delete_insn.
4772         * loop.c (move_movables): Likewise; avoid delete_insn
4773         from clobbering notes moved elsewhere.
4774         (check_dbra_loop): Use delete_insn.
4775         * ssa.c (convert_from_ssa): Likewise.
4776         * cse.c (cse_insn): Use delete_insn.
4778 2001-09-28  Neil Booth  <neil@daikokuya.demon.co.uk>
4780         * cpphash.h (struct cpp_buff): Make unsigned.
4781         (_cpp_get_buff): Take length of size_t.
4782         (_cpp_unaligned_alloc): New.
4783         (BUFF_ROOM, BUFF_FRONT, BUFF_LIMIT): New.
4784         (struct cpp_reader): Remove ident_pool.  Add u_buff.
4785         * cppinit.c (cpp_create_reader): Initialize u_buff, not ident_pool.
4786         (cpp_destroy): Destroy u_buff, not ident_pool.
4787         * cpplex.c (parse_number, parse_string, save_comment,
4788         cpp_token_as_text): Update to use the unaligned buffer.
4789         (new_buff): Make unsigned.
4790         (_cpp_unaligned_alloc): New.
4791         * cpplib.c (glue_header_name): Update to use the unaligned buffer.
4792         * cppmacro.c (new_number_token, builtin_macro, stringify_arg):
4793         Similarly.
4794         (collect_args): Make unsigned.
4796 2001-09-27  Zack Weinberg  <zack@codesourcery.com>
4798         * cpplex.c (cpp_output_token): Use a putc loop for
4799         SPELL_OPERATOR, and fwrite for SPELL_IDENT.
4801         * configure.in: Detect fwrite_unlocked and fprintf_unlocked.
4802         * configure, config.in: Regenerate.
4803         * system.h: Replace fwrite and fprintf with their unlocked
4804         variants if available.
4806 2001-09-27  Richard Henderson  <rth@redhat.com>
4808         * dwarf2out.c (dwarf2out_frame_finish): Never elide .debug_frame
4809         in favour of .eh_frame.
4811 2001-09-27  Aldy Hernandez  <aldyh@redhat.com>
4813         * config/rs6000/rs6000.h (FUNCTION_VALUE): Change hardcoded 33 and 3
4814         to macros.
4815         (LIBCALL_VALUE): Likewise.
4817 2001-09-27  Neil Booth  <neil@daikokuya.demon.co.uk>
4819         * cpphash.h: Update comment.
4820         * cpplex.c: Update comments.
4821         (_cpp_can_paste): Remove.
4822         * cpplib.h (_cpp_can_paste): Remove.
4823         * cppmacro.c (paste_tokens, paste_all_tokens): Update to use the
4824         lexer rather than _cpp_can_paste.
4826 2001-09-27  Neil Booth  <neil@daikokuya.demon.co.uk>
4828         * doc/cppinternals.texi: Update.
4830 2001-09-26  Neil Booth  <neil@daikokuya.demon.co.uk>
4832         * cpphash.h (struct cpp_pool): Remove locks and locked.
4833         (struct cpp_context): Add member buff.
4834         (struct cpp_reader): Remove member argument_pool.
4835         (_cpp_lock_pool, _cpp_unlock_pool): Remove.
4836         * cppinit.c (cpp_create_reader, cpp_destroy): Argument_pool is dead.
4837         * cpplex.c (chunk_suitable): Remove pool argument.
4838         (MIN_BUFF_SIZE, BUFF_SIZE_UPPER_BOUND, EXTENDED_BUFF_SIZE): New.
4839         (new_buff, _cpp_extend_buff): Update.
4840         (_cpp_get_buff): Fix silly pointer bug.  Be more selective about
4841         which buffer is returned.
4842         (_cpp_next_chunk, _cpp_init_pool): Pool locking removed.
4843         (_cpp_lock_pool, _cpp_unlock_pool): Remove.
4844         * cppmacro.c (lock_pools, unlock_pools): Remove.
4845         (push_ptoken_context): Take a _cpp_buff.
4846         (enter_macro_context): Pool locking removed.
4847         (replace_args): Use a _cpp_buff for the replacement list with
4848         arguments replaced.
4849         (push_token_context): Clear buff.
4850         (expand_arg): Use _cpp_pop_context.
4851         (_cpp_pop_context): Free a context's buffer, if any.
4853 2001-09-26  DJ Delorie  <dj@redhat.com>
4855         * c-typeck.c (digest_init): Check for sizeless arrays.
4857 2001-09-26  Richard Henderson  <rth@redhat.com>
4859         * optabs.c (init_one_libfunc): Create a dummy function type
4860         instead of using error_mark_node.
4862 2001-09-26  Neil Booth  <neil@daikokuya.demon.co.uk>
4864         * cpphash.h (struct _cpp_buff, _cpp_get_buff, _cpp_release_buff,
4865         _cpp_extend_buff, _cpp_free_buff): New.
4866         (struct cpp_reader): New member free_buffs.
4867         * cppinit.c (cpp_destroy): Free buffers.
4868         * cpplex.c (new_buff, _cpp_release_buff, _cpp_get_buff,
4869         _cpp_extend_buff, _cpp_free_buff): New.
4870         * cpplib.h (struct cpp_options): Remove unused member.
4871         * cppmacro.c (collect_args): New.  Combines the old parse_arg
4872         and parse_args.  Use _cpp_buff for memory allocation.
4873         (funlike_invocation_p, replace_args): Update.
4875 Wed Sep 26 13:20:51 CEST 2001  Jan Hubicka  <jh@suse.cz>
4877         * final.c (final_scan_insn): Use delete_insn instead of delete_note.
4879 2001-09-25  Andrew Haley  <aph@cambridge.redhat.com>
4881         * except.c (sjlj_mark_call_sites): Change address inside sequence.
4883 2001-09-24  Andrew Haley  <aph@cambridge.redhat.com>
4885         * config/sh/linux.h (LINK_SPEC): Set dynamic-linker to agree with
4886         glibc.
4888 2001-09-25  Janis Johnson  <janis187@us.ibm.com>
4889             Jim Wilson  <wilson@redhat.com>
4891         * doc/install.texi (Specific, ia64-*-linux): Document.
4893 Tue Sep 25 17:13:56 CEST 2001  Jan Hubicka  <jh@suse.cz>
4895         * Makefile.in (cfgrtl.o): Add.
4896         * basic-block.h (alloc_block, alloc_aux_for_block, alloc_aux_for_blocks,
4897         free_aux_for_block, alloc_aux_for_edge, alloc_aux_for_edges,
4898         free_aux_for_edge): Declare.
4899         * cfg.c
4900         (HAVE_return): Undefine.
4901         * basic-block.h (alloc_block, alloc_aux_for_block, alloc_aux_for_blocks,
4902         free_aux_for_block, alloc_aux_for_edge, alloc_aux_for_edges,
4903         free_aux_for_edge): New global functions.
4904         (first_delete_block): New static variable.
4905         (init_flow): Clear first_delete_block.
4906         (basic_block_for_insn, label_value_list, tail_recursion_label_list,
4907          can_delete_note_p, can_delete_label_p, commit_one_edge_insertion,
4908          try_redirect_by_replacing_jump, last_loop_beg_note,
4909          back_edge_of_syntactic_loop_p, force_nonfallthru_and_redirect,
4910          delete_insn, delete_insn_chain, create_basic_block_structure,
4911          create_basic_block, flow_delete_block, compute_bb_for_insn,
4912          free_bb_for_insn, update_bb_for_insn, set_block_for_insn,
4913          set_block_for_new_insns, split_block, merge_blocks_nomove,
4914          block_label, try_redirect_by_replacing_jump, last_loop_beg_note,
4915          redirect_edge_and_branch, force_nonfallthru_and_redirect,
4916          force_nonfallthru, redirect_edge_and_branch_force, tidy_fallthru_edge,
4917          tidy_fallthru_edges, split_edge, insert_insn_on_edge,
4918          commit_one_edge_insertion, commit_edge_insertions, dump_bb, debug_bb,
4919          debug_bb_n, print_rtl_with_bb, verify_flow_info, purge_dead_edges,
4920          purge_all_dead_edges): Move to ....
4921         * cfgrtl.c: New file; .... Here.
4923         * bb-reorder.c (fixup_reorder_chain): Use alloc_aux_for_block.
4924         (reroder_basic_block): Use alloc_aux_for_blocks.
4925         * predict.c (estimate_bb_frequencies): Likewise; use
4926         alloc_aux_for_edges.
4927         * profile.c (compute_branch_probabilities): Likewise.
4928         (branch_prob): Likewise.
4929         * reg-stack.c (reg_to_stack): Likewise.
4931         * emit-rtl.c (emit_insns_after): Never return NULL.
4933         * basic-block.h (set_block_for_new_insns): Delete.
4934         * cfgrtl.c (set_block_for_new_insns): Delete.
4936         * cfgcleanup.c (try_optimize_cfg): Add fake exit edges for noreturn
4937         calls when crossjumping.
4939         * cfgcleanup.c (try_simplify_condjump): Cleanup invert_jump call.
4940         * unroll.c (copy_loop_body): Use delete_insn.
4942         * final.c (final, final_scan_insn): Use delete_insn/delete_note.
4943         * function.c (fixup_var_refs_insn, fixup_var_refs_1,
4944         keep_stack_depressed): Likewise.
4945         * gcse.c (cprop_cc0_jump): Likewise.
4946         * local-alloc.c (update_equiv_regs): Likewise.
4947         * loop.c (scan_loop, loop_delete_insns): Likewise.
4948         * regmove.c (try_auto_increment, fixup_match_1): Likewise.
4949         * reload1.c (reload, calculate_needs_all_insns, reload_as_needed,
4950         delete_output_reload, delete_address_reloads_1,
4951         reload_cse_delete_noop_set, reload_combine, reload_cse_move2add):
4952         Likewise.
4953         * sibcall.c (replace_call_placeholder): Likewise.
4954         * cse.c (cse_insn): Likewise.
4956 2001-09-25  Bernd Schmidt  <bernds@redhat.com>
4958         From Graham Stott  <grahams@redhat.com>
4959         (def_builtin): Only define builtins appropriate for target_flags.  All
4960         callers changed.
4961         (builtin_decsription): Add new field mask which is used to determine
4962         when to define the builtin via the macro def_builtin.
4964         (bdesc_comi): Initialise new mask fields.
4965         (bdesc_2srg): Likewise.
4966         (bdesc_1arg): Likewise.
4968         * config/i386/i386.c (ix86_init_builtins): Correct return type
4969         building v4hi_ftype_v4hi_int_int tree node.
4970         (ix86_expand_sse_comi): Fix typo swapping operands.
4971         Don't swap comparision condition, it is already swapped.
4972         (ix86_expand_sse_compare): Before swapping operands
4973         move operand 1 into new rtx and not the target rtx.
4974         Don't swap comparison condition, it is already swapped.
4975         Always check whether we need to create a new TARGET.
4977         * config/i386/i386.md: (sse_comi) Fix typos.
4978         (sse_ucomi): Likewise.
4979         (cvtss2si): Fix operand 0 contraint.
4980         (cvttss2si): Likewise.
4981         (sse_unpckhps): Fix mode for operand 2.
4982         (sse_unpcklps): Likewise.
4984 2001-09-25  Graham Stott  <grahams@redhat.com>
4986         * sibcall.c (skip_copy_to_return_value): Tighten return value
4987         copy check.
4989 2001-09-24  David Edelsohn  <edelsohn@gnu.org>
4991         * rs6000.c (lwa_operand): Address must be word aligned.
4993 Mon Sep 24 18:57:59 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
4995         * tree.c (type_hash_marked_p): Consider as marked if debug symbol
4996         number has been set.
4997         (type_hash_mark): Mark type itself.
4999 2001-09-24  Neil Booth  <neil@daikokuya.demon.co.uk>
5001         * c-lex.c (cb_def_pragma): Update.
5002         (c_lex): Update, and skip padding.
5003         * cppexp.c (lex, parse_defined): Update, remove unused variable.
5004         * cpphash.h (struct toklist): Delete.
5005         (union utoken): New.
5006         (struct cpp_context): Update.
5007         (struct cpp_reader): New members eof, avoid_paste.
5008         (_cpp_temp_token): New.
5009         * cppinit.c (cpp_create_reader): Update.
5010         * cpplex.c (_cpp_temp_token): New.
5011         (_cpp_lex_direct): Add PREV_WHITE when parsing args.
5012         (cpp_output_token): Don't print leading whitespace.
5013         (cpp_output_line): Update.
5014         * cpplib.c (glue_header_name, parse_include, get__Pragma_string,
5015         do_include_common, do_line, do_ident, do_pragma,
5016         do_pragma_dependency, _cpp_do__Pragma, parse_answer,
5017         parse_assertion): Update.
5018         (get_token_no_padding): New.
5019         * cpplib.h (CPP_PADDING): New.
5020         (AVOID_LPASTE): Delete.
5021         (struct cpp_token): New union member source.
5022         (cpp_get_token): Update.
5023         * cppmacro.c (macro_arg): Convert to use pointers to const tokens.
5024         (builtin_macro, paste_all_tokens, paste_tokens, funlike_invocation_p,
5025         replace_args, quote_string, stringify_arg, parse_arg, next_context,
5026         enter_macro_context, expand_arg, _cpp_pop_context, cpp_scan_nooutput,
5027         _cpp_backup_tokens, _cpp_create_definition): Update.
5028         (push_arg_context): Delete.
5029         (padding_token, push_token_context, push_ptoken_context): New.
5030         (make_string_token, make_number_token): Update, rename.
5031         (cpp_get_token): Update to handle tokens as pointers to const,
5032         and insert padding appropriately.
5033         * cppmain.c (struct printer): New member prev.
5034         (check_multiline_token): Constify.
5035         (do_preprocessing, cb_line_change): Update.
5036         (scan_translation_unit): Update to handle spacing.
5037         * scan-decls.c (get_a_token): New.
5038         (skip_to_closing_brace, scan_decls): Update.
5039         * fix-header.c (read_scan_file): Update.
5041         * doc/cpp.texi: Update.
5043 2001-09-24  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
5045         * c-aux-info.c (affix_data_type): Use ATTRIBUTE_MALLOC.  Avoid
5046         leak by passing malloc'ed pointer to reconcat, not concat.
5048 2001-09-24  DJ Delorie  <dj@redhat.com>
5050         * varasm.c (array_size_for_constructor): Handle STRING_CSTs also.
5052 2001-09-24  Ulrich Weigand  <uweigand@de.ibm.com>:
5054         * flow.c (delete_dead_jumptables): Delete jumptable if the only
5055         reference is from the literal pool.
5057 2001-09-24  Janis Johnson  <janis187@us.ibm.com>
5059         * doc/install.texi (Final install): Request additional information
5060         in mail about successful builds.
5062 2001-09-24  John David Anglin  <dave@hiauly1.hia.nrc.ca>
5064         * pa.c (return_addr_rtx): Return NULL_RTX if count is not zero.  Use
5065         initial value of return pointer register instead of value in frame-20.
5066         Revise comments.
5068 2001-09-24  John David Anglin  <dave@hiauly1.hia.nrc.ca>
5070         * som.h (ASM_OUTPUT_EXTERNAL): Improve formatting.
5071         (ASM_OUTPUT_EXTERNAL_LIBCALL): Only generate a .IMPORT statement for
5072         the libcall if there isn't a referenced identifier for the symbol.
5074 2001-09-24  John David Anglin  <dave@hiauly1.hia.nrc.ca>
5076         * pa.h (TRAMPOLINE_TEMPLATE): Add two words to the template for
5077         non 64-bit machines.  Use these as a plabel for the trampoline.
5078         (TRAMPOLINE_SIZE): Adjust size for new words.
5079         (INITIALIZE_TRAMPOLINE): Initialize new words.
5080         (TRAMPOLINE_ADJUST_ADDRESS): New.  Adjust address to make it a
5081         pointer to the plabel in the trampoline.
5083 2001-09-24  John David Anglin  <dave@hiauly1.hia.nrc.ca>
5085         * pa.c (function_arg): Pass floating arguments in both general and
5086         floating registers in indirect (dynamic) calls when generating code
5087         for the 32 bit ABI and the HP assembler.
5089 2001-09-24  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
5091         * doc/install.texi: Markup fixes.
5092         Use Solaris 2, SunOS 4 as appropriate.
5093         (Specific, *-*-solaris2*): Explain this.
5094         Unconditionally warn against /usr/ucb tools.
5095         Remove Sun as warning, obsolete.
5096         Move X11 header bug workaround here, update patches.
5097         (Specific, sparc-sun-solaris2*): Detail Sun as fix status.
5098         (Specific, sparc-sun-solaris2.7): Update patch 106950 status.
5100 2001-09-23  Zack Weinberg  <zack@codesourcery.com>
5102         * errors.h (warning, error, fatal, internal_error): Don't mark
5103         with ATTRIBUTE_PRINTF_n.
5104         * toplev.h (internal_error, fatal_io_error, warning, error,
5105         pedwarn, pedwarn_with_file_and_line, warning_with_file_and_line,
5106         error_with_file_and_line, sorry, error_for_asm, warning_for_asm):
5107         Likewise.
5109 Sun Sep 23 18:19:48 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
5111         * function.c (pop_function_context_from): var_refs_queue
5112         and temp slots now in GC memory.
5113         (mark_function_status, free_after_compilation): Likewise;
5114         also struct function now in GC memory.
5115         (assign_stack_temp_for_type): struct temp_slot now in GC memory.
5116         (combine_temp_slots): Likewise.
5117         (schedule_fixup_var_refs): var_refs_queue now in GC memory.
5118         (prepare_function_start): Use GC memory for struct function.
5119         (mark_temp_slot): Deleted.
5120         (gcc_mark_struct_function): struct function now in GC memory.
5122         * fold-const.c (extract_muldiv, case PLUS_EXPR): Only adjust
5123         code for division, not modulus.
5125         * rtl.def (MEM): Remove obsolete part of comment.
5127 2001-09-22  Joseph S. Myers  <jsm28@cam.ac.uk>
5129         * c-format.c (init_function_format_info): Check __builtin_printf
5130         and __builtin_fprintf even if -ffreestanding.  Check C99 functions
5131         in gnu89 mode.
5133 Sat Sep 22 09:09:32 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
5135         * c-common.c (format_attribute_table): Remove decl.
5136         * tree.h (format_attribute_table, lang_attribute_table): New decls.
5137         (lang_attribute_common): Likewise.
5139         * function.c (fix_lexical_address): Use set_mem_alias_set.
5140         (expand_function_start): Likewise.
5141         * config/alpha/alpha.h (SETUP_INCOMING_VARARGS): Likewise.
5143         * varasm.c (output_constant): Fix unused variable warning.
5145         * attribs.c: New file, from c-common.c.
5146         (attribute_tables): Now four elements.
5147         (format_attribute_table, lang_attribute_common): New variables.
5148         (init_attributes): Reflect above changes.
5149         (handle_mode_attribute): Delete check for wider than uintmax.
5150         * c-common.c: Delete parts moved to attribs.c.
5151         (enum attrs): Deleted; unused.
5152         (c_format_attribute_table): New variable.
5153         (c_common_lang_init): Initialize format_attribute_table with it.
5154         * c-common.h (decl_attributes): Remove decl.
5155         * tree.h (decl_attribute): Move it to here.
5156         * Makefile.in (C_AND_OBJS_OBJS): Add attribs.o.
5157         (attribs.o): New rule.
5159 2001-09-22  Andreas Jaeger  <aj@suse.de>
5161         * builtins.c (c_getstr): Remove unused variable.
5163 2001-09-21  Richard Henderson  <rth@redhat.com>
5165         * reload1.c (reload): Use delete_insn instead of splatting
5166         NOTE_INSN_DELETED.
5168 2001-09-21  Richard Henderson  <rth@redhat.com>
5170         * reload.c (push_secondary_reload): Don't check for "=" in output
5171         constraint after ""->ALL_REGS check.
5173 2001-09-21  Richard Henderson  <rth@redhat.com>
5175         * predict.c (expected_value_to_br_prob): Use pc_set.
5177         * optabs.c (init_one_libfunc): Gen a FUNCTION_DECL for use by
5178         ENCODE_SECTION_INFO; get SYMBOL_REF from make_decl_rtl.
5180 2001-09-21  Richard Henderson  <rth@redhat.com>
5182         * rtl.h (LCT_RETURNS_TWICE): New.
5183         * calls.c (emit_call_1): Set current_function_calls_setjmp for
5184         ECF_RETURNS_TWICE.
5185         (emit_library_call_value_1): Map LCT_RETURNS_TWICE
5186         to ECF_RETURNS_TWICE.
5187         * except.c (sjlj_emit_function_enter): Use LCT_RETURNS_TWICE for
5188         call to setjmp.
5190         * unwind-sjlj.c: Invent the setjmp.h declarations if inhibit_libc.
5192         * config/stormy16/stormy16.h (DONT_USE_BUILTIN_SETJMP): New.
5193         (JMP_BUF_SIZE): New.
5195 2001-09-21  Richard Henderson  <rth@redhat.com>
5197         * config/stormy16/stormy16.h (REG_CLASS_FROM_LETTER): Map 'd'
5198         to R8_REGS.
5200 2001-09-21  Richard Henderson  <rth@redhat.com>
5202         * tree.def (FDESC_EXPR): New.
5203         * expr.c (expand_expr): Handle it.
5204         * varasm.c (initializer_constant_valid_p): Likewise.
5205         (output_constant): Likewise.
5206         * defaults.h (TARGET_VTABLE_USES_DESCRIPTORS): New.
5207         * config/ia64/ia64.h (TARGET_VTABLE_USES_DESCRIPTORS): New.
5208         (ASM_OUTPUT_FDESC): New.
5209         * doc/tm.texi: Document the new macros.
5211 21-09-2001  Richard Earnshaw  (reanrsha@arm.com)
5213         * cfgcleanup.c (merge_blocks_move_successor_nojumps): Don't leave
5214         ADDR_VEC or ADDR_DIFF_VEC jump insns as part of the basic block
5215         once merging is complete.
5217 Fri Sep 21 11:20:12 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
5219         * integrate.c (allocate_initial_values): Eliminate unused arg warning.
5221 21-09-2001  Richard Earnshaw  (reanrsha@arm.com)
5223         * cfgcleanup.c (flow_find_cross_jump): Delete any REG_EQUAL notes
5224         that would be invalid after a merge.
5226 Fri Sep 21 14:24:29 CEST 2001  Jan Hubicka  <jh@suse.cz>
5228         * basic-block.h (flow_delete_insn, flow_delete_insn_chain): Kill.
5229         * cfg.c (delete_insn): Rename from ....; use remove_insn; do not
5230         remove some labels.
5231         (flow_delete_insn): This one.
5232         (delete_insn_chain): Rename from ...; do not care labels.
5233         (flow_delete_insn_chain): ... this one.
5234         (flow_delete_block): Remove the insns one BB has been expunged.
5235         (merge_blocks_nomove): Likewise.
5236         (try_redirect_by_replacing_jump): Use delete_insn[_chain]; do not care
5237         updating BB boundaries.
5238         (tidy_fallthru_edge): Likewise.
5239         (commit_one_edge_insertion): Likewise.
5240         * cfgbuild.c (find_basic_block): Likewise.
5241         (find_basic_blocks_1): Likewise.
5242         * cfgcleanup.c (merge_blocks_move_predecessor_nojumps): Likewise.
5243         (try_crossjump_to_edge): Likewise.
5244         (try_optimize_cfg): Likewise.
5245         * cse.c (delete_trivially_dead_insns): Likewise.
5246         * df.c (df_insn_delete): Likewise.
5247         * doloop.c (doloop_modify): Use delete_related_insns.
5248         * emit-rtl.c (try_split): Likewise.
5249         (remove_insn): Update BB boundaries.
5250         * expect.c (connect_post_landing_pads): Use delete_related_insns.
5251         * flow.c (delete_dead_jumptables): Use delete_insn[_chain]; do not care
5252         updating BB boundaries.
5253         (propagate_block_delete_insn): Likewise.
5254         (propagate_block_delete_libcall): Likewise.
5255         * function.c (delete_handlers): Use delete_related_insns.
5256         (thread_prologue_and_epilogue_insns): Likewise.
5257         * gcse.c (delete_null_pointer_checks): Use delete_related_insns.
5258         * genpeep.c (gen_peephole): Use delete_related_insns.
5259         * ifcvt.c (noce_process_if_block): Use delete_insn; do not care updating
5260         BB boundaries.
5261         (find_cond_trap): Likewise.
5262         * integrate.c (save_for_inline): Use delete_related_insns.
5263         (copy_insn_list): Likewise.
5264         * jump.c (pruge_linie_number_notes): Likewise.
5265         (duplicate_loop_exit_test): Likewise.
5266         (delete_computation): Likewise.
5267         (delete_related_insn): Rename from ...; use delete_insn
5268         (delete_insn): ... this one.
5269         (redirect_jump): Use delete_related_insns.
5270         * loop.c (scan_loop): Likewise.
5271         (move_movables): Likewise.
5272         (find_and_verify_loops): Likewise.
5273         (check_dbra_loop): Likewise.
5274         * recog.c (peephole2_optimize): Likewise.
5275         * reg-stack.c (delete_insn_for_stacker): Remove.
5276         (move_for_stack_reg): Use delete_insn.
5277         * regmove.c (combine_stack_adjustments_for_block): Likewise.
5278         * reload1.c (delete_address_reloads): Use delete_related_insns.
5279         (fixup_abnormal_edges): Use delete_insn.
5280         * recog.c (emit_delay_sequence): Use delete_related_insns.
5281         (delete_from-delay_slot): Likewise.
5282         (delete_scheduled_jump): likewise.
5283         (optimize_skip): Likewise.
5284         (try_merge_delay_insns): Likewise.
5285         (full_simple_delay_slots): Likewise.
5286         (fill_slots_from_thread): Likewise.
5287         (relax_delay_slots): Likewise.
5288         (make_return_insns): Likewise.
5289         (dbr_schedule): Likewise.
5290         * rtl.h (delete_insn): Rename to delete_related_insns.
5291         (delete_insn, delete_insn_chain): New prototypes.
5292         * ssa-ccp (sse_fast_dce):  Remove deleting of DEF, as it is done
5293         by df_insn_delete already.
5294         * ssa-dce.c (delete_insn_bb): Use delete_insn.
5295         * ssa.c (convert_from_ssa): Use delete_related_insns.
5296         * unroll.c (unroll_loop): Likewise.
5297         (calculate_giv_inc): Likewise.
5298         (copy_loop_body): Likewise.
5300         * i386-protos.h (ix86_libcall_value, ix86_function_value,
5301         ix86_function_arg_regno_p, ix86_function_arg_boundary,
5302         ix86_return_in_memory, ix86_function_value): Declare.
5303         * i386.c (x86_64_int_parameter_registers, x86_64_int_return_registers):
5304         new static valurables.
5305         (x86_64_reg_class): New enum
5306         (x86_64_reg_class_name): New array.
5307         (classify_argument, examine_argument, construct_container,
5308          merge_classes): New static functions.
5309         (optimization_options): Enable flag_omit_frame_pointer and disable
5310         flag_pcc_struct_return on 64bit.
5311         (ix86_libcall_value, ix86_function_value,
5312         ix86_function_arg_regno_p, ix86_function_arg_boundary,
5313         ix86_return_in_memory, ix86_function_value): New global functions.
5314         (init_cumulative_args): Refuse regparm on x86_64, set maybe_vaarg.
5315         (function_arg_advance): Handle x86_64 passing conventions.
5316         (function_arg): Likewise.
5317         * i386.h (FUNCTION_ARG_BOUNDARY): New macro.
5318         (RETURN_IN_MEMORY): Move offline.
5319         (FUNCTION_VALUE, LIBCALL_VALUE): Likewise.
5320         (FUNCTION_VALUE_REGNO_P): New macro.
5321         (FUNCTION_ARG_REGNO_P): Move offline.
5322         (struct ix86_args): Add maybe_vaarg.
5323         * next.h (FUNCTION_VALUE_REGNO_P): Delete.
5324         * unix.h (FUNCTION_VALUE_REGNO_P): Delete.
5326 2001-09-21  Hartmut Penner  <hpenner@de.ibm.com>
5328         * s390.md: Changed attributes for scheduling.
5329         * s390.c: (s390_adjust_cost, s390_adjust_priority)
5330         Changed scheduling
5332 2001-09-21  Joseph S. Myers  <jsm28@cam.ac.uk>
5334         Table-driven attributes.
5335         * c-decl.c, config/alpha/alpha.c, config/arc/arc.c,
5336         config/arm/arm.c, config/arm/pe.c, config/avr/avr.c,
5337         config/avr/avr.h, config/d30v/d30v.h, config/fr30/fr30.h,
5338         config/h8300/h8300.c, config/i386/cygwin.h, config/i386/winnt.c,
5339         config/m32r/m32r.c, config/mcore/mcore.c, config/sh/sh.c,
5340         config/stormy16/stormy16.h, config/v850/v850.c, doc/c-tree.texi,
5341         doc/tm.texi, ggc-common.c, integrate.c, print-tree.c, tree.c,
5342         tree.h: Rename DECL_MACHINE_ATTRIBUTES to DECL_ATTRIBUTES.
5343         * tree.h (struct tree_decl): Change machine_attributes to
5344         attributes.
5345         * doc/c-tree.texi: Document that all attributes are now attached
5346         to decls and types.
5347         * c-common.c (add_attribute, attrtab, attrtab_idx,
5348         default_valid_lang_attribute, valid_lang_attribute): Remove.
5349         (attribute_tables, attributes_initialized,
5350         c_common_attribute_table, default_lang_attribute_table): New
5351         variables.
5352         (handle_packed_attribute, handle_nocommon_attribute,
5353         handle_common_attribute, handle_noreturn_attribute,
5354         handle_unused_attribute, handle_const_attribute,
5355         handle_transparent_union_attribute, handle_constructor_attribute,
5356         handle_destructor_attribute, handle_mode_attribute,
5357         handle_section_attribute, handle_aligned_attribute,
5358         handle_weak_attribute, handle_alias_attribute,
5359         handle_no_instrument_function_attribute,
5360         handle_no_check_memory_usage_attribute, handle_malloc_attribute,
5361         handle_no_limit_stack_attribute, handle_pure_attribute): New
5362         functions.
5363         (init_attributes, decl_attributes): Rewrite to implement
5364         table-driven attributes.
5365         * c-common.h (enum attribute_flags): Move to tree.h.
5366         * c-format.c (decl_handle_format_attribute,
5367         decl_handle_format_arg_attribute): Rename to
5368         handle_format_attribute and handle_format_arg_attribute.  Update
5369         for table-driven attributes.
5370         * c-common.h (decl_handle_format_attribute,
5371         decl_handle_format_arg_attribute): Remove prototypes.
5372         (handle_format_attribute, handle_format_arg_attribute): Add
5373         prototypes.
5374         * c-decl.c (grokdeclarator): Handle attributes nested inside
5375         declarators.
5376         * c-parse.in (setattrs, maybe_setattrs): Remove.
5377         (maybe_type_quals_setattrs): Rename to maybe_type_quals_attrs.
5378         Update to handle nested attributes properly.
5379         (maybe_resetattrs, after_type_declarator,
5380         parm_declarator_nostarttypename, notype_declarator, absdcl1_noea,
5381         absdcl1_ea, direct_absdcl1): Update to handle nested attributes
5382         properly.
5383         (make_pointer_declarator): Update to handle nested attributes
5384         properly.
5385         * doc/extend.texi: Update documentation of limits of attributes
5386         syntax.  Warn about problems with attribute semantics in C++.
5387         * target.h (struct target): Remove valid_decl_attribute and
5388         valid_type_attribute.  Add attribute_table and
5389         function_attribute_inlinable_p.
5390         * target-def.h (TARGET_VALID_DECL_ATTRIBUTE,
5391         TARGET_VALID_TYPE_ATTRIBUTE): Remove.
5392         (TARGET_ATTRIBUTE_TABLE, TARGET_FUNCTION_ATTRIBUTE_INLINABLE_P):
5393         Add.
5394         (TARGET_INITIALIZER): Update.
5395         * integrate.c (FUNCTION_ATTRIBUTE_INLINABLE_P): Remove default
5396         definition.
5397         (function_attribute_inlinable_p): New function.  Check for the
5398         presence of any machine attributes before using
5399         targetm.function_attribute_inlinable_p.
5400         (function_cannot_inline_p): Update.
5401         * Makefile.in (integrate.o): Update dependencies.
5402         * doc/tm.texi: Update documentation of target attributes and
5403         example definition of TARGET_VALID_TYPE_ATTRIBUTE.
5404         * tree.c (default_valid_attribute_p, valid_machine_attribute):
5405         Remove.
5406         (default_target_attribute_table,
5407         default_function_attribute_inlinable_p): New.
5408         (lookup_attribute): Update comment to clarify handling of multiple
5409         attributes with the same name.
5410         (merge_attributes, attribute_list_contained): Allow multiple
5411         attributes with the same name but different arguments to appear in
5412         the same attribute list.
5413         * tree.h (default_valid_attribute_p): Remove prototype.
5414         (struct attribute_spec): New.
5415         (default_target_attribute_table): Declare.
5416         (enum attribute_flags): Move from c-common.h.  Add
5417         ATTR_FLAG_TYPE_IN_PLACE.
5418         (default_function_attribute_inlinable_p): Declare.
5419         * config/alpha/alpha.c (vms_valid_decl_attribute_p): Remove.
5420         (TARGET_VALID_DECL_ATTRIBUTE): Don't define.
5421         (TARGET_ATTRIBUTE_TABLE): Define.
5422         (vms_attribute_table): New.
5423         * config/arc/arc.c (arc_valid_decl_attribute): Remove.
5424         (TARGET_VALID_DECL_ATTRIBUTE): Don't define.
5425         (TARGET_ATTRIBUTE_TABLE): Define.
5426         (arc_attribute_table, arc_handle_interrupt_attribute): New.
5427         * config/arm/arm.c (arm_valid_type_attribute_p,
5428         arm_valid_decl_attribute_p, arm_pe_valid_decl_attribute_p):
5429         Remove.
5430         (TARGET_VALID_TYPE_ATTRIBUTE, TARGET_VALID_DECL_ATTRIBUTE): Don't
5431         define.
5432         (TARGET_ATTRIBUTE_TABLE): Define.
5433         (arm_attribute_table, arm_handle_fndecl_attribute,
5434         arm_handle_isr_attribute): New.
5435         * config/avr/avr.c (avr_valid_type_attribute,
5436         avr_valid_decl_attribute): Remove.
5437         (TARGET_VALID_DECL_ATTRIBUTE, TARGET_VALID_TYPE_ATTRIBUTE): Don't
5438         define.
5439         (TARGET_ATTRIBUTE_TABLE): Define.
5440         (avr_attribute_table, avr_handle_progmem_attribute,
5441         avr_handle_fndecl_attribute): New.
5442         * config/c4x/c4x.c (c4x_valid_type_attribute_p): Remove.
5443         (TARGET_VALID_TYPE_ATTRIBUTE): Don't define.
5444         (TARGET_ATTRIBUTE_TABLE): Define.
5445         (c4x_attribute_table, c4x_handle_fntype_attribute): New.
5446         * config/h8300/h8300.c (h8300_valid_decl_attribute): Remove.
5447         (TARGET_VALID_DECL_ATTRIBUTE): Don't define.
5448         (TARGET_ATTRIBUTE_TABLE): Define.
5449         (h8300_attribute_table, h8300_handle_fndecl_attribute,
5450         h8300_handle_eightbit_data_attribute,
5451         h8300_handle_tiny_data_attribute): New.
5452         * config/i386/i386-protos.h (ix86_valid_type_attribute_p,
5453         i386_pe_valid_decl_attribute_p, i386_pe_valid_type_attribute_p):
5454         Remove prototypes.
5455         (ix86_handle_dll_attribute, ix86_handle_shared_attribute): New
5456         declarations.
5457         * config/i386/i386.c (ix86_valid_type_attribute_p: Remove.
5458         (TARGET_VALID_TYPE_ATTRIBUTE, TARGET_VALID_DECL_ATTRIBUTE): Don't
5459         define.
5460         (TARGET_ATTRIBUTE_TABLE): Define.
5461         (ix86_attribute_table, ix86_handle_cdecl_attribute,
5462         ix86_handle_regparm_attribute): New.
5463         * config/i386/winnt.c (i386_pe_valid_decl_attribute_p,
5464         i386_pe_valid_type_attribute_p): Remove.
5465         (ix86_handle_dll_attribute, ix86_handle_shared_attribute): New.
5466         * config/ia64/ia64.c (ia64_valid_type_attribute): Remove.
5467         (TARGET_VALID_TYPE_ATTRIBUTE): Don't define.
5468         (TARGET_ATTRIBUTE_TABLE): Define.
5469         (ia64_attribute_table): New.
5470         * config/m32r/m32r.c (m32r_valid_decl_attribute, interrupt_ident1,
5471         interrupt_ident2, model_ident1, model_ident2): Remove.
5472         (TARGET_VALID_DECL_ATTRIBUTE): Don't define.
5473         (TARGET_ATTRIBUTE_TABLE): Define.
5474         (init_idents): Update.
5475         (m32r_attribute_table, m32r_handle_model_attribute): New.
5476         * config/m68hc11/m68hc11.c (m68hc11_valid_type_attribute_p):
5477         Remove.
5478         (TARGET_VALID_TYPE_ATTRIBUTE): Don't define.
5479         (TARGET_ATTRIBUTE_TABLE): Define.
5480         (m68hc11_attribute_table, m68hc11_handle_fntype_attribute): New.
5481         * config/mcore/mcore.c (mcore_valid_decl_attribute): Remove.
5482         (TARGET_VALID_DECL_ATTRIBUTE): Don't define.
5483         (TARGET_ATTRIBUTE_TABLE): Define.
5484         (mcore_attribute_table, mcore_handle_naked_attribute): New.
5485         * config/ns32k/ns32k.c (ns32k_valid_type_attribute_p): Remove.
5486         (TARGET_VALID_TYPE_ATTRIBUTE): Don't define.
5487         (TARGET_ATTRIBUTE_TABLE): Define.
5488         (ns32k_attribute_table, ns32k_handle_fntype_attribute): New.
5489         * config/rs6000/rs6000.c (rs6000_valid_type_attribute_p): Remove.
5490         (TARGET_VALID_TYPE_ATTRIBUTE): Don't define.
5491         (TARGET_ATTRIBUTE_TABLE): Define.
5492         (rs6000_attribute_table, rs6000_handle_longcall_attribute): New.
5493         * config/sh/sh.c (sh_valid_decl_attribute): Remove.
5494         (TARGET_VALID_DECL_ATTRIBUTE): Don't define.
5495         (TARGET_ATTRIBUTE_TABLE): Define.
5496         (sh_attribute_table, sh_handle_interrupt_handler_attribute,
5497         sh_handle_sp_switch_attribute, sh_handle_trap_exit_attribute):
5498         New.
5499         * config/stormy16/stormy16.c (stormy16_valid_type_attribute):
5500         Remove.
5501         (TARGET_VALID_TYPE_ATTRIBUTE): Don't define
5502         (TARGET_ATTRIBUTE_TABLE): Define.
5503         (stormy16_attribute_table, stormy16_handle_interrupt_attribute):
5504         New.
5505         * config/v850/v850.c (v850_valid_decl_attribute): Remove.
5506         (TARGET_VALID_DECL_ATTRIBUTE): Don't define.
5507         (TARGET_ATTRIBUTE_TABLE): Define.
5508         (v850_attribute_table, v850_handle_interrupt_attribute,
5509         v850_handle_data_area_attribute): New.
5510         * config/v850/v850-c.c (mark_current_function_as_interrupt):
5511         Return void.  Call decl_attributes instead of
5512         valid_machine_attribute.
5514 Fri Sep 21 01:49:41 2001  J"orn Rennecke <amylaar@redhat.com>
5516         * sh-protos.h (sh_pr_n_sets): Declare.
5517         * sh.c (calc_live_regs): If the initial value for PR has been copied,
5518         look at the copy to determine if PR needs to be saved.
5519         sh_pr_n_sets: New function.
5520         * sh.h (RETURN_ADDR_RTX): Use get_hard_reg_initial_val.
5521         (ALLOCATE_INITIAL_VALUE): Define.
5523         * sh.c (initial_elimination_offset):
5524         Fix RETURN_ADDRESS_POINTER_REGNUM case.
5526 Fri Sep 21 01:13:56 2001  J"orn Rennecke <amylaar@redhat.com>
5528         * integrate.c (allocate_initial_values): New function.
5529         * integrate.h (allocate_initial_values): Declare.
5530         * local-alloc.c (local_alloc): Move call to allocate_reg_info from
5531         here...
5532         * reload1.c (reload): And initialization of reg_equiv_memory_loc
5533         from here...
5534         * toplev.c (rest_of_compilation): To here.
5535         Call allocate_initial_values.
5536         * tm.texi: add description for ALLOCATE_INITIAL_VALUE.
5538 Thu Sep 20 09:00:27 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
5540         * ggc-page.c (ggc_marked_p): Properly convert return to boolean.
5542 2001-09-20  DJ Delorie  <dj@redhat.com>
5544         * c-typeck.c (really_start_incremental_init): Discriminate
5545         between zero-length arrays and flexible arrays.
5546         (push_init_level): Detect zero-length arrays and handle them
5547         like fixed-sized arrays.
5548         * expr.c (store_constructor): Handle zero-length arrays and
5549         flexible arrays correctly.
5550         * doc/extend.texi: Update zero-length array notes.
5552 2001-09-20  Jim Wilson  <wilson@redhat.com>
5554         * config/ia64/ia64.c (itanium_split_issue): Allow max 2 FP per cycle.
5555         (insn_matches_slot): Handle TYPE_L and TYPE_X slots when checking
5556         for issue port conflicts.
5557         (cycle_end_fill_slots): TYPE_L instructions take two slots.
5559 2001-09-20  Andrew MacLeod  <amacleod@redhat.com>
5561         * testsuite/gcc.c-torture/execute/990208-1.x: New. XFAIL at -O3
5562         on ia64.
5564 Thu Sep 20 09:00:27 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
5566         * fold-const.c (hashtab.h): Include.
5567         (int_const_binop): Remove FORSIZE arg and compute from type; all
5568         callers changed.
5569         Call size_int_type_wide for all single-word constants.
5570         (size_htab_hash, size_htab_eq): New functions.
5571         (size_int_type_wide): Rework to use hash table.
5572         * ggc-common.c (hashtab.h): Include.
5573         (struct d_htab_root): New struct.
5574         (d_htab_roots): New variable.
5575         (ggc_add_deletable_htab, ggc_htab_delete): New functions
5576         (ggc_mark_roots): Handle deletable htabs.
5577         * ggc-page.c (ggc_marked_p): New function.
5578         * ggc-simple.c (ggc_marked_p): Likewise.
5579         * ggc.h: Reformatting throughout.
5580         (ggc_marked_p, ggc_add_deletable_htab): New declarations.
5581         * tree.c (init_obstacks): Make type_hash_table a deletable root.
5582         (type_hash_add): Allocate struct type_hash from GC memory.
5583         (mark_hash_entry, mark_type_hash): Deleted.
5584         (type_hash_marked_p, type_hash_mark): New functions.
5585         * Makefile.in (ggc-common.o, fold-const.o): Include hashtab.h.
5587 Thu Sep 20 12:49:34 2001  J"orn Rennecke <amylaar@redhat.com>
5589         * sh.c (shiftcosts): Don't use shiftcosts array for modes wider
5590         than SImode.
5592 Thu Sep 20 09:00:27 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
5594         * stor-layout.c (layout_type, case ARRAY_TYPE): Kludge to disable
5595         array-too-large test for signed sizetype.
5597 Thu Sep 20 12:19:36 CEST 2001  Jan Hubicka  <jh@suse.cz>
5599         * i386.md (indirect_jump): Allow Pmode operand.
5600         (tablejump): LIkewise; perform expansion to 64bit mode.
5601         * i386.c (symbolic_operand): Allow 64bit PIC references.
5602         (pic_symbolic_operand): Likewise.
5603         (ix86_find_base_term): Strip the 64bit PIC references.
5604         (legitimate_pic_address_disp_p): Handle 64bit PIC.
5605         (legitimize_pic_address): Likewise.
5606         (i386_simplify_dwarf_addr): Strip down the 64bit PIC references.
5607         * i386.h (CASE_VECTOR_MODE): Set to SImode for 64bit PIC compilation.
5609 2001-09-19  Alexandre Petit-Bianco  <apbianco@redhat.com>
5611         * stringpool.c (get_identifier_with_length): New function.
5612         * tree.h (get_identifier_with_length): New prototype.
5614 2001-09-19  Alan Modra  <amodra@bigpond.net.au>
5615             David Edelsohn  <edelsohn@gnu.org>
5617         Revert:
5618         * config/rs6000/rs6000.c (logical_operand): CONST_INTs are
5619         already sign-extended.
5621         * config/rs6000/aix.h (INIT_TARGET_OPTABS): Define TFmode handlers.
5622         * config/rs6000/rs6000.c (logical_operand): Always compare op as
5623         HOST_WIDE_INT.
5624         (rs6000_emit_set_long_const): Avoid unnecessary shift.
5625         (output_profile_hook): Declare label_name const.
5626         * config/rs6000/rs6000.md (boolcsi3, boolcdi3): Change predicates
5627         to match constraints.
5629 2001-09-19  Stan Shebs  <shebs@apple.com>
5631         * alias.c: Fix typos in comments.
5632         * sched-rgn.c (init_ready_list): Ditto.
5633         * unwind-dw2.c (uw_frame_state_for): Ditto.
5634         * unwind-dw2-fde.c (_Unwind_Find_FDE): Ditto.
5635         * unwind.inc (_Unwind_RaiseException_Phase2): Ditto.
5636         * config/rs6000/rs6000.c (rs6000_adjust_priority): Ditto.
5638 2001-09-19  Richard Henderson  <rth@redhat.com>
5640         * cfg.c (force_nonfallthru_and_redirect): Handle redirecting
5641         to the exit block.
5642         * Makefile.in (cfg.o): Depend on TM_P_H.
5644 2001-09-19  Richard Henderson  <rth@redhat.com>
5646         * config/alpha/alpha.c (local_symbol_p): Split out from ...
5647         (local_symbolic_operand): ... here.
5648         (small_symbolic_operand): Check mode.
5649         (global_symbolic_operand): New.
5650         (input_operand): Reject symbolics if explicit relocs.
5651         (call_operand): Tidy.
5652         (alpha_legitimize_address): Use movdi_er_high_g.
5653         (alpha_expand_mov): Likewise.
5654         * config/alpha/alpha-protos.h: Update.
5655         * config/alpha/alpha.h (PREDICATE_CODES): Update.
5656         * config/alpha/alpha.md (UNSPEC_LITERAL, UNSPEC_LITUSE): New.
5657         (UNSPEC_LDGP2, UNSPECV_PLDGP2): New.
5658         (UNSPECV_LDGP2): Remove.
5659         (all call patterns): Use 's' not 'i' for symbolic constraint.
5660         (call_osf call_value_osf): Use call_operand.
5661         (all osf call patterns): Use $gp.  New peepholes for explicit relocs.
5662         (movdi_er_nofix, movdi_er_fix): Remove symbolic alternative.
5663         (prologue_ldgp_1_er): Remove.
5664         (ldgp_er_1, ldgp_er_2, prologue_ldgp_er_2): New.
5665         (builtin_setjmp_receiver_er patterns): Use them.
5666         (exception_receiver_er): Likewise.
5668 2001-09-19  Richard Henderson  <rth@redhat.com>
5670         * cfgbuild.c (find_sub_basic_blocks): Handle insns that can throw.
5672         * emit-rtl.c (try_split): Copy NORETURN, SETJMP, ALWAYS_RETURN
5673         and NON_LOCAL_GOTO notes.
5674         * recog.c (peephole2_optimize): Likewise.  Handle EH_REGION;
5675         copy over CALL_INSN_FUNCTION_USAGE.
5677 2001-09-18  Catherine Moore  <clm@redhat.com>
5679         * config/stormy16/stormy16.h (DEFAULT_PCC_STRUCT_RETURN):
5680         Define as 0.
5682 2001-09-18  Ulrich Weigand  <uweigand@de.ibm.com>:
5684         * config.gcc (s390-*-linux-*, s390x-*-linux*): Switch to
5685         new-style tm_file specification.  Specify correct tm_p_file,
5686         md_file, and out_file for s390x.
5688         * config/s390/linux.h, linux64.h:  Don't include other target
5689         macro header files.  Now handled via tm_file.
5691         * config/s390/linux.h, s390.h:  (IEEE_FLOAT, TARGET_IEEE_FLOAT,
5692         TARGET_IBM_FLOAT): Move from linux.h to s390.h to ensure they
5693         are defined before use.
5695 Tue Sep 18 09:51:11 2001  Eric Christopher  <ecechristo@redhat.com>
5697         * config/mips/mips.c (mips_asm_file_start): Conditionalize Elf
5698         code generation only for Gnu assembler.
5700 2001-09-18  Catherine Moore  <clm@redhat.com>
5702         * config/stormy16 (LIB_SPEC): Remove -lnosys.
5704 2001-09-18  Richard Sandiford  <rsandifo@redhat.com>
5706         * config/mips/mips.c (mips_frame_set): New.
5707         (mips_emit_frame_related_store): When storing two 32-bit FPRs, use
5708         a parallel frame-related expression with a set for each register.
5710 2001-09-18  Philip Blundell  <philb@gnu.org>
5712         * config/arm/lib1funcs.asm (L_dvmd_lnx): Don't rely on kernel
5713         header files.
5715 2001-09-17  Dale Johannesen  <dalej@apple.com>
5717         * config/rs6000/rs6000.h (FIXED_REGISTERS): Use FIXED_R2.
5718         * config/rs6000/aix.h (FIXED_R2): Define.
5719         * config/rs6000/darwin.h (FIXED_R2): Define.
5720         * config/rs6000/sysv4.h (FIXED_R2): Define.
5722 2001-09-17  Jeff Sturm  <jsturm@one-point.com>
5724         * except.c (dw2_build_landing_pads): New local
5725         clobbers_hard_regs.  Emit an ASM_INPUT as a scheduling
5726         barrier after clobbers.  Fixes c++/4012.
5728 2001-09-17  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
5730         * gcc.c (find_file): Use ACONCAT in lieu of alloca/strcpy/strcat.
5732 2001-09-17  Joseph S. Myers  <jsm28@cam.ac.uk>
5734         * dostage2, dostage3, listing, make-l2.com, makefile.vms,
5735         patch-apollo-includes, vmsconfig.com: Remove obsolete files.
5737 2001-09-17  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
5739         * c-aux-info.c (affix_data_type): Use ASTRDUP in lieu of
5740         alloca/strcpy.
5742 2001-09-17  Neil Booth  <neil@daikokuya.demon.co.uk>
5744         * cpphash.h (_cpp_lex_direct): New.
5745         * cpplex.c (_cpp_lex_token): Update.
5746         (lex_token): Rename _cpp_lex_direct; lex into pfile->cur_token,
5747         and increment that pointer.
5748         * cppmacro.c (alloc_expansion_token): New.
5749         (lex_expansion_token): Lex macro expansion directly into
5750         macro storage.
5752 2001-09-16  Brad Lucier  <lucier@math.purdue.edu>
5754         * Makefile.in: Make rtl-error.o depend on $(CONFIG_H).
5756 Sun Sep 16 21:59:46 CEST 2001  Jan hubicka  <jh@suse.cz>
5758         * basic-block.h (free_bb_for_insn): Declare.
5759         * bb-reorder.c (label_for_bb): Use block_label.
5760         (emit_jump_to_block_after): Remove.
5761         (insert_intra_1): Do not update block_for_insn.
5762         (insert_inter_bb_scope_notes): Likewise; update bb->end
5763         * cfg.c (free_bb_for_insn): New.
5764         (try_rediret_by_replacing_jump): Avoid set_block_for_new_insns call.
5765         (force_nonfallthru_and_redirect): Likewise; do not update BB boundaries.
5766         (commit_one_edge_insertion): Likewise.
5767         (commit_one_edge_insertion): Do not update BB boundary.
5768         (commit_edge_insertions): Do not call compute_bb_for_insn.
5769         * cfgbuild.c (find_basic_blocks): Do not free basic_block_for_insn.
5770         * cfgcleanup.c (merge_blocks_move_predecessor): Use reorder_insns_nobb.
5771         (merge_blocks_move_successor_nojumps): Likewise.
5772         (try_crossjump_to_edge): Do not update block_for_insn.
5773         * combine.c (combine_instructions): Remove compute_bb_for_insn call.
5774         * df.c (df_pattern_emit_later): Do not update BB boundary.
5775         (df_jump_pattern_emit_after): Likewise.
5776         (df_insn_move_before): Use emit_insn_before.
5777         * emit-rtl.c (try_split): Emit after trial to get bb boundary updated
5778          properly.
5779         (add_insn_after, add_insn_before, emit_insns_after): Update BB
5780         boundaries and basic_block_for_insn.
5781         (reorder_insns_nobb): Rename from reorder_insns.
5782         (reorder_insns): New.
5783         (emit_block_insn_before, emit_block_insn_after): Kill.
5784         * flow.c (check_function_return_warnings): Do not call
5785         compute_bb_for_insn; Do not free basic_block_for_insn.
5786         (attempt_auto_inc): Do not update basic_block_for_insn.
5787         * function.c (emit_return_into_block): Likewise;
5788         do not update BB boundaries.
5789         * gcse.c (handle_avail_expr): Do not update basic_block_for_insn.
5790         (insert_insn_end_bb): Use emit_insn_before; Likewise.
5791         (pre_insert_copy_insn): Likewise.
5792         (update_ld_motion_notes): Likewise.
5793         (insert_insn_start_bb): Likewise.
5794         (replace_store_insn): Likewise.
5795         * ifcvt.c (noce_process_if_block): Likewise.
5796         (if_convert): Do not call compute_bb_for_insn.
5797         * lcm.c (optimize_mode_switching): Do not update BB boundaries.
5798         Use emit_insn_before and emit_insn_after.
5799         * recog.c (split_all_insns): Do not update BB boundaries;
5800         Do not call compute_bb_for_insn.
5801         (peephole2_optimize): Do not update BB boundaries.
5802         * reg-stack.c (emit_pop_insn): Use emit_insn_after and
5803         emit_insn_before.
5804         (emit_swap_insn): Likewise.
5805         (convert_regs_1): Likewise.
5806         * reload1.c (reload): Call compute_bb_for_insn.
5807         * rtl.h (reorder_insns_nobb): Declare.
5808         * ssa.c (rename_equivalent_regs): Use emit_insn_before.
5809         * toplev.c (rest_of_compilation): Call free_bb_for_insn
5810         at places CFG is invalidated; do not call compute_bb_for_insn.
5812         * cfg.c (expunge_block): Invalidate BB structure.
5814         * (merge_blocks_nomove): Update properly BLOCK_FOR_INSN
5815         array.
5817         * cfg.c (verify_flow_info): Verify the basic_block_for_insn array.
5819 2001-09-16  Neil Booth  <neil@daikokuya.demon.co.uk>
5821         * cpphash.h (_cpp_lex_token): Update prototype.
5822         * cpplex.c (_cpp_lex_token): New prototype.
5823         * cpplib.c (skip_rest_of_line, check_eol, _cpp_handle_directive,
5824         lex_macro_node, read_flag, do_pragma_poison): Update.
5825         * cppmacro.c (cpp_get_token, parse_params,
5826         lex_expansion_token): Update.
5828 2001-09-16  Neil Booth  <neil@daikokuya.demon.co.uk>
5830         * cppmain.c (scan_translation_unit): Don't worry about
5831         putting a space after hashes.
5832         * cpplib.c (directive_diagnostics): New.
5833         (_cpp_handle_directive): Update to use directive_diagnostics.
5834         (run_directive): Don't toggle prevent_expansion.
5835         (do_line): Backup in case of the line extension.
5836         * cpplib.h (cpp_lexer_pos): Remove.
5837         * cppmacro.c (_cpp_create_definition): Precede a leading #
5838         with whitespace.
5840 2001-09-15  Richard Henderson  <rth@redhat.com>
5842         * c-typeck.c (comptypes): Handle zero-length arrays properly.
5844 2001-09-15  Roman Lechtchinsky  <rl@cs.tu-berlin.de>
5846         * c-common.c (c_promoting_integer_type_p): Handle ?Imode types.
5848 2001-09-15  Neil Booth  <neil@daikokuya.demon.co.uk>
5850         PR preprocessor/3571
5851         * tradcpp.c (handle_directive): Skip non-vertical space.
5853 2001-09-15  Neil Booth  <neil@daikokuya.demon.co.uk>
5855         * cppmain.c (setup_callbacks): Set line callback only
5856         if outputting preprocessed source.
5858 2001-09-15  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
5860         * collect2.c (main): Const-ification.
5861         * gcc.c (translate_options, process_command): Use xstrdup in
5862         lieu of xmalloc/strcpy.
5863         (main): Use concat in lieu of xmalloc/strcpy/strcat.
5865 2001-09-14  Roman Lechtchinsky  <rl@cs.tu-berlin.de>
5867         * doc/install.texi (Specific, alphaev5-cray-unicosmk*): Fix
5868         example.
5870 2001-09-15  Neil Booth  <neil@daikokuya.demon.co.uk>
5872         * scan-decls.c (scan_decls): Fix typo.
5874 2001-09-15  Neil Booth  <neil@daikokuya.demon.co.uk>
5876         * cpphash.h (struct cpp_reader): Remove lexer_pos, directive_pos.
5877         Split mlstring_pos into mls_line and mls_col.
5878         * cppinit.c (cpp_create_reader): Initialize line to 1.
5879         (cpp_destroy): Free tokenruns.
5880         (push_include): Don't update lexer_pos.
5881         * cpplex.c (unterminated, parse_string): Update.
5882         (lex_token): Don't update lexer_pos, update.
5883         * cpplib.c (if_stack): Save line instead of line + col.
5884         (start_directive, _cpp_do__Pragma, do_else, do_elif,
5885         push_conditional, _cpp_pop_buffer): Update.
5886         * cppmacro.c (funlike_invocation_p): Don't save lexer_pos.
5887         (_cpp_create_definition): Update.
5889 2001-09-15  Eric Christopher  <echristo@redhat.com>
5891         * config/mips/abi64.h: Add support for MEABI.
5893 2001-09-15  Eric Christopher  <echristo@redhat.com>
5895         * config/mips/mips.md: Add unspec #2.
5896         (reload_indi): Use.
5897         (reload_outdi): Ditto.
5898         (reload_outsi): Ditto.
5899         (HILO_delay): New.
5901 2001-09-15  Eric Christopher  <echristo@redhat.com>
5902             Jason Eckhardt  <jle@redhat.com>
5904         * config.gcc: Add mipsisa32 target and mipsisa32-linux target.
5905         * config/mips/isa32-linux.h: New file.
5906         * config/mips/isa3264.h: Ditto.
5907         * config/mips/mips-protos.h: Add mips_hard_regno_nregs.
5908         * config/mips/mips.c (mips_hard_regno_nregs): Move here from mips.h.
5909         (output_block_mode): Support MEABI.
5910         (function_arg): Ditto. Fix floating point arg passing.
5911         (mips_va_start): Ditto.
5912         (override_options): Add isas 32 and 64, meabi, mips32 and mips64
5913         processors.
5914         (mips_asm_file_start): Add new section to pass abi to gdb.
5915         (function_arg_pass_by_reference): Support MEABI.
5916         (mips_parse_cpu): Support mips32 and mips64 processors.
5917         * config/mips/mips.h: Support ABI_MEABI, TARGET_MIPS4KC,
5918         TARGET_MIPS5KC.  Support isa32 and isa64.
5919         (processor_type): Add r4kc, r5kc, r20kc.
5920         (GENERATE_MULT3_SI): New.
5921         (GENERATE_MULT3_DI): Ditto.
5922         (GENERATE_MULT3): Remove.
5923         (ISA_HAS_64BIT_REGS): Add isa == 64.
5924         (ISA_HAS_8CC): Add mips_isa = 32 and 64.
5925         (ISA_HAS_MADD_MSUB): New.
5926         (ISA_HAS_CLZ_CLO): Ditto.
5927         (ISA_HAS_DCLZ_DCLO): Ditto.
5928         (ABI_GAS_ASM_SPEC): New.
5929         (GAS_ASM_SPEC): Use. Add support for mips32, mips64.
5930         (ASM_SPEC): Ditto.
5931         (LINK_SPEC): Ditto.
5932         (SUBTARGET_CC1_SPEC): Ditto.
5933         (SUBTARGET_CPP_SIZE_SPEC): Ditto.
5934         (PAD_VARARGS_DOWN): Support MEABI.
5935         (HARD_REGNO_NREGS): Move to mips.c.
5936         (ASM_OUTPUT_IDENT): Add #undef.
5937         * config/mips/mips.md: Add r4kc, r5kc, r20kc.
5938         (mulsi3): Use GENERATE_MULT3_SI.
5939         (mulsi3_mult3): Ditto.  Support mips32, mips64.
5940         (mul_acc_si): Use ISA_HAS_MADD_MSUB.
5941         (mul_sub_si): New pattern.
5942         (unnamed splitters): New.
5943         (muldi3): Use GENERATE_MULT3_DI.
5944         (muldi3_internal2): Ditto.
5945         (movdicc): Support mips32.
5946         * config/mips/t-isa3264: New file.
5948 2001-09-15  Hans-Peter Nilsson  <hp@axis.com>
5950         * rtl.h (FIND_REG_INC_NOTE) [HAVE_PRE_INCREMENT
5951         || HAVE_PRE_DECREMENT || HAVE_POST_INCREMENT
5952         || HAVE_POST_DECREMENT]: Call find_regno_note for REGs.
5954         * reorg.c (fill_slots_from_thread): After call to
5955         steal_delay_list_from_target, update own_thread as new_thread may
5956         have branched.
5958 2001-09-14  Neil Booth  <neil@daikokuya.demon.co.uk>
5960         * cpperror.c (print_location): Take line and column, for
5961         default positioning use the previously lexed token.
5962         (_cpp_begin_message): Take line and column.
5963         (cpp_ice, cpp_fatal, cpp_error, cpp_error_with_line, cpp_warning,
5964         cpp_warning_with_line, cpp_pedwarn, cpp_pedwarn_with_line): Update.
5965         * cpphash.h (_cpp_begin_message): Update prototype.
5966         * cppinit.c (push_include): Don't set output line.
5967         * cpplex.c (_cpp_lex_token): Callback for start of new output lines.
5968         * cpplib.c (do_diagnostic, _cpp_pop_buffer): Update.
5969         (do_pragma): Kludge for front ends.  Don't expand macros at all.
5970         * cpplib.h (cpp_lookahead, cpp_token_with_pos, cpp_get_line): Remove.
5971         (struct cpp_token): Remove output_line.
5972         (struct cpp_callbacks): New member line_change.
5973         * cppmacro.c (builtin_macro, paste_all_tokens, replace_args,
5974         cpp_get_token): Preserve BOL flag.
5975         (cpp_get_line): Remove.
5976         (_cpp_backup_tokens): Remove useless abort().
5977         * cppmain.c (cb_line_change): New.
5978         (scan_translation_unit): Don't worry about starting new lines here.
5979         * scan-decls.c (scan_decls): Update.
5980         * c-lex.c (c_lex, init_c_lex): Update.
5981         (cb_line_change, src_lineno): New.
5983 Fri Sep 14 13:54:50 EDT 2001  John Wehle  (john@feith.com)
5985         * tree.c (append_random_chars): Generate the random
5986         characters in a reproducable fashion.
5988 2001-09-14  Richard Henderson  <rth@redhat.com>
5990         * config/i386/i386.c (internal_label_prefix): New.
5991         (internal_label_prefix_len): New.
5992         (override_options): Set them.
5993         (local_symbolic_operand): New.
5994         (legitimate_pic_address_disp_p): Use it.
5995         (legitimize_pic_address): Likewise.
5997 2001-09-14  Marc Espie <espie@openbsd.org>
5999         * config/i386/unix.h (ASM_OUTPUT_MI_THUNK):  Generate reference to GOT
6000         correctly.
6002 2001-09-14  Roman Lechtchinsky  <rl@cs.tu-berlin.de>
6004         * config/alpha/alpha.md (unaligned_extendhidi_be): Fix.
6005         * config/alpha/unicosmk.h (INIT_TARGET_OPTABS): New.
6007 2001-09-14  Nick Clifton  <nickc@cambridge.redhat.com>
6009         * rtlanal.c (subreg_regno_offset): Add semicolon to end of
6010         invocation of SUBREG_REGNO_OFFSET.
6012         * haifa-sched.c: Fix typo in FSF copyright statement.
6013         * sched-deps.c: Fix typo in FSF copyright statement.
6014         * sched-ebb.c: Fix typo in FSF copyright statement.
6015         * sched-rgn.c: Fix typo in FSF copyright statement.
6016         * sched-vis.c: Fix typo in FSF copyright statement.
6018         * config.gcc: Move inclusion of arm elf specific header files
6019         from the files themselves into the tm_file variable.  Make
6020         sure that elfos.h is included before target specific elf
6021         headers.
6022         * config/arm/aout.h (NO_DOLLAR_IN_LABEL): Only define if not
6023         already defined.
6024         (ASM_OUTPUT_ASCII, ASM_OUTPUT_SKIP): Protect definition.
6025         * config/arm.arm.h (TARGET_MEM_FUNCTIONS,
6026         ASM_OUTPUT_CASE_LABEL): Protect definition.
6027         (CC1_SPEC, FP_DEFAULT, ARM_FUNCTION_PROFILE): Only define if
6028         not already defined.
6029         * config/arm/conix-elf.h: (USER_LABEL_PREFIX,
6030         LOCAL_LABEL_PREFIX, MAKE_DECL_ONE_ONLY, UNIQUE_SECTION):
6031         Remove duplicate definition.
6032         (READONLY_DATA_SECTION, SUBTARGET_EXTRA_SECTION,
6033         (SUBTARGET_EXTRA_SECTION_FUNCTION, RDATA_SECTION_ASM_OP,
6034         (RDATA_SECTION_FUNCTION): Remove redundant definition.
6035         (STARTFILE_SPEC, ENDFILE_SPEC): Protect definition.
6036         Remove inclusion of arm/elf.h.
6037         * config/arm/unknown-elf.h: as for conix-elf.h.
6038         (STARTFILE_SPEC): Include crti.o and crtn.o.
6039         * config/arm/linux-elf.h: as for conix-elf.h.
6040         * config/arm/ecos-elf.h: Remove inclusion of unknown-elf.h.
6041         * config/arm/strongarm-elf.h: Remove inclusion of
6042         unknown-elf.h.
6043         * config/arm/xscale-elf.h: Remove inclusion of unknown-elf.h.
6044         * config/arm/unknown-elf-oabi.h: Remove inclusion of
6045         unknown-elf.h and elf.h.
6046         * config/arm/uclinux-elf.h: Remove inclusion of linux-elf.h.
6047         * config/arm/linux-gas.h (DBX_DEBUGGING_INFO,
6048         ASM_WEAKEN_LABEL): Remove redundant definition.
6049         * config/arm/elf.h: Test for inclusion of elfos.h
6050         (USER_LABEL_PREFIX, ASM_DECLARE_RESULT, ASM_DECLARE_RESULT,
6051         ASM_DECLARE_OBJECT_NAME, ASM_FINISH_DECLARE_OBJECT_NAME,
6052         SUBTARGET_EXTRA_SECTION, SUBTARGET_EXTRA_SECTION_FUNCTION,
6053         EXTRA_SECTIONS, INT_ASM_OP, ASM_WEAKEN_LABEL): Remove
6054         redundant definition.
6055         (TYPE_OPERAND_FMT, ASM_DECLARE_FUNCTION_NAME,
6056         ASM_DECLARE_FUNCTION_SIZE, ASM_OUTPUT_INTERNAL_LABEL,
6057         ASM_OUTPUT_ALIGNED_COMMON): Protect definition.
6058         * t-arm-elf (EXTRA_MULTILIB_PARTS): Add crti.o and crtn.o.
6059         Add rules to build crti.o and crtn.o
6060         * crti.asm: New file.
6061         * crtn.asm: New file.
6063 2001-09-13  Neil Booth  <neil@daikokuya.demon.co.uk>
6065         * c-parse.in (_yylex): Use _cpp_backup_tokens.
6066         * cpphash.h (struct tokenrun): Add prev.
6067         (struct lexer_state): Remove bol.
6068         (struct cpp_reader): Remove old lookahead stuff, add lookaheads.
6069         (_cpp_free_lookaheads, _cpp_release_lookahead, _cpp_push_token)
6070         : Remove.
6071         * cppinit.c (cpp_create_reader): Don't set bol.
6072         (cpp_destroy): Don't free lookaheads.
6073         * cpplex.c (lex_directive): Remove.
6074         (next_tokenrun): Update.
6075         (_cpp_lex_token): Clean up logic.
6076         (lex_token): Update to return a pointer to lexed token, since it
6077         can move to the start of the buffer.  Simpify newline handling.
6078         * cpplib.c (SEEN_EOL): Update.
6079         (skip_rest_of_line): Remove lookahead stuff.
6080         (end_directive): Line numbers are already incremented.  Revert
6081         to start of lexed token buffer if we can.
6082         (_cpp_handle_directive, do_pragma, do_pragma_dependency,
6083         parse_answer): Use _cpp_backup_tokens.
6084         (run_directive, cpp_pop_buffer): Don't set bol, set saved_flags
6085         instead.  Don't check for EOL.
6086         (do_include_common, do_line, do_pragma_system_header): Use
6087         skip_rest_of_line.
6088         * cpplib.h (BOL, _cpp_backup_tokens): New.
6089         * cppmacro.c (save_lookahead_token, take_lookahead_token,
6090         alloc_lookahead, free_lookahead, _cpp_free_lookaheads,
6091         cpp_start_lookahead, cpp_stop_lookahead, _cpp_push_token): Remove.
6092         (builtin_macro): Don't use cpp_get_line.
6093         (cpp_get_line): Short term kludge.
6094         (parse_arg): Handle directives in arguments here.  Back up when
6095         appropriate.  Store EOF at end of argument list.
6096         (funlike_invocation_p): Use _cpp_backup_tokens.
6097         (push_arg_context): Account for EOF at end of list.
6098         (cpp_get_token): Remove lookahead stuff.  Update.
6100 2001-09-13  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
6102         * c-parse.in (yyerror): Const-ification and/or static-ization.
6103         * c-typeck.c (push_member_name): Likewise.
6104         * collect2.c (main): Likewise.
6105         * dbxout.c (dbxout_parms): Likewise.
6106         * diagnostic.c (format_with_decl): Likewise.
6107         * dwarf2out.c (output_ranges): Likewise.
6108         * dwarfout.c (fundamental_type_code): Likewise.
6109         * except.c (dw2_output_call_site_table): Likewise.
6110         * gcc.c (do_spec_1): Likewise.
6111         * genopinit.c (optabs): Likewise.
6112         * objc/objc-act.c (synth_id_with_class_suffix, start_class,
6113         gen_declaration_1, handle_impent): Likewise.
6114         * protoize.c (default_include, in_system_include_dir, abspath):
6115         Likewise.
6116         * sched-vis.c (visualize_stall_cycles): Likewise.
6117         * sdbout.c (plain_type_1, sdbout_end_function,
6118         sdbout_end_epilogue): Likewise.
6119         * varasm.c (decode_reg_name): Likewise.
6121         * 1750a.c (mod_regno_adjust): Likewise.
6122         * alpha.c (alpha_write_one_linkage,
6123         unicosmk_output_default_externs): Likewise.
6124         * arm.c (arm_condition_codes): Likewise.
6125         * arm.h (arm_condition_codes): Likewise.
6126         * avr.c (output_movsisf, encode_section_info): Likewise.
6127         * darwin.h (GEN_BINDER_NAME_FOR_STUB, GEN_SYMBOL_NAME_FOR_SYMBOL):
6128         Likewise.
6129         * i386.c (hi_reg_name, qi_reg_name, qi_high_reg_name): Likewise.
6130         * i386.h (hi_reg_name, qi_reg_name, qi_high_reg_name): Likewise.
6131         * m88k.c (output_function_profiler): Likewise.
6132         * mips.c (mips_output_conditional_branch): Likewise.
6133         * ns32k.c (ns32k_out_reg_names): Likewise.
6134         * ns32k.h (ns32k_out_reg_names): Likewise.
6135         * pj.c (pj_output_rval): Likewise.
6136         * rs6000.c (GEN_LOCAL_LABEL_FOR_SYMBOL): Likewise.
6137         * sparc.c (sparc_flat_function_prologue,
6138         sparc_flat_function_epilogue): Likewise.
6140 2001-09-13  Markus Werle <numerical.simulation@web.de>
6141             Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
6143         * doc/install.texi (Binaries): Add "Binaries for HP-UX 11.00 at
6144         Aachen University of Technology".
6146 2001-09-13  Andreas Schwab  <schwab@suse.de>
6148         * config/float-m68k.h: Define DECIMAL_DIG and FLT_EVAL_METHOD for
6149         C99.
6151 2001-09-13  Richard Henderson  <rth@redhat.com>
6153         * config/alpha/alpha.c (small_symbolic_operand): New.
6154         (override_options): Set MASK_SMALL_DATA based on pic/PIC.
6155         (some_operand, input_operand): Don't handle HIGH.
6156         (alpha_legitimize_address): Use it.  Emit HIGH with PLUS gp.
6157         (alpha_expand_mov): Likewise.
6158         (print_operand) [H]: Just print HIGH symbol.
6159         (print_operand_address): Handle small data.
6160         * config/alpha/alpha.h (MASK_SMALL_DATA, TARGET_SMALL_DATA): New.
6161         (TARGET_SWITCHES): Add -msmall-data/large-data.
6162         (PIC_OFFSET_TABLE_REGNUM): New.
6163         (PREFERRED_RELOAD_CLASS): Don't handle HIGH.
6164         (PREDICATE_COES): Update.
6165         * config/alpha/alpha.md (adddi_er_high): New.
6166         (adddi_er_low): Handle small data.
6167         * config/alpha/elf.h (DO_SELECT_SECTION): If SMALL_DATA,
6168         prefer .sdata to .rodata.
6169         (SELECT_RTX_SECTION): Likewise.
6171 2001-09-12  Josh Martin  <josh.martin@abq.sc.philips.com>
6173         * fixinc/inclhack.def(hpux11_size_t): Keep HP-UX headers from
6174         defining __size_t and leaving size_t undefined.
6176 2001-09-12  Diego Novillo  <dnovillo@redhat.com>
6178         * basic-block.h (expunge_block): Declare.
6179         * cfg.c (expunge_block): Remove static declaration.
6181 2001-09-12  Richard Henderson  <rth@redhat.com>
6183         * integrate.c (copy_insn_list): Copy label name from
6184         NOTE_INSN_DELETED_LABEL.
6186 2001-09-12  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
6188         * c-common.c (c_tree_code_name): Const-ification.
6189         * c-decl.c (c_decode_option): Likewise.
6190         * c-typeck.c (warn_for_assignment): Likewise.
6191         * collect2.c (libexts, is_ctor_dtor, main, ignore_library):
6192         Likewise.
6193         * cppinit.c (output_deps): Likewise.
6194         * dependence.c (dependence_string, direction_string): Likewise.
6195         * dwarf2out.c (output_ranges): Likewise.
6196         * fixinc/fixfixes.c (emit_gnu_type): Likewise.
6197         * fixinc/gnu-regex.c (re_error_msgid): Likewise.
6198         * gcc.c (standard_exec_prefix, standard_exec_prefix_1,
6199         standard_startfile_prefix, standard_startfile_prefix_1,
6200         standard_startfile_prefix_2, tooldir_base_prefix,
6201         standard_bindir_prefix, find_a_file): Likewise.
6202         * genattrtab.c (make_length_attrs): Likewise.
6203         * gencheck.c (tree_codes): Likewise.
6204         * genemit.c (gen_split): Likewise.
6205         * genrecog.c (special_mode_pred_table): Likewise.
6206         * graph.c (graph_ext): Likewise.
6207         * protoize (default_include): Likewise.
6208         * reload.c (reload_when_needed_name): Likewise.
6209         * sched-vis.c (visualize_stall_cycles): Likewise.
6210         * tlink.c (recompile_files): Likewise.
6211         * toplev.c (decode_g_option): Likewise.
6212         * tradcpp.c (output_deps): Likewise.
6213         * varasm.c (decode_reg_name): Likewise.
6215         * arm.c (arm_condition_codes, strings_fpa, thumb_condition_code):
6216         Const-ification.
6217         * arm.md: Likewise.
6218         * avr.c (avr_regnames, encode_section_info): Likewise.
6219         * c4x.c (float_reg_names): Likewise.
6220         * darwin.h (ASM_GLOBALIZE_LABEL): Likewise.
6221         * elfos.h (const_section): Likewise.
6222         * i386.c (ix86_comp_type_attributes): Likewise.
6223         * i386/win32.h (STRIP_NAME_ENCODING): Likewise.
6224         * ia64/aix.h (UNIQUE_SECTION): Likewise.
6225         * ia64.c (type_names): Likewise.
6226         * m68hc11.c (reg_class_names): Likewise.
6227         * m88k.c (m_options): Likewise.
6228         * mips.c (mips_output_conditional_branch, mips_unique_section):
6229         Likewise.
6230         * rs6000/sysv4.h (ASM_DECLARE_FUNCTION_NAME): Likewise.
6231         * sparc.c (sparc_flat_function_prologue, sparc_flat_function_epilogue,
6232         ultra_code_names): Likewise.
6233         * sparc.h (OVERRIDE_OPTIONS): Likewise.
6235 2001-09-12  Jakub Jelinek  <jakub@redhat.com>
6237         * configure.in (gcc_cv_as_shf_merge): Fix a typo.
6238         Use --fatal-warnings option for gas.
6239         * configure: Rebuilt.
6241 2001-09-12  Roman Lechtchinsky  <rl@cs.tu-berlin.de>
6243         * doc/install.texi (Specific, alphaev5-cray-unicosmk*): Document.
6245 2001-09-11  Jim Wilson  <wilson@redhat.com>
6247         * alias.c (clear_reg_alias_info): Only handle pseudo registers.
6249 2001-10-11  Matt Kraai  <kraai@alumni.carnegiemellon.edu>
6251         * builtins.c (c_strlen): Treat an offset too large for a
6252         HOST_WIDE_INT as out of range.
6254 Tue Sep 11 18:57:47 CEST 2001  Jan Hubicka  <jh@suse.cz>
6256         * basic-block.h (EDGE_CRITICAL): Remove; renumber other flags.
6257         (EDGE_CRITICAL_P): New predicate.
6258         * cfg.c (force_nonfallthru_and_redirect, split_edge): Kill EDGE_CRITICAL
6259         handling.
6260         (insert_insn_on_edge): Use EDGE_CRITICAL_P.
6261         (dump_edge_info): Remove "crit".
6262         * cfganal.c (mark_critical_edges): Kill.
6263         * cfgbuild.c (find_basic_blocks): Remove mark_critical_edges call.
6264         * cfgcleanup.c (cleanup_cfg): Likewise.
6265         * profile.c (instrument_edges): Use EDGE_CRITICAL_P.
6266         (find_spanning_tree): Likewise.
6267         * reg-stack.c (convert_regs_1): Likewise.
6268         * ssa.c (mark_regs_equivalent_over_bad_edges): Likewise.
6270         * basic-block.h (create_basic_block_structure): New.
6271         (create_basic_block): Update prototype.
6272         (force_nonfallthru): New.
6273         * bb-reorder.c (fixup_reorder_chain): Fixup use force_nonfallthru.
6274         * cfg.c (create_basic_block_structure): Rename from create_basic_block;
6275         handle updating of block_for_insn, creating of empty BBs and BBs at
6276         the end of INSN chain.
6277         (create_basic_block): New function.
6278         (split_block): Use create_basic_block.
6279         (force_nonfallthru_and_redirect): Break out from ...; cleanup
6280         (redirect_edge_and_branch_force): ... here.
6281         (force_nonfallthru): New.
6282         (split_edge): Rewrite to use force_nonfallthru and create_block.
6283         * cfgbuild.c (find_basic_blocks_1): Use create_basic_block_structure.
6284         (find_basic_blocks): Free basic_block_for_insn.
6285         * cfgcleanup.c (merge_blocks): Use force_nonfallthru.
6287         * cfg.c: Fix formating.
6288         * cfgcleanup.c: Fix formating.
6289         (merge_blocks, tail_recursion_label_p): Return bool.
6290         (merge_blocks_move_predecessor_nojumps,
6291          merge_blocks_move_successor_nojumps): Return void.
6293 2001-09-11  Jakub Jelinek  <jakub@redhat.com>
6295         * configure.in: Check whether assembler supports section merging.
6296         * config.in: Rebuilt.
6297         * configure: Rebuilt.
6298         * varasm.c (variable_section, output_constant_pool): Pass alignment
6299         to SELECT_SECTION and SELECT_RTX_SECTION.
6300         (mergeable_string_section): New.
6301         (mergeable_constant_section): New.
6302         (default_elf_asm_named_section): Output SECTION_MERGE and
6303         SECTION_STRINGS flags plus SECTION_ENTSIZE entity size.
6304         * output.h (mergeable_string_section): New.
6305         (mergeable_constant_section): New.
6306         (SECTION_MERGE, SECTION_STRINGS, SECTION_ENTSIZE): Define.
6307         * toplev.c (flag_merge_constants): New.
6308         (f_options): Add -fmerge-constants and -fmerge-all-constants
6309         options.
6310         (toplev_main): Default to -fno-merge-constants if not optimizing.
6311         * flags.h (flag_merge_constants): Add extern.
6312         * invoke.texi (-fmerge-constants, -fmerge-all-constants): Document.
6313         * tm.texi (SELECT_SECTION, SELECT_RTX_SECTION): Document added third
6314         argument.
6315         * config/elfos.h (ASM_SECTION_START_OP, ASM_OUTPUT_SECTION_START):
6316         Define if assembler has working .subsection -1 support.
6317         (SELECT_RTX_SECTION, SELECT_SECTION): Add third macro argument.
6318         Put constant into special SHF_MERGE sections if the linker should
6319         attempt to merge duplicates.
6320         * config/ia64/sysv4.h (SELECT_RTX_SECTION, SELECT_SECTION): Add third
6321         macro argument.
6322         Put constant into special SHF_MERGE sections if the linker should
6323         attempt to merge duplicates.
6324         * config/alpha/elf.h: Likewise.
6325         (ASM_SECTION_START_OP, ASM_OUTPUT_SECTION_START): Define if assembler
6326         has working .subsection -1 support.
6327         * config/nextstep.h: Add third argument to SELECT_RTX_SECTION and
6328         SELECT_SECTION.
6329         * config/svr3.h: Likewise.
6330         * config/darwin.h: Likewise.
6331         * config/arm/aof.h: Likewise.
6332         * config/arm/linux-elf.h: Likewise.
6333         * config/avr/avr.h: Likewise.
6334         * config/c4x/c4x.h: Likewise.
6335         * config/d30v/d30v.h: Likewise.
6336         * config/i386/dgux.h: Likewise.
6337         * config/i386/osfrose.h: Likewise.
6338         * config/i386/sco5.h: Likewise.
6339         * config/i386/svr3gas.h: Likewise.
6340         * config/ia64/aix.h: Likewise.
6341         * config/m32r/m32r.h: Likewise.
6342         * config/m68k/m68k.h: Likewise.
6343         * config/m88k/dgux.h: Likewise.
6344         * config/m88k/m88k.h: Likewise.
6345         * config/mcore/mcore-pe.h: Likewise.
6346         * config/mips/mips.h: Likewise.
6347         * config/pa/pa.h: Likewise.
6348         * config/pa/pa-linux.h: Likewise.
6349         * config/romp/romp.h: Likewise.
6350         * config/rs6000/sysv4.h: Likewise.
6351         * config/rs6000/xcoff.h: Likewise.
6352         * config/s390/linux.h: Likewise.
6353         * config/sparc/sparc.h: Likewise.
6354         * config/sparc/sysv4.h: Likewise.
6355         * config/stormy16/stormy16.h: Likewise.
6356         * config/v850/v850.h: Likewise.
6357         * config/vax/vms.h: Likewise.
6358         * config/arm/arm.c (arm_elf_asm_named_section): Output SECTION_MERGE
6359         and SECTION_STRINGS flags plus SECTION_ENTSIZE entity size.
6360         * config/sparc/sparc.c (sparc_elf_asm_named_section): Use
6361         default_elf_asm_named_section for SHF_MERGE sections.
6363 Tue Sep 11 17:55:54 CEST 2001  Jan Hubicka  <jh@suse.cz>
6365         * bb-reorder.c (fixup_reorder_chain): Fallthru edge to exit block
6366         is OK.
6368 2001-09-11  Joseph S. Myers  <jsm28@cam.ac.uk>
6370         * c-common.c (split_specs_attrs): Allow for empty attributes with
6371         empty TREE_PURPOSE.  Fixes PR c/4294.
6373 Tue Sep 11 11:37:52 CEST 2001  Jan Hubicka  <jh@suse.cz>
6375         * basic-block.h (cached_make_edge, make_single_succ): New.
6376         (make_edge): Remove first parameter.
6377         * bb-reroder.c (fixup_reorder_chain): Use make_single_succ_edge.
6378         * cfg.c (cached_make_edge): Rename from make_edge; return newly
6379         created edge; use obstack allocation.
6380         (make_edge, make_single_succ_edge): New.
6381         (first_removed_edge): New static variable.
6382         (init_flow): Initialize first_removed_edge and n_edges.
6383         (clear_edges): Use remove_edge.
6384         (flow_delete_block): Likewise.
6385         (remove_edge): Add removed edges to the removed edges list.
6386         (split_block, redirect_edge_and_branch_force, split_edge):
6387         Use make_edge.
6388         * cfganal.c (flow_call_edges_add): Updaet make_edge call.
6389         (add_noreturn_fake_exit_edges): Likewise.
6390         (connect_infinite_loops_to_exit): Liekwise.
6391         * cfgbuild.c (make_label_edge, make_edges, find_sub_basic_blocks):
6392         Use cached_make_edge.
6393         * cfgcleanup.c (try_crossjump_to_edge): Use make_single_succ_edge.
6394         * profile.c (branch_prob): Update make_edge call.
6395         * ssa-dce.c (ssa_eliminate_dead_code): Likewise.
6397 2001-09-11  Richard Henderson  <rth@redhat.com>
6399         * config/alpha/alpha.c: Tidy formatting.
6400         (local_symbolic_operand): Verify mode.
6401         (alpha_sa_mask): Ignore unicos for eh_return.
6402         (alpha_expand_epilogue): Handle sp_adj2 zero, not NULL.
6403         * config/alpha/alpha.md (umk divsi patterns): Remove.
6404         (extendsfdf2): Remove unicos check.
6405         (tablejump): Merge vms and unicos code; always use direct set
6406         plus label_ref use.
6408 2001-09-11  Roman Lechtchinsky  <rl@cs.tu-berlin.de>
6410         * config.gcc (alpha*-*-unicosmk*): New target.
6412         * config/alpha/alpha-protos.h (symbolic_operand,
6413         unicosmk_add_call_info_word, unicosmk_add_extern,
6414         unicosmk_defer_case_vector, unicosmk_unique_section,
6415         unicosmk_output_align, unicosmk_text_section, unicosmk_data_section,
6416         unicosmk_asm_file_start, unicosmk_asm_file_end,
6417         unicosmk_output_common): Declare.
6419         * config/alpha/alpha.c (NUM_ARGS, override_options, call_operand,
6420         direct_return, function_arg, alpha_va_start, alpha_va_arg,
6421         alpha_does_function_need_gp, alpha_end_function): Support Cray
6422         Unicos/Mk.
6423         (alpha_init_machine_status, alpha_mark_machine_status,
6424         alpha_free_machine_status, unicosmk_output_deferred_case_vectors,
6425         unicosmk_gen_dsib, unicosmk_output_ssib, unicosmk_need_dex,
6426         unicosmk_asm_named_section, unicosmk_insert_attributes,
6427         unicosmk_section_type_flags, symbolic_operand,
6428         unicosmk_output_module_name, unicosmk_output_default_externs,
6429         unicosmk_output_dex, unicosmk_output_externs,
6430         unicosmk_output_addr_vec, unicosmk_ssib_name,
6431         unicosmk_initial_elimination_offset, unicosmk_asm_file_start,
6432         unicosmk_asm_file_end, unicosmk_output_common,
6433         unicosmk_section_type_flags, unicosmk_unique_section,
6434         unicosmk_add_call_info_word, unicosmk_text_section,
6435         unicosmk_data_section, unicosmk_extern_list, unicosmk_extern_head,
6436         unicosmk_add_extern, unicosmk_dex, unicosmk_dex_list,
6437         unicosmk_dex_count, unicosmk_special_name): New.
6438         (TARGET_INSERT_ATTRIBUTES, TARGET_SECTION_TYPE_FLAGS): Define for
6439         TARGET_ABI_UNICOSMK.
6440         (get_aligned_mem, alpha_expand_unaligned_load,
6441         alpha_expand_unaligned_store, alpha_expand_unaligned_load_words,
6442         alpha_expand_unaligned_store_words): Support big-endian mode.
6443         (print_operand): Likewise. New format specifier 't'. Use
6444         TARGET_AS_SLASH_BEFORE_SUFFIX.
6445         (alpha_is_stack_procedure): Rename from vms_is_stack_procedure.
6446         (alpha_pv_save_size): Update with above change.
6447         (alpha_sa_mask, alpha_sa_size, alpha_expand_prologue,
6448         alpha_start_function, alpha_expand_epilogue): Likewise. Support Cray
6449         Unicos/Mk.
6451         * config/alpha/alpha.h (TARGET_ABI_UNICOSMK): New.
6452         (TARGET_ABI_OSF): Exclude TARGET_ABI_UNICOSMK.
6453         (TARGET_AS_SLASH_BEFORE_SUFFIX): New.
6454         (EXTRA_CONSTRAINT): New constraint 'U'.
6455         (PREDICATE_CODES): Add symbolic_operand.
6457         * config/alpha/alpha.md (UNSPEC_UMK_LAUM, UNSPEC_UMK_LALM,
6458         UNSPEC_UMK_LAL, UNSPEC_UMK_LOAD_CIW): New constants.
6459         (mulsi3, *mulsi_se, mulvsi3): Disable for TARGET_ABI_UNICOSMK.
6460         (integer division and modulus patterns): Split in default and
6461         Unicos/Mk versions.
6462         (*divmodsi_internal, *divmoddi_internal): Disable for
6463         TARGET_ABI_UNICOSMK.
6464         (unaligned_extend?idi, unaligned_load?i, unaligned_store?i): Split in
6465         little-endian and big-endian versions.
6466         (ext, ins, msk): Likewise.
6467         (extv, extzv, insv): Support big-endian mode.
6468         (call, call_value, tablejump): Support TARGET_ABI_UNICOSMK.
6469         (call_umk, call_value_umk, *call_umk, tablejump_umk,
6470         *tablejump_umk_internal, *call_value_umk): New.
6471         (*movdi_nofix): Add pattern for loading an address into a register on
6472         TARGET_ABI_UNICOSMK.
6473         (umk_laum, umk_lal, umk_lalm, *umk_load_ciw): New.
6474         (umk_mismatch_args, arg_home_umk): New.
6475         (various insns): Don't use mov, fmov, nop, fnop and unop.
6476         (realign): Support TARGET_ABI_UNICOSMK.
6478         * config/alpha/unicosmk.h: New file.
6479         * config/alpha/t-unicosmk: New file.
6481         * fixinc/inclhack.def (unicosmk_restrict): New.
6482         * fixinc/fixincl.x: Regenerate.
6484         * ginclude/stddef.h (size_t): Check for and define __SIZE_T__.
6485         (wchar_t): Check for and define __WCHAR_T__.
6487 2001-09-11  Richard Sandiford  <rsandifo@redhat.com>
6489         * combine.c (simplify_shift_const): Treat shifts by the mode
6490         size as undefined.
6492 2001-09-11  Neil Booth  <neil@daikokuya.demon.co.uk>
6494         * cpphash.h (struct tokenrun): New.
6495         (struct cpp_context): New member bol.
6496         (struct cpp_reader): New members.
6497         (_cpp_init_tokenrun): New.
6498         * cppinit.c (cpp_create_reader): Set up the token runs.
6499         * cpplex.c (lex_directive, lex_token, next_tokenrun): New.
6500         (lex_token): New internalised version of _cpp_lex_token.  Don't
6501         handle directives or the multiple include opimisation here any
6502         more.  Simply lex a token.
6503         * cpplib.c (run_directive): Clear bol.
6504         (_cpp_pop_buffer): Set bol.
6505         * cppmacro.c (funlike_invocation_p): Keep tokens whilst parsing
6506         arguments.
6508 2001-09-11  Michael Meissner  <meissner@redhat.com>
6510         * config/mips/mips.h (CC1_SPEC): If -mgp32 default to -mfp32, and
6511         give an error if the user uses -mfp32.
6512         (CPP_FPR_SPEC): Define __mips_fpr to be 32 or 64 depending on the
6513         default options.
6514         (CPP_SPEC): Define __mips_fpr to be 32 or 64, depending on the
6515         floating point register size.
6516         (EXTRA_SPECS): Add CPP_FPR_SPEC.
6518         * config/mips/netbsd.h (ASM_FINISH_DECLARE_OBJECT): Use
6519         HOST_WIDE_INT_PRINT_DEC to properly print the result of
6520         int_size_in_bytes.
6521         * config/mips/elf.h (ASM_FINISH_DECLARE_OBJECT): Ditto.
6522         * config/mips/elf64.h (ASM_FINISH_DECLARE_OBJECT): Ditto.
6524 2001-09-11  Hans-Peter Nilsson  <hp@axis.com>
6526         * dbxout.c (dbxout_parms): Fix typo in comment.
6527         * unroll.c (loop_find_equiv_value): Ditto.
6528         * toplev.c (rest_of_compilation): Ditto.
6529         * loop.c (scan_loop): Ditto.
6530         * dwarf2out.c (struct dw_fde_struct): Ditto.
6532 2001-09-10  Zack Weinberg  <zackw@panix.com>
6534         * cpplex.c (parse_identifier): Fast-path optimize.  Avoid
6535         copying identifier when we're just going to throw it away.
6536         (parse_identifier_slow): New routine to handle abnormal cases.
6537         (_cpp_lex_token): Update call site.
6539         * hashtable.c (ht_lookup): Don't assume that the string we've
6540         been given is NUL-terminated.
6541         * system.h: #define __builtin_expect(a, b) to (a) if not
6542         GCC >=3.0.
6544 2001-09-10  Michael Meissner  <meissner@redhat.com>
6546         * config.gcc (sparc64-*-solaris2): Add alias to be compatible with
6547         binutils, gdb.
6549 2001-09-10  David Edelsohn  <edelsohn@gnu.org>
6551         * config/rs6000/t-aix43 (SHLIB_INSTALL): Use mode 751 (a+x,r-o).
6553 Mon Sep 10 16:26:44 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
6555         * builtins.c (c_getstr): Correct thinko in last change and further
6556         cleanup.
6558 2001-09-10  Tim Freeman <tim@fungibole.com>
6560         * dwarf2out.c (incomplete_types, decl_scope_table): Make them
6561         into varray's and register them as roots with the garbage
6562         collector so they are not collected too soon.
6564 Mon Sep 10 14:21:26 CEST 2001  Jan Hubicka  <jh@suse.cz>
6566         * Makefile.in (cfg.o, cfganal.o, cfgloop.o, cfgbuild.o, cfgcleanup.o):
6567         New.
6568         * basic-block.h (flow_obstack, label_value_list,
6569         tail_recursion_label_list): Declare
6570         (tidy_fallthru_edges): Declare.
6571         (expunge_block, last_loop_beg_note): Delete.
6572         (can_fallthru, flow_nodes_print, flow_edge_list_print): Declare.
6573         * cfg.c: New file
6574         (basic_block_for_insn, label_value_list): Move from flow.c; make global.
6575         (n_basic_blocks, n_edges, basic_block_info, entry_exit_blocks,
6576         init_flow, clear_edges, can_delete_note_p, can_delete_label_p,
6577         flow_delete_insn, flow_delete_insn_chain, create_basic_block,
6578         expunge_block, flow_delete_block, compute_bb_for_insn,
6579         update_bb_for_insn, set_block_for_insn, set_block_for_new_insns,
6580         make_edge, remove_edge, redirect_edge_succ, redirect_edge_succ_nodup,
6581         redirect_edge_pred, split_block, marge_blocks_nomove, block_label,
6582         try_redirect_by_replacing_jump, last_loop_beg_note,
6583         redirect_edge_and_branch, redirect_edge_and_branch_force,
6584         tidy_fallthru_edge, tidy_fallthru_edges, back_edge_of_syntactic_loop_p,
6585         split_edge, insert_insn_on_edge, commit_one_edge_insertion,
6586         commit_edge_insertions, dump_flow_info, debug_flow_info,
6587         dump_edge_info, dump_bb, debug_bb, debug_bb_n, print_rtl_with_bb,
6588         verify_flow_info, purge_dead_edges, purge_all_dead_edges):
6589         Move here from flow.c
6590         * cfganal.c: New file.
6591         (forwarder_block_p, can_fallthru, mark_critical_edges,
6592          mark_dfs_back_edges, need_fake_edge_p, flow_call_edges_add,
6593          find_unreachable_blocks, create_edge_list, free_edge_list,
6594          print_edge_list, verify_edge_list, find_edge_index, flow_nodes_print,
6595          flow_edge_list_print, remove_fake_successors, remove_fake_edges,
6596          add_noreturn_fake_exit_edges, connect_infinite_loops_to_exit,
6597          flow_reverse_top_sort_order_compute, flow_depth_first_order_compute,
6598          flow_dfs_compute_reverse_init, flow_dfs-compute_reverse_add_bb,
6599          flow_dfs-compute_reverse_execute, flow_dfs_compute_reverse_finish);
6600         Move here from flow.c
6601         * cfgbuild.c: New file
6602         (count_basic_blocks, find_label_refs, make_label_edge, make_eh_edge,
6603          make_edges, find_basic_blocks_1, find_basic_blocks,
6604          find_sub_basic_blocks): Move here from flow.c
6605         * cfgcleanup.c: New file.
6606         (try_simplify_condjump, try_forward_edges, tail_recursion_label_p,
6607          merge_blocks_move_predecessor_nojumps,
6608          merge_blocks_move_successor_nojumps, merge_blocks,
6609          flow_find_cross_jump, outgoing_edges_match, try_crossjump_to_edge,
6610          try_crossjump_bb, try_optimize_cfg): Move here from flow.c
6611         (delete_unreachable_blocks, cleanup_cfg): Likewise; return true
6612         if succeeded.
6613         * cfgloop.c: New file
6614         (flow_loops_cfg_dump, flow_loop_nested_p, flow_loop_dump,
6615          flow_loops_dump, flow_loops_free, flow_loop_entry_edges_find,
6616          flow_loop_exit_edges_find, flow_loop_nodes_find,
6617          flow_loop_pre_header_scan, flow_loop_pre_header_find,
6618          flow_loop_tree_node_add, flow_loops_tree_build,
6619          flow_loop_level_compute, flow_loops_level_compute, flow_loop_scan,
6620          flow_loops_find, flow_loops_update, flow_loop_outside_edge_p):
6621         Move here from flow.c
6622         * flow.c: Remove everything moved elsewhere
6623         * output.h (cleanup_cfg): Return bool.
6625         * bb-reorder.c (reorder_block_def): Remove 'index'.
6626         (insert_intra_1): Add argument BB, set block for new note.
6627         (make_reorder_chain): Do not depdent on BB indexes.
6628         (make_reorder_chain_1): Do not use BB indexes.
6629         (label_for_bb): Likewise; set BB for new insn.
6630         (emit_jump_to_block_after): Likewise.
6631         (fixup_reoder_chain): Sanity check that all basic blocks
6632         are chained; verify newly created insn chain; remove
6633         undocnitional jump simplifying; Do not use BB indexes;
6634         properly initialize count and frequency information;
6635         dump reordered sequence.
6636         (insert_intra_bb_scope_notes): update call of insert_intra_1.
6637         (insert_inter_bb_scope_notes): Set block for new insn.
6638         (reorder_basic_blocks): Dump flow info before reoredering.
6640 Mon Sep 10 06:47:35 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
6642         * alias.c (clear_reg_alias_info): Use K&R format definition.
6643         Avoid unsigned warning.
6644         * builtins.c: Use "unsigned int", not "unsigned".
6645         (target_char_cast): Use host_integerp and tree_low_cst.
6646         (expand_builtin_args_info, expand_builtin_frame_address): Likewise.
6647         (c_strlen): Likewise; OFFSET now HOST_WIDE_INT.
6648         (c_getstr): Likewise.
6649         (std_expand_builtin_va_arg): Use int_size_in_bytes.
6650         (builtin_memcpy_read_str): Avoid unsigned warning.
6651         (expand_builtin_memcpy): Alignments are unsigned.
6652         (expand_builtin_strncpy, expand_builtin_memset): Likewise.
6653         (expand_builtin_expect_jump): Use integer_zerop and integer_onep.
6654         * predict.c (expensive_function_p): LIMIT now unsigned.
6655         * resource.c (mark_target_live_regs): Make some vars unsigned.
6656         * sdbout.c: Use "unsigned int", not "unsigned".
6657         (MAKE_LINE_SAFE): Add cast to avoid unsigned warning.
6658         (sdbout_source_line): Likewise.
6659         (sdbout_record_type_name): Remove "const" for NAME declaration.
6660         * config/alpha/alpha.c (alpha_expand_block_move): Whitespace fixes.
6662 2001-09-10  Richard Sandiford  <rsandifo@redhat.com>
6664         * calls.c (store_one_arg): Expand comment.
6666 2001-09-10  Roman Lechtchinsky  <rl@cs.tu-berlin.de>
6668         * calls.c (store_one_arg): Make sure that the entire argument is
6669         pushed if STACK_PARMS_IN_REG_PARM_AREA is defined.
6671 2001-09-09  Richard Henderson  <rth@redhat.com>
6673         * emit-rtl.c (adjust_address): Fix mode for LO_SUM.
6675 Sun Sep  9 10:43:17 CEST 2001  Jan Hubicka  <jh@suse.cz>
6677         * loop.c (combine_givs): Fix computing of benefit once giv is combined.
6679 2001-09-09  Richard Henderson  <rth@redhat.com>
6681         * config/alpha/alpha.c (alpha_next_sequence_number): New.
6682         (alpha_this_literal_sequence_number): New.
6683         (alpha_this_gpdisp_sequence_number): New.
6684         (some_operand, input_operand): Add HIGH.
6685         (local_symbolic_operand): New.
6686         (alpha_encode_section_info): New.
6687         (alpha_legitimate_address_p): Allow LO_SUM.
6688         (alpha_legitimize_address): Generate HIGH+LO_SUM.
6689         (alpha_expand_mov): Likewise.
6690         (secondary_reload_class): Check memory_operand not general_operand
6691         for FP_REGS test.
6692         (alpha_expand_unaligned_load): Force LO_SUM addresses into a register.
6693         (alpha_expand_unaligned_store): Likewise.
6694         (alpha_expand_unaligned_load_words): Likewise.
6695         (alpha_expand_unaligned_store_words): Likewise.
6696         (alpha_expand_block_clear): Likewise.
6697         (print_operand): Handle %#, %*, %H.
6698         (print_operand_address): Handle LO_SUM.
6699         (find_lo_sum): New.
6700         (alpha_does_function_need_gp): Use it.
6701         (alpha_expand_block_move): Fix signed compare warnings.
6702         (alpha_sa_mask, alpha_align_insns): Likewise.
6703         * config/alpha/alpha-protos.h: Update.
6704         * config/alpha/alpha.h (TARGET_EXPLICIT_RELOCS): New.
6705         (MASK_EXPLICIT_RELOCS): New.
6706         (TARGET_SWITCHES): Add -mexplicit-relocs.
6707         (EXTRA_CONSTRAINT): Add 'T'.
6708         (PREFERRED_RELOAD_CLASS): HIGH goes in GENERAL_REGS.
6709         (ASM_APP_ON, ASM_APP_OFF): Turn on and off asm macro expansion.
6710         (ENCODE_SECTION_INFO): Out line.
6711         (REDO_SECTION_INFO_P): New.
6712         (STRIP_NAME_ENCODING): New.
6713         (ASM_OUTPUT_LABELREF): New.
6714         (PRINT_OPERAND_PUNCT_VALID_P): Add #, *.
6715         (PREDICATE_CODES): Update.
6716         * config/alpha/alpha.md (divmodsi_internal_er, divmoddi_internal_er,
6717         call_osf_1_er_noreturn, call_osf_1_er, movdi_er_low, movdi_er_nofix,
6718         movdi_er_fix, prologue_ldgp_1_er, builtin_setjmp_receiver_sub_label_er,
6719         builtin_setjmp_receiver_er, exception_receiver_1_er,
6720         call_value_osf_1_er): New patterns.
6721         (sibcall_osf_1, sibcall_value_osf_1): Remove register alternative.
6722         (movqi, movhi, movsi): Add explicit $31 base register to lda.
6723         * config/alpha/elf.h (ASM_FILE_START): Set nomacro if explicit relocs.
6724         (FINAL_PRESCAN_INSN): New.
6726 Sat Sep  8 22:00:55 CEST 2001  Jan Hubicka  <jh@suse.cz>
6728         * reg-stack.c (subst_stack_regs_pat): Fix fcmov reversal code.
6730 2001-09-08  Andreas Jaeger  <aj@suse.de>
6732         * i386.h (TARGET_SWITCHES): Fix description.
6734 2001-09-07  David Edelsohn  <edelsohn@gnu.org>
6736         * rs6000.c (num_insns_constant): Compute number of instructions
6737         more accurately.
6739         * doc/install.texi: Explain AIX exception handling work-around.
6740         Update URL for AIX fixes.
6742 2001-09-07  Jim Wilson  <wilson@redhat.com>
6744         * alias.c (clear_reg_alias_info): New.
6745         * flow.c (attempt_auto_inc): Call clear_reg_alias_info.
6746         * rtl.h (clear_reg_alias_info): Declare.
6748 2001-09-07  Roman Lechtchinsky  <rl@cs.tu-berlin.de>
6750         * real.c (EMUSHORT,EMUSHORT_SIZE): Use HImode if no 16-bit type is
6751         available.
6752         (UEMUSHORT): New. Use instead of unsigned EMUSHORT.
6753         (m16m,edivm,emulm): Change declaration to match definition.
6755 2001-09-07  Roman Lechtchinsky <rl@cs.tu-berlin.de>
6757         * reload.c (push_reload): Check for subreg_lowpart_p instead of
6758         SUBREG_BYTE being 0 when determining if the inner part of a subreg
6759         can be reloaded.
6761 2001-09-07  Roman Lechtchinsky  <rl@cs.tu-berlin.de>
6763         * c-common.c (signed_or_unsigned_type): Handle machine mode types
6764         which have no corresponding C type.
6765         * fold_const.c (target_isinf,target_isnan,target_negative): Update
6766         the representation of 64-bit doubles to work with 64-bit ints.
6768 2001-09-07  Aldy Hernandez  <aldyh@redhat.com>
6770         * config/mips/mips.c (override_options): Do not override ISA when ABI
6771         specified if MIPS_CPU_STRING_DEFAULT was specified.
6773 2001-09-07  Richard Henderson  <rth@redhat.com>
6775         * loop.c (record_giv): Avoid simplifying MULT to ASHIFT.
6776         (express_from_1): Wrap lines.
6777         * rtlanal.c (commutative_operand_precedence): Rename from
6778         operand_preference; export.
6779         * rtl.h: Declare it.
6780         * simplify-rtx.c (simplify_gen_binary): Tidy +/- const_int handling.
6781         (simplify_binary_operation): Invoke simplify_plus_minus on
6782         (CONST (PLUS ...)) as well.
6783         (struct simplify_plus_minus_op_data): New.
6784         (simplify_plus_minus_op_data_cmp): New.
6785         (simplify_plus_minus): Use them.  Avoid infinite recursion with
6786         simplify_binary_operation wrt CONST.
6788 Fri Sep  7 11:52:30 2001   Kazu Hirata  <kazu@hxi.com>
6790         * h8300-protos.h (general_operand_dst_push): Remove.
6791         * h8300.c (general_operand_dst_push): Likewise.
6792         * h8300.h (OK_FOR_T): Likewise.
6793         (EXTRA_CONSTRAINTS): Do not use OK_FOR_T.
6794         * h8300.md (pushqi_h8300): New.
6795         (pushqi_h8300hs): Likewise.
6796         (pushqi): Likewise.
6797         (pushhi_h8300): Likewise.
6798         (pushhi_h8300hs): Likewise.
6799         (pushhi): Likewise.
6801 Fri Sep  7 12:56:26 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
6803         * genattrtab.c (attr_printf): First arg is unsigned.
6804         Clean up formatting of callers.
6806 2001-09-06  Aldy Hernandez  <aldyh@redhat.com>
6808         * config/mips/mips.c (override_options): Allow abi32 with 64 bit
6809         registers.
6811 2001-09-07  Andreas Jaeger  <aj@suse.de>
6813         * i386.h (TARGET_SWITCHES): Fix descriptions.
6815 2001-09-07  Matt Kraai  <kraai@alumni.carnegiemellon.edu>
6817         * stor-layout.c (compute_record_mode): Check DECL_SIZE is set.
6819 2001-09-06  Ira Ruben  <ira@apple.com>
6821         Remove OP_IDENTIFIER.
6822         * tree.def (OP_IDENTIFIER): Remove.
6823         * tree.c (tree_node_kind enum): Remove op_id_kind.
6824         (tree_node_kind_names): Remove "op_identifiers".
6825         (make_node): Remove OP_IDENTIFIER test.
6826         (build_op_identifier): Removed because it isn't being used.
6827         * print-tree.c (print_node): Remove OP_IDENTIFIER case.
6828         * cp/pt.c (tsubst): Remove OP_IDENTIFIER case.
6830 2001-09-06  Richard Henderson  <rth@redhat.com>
6832         * simplify-rtx.c (simplify_binary_operation): Revert last change.
6834 2001-09-06  Richard Henderson  <rth@redhat.com>
6836         * simplify-rtx.c (simplify_binary_operation): Simplify contents
6837         of CONST.
6839 2001-09-06  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
6841         * config/rs6000/rs6000.c (rs6000_emit_prologue): Fix DWARF2 register
6842         number used for CR register.
6844 Thu Sep  6 11:16:35 2001  Jeffrey A Law  (law@cygnus.com)
6845                           Joern Rennecke (amylaar@cygnus.com)
6847         * h8300-protos.h (h8300_return_addr_rtx): New prototype.
6848         * h8300.c (initial_offset): Handle offset between RP and FP.
6849         (h8300_return_addr_rtx): New function.
6850         * h8300.h (FIRST_PSEUDO_REGISTER): Bump now that we have a
6851         return register.
6852         (FIXED_REGISTERS, CALL_USED_REGISTERS): Corresponding changes.
6853         (REG_ALLOC_ORDER, RETURN_ADDRESS_POINTER_REGNUM): Likewise.
6854         (REG_CLASS_CONTENTS, ELIMINABLE_REGS): Likewise.
6855         (CAN_ELIMINATE, REGISTER_NAMES):
6856         (RETURN_ADDR_RTX): Call h8300_return_addr_rtx.
6858 2001-09-06  Nathan Sidwell  <nathan@codesourcery.com>
6860         Remove TYPE_NONCOPIED_PARTS.
6861         * tree.h (TYPE_NONCOPIED_PARTS): Remove.
6862         (struct tree_type): Remove noncopied_parts.
6863         * c-tree.h (TYPE_ACTUAL_ARG_TYPES): Map onto TYPE_BINFO.
6864         * expr.c (save_noncopied_parts, init_noncopied_parts): Remove.
6865         (fixed_type_p): Remove.
6866         (expand_expr, INIT_EXPR): Don't deal with noncopied parts.
6867         (expand_expr, MODIFY_EXPR): Likewise.
6868         * ggc-common.c (ggc_mark_trees): Remove TYPE_NONCOPIED_PARTS.
6869         * doc/c-tree.texi: Remove TYPE_NONCOPIED_PARTS FIXME.
6871 2001-09-06  Alan Modra  <amodra@bigpond.net.au>
6873         * config/rs6000/rs6000.c (mask_operand): Use signed vars to avoid
6874         compiler warnings.
6875         (mask64_operand): Likewise.
6876         (includes_rldic_lshift_p): Likewise.
6877         (includes_rldicr_lshift_p): Likewise.
6879 2001-09-05  Ziemowit Laski  <zlaski@apple.com>
6881         * objc/objc-act.c (build_message_expr): If a class method cannot
6882         be found, do not issue a warning if a corresponding instance
6883         method exists in the root class.
6885 2001-09-05  Richard Henderson  <rth@redhat.com>
6887         * config/alpha/alpha.c (alpha_expand_mov): Initialize temp.
6889 2001-09-05  Zack Weinberg  <zack@codesourcery.com>
6891         * function.c (ggc_mark_struct_function): Mark f->outer.
6892         * toplev.c (rest_of_compilation): Clear DECL_SAVED_INSNS here...
6893         * integrate.c (output_inline_function): ... not here.
6895 Wed Sep  5 17:28:49 CEST 2001  Jan Hubicka  <jh@suse.cz>
6897         * profile.c (branch_prob): Call add_noreturn_fake_exit_edges.
6899         * i386.c (size_cost): New static variable.
6900         (override_function): Use size_cost when -Os is specified.
6902         * i386.c (ix86_expand_prologue): Set use_fast_prologue_epilogue
6903         properly;  Use current_function_calls_eh_return.
6904         (ix86_expand_epilogue): Avoid dummy optimize_size tests;
6905         use leave to avoid dependency chain.
6907         * local-alloc.c (update_equiv_regs): Use CFG to iterate over INSN stream;
6908         get BB loop_depth instead of computing it from LOOP notes.
6910         * reg-stack.c (subst_stack_reg_pat): Handle reversal of conditional moves.
6912 2001-09-05  John David Anglin  <dave@hiauly1.hia.nrc.ca>
6914         * som.h (ASM_PREFERRED_EH_DATA_FORMAT): Define.
6915         * pa.h (UNALIGNED_SHORT_ASM_OP, UNALIGNED_INT_ASM_OP,
6916         UNALIGNED_DOUBLE_INT_ASM_OP): Define
6918 2001-09-05  Jeffrey A Law  (law@cygnus.com)
6919             Jason Merrill (jason@redhat.com)
6921         * stor-layout.c (layout_type): Complain if an array's size can
6922         not be represented in a size_t.
6924         * config/h8300/elf.h (ENDFILE_SPEC, STARTFILE_SPEC): Define.
6926 2001-09-05  David Billinghurst <David.Billinghurst@riotinto.com>
6928         * gcc.c: (process_command) Add parentheses around assignment
6929         used as truth value.
6931 2001-09-05  Richard Sandiford  <rsandifo@redhat.com>
6933         * config/mips/mips.c (save_restore_insns): Don't mark any register
6934         save slots as unchanging if current_function_calls_eh_return.
6936 2001-09-05  Richard Henderson  <rth@redhat.com>
6938         * config/alpha/alpha.c (alpha_legitimate_address_p): New.
6939         * config/alpha/alpha-protos.h: Declare it.
6940         * config/alpha/alpha.h (GO_IF_LEGITIMATE_ADDRESS): Move to c file.
6941         (NONSTRICT_REG_OK_FOR_BASE_P): Rename from non-strict macro.
6942         (NONSTRICT_REG_OK_FP_BASE_P): Likewise.
6943         (STRICT_REG_OK_FOR_BASE_P): Rename from strict macro.
6944         (REG_OK_FOR_BASE_P): Select one of the above.
6946 2001-09-05  Richard Sandiford  <rsandifo@redhat.com>
6948         * config/mips/t-elf (EXTRA_PARTS): Use EXTRA_MULTILIB_PARTS instead.
6949         (crti.o): Prefix name of object file with $(T).
6950         (crtn.o): Likewise.
6952 2001-09-05  David S. Miller  <davem@redhat.com>
6954         * config/sparc/linux.h: Set CPLUSPLUS_CPP_SPEC.
6955         * config/sparc/linux64.h: Likewise.
6957 2001-09-05  Andreas Jaeger  <aj@suse.de>
6959         * doc/invoke.texi (i386 Options): -mwide-multiply is not
6960         available anymore, remove the documentation.
6961         (i386 Options): Fix typo, cleanup index entries.
6963         * prefix.c (concat): Remove, we can use the version from liberty.
6965 2001-09-05  Richard Henderson  <rth@redhat.com>
6967         * config/alpha/alpha.c (alpha_expand_mov, alpha_expand_mov_nobwx):
6968         New functions split out of md file expanders.
6969         * config/alpha/alpha-protos.h: Declare them.
6970         * config/alpha/alpha.md (movqi, movhi, movsi, movdi): Use them.
6972 2001-09-05  Neil Booth  <neil@daikokuya.demon.co.uk>
6974         * cppmacro.c (funlike_invocation_p): No need to restore context.
6976 2001-09-04  Richard Henderson  <rth@redhat.com>
6978         * reload.c (push_reload): Export.
6979         * reload.h (push_reload): Declare it.
6981         * config/alpha/alpha.h (LEGITIMIZE_ADDRESS): Move out o' line.
6982         (LEGITIMIZE_RELOAD_ADDRESS): Likewise.
6983         * config/alpha/alpha.c (alpha_legitimize_address): New.
6984         (alpha_legitimize_reload_address): Likewise.
6985         * config/alpha/alpha-protos.h: Declare them.
6987 2001-09-04  Stan Shebs  <shebs@apple.com>
6989         * config/darwin.h (ASM_DECLARE_FUNCTION_NAME): Define.
6990         * config/darwin.c (machopic_stub_name): Account for internally
6991         generated lib calls such as memcpy.
6993 2001-09-04  Richard Henderson  <rth@redhat.com>
6995         * unwind.h (_UA_END_OF_STACK): New flag.
6996         * unwind.inc (_Unwind_ForcedUnwind_Phase2): Set it.
6998 Tue Sep  4 11:16:35 2001  Jeffrey A Law  (law@cygnus.com)
7000         * h8300/elf.h (LINK_SPEC): Redefine appropriately for the H8.
7002 2001-09-04  Richard Sandiford  <rsandifo@redhat.com>
7004         * config/mips/mips.c (save_restore_insns): Change base_offset to
7005         fp_offset in second call to mips_emit_frame_related_store.
7007 2001-09-04  Hans-Peter Nilsson  <hp@axis.com>
7009         * doc/rtl.texi: Mention that besides as a CODE_LABEL, a label can
7010         sometimes be represented as a NOTE of type
7011         NOTE_INSN_DELETED_LABEL.
7012         (Insns): Document NOTE_INSN_DELETED_LABEL.
7014 2001-09-04  Nathan Sidwell  <nathan@codesourcery.com>
7016         * c-common.h (tree_dump_index): Add more comments.
7017         * c-dump.c (dump_files): Name flags `tree' rather than `ast'.
7018         (dump_option_value_info): New struct.
7019         (dump_options): New array.
7020         (dump_switch_p): Parse switch options symbolically.
7021         * doc/invoke.texi (-fdump-ast): Rename to ...
7022         (-fdump-tree): ... here. Document that options are symbolic, and
7023         not all are applicable.
7025 2001-09-04  David S. Miller  <davem@redhat.com>
7027         * config/sparc/sparc.md (define_splits): Kill constraints.
7029         Cleanup redundant and unused insn attributes.
7030         * config/sparc/sparc.md (define_attr "insn"): Kill address, unary,
7031         binary, and move.  Mark ialu as default.
7032         (commented out define_function_unit "alu"): Kill.
7033         (define_attr "use_clobbered"): Kill.
7034         (whole file): Kill address insn type references.  Replace
7035         all unary/binary/move references with ialu.
7036         * config/sparc/sparc.c (whole file): Kill TYPE_ADDRESS
7037         references.  Replace TYPE_{UNARY,BINARY,MOVE} references with
7038         TYPE_IALU.
7040         Simplify length insn attribute and make more judicious use
7041         of insn attribute defaulting.
7042         * config/sparc/sparc.md (all insns with length > one): Mark as
7043         insn type multi if real instructions, else use default if
7044         it is a forced splitter.
7045         (all insns with length == one): Use default insn length.
7046         (all insns of type ialu): Use default insn type.
7048         Fix erroneous insn attribute settings.
7049         (addx): Set insn type to misc.
7050         (mulsidi3_sp64, const_mulsidi3_sp64, umulsidi3_sp64,
7051         const_umulsidi3_sp64): Set insn type to imul.
7053         Track SFmode vs DFmode insns according to UltraSPARC
7054         scheduling rules.
7055         * config/sparc/sparc.md ("fptype"): New attribute, default
7056         to "single".
7057         (all DFmode single insns): Mark as fptype "double".
7059 2001-09-03  Jakub Jelinek  <jakub@redhat.com>
7061         * loop.c (express_from_1): Fix CONSTANT_P(a) case.
7063 2001-09-03  Richard Henderson  <rth@redhat.com>
7065         * function.h (struct function): Add arg_pointer_save_area_init.
7066         * function.c (expand_function_end): Init arg_pointer_save_area.
7067         (get_arg_pointer_save_area): Do not init arg_pointer_save_area
7068         when called from a nested function.
7070 2001-09-02  Angela Marie Thomas <angela@cygnus.com>
7072         * fixinc/Makefile.in: Regenerate fixincl.x only if maintainer-mode
7073         is enabled.
7075 Sun Sep  2 18:37:54 CEST 2001  Jan Hubicka  <jh@suse.cz>
7077         * reload1.c (fixup_abnormal_edges): Allow NOTEs in the sequence.
7079 2001-09-01  Geoffrey Keating  <geoffk@redhat.com>
7081         * expr.c (push_block): Make sane use of STACK_GROWS_DOWNWARD.
7082         (emit_push_insn): Use specified padding direction when
7083         STACK_PUSH_CODE is POST_INC.
7085         * config/stormy16/stormy16.h (DWARF2_UNWIND_INFO): Define to 0.
7087 2001-09-01  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7089         * mips.h (INITIAL_ELIMINATION_OFFSET): Add missing `else abort'.
7091 2001-09-01  Neil Booth  <neil@daikokuya.demon.co.uk>
7093         * cppinit.c (cpp_start_read): Free the imacros list as we
7094         traverse it.  Don't free the chains before returning.
7095         (_cpp_push_next_buffer): Only try pushing buffers if we've
7096         completed -imacros handling.
7098 2001-08-31  Eric Christopher  <echristo@redhat.com>
7100         * gcc.c (handle_braces): Add explaination for abort.
7102 2001-08-30  Roman Zippel  <zippel@linux-m68k.org>
7104         * expmed.c (store_bit_field): Update to patch from 2001-08-27:
7105         move adjustment of bitpos instead.
7107 2001-08-31  Zack Weinberg  <zack@codesourcery.com>
7109         * function.c: Remove all_functions.  Make outer_function_chain
7110         static.
7111         (init_function_start): Don't add new function structure to
7112         all_functions.
7113         (find_function_data, push_function_context_to,
7114         pop_function_context_from, put_var_into_stack,
7115         trampoline_address): Update for changed structure element names.
7116         (push_function_context_to): Disentangle.
7117         (free_after_compilation): Also free F.
7118         (expand_dummy_function_end): Don't free cfun here.
7119         (put_var_into_stack): Comment why we can't use find_function_data here.
7120         (fix_lexical_addr, trampoline_address, ): Use find_function_data.
7121         (mark_function_chain): Split into maybe_mark_struct_function and
7122         ggc_mark_struct_function.  Export the latter.
7123         (init_function_once): Mark from cfun and outer_function_chain;
7124         not all_functions.
7126         * function.h (struct function): Kill next_global.  Rename next
7127         to outer.  All users updated to match.
7128         (all_functions, outer_function_chain): Don't declare.
7130         * ggc-common.c (ggc_mark_trees): Mark DECL_SAVED_INSNS.
7131         * integrate.c (output_inline_function): Clear DECL_SAVED_INSNS,
7132         don't touch f->inlinable, after calling rest_of_compilation.
7134         * tree.h: Forward-declare struct function.  Prototype
7135         ggc_mark_struct_function.
7137 2001-08-31  Kazu Hirata  <kazu@hxi.com>
7139         * config/h8300/h8300.md (*andorhi3): Fix typos.
7141 2001-08-31  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7143         * calls.c (emit_library_call_value): Don't use a fixed
7144         argument after VA_CLOSE, i.e. out of scope in traditional C.
7146         * emit-rtl.c (gen_rtvec): Likewise.
7148 2001-08-31  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7150         * Makefile.in (c-pragma.o): Depend on output.h.
7151         (reorg.o): Depend on except.h.
7153         * c-pragma.c: Include output.h.
7155         * reorg.c: Include except.h.
7157         * unwind-dw2.c: Call __builtin_alloca, not alloca.
7159 2001-08-31  Richard Henderson  <rth@redhat.com>
7161         * sched-deps.c (add_dependence): Don't elide dependency if the
7162         conditional used by insn is modified in elem.
7164 2001-08-31  Nick Clifton  <nickc@cambridge.redhat.com>
7166         * config/v850/v850.h (OUTPUT_ADDR_CONST_EXTRA): Define.
7168 2001-08-31  Diego Novillo  <dnovillo@redhat.com>
7170         * c-decl.c (c_decode_option): Skip '-f' prefix before calling
7171         dump_switch_p.
7173 2001-08-31  Geoffrey Keating  <geoffk@redhat.com>
7175         * config/stormy16/stormy16.c (stormy16_asm_out_destructor): New
7176         function.
7177         (stormy16_asm_out_constructor): New function.
7178         (TARGET_ASM_CONSTRUCTOR): Define.
7179         (TARGET_ASM_DESTRUCTOR): Define.
7181 2001-08-31  Andreas Jaeger  <aj@suse.de>
7183         * gcse.c (add_label_notes): REG_LABEL is an INSN_LIST.
7184         * loop.c (add_label_notes): Likewise.
7185         * reload.c (find_reloads): Likewise.
7186         * config/sh/sh.c (machine_dependent_reorg): Likewise.
7188 2001-08-31  Jason Merrill  <jason_merrill@redhat.com>
7190         * unwind-pe.h (read_uleb128, read_sleb128): Move actual reading
7191         code here.  Take _Unwind_{W,Sw}ord*.
7192         (read_encoded_value_with_base): Use them.
7193         * unwind-dw2.c (_Unwind_FrameState): Make cfa_offset and cfa_reg
7194         words.
7195         (extract_cie_info): Simplify read_?leb128 handling.
7196         (execute_stack_op, execute_cfa_program): Likewise.
7197         * unwind-dw2-fde.c (get_cie_encoding): Likewise.
7199 2001-08-31  Geoffrey Keating  <geoffk@redhat.com>
7201         * config/stormy16/stormy16.c (stormy16_expand_epilogue): Use
7202         the frame pointer to pop the stack if convenient.
7204         * config/stormy16/stormy16.c (stormy16_initialize_trampoline):
7205         Don't use post-increment before combine.
7206         * config/stormy16/stormy16.h (STATIC_CHAIN_REGNUM): Don't use
7207         a call-saved register.
7209 2001-08-31  Andreas Jaeger  <aj@suse.de>
7211         * jump.c (mark_jump_label): Revert patch from 2001-08-28, the
7212         code was correct.
7214 2001-08-30  Geoffrey Keating  <geoffk@redhat.com>
7216         * config/stormy16/stormy16.md (udivmodhi4): Express using UDIV/UMOD,
7217         not DIV/MOD, of course.
7219 2001-08-30  Vladimir Makarov  <vmakarov@redhat.com>
7221         * rtl.def: Undo my patch commited 2001-08-27.
7223         * genattrtab.c: Ditto.
7225         * rtl.h: Ditto.
7227         * sched-int.h: Ditto.
7229         * target-def.h: Ditto.
7231         * target.h: Ditto.
7233         * haifa-sched.c: Ditto.
7235         * sched-rgn.c: Ditto.
7237         * sched-vis.c: Ditto.
7239         * Makefile.in: Ditto.
7241         * doc/md.texi: Ditto.
7243         * doc/tm.texi: Ditto.
7245         * doc/contrib.texi: Ditto.
7247         * doc/gcc.texi: Ditto.
7249         * genattrtab.h: Remove it.
7251         * genautomata.c: Remove it.
7253         * genattr.c: Undo my patch and Richard Henderson's patch commited
7254         2001-08-27.
7256 Thu Aug 30 19:22:15 2001  J"orn Rennecke <amylaar@redhat.com>
7258         * config.gcc (h8300-*-elf*): New case.
7259         * h8300.h (CPP_SPEC): Add subtarget_cpp_spec.
7260         (SUBTARGET_CPP_SPEC): Define.
7261         (EXTRA_SPECS): Define.
7262         (SUBTARGET_EXTRA_SPECS): Define.
7263         * config/h8300/crti.asm, config/h8300/crtn.asm: New files.
7264         * config/h8300/elf.h, config/h8300/t-elf: Likewise.
7266 Thu Aug 30 18:50:37 2001  J"orn Rennecke <amylaar@redhat.com>
7268         * t-h8300 (LIB1ASMFUNCS): Add _fixunssfdi and _fixunssfsi_asm.
7269         (LIB2FUNCS_EXTRA): Define.
7270         config/h8300/lib1funcs.asm: New part: L_fixunssfsi_asm .
7271         config/h8300/fixunssfsi.c: New file.
7273 2001-08-30  Kazu Hirata  <kazu@hxi.com>
7275         * config/h8300/h8300.md (zero_extendqihi2): Changes to
7276         define_expand to accommodate target-specific attributes.
7277         (anonymous zero_extendqihi2 patterns): New.
7279 Thu Aug 30 18:10:56 2001  J"orn Rennecke <amylaar@redhat.com>
7281         * h8300.md (*andorhi3): New pattern.
7283 Thu Aug 30 16:00:31 2001  J"orn Rennecke <amylaar@redhat.com>
7285         * h8300.c (dosize): Fix test for "sub".
7287 Thu Aug 30 10:21:43 2001  J"orn Rennecke <amylaar@redhat.com>
7289         * c-typeck.c (pointer_diff): Try to eliminate common term before
7290         doing conversions.
7292 2001-08-30  Nick Clifton  <nickc@cambridge.redhat.com>
7294         * config/arm/arm.c (arm_compute_initial_elimination_offset):
7295         Account for the saves of the FP registers.
7297         * config/arm/unknown-elf.h (TEXT_SECTION): Delete.
7298         (TEXT_SECTION_ASM_OP): Define.
7299         (INIT_SECTION_ASM_OP): Define.
7300         (FINI_SECTION_ASM_OP): Define.
7301         (SUBTARGET_EXTRA_SECTIONS): Remove trailing comma.
7302         (RDATA_SECTION_FUNCITON): Provide prototype.
7304 2001-08-29  Geoffrey Keating  <geoffk@redhat.com>
7306         * reload1.c (move2add_note_store): Correct typo checking for
7307         argument pushes.
7309 2001-08-29  Andrew MacLeod  <amacleod@redhat.com>
7311         * gcse.c (compute_hash_table): The SRC part of an insn with a RETVAL
7312         note should not be considered outside the libcall block.
7314 2001-08-29  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7316         * genattrtab.c (attr_printf): Use VA_OPEN/VA_FIXEDARG/VA_CLOSE.
7318 2001-08-29  Kazu Hirata  <kazu@hxi.com>
7320         * config/h8300/h8300.md (movsi_h8300hs): Make it 64-bit safe.
7322 2001-08-29  Kazu Hirata  <kazu@hxi.com>
7324         * config/h8300/h8300-protos.h: Add a prototype for
7325         emit_logical_op.
7326         * config/h8300/h8300.c (emit_logical_op): New.
7327         * config/h8300/h8300.md (andhi3): Use emit_logical_op.
7328         (andsi3): Likewise.
7329         (iorhi3): Likewise.
7330         (iorsi3): Likewise.
7331         (xorhi3): Likewise.
7332         (xorsi3): Likewise.
7334 2001-08-29  John David Anglin  <dave@hiauly1.hia.nrc.ca>
7336         * pa.c (move_operand): Cast GET_MODE_SIZE results to HOST_WIDE_INT for
7337         comparison with rtx INTVAL.
7338         (pa_output_function_prologue): Don't mix signed and unsigned in `?'
7339         expression.
7340         * pa.h (FUNCTION_ARG_SIZE): Likewise.
7342 2001-08-29  Kazu Hirata  <kazu@hxi.com>
7344         * config/h8300/lib1funcs.asm: Update the copyright.  Fix
7345         comment typos.
7347 2001-08-29  Kazu Hirata  <kazu@hxi.com>
7349         * config/h8300/h8300.md (anonymous movhi pattern): Don't move
7350         (reg n) to (mem (pre_dec (reg n))
7351         (anonymous movsi pattern): Likewise.
7353 2001-08-29  Kazu Hirata  <kazu@hxi.com>
7355         * config/h8300/h8300.h (RETURN_ADDR_RTX): New.
7357 2001-08-29  Kazu Hirata  <kazu@hxi.com>
7359         * config/h8300/h8300.md (movsi_h8300hs): Optimize loading of
7360         several special constants.
7362 2001-08-29  Kazu Hirata  <kazu@hxi.com>
7364         * config/h8300/lib1funcs.asm: Fix comment typos.
7366 2001-08-29  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7368         * iris6.h (ASM_DECLARE_OBJECT_NAME, ASM_FINISH_DECLARE_OBJECT):
7369         Fix format specifier warnings.
7371         * irix6-libc-compat.c (inet_ntoa, inet_lnaof, inet_netof,
7372         inet_makeaddr, semctl): Prototype.
7374         * mips.c (compute_frame_size): Fix signed/unsigned warnings.
7375         (save_restore_insns): Use base_offset, not gp_offset.
7377         * mips.h (GP_REG_OR_PSEUDO_STRICT_P): Fix signed/unsigned warning.
7378         (ASM_OUTPUT_BYTE): Fix format specifier warning.
7380 2001-08-29  Richard Henderson  <rth@redhat.com>
7382         * bb-reorder.c (function_tail_eff_head): New.
7383         (record_effective_endpoints): Set it.
7384         (fixup_reorder_chain): Use it.
7386 2001-08-28  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7388         * dwarf2asm.c (dw2_asm_output_nstring): Fix typo in previous change.
7390 2001-08-28  Dale Johannesen  <dalej@apple.com>
7392         * config/darwin.c (machopic_function_base_name): Add const
7393         qualifier to a string.
7394         (darwin_encode_section_info): Ditto.
7396 2001-08-28  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7398         * tree.c (default_valid_attribute_p): Don't use PARAMS on a
7399         function definition.
7401 2001-08-28  Daniel Berlin  <dan@cgsoftware.com>
7403         * df.h (struct df): Add rts_order variable.
7405         * df.c (df_visit_next_rts): New function.
7406         (df_visit_next): Renamed to df_visit_next_rc
7407         (df_analyse_1): Allocate/compute/free rts_order as well.
7408         (df_rd_global_compute): Use df_visit_next_rc instead of
7409         df_visit_next.
7410         (df_ru_global_compute): Use df_visit_next_rts instead of
7411         df_visit_next.
7413         * flow.c (flow_reverse_top_sort_order_compute): New function.
7415         * basic-block.h: Add prototype.
7417 2001-08-28  Daniel Berlin  <dan@cgsoftware.com>
7419         * ssa-ccp.c (ssa_ccp_df_delete_unreachable_insns): For unreachable
7420         blocks, the BB_REACHABLE is now set, rather than aux being
7421         non-NULL. Update the test to reflect this.
7423 2001-08-28  Eric Christopher  <echristo@redhat.com>
7425         * config/mips/crtn.asm: Add comment explaining 16 byte alignment.
7426         config/mips/crti.asm: Ditto.
7428 2001-08-28  Eric Christopher <echristo@redhat.com>
7429             Richard Henderson <rth@redhat.com>
7431         * c-pragma.h (add_weak): Move prototype from here...
7432         * output.h (add_weak): ... to here.
7433         * varasm.c (add_weak): Fix typo.
7434         * config/mips/crti.asm: New file.
7435         * config/mips/crtn.asm: Ditto.
7436         * config/mips/elf.h (SBSS_SECTION_ASM_OP) Add #undef.
7437         (CTOR_LISTS_DEFINED_EXTERNALLY): Remove.
7438         (INVOKE__main): Ditto.
7439         (INIT_SECTION_ASM_OP): New.
7440         (FINI_SECTION_ASM_OP): Ditto.
7441         (STARTFILE_SPEC): Add crti.
7442         (ENDFILE_SPEC): Add crtn.
7443         * config/mips/elf64.h: Same.
7444         * config/mips/rtems64.h (INVOKE__main, NAME__MAIN, SYMBOL__MAIN):
7445         Remove.
7446         * config/mips/vxworks.h: Ditto.
7447         * config/mips/t-elf: Support crti and crtn.
7449 2001-08-28  Alexandre Oliva  <aoliva@redhat.com>
7451         * jump.c (mark_jump_label): Fix typo: REG_LABEL is EXPR_LIST, not
7452         INSN_LIST.
7454 2001-08-28  Richard Henderson  <rth@redhat.com>
7456         * config/ia64/ia64.md (andcmbi3, iorcmbi3): Fix typos.
7457         (one_cmplbi2 splitter): Remove redundant test.
7459 2001-08-28  Dale Johannesen  <dalej@apple.com>
7461         * config/rs6000/darwin.h (DEFAULT_SIGNED_CHAR): Define.
7463 2001-08-28  Danny Smith  <dannysmith@users.sourceforge.net>
7465         * config/i386/cygwin.h (BIGGEST_FIELD_ALIGNMENT): Set to 64.
7467 2001-08-28  Stan Shebs  <shebs@apple.com>
7469         * config/darwin.h (ASM_OUTPUT_LABELREF): Handle '*' names.
7470         (UNALIGNED_SHORT_ASM_OP): Define.
7471         (UNALIGNED_INT_ASM_OP): Define.
7473 2001-08-28  Will Cohen  <wcohen@redhat.com>
7475         * config/rs6000/rs6000.md (store_multiple): Correct RTL
7476         generation for first set.
7478 2001-08-27  Roman Zippel  <zippel@linux-m68k.org>
7480         * flow.c (redirect_edge_succ_nodup): Return new edge.
7481         (try_simplify_condjump): Use new edge.
7482         * basic-block.h (redirect_edge_succ_nodup): Update prototype.
7484         * cse.c (cse_basic_block): Skip note instructions.
7486 2001-08-27  Richard Henderson  <rth@redhat.com>
7488         * combine.c (combine_simplify_rtx): Don't reverse condition
7489         if there is no reverse for the condition.
7490         (simplify_comparison): Don't simplify subregs from INT to FP.
7492         * config/m68k/m68k.md (sordered, sordered_1, sunordered, sunordered_1,
7493         suneq, suneq_1, sunge, sunge_1, sungt, sungt_1, sunle, sunle_1,
7494         sunlt, sunlt_1, sltgt, sltgt_1, fsogt_1, fsoge_1, fsolt_1, fsole_1,
7495         bordered, bunordered, buneq, bunge, bungt, bunle, bunlt, bltgt,
7496         bordered_rev, bunordered_rev, buneq_rev, bunge_rev, bungt_rev,
7497         bunle_rev, bunlt_rev, bltgt_rev): New patterns.
7499 2001-08-27  Roman Zippel  <zippel@linux-m68k.org>
7501         * config/m68k/m68k.md (subreghi1ashrdi_const32, bsetmemqi,
7502         bsetmemqi+1, strict_low_part peephole): Fix SUBREG_BYTE offset.
7503         (pushqi1): New.
7504         (adddi_dilshr32, adddi_dishl32): Only data register can be
7505         source for mem destination.
7507         * expmed.c (store_bit_field): Ignore adjustment to bitpos
7508         and use bitnum to decide about register move.
7510 2001-08-27  Richard Henderson  <rth@redhat.com>
7512         * genattr.c (main): Emit state_t even when not doing scheduling.
7514 2001-08-27  Roman Zippel <zippel@linux-m68k.org>
7515             Richard Henderson  <rth@redhat.com>
7517         * gcse.c (reg_first_set, reg_last_set): Replace with ...
7518         (reg_avail_info, current_bb): ... these.
7519         (oprs_unchanged_p, record_last_reg_set_info): Use them.
7520         (compute_hash_table): Likewise.
7522 2001-08-27  Roman Zippel <zippel@linux-m68k.org>
7524         * flow.c (verify_flow_info): Use checksums to verify edges.
7526 2001-08-27  Richard Henderson  <rth@redhat.com>
7528         * genautomata.c (expand_automata): Always create a description.
7530 2001-08-27  Geoffrey Keating  <geoffk@redhat.com>
7532         * optabs.c (expand_binop): Correctly handle the carry in multiword
7533         add/subtract operations.
7535 2001-08-27  Fred Fish  <fnf@be.com>
7537         * ginclude/stddef.h: Fix typo, __SIZE__TYPE__ should be
7538         __SIZE_TYPE__.
7540 2001-08-27  Geoffrey Keating  <geoffk@redhat.com>
7542         * reload.c (find_reloads_toplev): Back out this change:
7544         Wed Jul 26 19:44:05 2000   Hans-Peter Nilsson  <hp@axis.com>
7546         * reload.c (find_reloads_toplev): Reload a paradoxical subreg of a
7547         mem if the address is a mode_dependent_address_p.
7549 2001-08-27  Vladimir Makarov  <vmakarov@touchme.toronto.redhat.com>
7551         * rtl.def (DEFINE_CPU_UNIT, DEFINE_QUERY_CPU_UNIT, EXCLUSION_SET,
7552         PRESENCE_SET, ABSENCE_SET, DEFINE_BYPASS, DEFINE_AUTOMATON,
7553         AUTOMATA_OPTION, DEFINE_RESERVATION, DEFINE_INSN_RESERVATION): New
7554         RTL constructions.
7556         * genattr.c (main): New variable num_insn_reservations.  Increase
7557         it if there is DEFINE_INSN_RESERVATION.  Output automaton based
7558         pipeline hazard recognizer interface.
7560         * genattrtab.h: New file.
7562         * genattrtab.c: Include genattrtab.h.
7563         (attr_printf, check_attr_test, make_internal_attr,
7564         make_numeric_value): Move protypes into genattrtab.h.  Define them
7565         as external.
7566         (num_dfa_decls): New global variable.
7567         (main): Process DEFINE_CPU_UNIT, DEFINE_QUERY_CPU_UNIT,
7568         DEFINE_BYPASS, EXCLUSION_SET, PRESENCE_SET, ABSENCE_SET,
7569         DEFINE_AUTOMATON, AUTOMATA_OPTION, DEFINE_RESERVATION,
7570         DEFINE_INSN_RESERVATION.  Call expand_automata and write_automata.
7572         * genautomata.c: New file.
7574         * rtl.h (LINK_COST_ZERO, LINK_COST_FREE): Remove them.
7576         * sched-int.h: (curr_state): Add the external definition for
7577         automaton pipeline interface.
7578         (haifa_insn_data): Add comments for members blockage and units.
7580         * target-def.h (TARGET_SCHED_USE_DFA_PIPELINE_INTERFACE,
7581         TARGET_SCHED_INIT_DFA_PRE_CYCLE_INSN,
7582         TARGET_SCHED_DFA_PRE_CYCLE_INSN,
7583         TARGET_SCHED_INIT_DFA_POST_CYCLE_INSN,
7584         TARGET_SCHED_DFA_POST_CYCLE_INSN,
7585         TARGET_SCHED_FIRST_CYCLE_MULTIPASS_DFA_LOOKAHEAD,
7586         TARGET_SCHED_INIT_DFA_BUBBLES, TARGET_SCHED_DFA_BUBBLE): New
7587         macros.
7588         (TARGET_SCHED): Use the new macros.
7590         * target.h (use_dfa_pipeline_interface, init_dfa_pre_cycle_insn,
7591         dfa_pre_cycle_insn, init_dfa_post_cycle_insn, dfa_post_cycle_insn,
7592         first_cycle_multipass_dfa_lookahead, init_dfa_bubbles,
7593         dfa_bubble): New members in gcc_target.sched.
7595         * haifa-sched.c (insert_schedule_bubbles_p): New variable.
7596         (MAX_INSN_QUEUE_INDEX): New macro for automaton interface.
7597         (insn_queue): Redefine it as pointer to array.
7598         (NEXT_Q, NEXT_Q_AFTER): Use MAX_INSN_QUEUE_INDEX instead of
7599         INSN_QUEUE_SIZE.
7600         (max_insn_queue_index_macro_value): New variable.
7601         (curr_state, dfa_state_size, ready_try): New varaibles for
7602         automaton interface.
7603         (ready_element, ready_remove, max_issue): New function prototypes
7604         for automaton interface.
7605         (choose_ready): New function prototype.
7606         (insn_unit, blockage_range): Add comments.
7607         (unit_last_insn, unit_tick, unit_n_insns): Define them for case
7608         FUNCTION_UNITS_SIZE == 0.
7609         (insn_issue_delay, actual_hazard_this_instance, schedule_unit,
7610         actual_hazard, potential_hazard): Add comments.
7611         (insn_cost): Use cost -1 as undefined value.  Remove
7612         LINK_COST_ZERO and LINK_COST_FREE.  Add new code for automaton
7613         pipeline interface.
7614         (ready_element, ready_remove): New functions for automaton
7615         interface.
7616         (schedule_insn): Add new code for automaton pipeline interface.
7617         (queue_to_ready): Add new code for automaton pipeline interface.
7618         Use MAX_INSN_QUEUE_INDEX instead of INSN_QUEUE_SIZE.
7619         (debug_ready_list): Print newline when the queue is empty.
7620         (max_issue): New function for automaton pipeline interface.
7621         (choose_ready): New function.
7622         (schedule_block): Add new code for automaton pipeline interface.
7623         Print ready list before scheduling each insn.
7624         (sched_init): Add new code for automaton pipeline interface.
7625         Initiate insn cost by -1.
7626         (sched_finish): Free the current automaton state and finalize
7627         automaton pipeline interface.
7629         * sched-rgn.c: Include target.h.
7630         (init_ready_list, new_ready, debug_dependencies): Add new code for
7631         automaton pipeline interface.
7633         * sched-vis.c: Include target.h.
7634         (get_visual_tbl_length): Add code for automaton interface.
7635         (target_units, print_block_visualization):  Add comments.
7637         * Makefile.in (GETRUNTIME, HASHTAB, HOST_GETRUNTIME, HOST_HASHTAB,
7638         USE_HOST_GETRUNTIME, USE_HOST_HASHTAB, HOST_VARRAY): New variables.
7639         (sched-rgn.o, sched-vis.o): Add new dependency file target.h.
7640         (getruntime.o, genautomata.o): New entries.
7641         (genattrtab.o): Add new dependency file genattrtab.h.
7642         (genattrtab): Add new dependencies.  Link it with `libm.a'.
7643         (getruntime.o, hashtab.o): New entries for canadian cross.
7645         * doc/md.texi: Description of automaton based model.
7647         * doc/tm.texi (TARGET_SCHED_ISSUE_RATE, TARGET_SCHED_ADJUST_COST):
7648         Add comments.
7649         (TARGET_SCHED_USE_DFA_PIPELINE_INTERFACE,
7650         TARGET_SCHED_DFA_PRE_CYCLE_INSN,
7651         TARGET_SCHED_INIT_DFA_PRE_CYCLE_INSN,
7652         TARGET_SCHED_DFA_POST_CYCLE_INSN,
7653         TARGET_SCHED_INIT_DFA_POST_CYCLE_INSN,
7654         TARGET_SCHED_FIRST_CYCLE_MULTIPASS_DFA_LOOKAHEAD,
7655         TARGET_SCHED_INIT_DFA_BUBBLES, TARGET_SCHED_DFA_BUBBLE): The new
7656         hook descriptions.
7657         (TRADITIONAL_PIPELINE_INTERFACE, DFA_PIPELINE_INTERFACE,
7658         MAX_DFA_ISSUE_RATE): New macro descriptions.
7660         * doc/contrib.texi: Add dfa based scheduler contribution.
7662         * doc/gcc.texi: Add more information about genattrtab.
7664 2001-08-27  Diego Novillo  <dnovillo@redhat.com>
7666         * flow.c (flow_loop_dump): Do not display insn UIDs if this is not
7667         an RTL basic block.
7669 2001-08-27  Richard Henderson  <rth@redhat.com>
7671         * function.c (expand_function_end): Don't init arg_pointer_save_area.
7672         (get_arg_pointer_save_area): New.  Create an init it here.
7673         (fix_lexical_addr): Use it.
7674         * function.h: Declare it.
7675         * builtins.c (expand_builtin_setjmp_receiver): Use it.
7676         * stmt.c (expand_nl_goto_receiver): Use it.
7678 2001-08-27  Richard Henderson  <rth@redhat.com>
7680         * final.c (final_scan_insn): Don't enter APP_ON mode for
7681         empty asm strings.
7683         * dwarf2asm.c (dw2_asm_output_encoded_addr_rtx): Use proper
7684         alignment for assemble_integer for DW_EH_PE_aligned.
7685         * except.c (output_function_exception_table): Likewise.
7687 2001-08-26  Andreas Jaeger  <aj@suse.de>
7689         * c-tree.h: Add prototyp for c_sizeof_nowarn.
7691 2001-08-25 Dan Nicolaescu  <dann@ics.uci.edu>
7693         * ssa-ccp.c (ssa_const_prop): Free ssa_edges.
7695 2001-08-27  Alan Modra  <amodra@bigpond.net.au>
7697         * config/rs6000/rs6000.c (mask_operand): Rewrite without
7698         bit-shifting loop.
7699         (mask64_operand): Likewise.
7700         (rldic_operand): Delete.
7701         (includes_lshift64_p): Delete.
7702         (includes_rldic_lshift_p): New function.
7703         (includes_rldicr_lshift_p): New function.
7704         (print_operand): Don't call rldic_operand in case 'W'.
7705         * config/rs6000/rs6000-protos.h (rldic_operand): Remove.
7706         (includes_lshift64_p): Remove.
7707         (includes_rldic_lshift_p): Declare.
7708         (includes_rldicr_lshift_p): Declare.
7709         * config/rs6000/rs6000.h (PREDICATE_CODES): Remove rldic_operand.
7710         * config/rs6000/rs6000.md <ashldi3_internal 64 bit patterns>:
7711         Replace match_operand rldic_operand predicate with
7712         const_int_operand.  Replace includes_lshift64_p condition with
7713         includes_rldic_lshift_p.
7714         <ashldi3_internal 64 bit rldicr patterns>: New.
7716 2001-08-27  Andreas Jaeger  <aj@suse.de>
7718         * emit-rtl.c: Use VA_OPEN/VA_CLOSE/VA_FIXEDARG throughout.
7719         * errors.c: Likewise.
7720         * final.c: Likewise.
7721         * dwarf2asm.c: Likewise.
7722         * doprint.c (checkit): Likewise.
7723         * diagnostic.c: Likewise.
7724         * collect2.c: Likewise.
7725         * calls.c: Likewise.
7726         * c-semantics.c (build_stmt): Likewise.
7727         * c-format.c (status_warning): Likewise.
7728         * c-errors.c (pedwarn_c99): Likewise.
7729         * builtins.c (validate_arglist): Likewise.
7730         * config/pj/pj.c (pj_printf): Likewise.
7731         * fix-header.c: Likewise.
7732         * gcc.c: Likewise.
7733         * gcov.c (fnotice): Likewise.
7734         * gensupport.c (message_with_line): Likewise.
7735         * mips-tfile.c: Likewise.
7736         * protoize.c (notice): Likewise.
7737         * read-rtl.c (fatal_with_file_and_line): Likewise.
7738         * rtl-error.c: Likewise.
7739         * tradcpp.c: Likewise.
7740         * tree.c: Likewise.
7741         * cp/tree.c (build_min_nt): Likewise.
7742         (build_min): Likewise.
7743         * cp/lex.c: Likewise.
7744         * cp/errfn.c: Likewise.
7745         * cp/rtti.c (create_pseudo_type_info): Likewise.
7747 Sun Aug 26 20:25:44 2001  Denis Chertykov  <denisc@overta.ru>
7749         * df.c (df_uses_record): Return after recording all uses
7750         in ASM_OPERANDS.
7752 2001-08-26  Daniel Berlin  <dan@cgsoftware.com>
7754         * df.c (df_insn_modify): Realloc the INSN table here, if
7755         necessary, here, too.
7757 2001-08-26  Aldy Hernandez  <aldyh@redhat.com>
7759         * config/mips/mips.c (mips_function_value): Handle complex return
7760         values.
7762 2001-08-25  Hans-Peter Nilsson  <hp@bitrange.com>
7764         * reload1.c (reload): Make all entries in reg_equiv_memory_loc
7765         unshared.
7766         * reload.c (make_memloc): Copy result if it is still
7767         reg_equiv_memory_loc[regno] on return.
7768         (subst_reloads) [ENABLE_CHECKING]: Check that none of
7769         reg_equiv_constant, reg_equiv_memory_loc, reg_equiv_address and
7770         reg_equiv_mem are modified by the substitutions.
7772 Sat Aug 25 23:07:35 CEST 2001  Jan Hubicka  <jh@suse.cz>
7774         * predict.c (expensive_function_p): New.
7775         * rtl.h (expensive_function_p): Declare.
7776         * i386.c (FAST_PROLOGUE_INSN_COUNT): New constant.
7777         (use_fast_prologue_epilogue): New static variable.
7778         (expand_prologue): Set it; emit short prologues if unset.
7779         (expand_epilogue): Likewise.
7781 2001-08-22  Geoffrey Keating  <geoffk@redhat.com>
7783         * config.gcc: Add stormy16-*-elf case.
7784         * config/stormy16/stormy-abi: New file.
7785         * config/stormy16/stormy16-lib2.c: New file.
7786         * config/stormy16/stormy16-protos.h: New file.
7787         * config/stormy16/stormy16.c: New file.
7788         * config/stormy16/stormy16.h: New file.
7789         * config/stormy16/stormy16.md: New file.
7790         * config/stormy16/t-stormy16: New file.
7792 Sat Aug 25 15:46:51 CEST 2001  Jan Hubicka  <jh@suse.cz>
7794         * i386.h (no-accumulate-outgoing-args): Use proper mask.
7796 2001-08-24  David Edelsohn  <edelsohn@gnu.org>
7798         * config/rs6000/rs6000.c (rs6000_initialize_trampoline): Function
7799         descriptor members are pointer size, not constant 4.
7800         * config/rs6000/rs6000.md (define_splits): Remove more unused
7801         constraints.
7803 2001-08-24  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7805         * sparc.h (ASM_OUTPUT_BYTE): Fix format specifier warning.
7807 2001-08-24  Andreas Jaeger  <aj@suse.de>, rkl@connect.org.uk
7809         * cp/rtti.c (VPARAMS): Fix parameter.
7811 2001-08-24  Zack Weinberg  <zackw@panix.com>
7813         * expmed.c: Default-#define HAVE_insv, HAVE_extv, and HAVE_extzv
7814         to zero.
7815         (mode_for_extraction): No need for #ifdefs.  Add default-case abort
7816         to switch.
7817         (store_bit_field): Eliminate insv_bitsize variable.  Put HAVE_insv
7818         in if controlling use of insv.
7819         (extract_bit_field): Likewise, for extv and extzv.
7821 Fri Aug 24 17:27:46 CEST 2001  Jan Hubicka  <jh@suse.cz>
7823         * i386.md (movcc peep2): Fix load of 0.
7825 2001-08-24  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7827         * fold-const.c (tree_expr_nonnegative_p): Handle *_DIV_EXPR,
7828         *_MOD_EXPR, SAVE_EXPR and NON_LVALUE_EXPR.
7830 2001-08-23  Jason Merrill  <jason_merrill@redhat.com>
7832         * c-pragma.h: Move weak_syms and weak_decls...
7833         * varasm.c: ...here.  Now static.
7834         (declare_weak, weak_finish, remove_from_pending_weak_list): Don't
7835         depend on HANDLE_PRAGMA_WEAK.
7837         * c-common.c (c_alignof, c_alignof_expr): Move here...
7838         * c-typeck.c: ...from here.
7839         * c-tree.h, c-common.h: Adjust.
7841 2001-08-23  Bernd Schmidt  <bernds@redhat.com>
7843         * config/ia64/ia64.c (rws_update): If !pred, set write_count
7844         instead of incrementing it.
7846         * config/ia64/ia64.c (ia64_sched_reorder): When there's more than one
7847         asm ready, don't try to move them all into the same array element.
7849 Thu Aug 23 17:21:43 CEST 2001  Jan Hubicka  <jh@suse.cz>
7851         * function.c (thread_prologue_and_epilogue_insns): Avoid
7852         fallthru flag on edge to exit.
7854         * i386.md (trunc?fsi splitter): Conditionionize for non-sse.
7856         * flow.c (delete_noop_moves, propagate_block_delete_insn): Purge
7857         dead edges.
7859 2001-08-23  Lars Brinkhoff  <lars@nocrew.org>
7861         * config/mcore/mcore.h (MACHINE_DEPENDENT_SIMPLIFY): Remove.
7862         * config/mcore/mcore.c (mcore_dependent_simplify_rtx): Likewise.
7863         * config/mcore/mcore-protos.h (mcore_dependent_simplify_rtx):
7864         Remove prototype.
7866 2001-08-23  Lars Brinkhoff  <lars@nocrew.org>
7868         * genconstants.c, genpreds.c, libfuncs.h, optabs.h, rtl-error.h:
7869         replace "GNU CC" with "GCC".
7871 2001-08-23  Richard Henderson  <rth@redhat.com>
7873         * config/ia64/ia64.c (ia64_register_move_cost): Add mode arguemnt.
7874         Reorganize.  Handle ADDL like GR, add GR_AND_BR.  Handle TFmode.
7875         (ia64_secondary_reload_class): Need GR between AR/BR and anything.
7876         Need GR between FR and not GR_AND_FR.
7877         * config/ia64/ia64-protos.h (ia64_register_move_cost): Update.
7878         * config/ia64/ia64.h (reg_class): Add GR_AND_BR_REGS, move
7879         AR regs before GR regs.
7880         (REG_CLASS_NAMES, REG_CLASS_CONTENTS): Update.
7881         (PREFERRED_RELOAD_CLASS): Tweak for reordered classes.
7882         (REGISTER_MOVE_COST): Update.
7883         (MEMORY_MOVE_COST): Add GR_AND_FR_REGS.
7885 2001-08-23  Richard Henderson  <rth@redhat.com>
7887         * regclass.c (init_reg_sets_1): Don't assume cost 2 within
7888         a register class.
7890 2001-08-22  Geoffrey Keating  <geoffk@redhat.com>
7892         * reload1.c (emit_reload_insns): Don't look for notes
7893         on a NULL store_insn.
7895 2001-08-22  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7897         * sparc.c (uns_small_int): Don't reference a constant >32-bit.
7898         (addrs_ok_for_ldd_peep): Fix signed/unsigned warning.
7899         (sparc_flat_function_prologue, sparc_flat_function_epilogue): Fix
7900         format specifier warnings.
7901         (sparc_sched_reorder): Mark parameter with ATTRIBUTE_UNUSED.
7903 2001-08-22  David Billinghurst <David.Billinghurst@riotinto.com>
7905         * config/i386/i386-protos.h: Correct declaration of
7906         i386_pe_asm_named_section.
7908 2001-08-22  John David Anglin  <dave@hiauly1.hia.nrc.ca>
7910         * pa32-regs.h (CONDITIONAL_REGISTER_USAGE): Add declaration for
7911         variable i.
7912         * pa64-regs.h (CONDITIONAL_REGISTER_USAGE): Likewise.
7914 2001-08-22  Neil Booth  <neil@daikokuya.demon.co.uk>
7916         * cpperror.c (print_location): Don't show _Pragma.
7917         * cppfiles.c (_cpp_pop_file_buffer): Handle -include file pushing
7918         and file change callback generation here.
7919         (stack_include_file): Update use of cpp_push_buffer.
7920         * cpphash.h (_cpp_pop_file_buffer): Update prototype.
7921         (struct cpp_buffer): Remove type, pfile members.
7922         * cppinit.c (cpp_handle_option): Use free_chain.
7923         * cpplex.c (_cpp_lex_token): Don't do -include file pushing here.
7924         (skip_escaped_newlines, get_effective_char, lex_percent): Take
7925         a cpp_reader rather than a cpp_buffer.
7926         (skip_escaped_newlines, get_effective_char, skip_block_comment,
7927         skip_line_comment, parse_string, lex_percent, lex_dot,
7928         _cpp_lex_token): Update accordingly.
7929         * cpplib.c (_cpp_pop_buffer): Don't do file change callback
7930         generation here.
7931         (cpp_push_buffer): Update prototype.
7932         (run_directive): Update use of cpp_push_buffer.
7933         (_cpp_do__Pragma, cpp_define, cpp_define_builtin, cpp_undef,
7934         handle_assertion): Update use of run_directive.
7935         * cpplib.h (enum cpp_buffer_type): Remove.
7936         (cpp_push_buffer): Update prototype.
7937         * fix-header.c (read_scan_file): Update.
7939 2001-08-22  Matt Kraai  <kraai@alumni.carnegiemellon.edu>
7941         * gcc.c (struct prefix_list): Change prefix to const char *.
7943 2001-08-22  Matt Kraai  <kraai@alumni.carnegiemellon.edu>
7945         * final.c (final_scan_insn): Call ADDR_VEC_ALIGN on next insn.
7947 2001-08-22  Jason Merrill  <jason_merrill@redhat.com>
7949         * explow.c (set_mem_attributes): Avoid returning a bogus alias set
7950         from a new MEM.
7952         * jump.c (squeeze_notes): Take parms by reference.  Handle END being
7953         a squeezable note.
7954         * rtl.h: Adjust.
7955         * ifcvt.c (dead_or_predicable): Adjust.
7956         * loop.c (find_and_verify_loops): Adjust.
7957         * stmt.c (expand_end_case): Adjust.
7958         * flow.c (merge_blocks_move_successor_nojumps): Adjust.  Modify the
7959         head and end insn pointers in the basic block, not just local copies.
7960         (merge_blocks_move_predecessor_nojumps): Likewise.
7962 2001-08-22  Lars Brinkhoff  <lars@nocrew.org>
7964         * Makefile.in, alias.c, basic-block.h, bb-reorder.c, bitmap.c,
7965         bitmap.h, builtin-types.def, builtins.c, builtins.def,
7966         c-aux-info.c, c-common.c, c-common.def, c-common.h,
7967         c-convert.c, c-decl.c, c-dump.c, c-dump.h, c-errors.c,
7968         c-format.c, c-lang.c, c-lex.c, c-lex.h, c-parse.in,
7969         c-pragma.c, c-pragma.h, c-semantics.c, c-tree.h, c-typeck.c,
7970         caller-save.c, calls.c, collect2.c, collect2.h, combine.c,
7971         conditions.h, config.gcc, configure.frag, configure.in,
7972         conflict.c, convert.c, convert.h, cppspec.c, crtstuff.c,
7973         cse.c, cselib.c, cselib.h, dbxout.c, dbxout.h, defaults.h,
7974         dependence.c, df.c, df.h, diagnostic.c, diagnostic.h,
7975         doloop.c, dominance.c, dwarf.h, dwarf2.h, dwarf2asm.c,
7976         dwarf2asm.h, dwarf2out.c, dwarf2out.h, dwarfout.c,
7977         emit-rtl.c, errors.c, errors.h, except.c, except.h,
7978         exgettext, explow.c, expmed.c, expr.c, expr.h, final.c,
7979         fixproto, flags.h, flow.c, fold-const.c, fp-test.c,
7980         function.c, function.h, gbl-ctors.h, gcc.c, gcc.h, gcc.hlp,
7981         gccspec.c, gcov-io.h, gcse.c, genattr.c, genattrtab.c,
7982         gencheck.c, gencodes.c, genconfig.c, genemit.c,
7983         genextract.c, genflags.c, gengenrtl.c, genmultilib,
7984         genopinit.c, genoutput.c, genpeep.c, genrecog.c,
7985         gensupport.c, gensupport.h, ggc-callbacks.c, ggc-common.c,
7986         ggc-none.c, ggc-page.c, ggc-simple.c, ggc.h, global.c,
7987         graph.c, graph.h, gthr-aix.h, gthr-dce.h, gthr-posix.h,
7988         gthr-rtems.h, gthr-single.h, gthr-solaris.h, gthr-vxworks.h,
7989         gthr-win32.h, gthr.h, haifa-sched.c, halfpic.c, halfpic.h,
7990         hard-reg-set.h, hwint.h, ifcvt.c, input.h, insn-addr.h,
7991         integrate.c, integrate.h, jump.c, lcm.c, libgcc2.c,
7992         libgcc2.h, lists.c, local-alloc.c, loop.c, loop.h,
7993         machmode.def, machmode.h, main.c, mbchar.c, mbchar.h,
7994         mips-tdump.c, mips-tfile.c, mklibgcc.in, mkmap-flat.awk,
7995         mkmap-symver.awk, optabs.c, output.h, params.c, params.def,
7996         params.h, predict.c, predict.def, predict.h, prefix.c,
7997         prefix.h, print-rtl.c, print-tree.c, profile.c, protoize.c,
7998         read-rtl.c, real.c, real.h, recog.c, recog.h, reg-stack.c,
7999         regclass.c, regmove.c, regrename.c, regs.h, reload.c,
8000         reload.h, reload1.c, reorg.c, resource.c, resource.h, rtl.c,
8001         rtl.def, rtl.h, rtlanal.c, sbitmap.c, sbitmap.h,
8002         sched-deps.c, sched-ebb.c, sched-int.h, sched-rgn.c,
8003         sched-vis.c, sdbout.c, sdbout.h, sibcall.c, simplify-rtx.c,
8004         ssa-ccp.c, ssa-dce.c, ssa.c, ssa.h, stmt.c, stor-layout.c,
8005         stringpool.c, system.h, timevar.c, timevar.def, timevar.h,
8006         tlink.c, toplev.c, toplev.h, tree.c, tree.def, tree.h,
8007         tsystem.h, unroll.c, unwind-dw2-fde.c, unwind-dw2-fde.h,
8008         unwind-dw2.c, unwind-pe.h, unwind-sjlj.c, unwind.h,
8009         unwind.inc, varasm.c, varray.c, varray.h, xcoffout.c,
8010         xcoffout.h: replace "GNU CC" with "GCC".
8012 2001-08-21  Richard Henderson  <rth@redhat.com>
8014         * final.c (LABEL_ALIGN_AFTER_BARRIER): Default to no alignment.
8015         (final_scan_insn): Consider jump tables data even if we have no
8016         independent text section if !JUMP_TABLES_IN_TEXT_SECTION.  Use
8017         ADDR_VEC_ALIGN.
8018         * config/ia64/ia64.h (JUMP_TABLES_IN_TEXT_SECTION): Remove.
8019         (ASM_OUTPUT_CASE_END): Remove.
8020         (ASM_OUTPUT_ADDR_DIFF_ELT): Emit pc-relative references.
8021         * config/ia64/ia64.md (tablejump): Decode pc-relative references.
8022         * config/ia64/sysv4.h (ASM_OUTPUT_BEFORE_CASE_LABEL): Remove.
8024 2001-08-21  Richard Henderson  <rth@redhat.com>
8026         * config/ia64/ia64.c (emit_all_insn_group_barriers): Flush state
8027         at barrier insns.  Emit stop bits before barriers.
8029         * flow.c (flow_find_cross_jump): Don't consider unconditional
8030         return insns for commoning.
8032         * final.c (compute_alignments): Fix typo.
8034         * expmed.c (CODE_FOR_insv, gen_insv): Provide defaults.
8035         (CODE_FOR_extv, gen_extv, CODE_FOR_extzv, gen_extzv): Likewise.
8036         (store_bit_field): Use mode_for_extraction more places.
8037         (extract_bit_field): Likewise.
8039 2001-08-21  Zack Weinberg  <zackw@panix.com>
8041         * caller-save.c: Don't include insn-codes.h.
8042         (reg_save_code, reg_restore_code): Make arrays of int.
8043         All uses updated to match.
8044         (insert_save, insert_restore): No need to initialize "code"
8045         variable upon declaration.
8046         * Makefile.in: update dependencies; fix typo in clean rule.
8048 2001-08-21  Richard Henderson  <rth@redhat.com>
8050         * ifcvt.c (find_if_block): Allow join_bb as EXIT.
8051         (merge_if_block): Handle fallout from same.
8053 2001-08-21  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
8055         * builtins.c (type_to_class): Fix typo in last change.
8057 2001-08-21  Richard Henderson  <rth@redhat.com>
8059         * config/ia64/sysv4.h (ASM_OUTPUT_LABELREF): Don't emit '#' if
8060         ia64_asm_output_label.
8062         * config/ia64/crtbegin.asm (__do_global_dtors_aux): Use saved
8063         copy of gp while the real gp register contains garbage.
8065 2001-08-21  Zack Weinberg  <zackw@panix.com>
8067         * expmed.c (mode_for_extraction): New function.
8068         (store_bit_field, extract_bit_field): Use it.
8069         * expr.h: Prototype it and provide an enum for its first argument.
8071         * combine.c, function.c, recog.c: Don't include insn-codes.h.
8072         Use mode_for_extraction rather than testing HAVE_insv/extv/extzv
8073         and digging through the insn_data tables.
8074         * Makefile.in: Update dependencies.
8076 2001-08-22  Neil Booth  <neil@daikokuya.demon.co.uk>
8078         * cppfiles.c (stack_include_file): line-map.c now handles include
8079         depth.
8080         (handle_missing_handler): Similarly.
8081         (_cpp_execute_include): Similarly.
8082         (_cpp_pop_file_buffer): Similarly.
8083         * cpphash.h (struct cpp_reader): Remove system_include_depth,
8084         buffer_stack_depth and include_depth.
8085         * cpplib.c (do_include_common): line-map.c now handles include depth.
8086         (cpp_push_buffer): Similarly.
8087         (_cpp_pop_buffer): Similarly.
8088         * cppmacro.c (builtin_macro): Update.
8089         * line-map.c (init_line_maps): Set depth.
8090         (add_line_map): Increment "used" earlier.  Update and use the
8091         include depth.
8092         (trace_include): Use the include depth.
8093         * line-map.h (struct line_maps): New member depth.
8095 2001-08-21  Neil Booth  <neil@daikokuya.demon.co.uk>
8097         * cppfiles.c (stack_include_file): Don't handle -H here.
8098         * cppinit.c (cpp_start_read): Set include tracing after
8099         cpp_post_options and after stacking the main file.
8100         * line-map.c (trace_include): New.
8101         (init_line_maps, add_line_map): Update.
8102         * line-map.h (struct line_maps): New member trace_includes.
8104 2001-08-21  Neil Booth  <neil@daikokuya.demon.co.uk>
8106         * cppfiles.c (stack_include_file): Harmonize system headerness tests.
8107         * cppfiles.c (stack_include_file): Only stack a file if there
8108         is something to do.  Return a boolean indicating whether a
8109         buffer was stacked or not.
8110         (_cpp_execute_include): Similarly.
8111         (_cpp_read_file): Similarly.
8112         * cpphash.h (_cpp_read_file, _cpp_execute_include): Update prototypes.
8114 2001-08-21  Sam Steingold  <sds@gnu.org>
8116         * tradcpp.c (rescan): define obufp_before_macroname before RECACHE
8117         (RECACHE): keep obufp_before_macroname up to date
8119 2001-08-21  Zack Weinberg  <zackw@panix.com>
8121         * stmt.c: Don't include insn-codes.h.
8122         (expand_end_case): Machine specific logic moved to expr.c.
8123         No need to worry about __builtin_classify_type.
8124         (check_for_full_enumeration_handling, emit_case_nodes):
8125         Kill #if 0 blocks.
8127         * builtins.o (expand_builtin_classify_type): Split up so code
8128         can be shared with fold_builtin_classify_type.
8129         (type_to_class, fold_builtin_classify_type): New functions.
8130         (fold_builtins): Handle __builtin_classify_type.
8132         * expr.c (do_tablejump): Now static.
8133         (case_values_threshold, try_casesi, try_tablejump): New;
8134         code mostly from stmt.c (expand_end_case).
8135         (expr.h): Update prototypes.
8137         * Makefile.in (stmt.o): Update dependencies.
8139 2001-08-21  Will Cohen  <wcohen@redhat.com>
8141         * configure/alpha/alpha.h (CONDITIONAL_REGISTER_USAGE): Added local
8142         declaration of variable i.
8143         * configure/rs6000/rs6000.h (CONDITIONAL_REGISTER_USAGE): Added local
8144         declaration of variable i.
8146 2001-08-21  Richard Henderson  <rth@redhat.com>
8148         * crtstuff.c: Fix thinko last change.  Move list tails to start
8149         of CRT_END section.  Tidy ifdefs.
8150         (__EH_FRAME_BEGIN__): Always static for ELF.
8151         (__do_global_ctors_1): Rename from __frame_dummy.
8152         * config/mips/iris6.h (LINK_SPEC): Update for __do_global_ctors_1
8153         name change; don't hide __EH_FRAME_BEGIN__.
8155 2001-08-21  Richard Henderson  <rth@redhat.com>
8157         * gdbinit.in: Move break on exit after break on fancy_abort.
8159         * config/ia64/ia64.c (ia64_return_in_memory): True for variable
8160         sized types.
8162 2001-08-21  Neil Booth  <neil@daikokuya.demon.co.uk>
8164         * cpphash.h (_cpp_push_next_buffer): New.
8165         * cppinit.c (do_includes): Remove.
8166         (push_include, free_chain, _cpp_push_next_buffer): New.
8167         (cpp_start_read): Use them to rework command line option handling.
8168         (cpp_handle_option): Combine handling of -include and -imacros.
8169         * cpplex.c (_cpp_lex_token): Push a new -include buffer if
8170         appropriate.  Always insert missing \n at EOF.
8171         * cpplib.c (start_directive): Get the directive position right.
8172         * cppmain.c (cb_file_change): Always print the first line, unless
8173         preprocessed.
8175 2001-08-20  Andreas Jaeger  <aj@suse.de>
8177         * profile.c (compute_branch_probabilities): Remove extra new-line
8178         in error message.
8179         * flow.c (verify_flow_info): Likewise.
8181 2001-08-20  Diego Novillo  <dnovillo@redhat.com>
8183         * basic-block.h (basic_block): Add new field 'flags'.
8184         (BB_REACHABLE): Define.
8185         (expunge_block): Declare.
8186         * flow.c (ENTRY_BLOCK_PTR): Initialize field 'flags'.
8187         (EXIT_BLOCK_PTR): Ditto.
8188         (expunge_block): Remove static declaration.
8189         (cleanup_cfg): Clear bb->aux on every basic block.
8190         (find_unreachable_blocks): Set BB_REACHABLE bit in bb->flags when
8191         computing reachability.
8192         (delete_unreachable_blocks): Delete block b if b->flags has
8193         BB_REACHABLE unset.
8195 2001-08-20  Diego Novillo  <dnovillo@redhat.com>
8197         * doc/invoke.texi: Replace references to -fdump-tree with -fdump-ast.
8199 2001-08-20  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
8201         * sparc.c (sparc_variable_issue): Fix typo in last change.
8203 2001-08-20  Richard Henderson  <rth@redhat.com>
8205         * varasm.c (assemble_integer): Document ppc-eabi -mrelocatable losage.
8207 2001-08-20  John David Anglin  <dave@hiauly1.hia.nrc.ca>
8209         * pa.h (RETURN_IN_MEMORY): Improve comment.
8211 2001-08-20  Janis Johnson  <janis187@us.ibm.com>
8213         * doc/invoke.texi (Profiling options): Clarify the interactions
8214         between -fprofile-arcs and -ftest-coverage, -fprofile-arcs.
8216 2001-08-20  Jeffrey Oldham  <oldham@codesourcery.com>
8218         * crtstuff.c (__do_global_ctors): Fix typo in preprocessing
8219         command.
8221 2001-08-20  Matt Kraai  <kraai@alumni.carnegiemellon.edu>
8223         * gcc.c (make_relative_prefix): Allocate a sufficiently large
8224         buffer.
8226 2001-08-20  Richard Henderson  <rth@redhat.com>
8228         * final.c (end_final): Fix typo last change.
8230 2001-08-20  Neil Booth  <neil@daikokuya.demon.co.uk>
8232         * cppinit.c (init_standard_includes): The returned buffer
8233         is already malloc-ed.
8234         * gcc.c (add_prefix): Similarly.
8235         * prefix.c (translate_name): Update to support clear buffer
8236         ownership rules.
8237         (update_path): Similarly.  Be sure to free any newly allocated
8238         key.  UPDATE_PATH_HOST_CANONICALIZE takes only one argument.
8239         (tr): New function.
8240         * prefix.h (update_path): Update prototype and document.
8241         * config/i386/xm-djgpp.h (UPDATE_PATH_HOST_CANONICALIZE): Clean
8242         up and update to new buffer ownership rules.
8243         * doc/gcc.texi (UPDATE_PATH_HOST_CANONICALIZE): Update.
8245 Mon Aug 20 01:44:50 CEST 2001  Jan Hubicka  <jh@suse.cz>
8247         * final.c (compute_alignments): New function.
8248         (init_insn_lengths): Do not care label_align.
8249         (LABEL_ALIGN_AFTER_BARRIER): Default to 1.
8250         (LABEL_ALIGN_AFTER_BARRIER_MAX_SKIP): Default to 0.
8251         (JUMP_ALIGN, JUMP_ALIGN_MAX_SKIP): New.
8252         (shorted_branches): Realloc label_align array; do
8253         not call init_insn_lengths; Do not care about loop alignments.
8254         * output.h (compute_alignments): Declare.
8255         * toplev.c (rest_of_compilation): Call compute_alignments.
8256         * tm.texi (JUMP_ALIGN, JUMP_ALIGN_MAX_SKIP): Document.
8258         * predict.c (block_info_def): Add npredecesors, remove nvisited;
8259         change visited to tovisit.
8260         (propagate_freq): Use faster traversing algorithm.
8261         (estimate_loops_at_level, estimate_bb_frequencies): Change visited
8262         to tovisit; reverse meaning.
8264         * predict.c (struct block_info_def): Remove nvisited.
8265         (propagate_freq): Use EDGE_DFS_BACK to detect irreducible regions.
8266         (estimate_bb_frequencies): Call mark_dfs_back_edges.
8268 2001-08-19  Geoffrey Keating  <geoffk@redhat.com>
8270         * doc/invoke.texi (MIPS Options): Document -mfused-madd.
8271         * config/mips/mips.h (MASK_NO_FUSED_MADD): New.
8272         (TARGET_FUSED_MADD): New.
8273         (TARGET_SWITCHES): Add -mfused-madd, -mno-fused-madd.
8274         * config/mips/mips.md: Add TARGET_FUSED_MADD as condition to
8275         the multiply-add instructions.
8277 2001-08-19  Richard Henderson  <rth@redhat.com>
8279         * dwarf2asm.c (dw2_output_indirect_constant_1): The symbol ref
8280         is aligned to pointer size.
8282 2001-08-19  Richard Henderson  <rth@redhat.com>
8284         * config/ia64/ia64.c (ia64_cycle_display): Only emit cycle
8285         display markers during final schedule.
8287 2001-08-19  Richard Henderson  <rth@redhat.com>
8289         * function.c (gen_mem_addressof): Don't call get_alias_set if no decl.
8291 2001-08-19  Richard Henderson  <rth@redhat.com>
8293         * config/ia64/ia64.h (STRIP_NAME_ENCODING): Handle @ and *
8294         in the same string.
8295         (ASM_NAME_TO_STRING): Remove.
8296         * config/ia64/sysv4.h (ASM_OUTPUT_LABELREF): Handle @ and *
8297         in the same string.  Remove support for expressions.
8299 2001-08-19  Richard Henderson  <rth@redhat.com>
8301         * config/i386/i386.md (tablejump): Make an expander; handle
8302         pic relative addressing here.
8303         (tablejump_1): Rename from tablejump_pic.
8304         (casesi): Remove.
8306 2001-08-19  Richard Henderson  <rth@redhat.com>
8308         * regclass.c (fix_register): Fix typo.
8310 2001-08-18  Richard Henderson  <rth@redhat.com>
8312         * config/ia64/unwind-ia64.c (UNW_REG_B0): New.
8313         (struct _Unwind_Context): Expand br_loc to hold it.
8314         (uw_frame_state_for): Handle leaf functions better.
8315         (uw_update_reg_address): Update for br_loc change.
8317 2001-08-18  Richard Henderson  <rth@redhat.com>
8319         * crtstuff.c: Move list heads before code that uses them.
8320         (__JCR_LIST__): Remove initial null.
8321         (frame_dummy, __frame_dummy): Do java registration here ...
8322         (__do_global_ctors_aux): ... not here.
8324         * config/ia64/crtbegin.asm (dtor_ptr): Make gp-relative.
8325         (__do_global_dtors_aux): Update to match.
8326         (__JCR_LIST__, __do_jv_register_classes): New.
8327         (.init): Call it.
8328         * config/ia64/crtend.asm (__JCR_END__): New.
8329         (__do_global_ctors_aux): Use a GPREL64I reloc to __CTOR_END__
8330         instead of an indirect LTOFF22 reloc.
8332 2001-08-18  Richard Henderson  <rth@redhat.com>
8334         * flow.c (mark_regs_live_at_end): Use regs_invalidated_by_call.
8335         * regclass.c (init_reg_sets_1): Fix typo.
8336         * config/ia64/ia64.c (ar_pfs_reg_operand): New.
8337         (ia64_expand_call): Pass ar.pfs to sibcall expanders.
8338         (ia64_compute_frame_size): Make ar.unat live when in use.
8339         (ia64_epilogue_uses): Reformat; do not check current_function_is_leaf
8340         for ar.pfs; remove ar.unat handling.
8341         * config/ia64/ia64.h (CALL_REALLY_USED_REGISTERS): ar.unat is
8342         call-saved.
8343         (PREDICATE_CODES): Add ar_pfs_reg_operand.
8344         * config/ia64/ia64-protos.h: Update decls.
8345         * config/ia64/ia64.md (sibcall_nopic): Use ar.pfs.
8346         (sibcall_pic): Likewise.
8348 2001-08-18  Richard Henderson  <rth@redhat.com>
8350         * config/ia64/ia64.c (ia64_sched_reorder2): Also skip past
8351         pred_rel_mutex when searching for insn_group_barrier.
8352         * config/ia64/ia64.md (cycle_display): Combine the expander
8353         and insn patterns.
8355         * config/ia64/ia64.c (ia64_internal_sched_reorder): Emit stop
8356         bit before asm as needed.
8358 2001-08-18  Richard Henderson  <rth@redhat.com>
8360         * timevar.def (TV_MACH_DEP): New.
8361         * toplev.c (rest_of_compilation): Use it.
8362         * config/ia64/ia64.c (ia64_reorg): Push to TV_SCHED2.
8364 2001-08-18  Zack Weinberg  <zackw@panix.com>
8366         * unwind-dw2.c (execute_stack_op): Add default aborts to
8367         the inner switches to prevent warnings.
8369 2001-08-18  Richard Henderson  <rth@redhat.com>
8371         * timevar.h (struct timevar_time_def): Change element type to float.
8372         (ticks_to_msec, clocks_to_msec): Likewise.
8373         (TICKS_TO_MSEC, CLOCKS_TO_MSEC): Rescale to seconds; use type float.
8374         (get_time): Likewise.
8375         (timevar_print): Adjust zero check and printing to match.
8377 2001-08-18  Zack Weinberg  <zackw@panix.com>
8379         * doc/extend.texi, doc/gcc.texi, doc/install-old.texi,
8380         doc/invoke.texi, doc/md.texi, doc/rtl.texi, doc/include/gpl.texi:
8381         Eliminate overfull or underfull hboxes.
8383 2001-08-18  Zack Weinberg  <zackw@panix.com>
8385         * cpperror.c: Use VA_OPEN/VA_CLOSE/VA_FIXEDARG throughout.
8387 2001-08-18  Zack Weinberg  <zackw@panix.com>
8389         * haifa-sched.c: Convert to target hooks.  Macros replaced
8390         are ISSUE_RATE, ADJUST_COST, ADJUST_PRIORITY, MD_SCHED_INIT,
8391         MD_SCHED_REORDER, MD_SCHED_REORDER2, MD_SCHED_VARIABLE_ISSUE,
8392         MD_SCHED_FINISH, and HAVE_cycle_display.
8393         * target-def.h (TARGET_SCHED_ADJUST_COST,
8394         TARGET_SCHED_ADJUST_PRIORITY, TARGET_SCHED_ISSUE_RATE,
8395         TARGET_SCHED_VARIABLE_ISSUE, TARGET_SCHED_INIT,
8396         TARGET_SCHED_FINISH, TARGET_SCHED_REORDER,
8397         TARGET_SCHED_REORDER2, TARGET_SCHED_CYCLE_DISPLAY):
8398         New hook #defines to be overridden.
8399         (TARGET_SCHED): Bring them all together.
8400         (TARGET_INITIALIZER): Update.
8401         * target.h: Don't forward declare struct rtx_def.  Use 'rtx'
8402         instead of 'struct rtx_def *' throughout.
8403         (struct sched): New set of hooks for the scheduler.
8404         * Makefile.in (haifa-sched.o): Depend on target.h.
8405         * doc/tm.texi: Document the new scheduler hooks, together in
8406         their own section, instead of scattered around.
8407         Fix a bunch of underfull/overfull hboxes.
8409         * a29k.h, alpha.h, arm.h, c4x.h, convex.h, d30v.h, i386.h,
8410         ia64.h, m32r.h, m88k.h, mips.h, pa.h, rs6000.h, s390.h, sh.h,
8411         sparc.h: Don't define any of the old scheduler macros.
8413         * a29k.c, alpha.c, arm.c, c4x.c, convex.c, d30v.c, i386.c,
8414         ia64.c, m32r.c, m88k.c, mips.c, pa.c, rs6000.c, s390.c, sh.c,
8415         sparc.c: Create hook functions from code extracted from
8416         corresponding target header, or make existing hooks static, as
8417         appropriate.  Set the appropriate entries in targetm.
8419         * alpha-protos.h, arm-protos.h, c4x-protos.h, d30v-protos.h,
8420         i386-protos.h, ia64-protos.h, m32r-protos.h, pa-protos.h,
8421         rs6000-protos.h, s390-protos.h, sparc-protos.h:
8422         Remove prototypes for functions which are now static.
8424         * d30v.h, d30v.c, m32r.h, m32r.c: Remove #ifdef HAIFA and
8425         related gunk; the Haifa scheduler is now the only choice.
8427 2001-08-18  Zack Weinberg  <zackw@panix.com>
8429         * optabs.h (OTI_flodiv, flodiv_optab): Kill.
8430         * genopinit.c: Put floating point divide insns in sdiv_optab.
8431         * expr.c (expand_expr): Use sdiv_optab, not flodiv_optab.
8432         * config/gofast.h, config/c4x/c4x.h,
8433         config/ia64/hpux_longdouble.h, config/mips/mips.h,
8434         config/pa/long_double.h, config/rs6000/sysv4.h,
8435         config/sparc/sparc.h: Put floating point divide libcalls in sdiv_optab.
8436         * optabs.c (init_optab): Break into new_optab, init_optab, init_optabv.
8437         (init_optabs): Use init_optabv for overflow-trapping optabs.
8438         Don't init flodiv_optab.  Give mov_optab, movstrict_optab, and
8439         cmp_optab RTX codes so have_insn_for can find them.
8441         * optabs.c (expand_simple_binop, expand_simple_unop,
8442         have_insn_for, gen_sub3_insn): New interfaces.
8443         * expr.h: Prototype new functions.
8444         (enum optab_methods): Move here from optabs.h.
8446         * builtins.c, combine.c, doloop.c, function.c, ifcvt.c,
8447         loop.c, profile.c, simplify-rtx.c, stmt.c, unroll.c:
8448         Use new functions instead of working directly with optabs.
8449         * doloop.c, ifcvt.c, loop.c, profile.c, simplify-rtx.c,
8450         unroll.c: Don't include optabs.h.
8451         * caller-save.c, combine.c, function.c, stmt.c: Just include
8452         insn-codes.h, not optabs.h.
8453         * Makefile.in: Update dependencies.
8455         * combine.c (make_compound_operation, simplify_comparison):
8456         Fix typos testing for this or that instruction.
8458 2001-08-18  Herman A.J. ten Brugge  <Haj.Ten.Brugge@net.HCC.nl>
8460         * mklibgcc.in: Prefer LIB1ASMFUNCS over LIB2_DIVMOD_FUNCS when
8461         generating libgcc.a.
8463 2001-08-18  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
8465         * except.c (TYPE_HASH): Delete.
8467         * objc/objc-act.c (HASHFUNCTION): Cast to size_t, not
8468         HOST_WIDE_INT.
8470         * tree.c (TYPE_HASH): Delete.
8472         * tree.h (TYPE_HASH): Define.
8474 2001-08-18  Graham Stott  <grahams@redhat.com>
8476         * config/mips/mips.md (adddi3_internal_2+1): Remove constraints from
8477         define_split.
8478         (adddi3_internal_2+2): Likewise.
8479         (eh_set_lr_di+1): Likewise.
8481 2001-08-17  Richard Henderson  <rth@redhat.com>
8483         * defaults.h (UNALIGNED_SHORT_ASM_OP, UNALIGNED_INT_ASM_OP,
8484         UNALIGNED_DOUBLE_INT_ASM_OP, ASM_BYTE_OP): Move from ...
8485         * dwarf2asm.c: ... here.
8486         * dwarfout.c: Remove them.
8488         * varasm.c (assemble_integer): Add align parameter.
8489         (assemble_real, output_constant, output_constructor): Likewise.
8490         * output.h: Update decls.
8491         * dwarf2asm.c, final.c, varasm.c, config/darwin.c, config/nextstep.c,
8492         config/alpha/alpha.c, config/arm/arm.md, config/clipper/clipper.c,
8493         config/m88k/m88k.c, config/mcore/mcore.md, config/mips/mips.h,
8494         config/mips/mips.md, config/pa/pa.c, config/rs6000/rs6000.c,
8495         config/rs6000/rs6000.h, config/s390/s390.h, config/sh/sh.md:
8496         Update all callers.
8498         * final.c (end_final): Abort profile block generation if we
8499         havn't layed it out properly.
8500         * output.h (assemble_eh_integer): Remove stale decl.
8501         * varasm.c (assemble_zeros): Tidy; use assemble_integer.
8502         (min_align): New.
8503         (assemble_integer): Handle unaligned data.
8504         (assemble_real): Abort on unaligned data.
8505         (output_constructor): Don't assume ASM_OUTPUT_ALIGN 0 does
8506         anything useful.
8507         (default_dtor_section_asm_out_destructor): Use assemble_align.
8508         (default_named_section_asm_out_constructor): Likewise.
8509         (default_ctor_section_asm_out_constructor): Likewise.
8510         * config/darwin.c (machopic_asm_out_constructor): Likewise.
8511         (machopic_asm_out_destructor): Likewise.
8512         * config/nextstep.c (nextstep_asm_out_constructor): Likewise.
8513         (nextstep_asm_out_destructor): Likewise.
8514         * config/alpha/alpha.c (vms_asm_out_constructor): Likewise.
8515         (vms_asm_out_destructor): Likewise.
8517 2001-08-17  Richard Henderson  <rth@redhat.com>
8519         * config/mips/iris6.h (TARGET_IRIX6): New.
8520         (current_section_name, current_section_flags): New.
8521         (ASM_OUTPUT_ALIGN, ASM_FILE_START, ASM_FILE_END): New.
8522         (MAX_OFILE_ALIGNMENT): New.
8523         (ASM_OUTPUT_ALIGNED_LOCAL): Use bss_section.
8524         * config/mips/mips.c (mips_make_temp_file, temp_filename): Remove.
8525         (copy_file_data): Split out from
8526         (mips_asm_file_end): ... here.
8527         (mips_asm_file_start): Remove extra .section directive.  Use
8528         tmpfile instead of mips_make_temp_file.
8529         (mips_unique_section): Use const char * as needed for warnings.
8530         (iris6_asm_named_section_1): Renamed from iris6_asm_named_section;
8531         re-add align parameter.
8532         (iris6_asm_named_section): New.
8533         (iris_section_align_entry_eq, iris_section_align_entry_hash): New.
8534         (iris6_asm_output_align, iris6_section_align_1): New.
8535         (iris6_asm_file_start, iris6_asm_file_end): New.
8536         * config/mips/mips-protos.h: Update decls.
8538 2001-08-17  Janis Johnson  <janis187@us.ibm.com>
8540         * doc/install.texi (Install GCC): Add links to build status pages.
8541         (Specific): Ditto.
8542         (Final install): Ditto; request updates for specific info
8544 2001-08-17  Neil Booth  <neil@daikokuya.demon.co.uk>
8546         * cpperror.c (print_location):  Don't take a file name; use the
8547         line map instead.
8548         (_cpp_begin_message): Similarly.
8549         (cpp_ice, cpp_fatal, cpp_error, cpp_error_with_line, cpp_warning,
8550         cpp_warning_with_line, cpp_pedwarn, cpp_pedwarn_with_line): Update.
8551         (cpp_pedwarn_with_file_and_line): Remove.
8552         * cppfiles.c (stack_include_file): Update; set filename to stdin
8553         here when appropriate.
8554         * cpphash.h (struct cpp_buffer): Remove nominal_fname.
8555         (_cpp_begin_message): Don't take a file name.
8556         * cppinit.c: Add comment.
8557         * cpplex.c: Fix end-of-directive indicator.
8558         * cpplib.c: Don't include intl.h.
8559         (run_directive, do_diagnostic): Update.
8560         (do_line): Update to not use nominal_fname.
8561         (cpp_push_buffer): Don't take a filename.
8562         * cpplib.h (struct ht): Remove.
8563         (cpp_push_buffer): Don't take a filename.
8564         (cpp_pedwarn_with_file_and_line): Remove.
8565         * cppmacro.c (struct cpp_macro): Remove file.
8566         (builtin_macro): Update.
8567         (_cpp_create_definition): Update.
8568         * cppmain.c: Correct comment.
8569         * fix-header.c (read_scan_file): Update.
8571 2001-08-17  Kazu Hirata  <kazu@hxi.com>
8573         * sbitmap.c: Fix comment formatting.
8574         * sched-deps.c: Likewise.
8575         * sibcall.c: Likewise.
8576         * simplify-rtx.c: Likewise.
8577         * ssa.c: Likewise.
8578         * ssa-ccp.c: Likewise.
8579         * stor-layout.c: Likewise.
8580         * timevar.c: Likewise.
8581         * toplev.c: Likewise.
8582         * unwind-dw2.c: Likewise.
8583         * unwind-dw2-fde.c: Likewise.
8584         * varasm.c: Likewise.
8586 2001-08-17  John David Anglin  <dave@hiauly1.hia.nrc.ca>
8588         * pa.h (RETURN_IN_MEMORY): Return types with a size that is varable
8589         or larger than an integer in memory.
8591 2001-08-17  Zack Weinberg  <zackw@panix.com>
8593         * system.h: Forward-declare struct rtx_def, struct rtvec_def,
8594         and union tree_node.  Typedef rtx, rtvec, and tree.  Fix comment.
8595         * rtl.h: Don't forward-declare union tree_node here.  Don't
8596         typedef rtx or rtvec here.  Change all uses of struct rtx_def *,
8597         struct rtvec_def *, or union tree_node * to use rtx, rtvec,
8598         and tree respectively.
8599         * tree.h: Don't forward-declare struct rtx_def here.  Don't
8600         typedef tree here.  Change all uses of struct rtx_def *,
8601         struct rtvec_def *, or union tree_node * to use rtx, rtvec,
8602         and tree respectively.
8604 2001-08-17  Richard Henderson  <rth@redhat.com>
8606         * config/mips/elf.h, config/mips/elf64.h, config/mips/netbsd.h,
8607         config/mips/openbsd.h: Fix typos last change.
8609 2001-08-17  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
8611         * doc/invoke.texi (Optimize Options): The default for
8612         -finline-limit is 600.
8614 2001-08-17  Richard Henderson  <rth@redhat.com>
8616         * varasm.c (text_section): Allow TEXT_SECTION to override the
8617         printing of TEXT_SECTION_ASM_OP.
8618         * dwarf2out.c (TEXT_SECTION_NAME): Rename from TEXT_SECTION.
8619         (DATA_SECTION, BSS_SECTION): Remove.
8620         * dwarfout.c (TEXT_SECTION_NAME, DATA_SECTION_NAME, DATA1_SECTION_NAME,
8621         RODATA_SECTION_NAME, RODATA1_SECTION_NAME, BSS_SECTION_NAME):
8622         Rename from s/_NAME//.
8623         * config/mips/mips.h (TARGET_FILE_SWITCHING): Add !TARGET_MIPS16.
8624         (ASM_DECLARE_FUNCTION_NAME): Move file switching ...
8625         (TEXT_SECTION): ... here.  New.
8626         * config/mips/elf.h (TEXT_SECTION): New; no file switching.
8627         * config/mips/elf64.h, config/mips/netbsd.h: Likewise.
8628         * config/mips/openbsd.h: Likewise.
8629         * config/mips/mips.c (mips_asm_file_start): Tidy file switching test.
8630         (mips_asm_file_end): Likewise test.
8631         (mips_output_function_epilogue): Likewise.  Switch back to data
8632         section after emitting the function.
8634         * doc/tm.texi (Sections): Document TEXT_SECTION.
8636 2001-08-17  Richard Henderson  <rth@redhat.com>
8638         * dwarf2out.c (dwarf2out_init): Don't emit .debug_loc label here.
8639         (dwarf2out_finish): Do it here.  Emit .debug_loc before .debug_info.
8641 2001-08-17  Richard Henderson  <rth@redhat.com>
8643         * varasm.c (assemble_variable): Don't overalign if DECL_USER_ALIGN.
8644         * crtstuff.c (__CTOR_LIST__, __DTOR_LIST__, __EH_FRAME_BEGIN__,
8645         __JCR_LIST__, __CTOR_END__, __DTOR_END__, __FRAME_END__,__JCR_END__):
8646         Add aligned attribute.
8648 2001-08-17  Andrew Haley  <aph@cambridge.redhat.com>
8650         * config/sh/sh.md: Add modes to unspecs in first insn to match
8651         those in the second.
8653         * Makefile.in: Fix collect2 copy for Cygwin.
8655 Fri Aug 17 15:48:57 CEST 2001  Jan Hubicka  <jh@suse.cz>
8657         Install the proper patch.
8658         * function.c (put_var_into_stack): Temporarily clear DECL_RTL.
8659         (assign_params): Avoid setting DECL_RTL to unfinished RTX.
8660         (expand_function_start): Likewise.
8661         * stmt.c (expand_decl): Likewise.
8662         * varasm.c (make_decl_rtx): Likewise.
8664 Fri Aug 17 15:41:35 CEST 2001  Jan Hubicka  <jh@suse.cz>
8666         * final.c: Undo my previous accidental checkin.
8667         * output.h: Likewise.
8668         * tm.texi: Likewise.
8670 2001-08-16  Richard Henderson  <rth@redhat.com>
8672         * varasm.c (named_section_flags): Remove align parameter.
8673         * varasm.c, dwarf2out.c: Update all callers.
8674         * output.h: Update prototypes.
8676         * target.h (target.asm_out.named_section): Remove align parameter.
8677         * varasm.c, config/a29k/a29k.c, config/alpha/alpha.c,
8678         config/arm/arm.c, config/c4x/c4x.c, config/h8300/h8300.c,
8679         config/i386/i386.c, config/i386/winnt.c, config/m68k/m68k.c,
8680         config/mcore/mcore.c, config/mips/mips.c, config/rs6000/rs6000.c,
8681         config/sh/sh.c, config/sparc/sparc.c: Update implementations to match.
8683         * varasm.c (in_named_entry_eq, in_named_entry_hash): New.
8684         (get_named_section_flags, set_named_section_flags): New.
8685         (named_section_flags): Use them.
8686         (named_section): Do decl vs section flags check here...
8687         (default_section_type_flags): ... not here.
8688         (init_varasm_once): Create in_named_htab.
8689         (resolve_unique_section): Mark reloc unused.
8691 2001-08-16  Richard Henderson  <rth@redhat.com>
8693         * varasm.c (force_const_mem): Keep pool alignment in bits.
8694         (output_constant_pool): Use assemble_align.
8696 2001-08-16  Zack Weinberg  <zackw@panix.com>
8698         * doc/tm.texi: Remove extra @table command.
8700 2001-08-16  Zack Weinberg  <zackw@panix.com>
8702         * final.c (shorten_branches): Clear the end of the label_align
8703         array only if we made it larger.  Break up messy expressions
8704         for clarity.
8706         * diagnostic.c (internal_error): Check for error recursion
8707         before doing ICE suppression.
8709         * timevar.c: Timing variables now count in milliseconds.
8710         (init_timevar): Set up ticks_to_msec and clocks_to_msec here.
8711         (get_time): Not here.
8712         (timevar_print): Don't print any timer whose user, cpu, and
8713         wall times are all zero as displayed.
8714         * timevar.h: Update comment aboout units.  Make timevar
8715         counters unsigned.
8717 Thu Aug 16 17:39:45 CEST 2001  Jan Hubicka  <jh@suse.cz>
8719         * function.c (put_var_into_stack): Temporarily clear DECL_RTL.
8720         (assign_params): Avoid setting DECL_RTL to unfinished RTX.
8721         (expand_function_start): Likewise.
8722         * stmt.c (expand_decl): Likewise.
8723         * varasm.c (make_decl_rtx): Likewise.
8725 2001-08-16  Jason Merrill  <jason_merrill@redhat.com>
8727         * stor-layout.c (layout_decl): Don't set DECL_USER_ALIGN.
8728         (finalize_record_size): Don't set TYPE_USER_ALIGN.
8730 2001-08-16  Matt Kraai  <kraai@alumni.carnegiemellon.edu>
8732         * config/i386/i386.c (ix86_init_mmx_sse_builtins): Remove unused
8733         variables.
8735 2001-08-16  Andreas Jaeger  <aj@suse.de>
8737         * config/s390/s390.c: Include "debug.h" for dwarf2out_do_frame
8738         prototype.
8740 Wed Aug 15 15:22:52 EDT 2001  John Wehle  (john@feith.com)
8742         * rtl.h (only_sets_cc0_p): New prototype.
8743         * jump.c (sets_cc0_p): Handle INSN.
8744         (only_sets_cc0_p): New function.
8745         * flow.c (merge_blocks_nomove): Use only_sets_cc0_p.
8746         (tidy_fallthru_edge): Likewise.
8747         * integrate.c (copy_insn_list): Likewise.
8748         * unroll.c (unroll_loop): Likewise.
8749         (copy_loop_body): Likewise.
8751 2001-08-15  Jason Eckhardt  <jle@redhat.com>
8753         * config/i960/i960.md (trap): Change "faulteq.t" to "faulte.t".
8755 Wed Aug 15 14:24:22 CEST 2001  Jan Hubicka  <jh@suse.cz>
8757         * predict.c (struct block_info_def): Remove nvisited.
8758         (propagate_freq): Use EDGE_DFS_BACK to detect irreducible regions.
8759         (estimate_bb_frequencies): Call mark_dfs_back_edges.
8761         * i386.c (ix86_agi_depdendant): Lea causes AGI only on the Pentium
8762         (ix86_adjust_cost): Teach scheduler that latency to load operand can
8763         be masked.
8765 Wed Aug 15 12:41:32 CEST 2001  Jan Hubicka  <jh@suse.cz>
8767         * predict.def: Update hitrates.
8769 2001-08-15  Richard Henderson  <rth@redhat.com>
8771         * except.c (TYPE_HASH): Cast to size_t, not HOST_WIDE_INT.
8773 Tue Aug 14 17:30:59 2001  Jeffrey A Law  (law@cygnus.com)
8775         * flow.c (commit_one_edge_insertion): Don't separate a LOOP_BEG
8776         note from its associated jump.
8778 2001-08-14  Ulrich Weigand  <uweigand@de.ibm.com>
8780         * config/s390/linux64.h (CPP_PREDEFINES): Define __s390__
8781         also on 64-bit s390x targets.
8783 2001-08-14  Nick Clifton  <nickc@cambridge.redhat.com>
8785         * config/arm/arm.c (arm_compute_initial_elimination_offset): New
8786         function.
8787         (arm_expand_prologue): Handled nested functions which take a
8788         variable argument list.
8789         * config/arm/arm.h (ARM_INITIAL_ELIMINATION_OFFSET): Replace
8790         macro with an invocation of
8791         arm_compute_initial_elimination_offset.
8792         * config/arm/arm-protos.h: Prototype
8793         arm_compute_initial_elimination_offset.
8795 2001-08-14  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
8797         * doc/install.texi (Specific, avr): Fix markup.
8798         (Specific, c4x): Ditto.
8800 2001-08-14  Matt Kraai  <kraai@alumni.carnegiemellon.edu>
8802         * predict.c (dump_prediction): Change `bool' parameter to `int'.
8804 2001-08-14  Gabriel Dos Reis  <gdr@codesourcery.com>
8806         * Makefile.in (OBJS): Add rtl-error.o
8807         (rtl-error.o): New rule.
8808         (diagnostic.o): Adjust dependency.
8809         diagnostic.c (file_and_line_for_asm, diagnostic_for_asm,
8810         error_for_asm, _fatal_insn, _fatal_insn_not_found,
8811         warning_for_asm): Move to...
8812         rtl-error.c: ...here.  New file.
8814 2001-08-14  Richard Henderson  <rth@redhat.com>
8816         * dwarf2out.c (dwarf2out_frame_finish): Never emit .eh_frame
8817         if USING_SJLJ_EXCEPTIONS.
8819 2001-08-14  Steve Ellcey <sje@cup.hp.com>
8821         * tlink.c (scan_linker_output): Check string for unsatisfied in
8822         addition to undefined and unresolved.
8824 2001-08-14  Graham Stott  <grahams@redhat.com>
8826         * libgcc2.c (*): Replace EH_FRAME_SECTION with
8827         EH_FRAME_SECTION_NAME.
8829 Tue Aug 14 14:57:07 CEST 2001  Jan Hubicka  <jh@suse.cz>
8831         * genattrtab.c (simplify_test_exp_in_temp): New function.
8832         (simplify_test_exp): Avoid explicit use of temporary obstack.
8833         (simplify_cond, insert_right_side, evaluate_eq_attr,
8834         simplify_and_tree, simplify_or_tree, eliminate_known_true):
8835         Use simplify_test_exp_in_temp.
8836         (optimize_attrs): Iterate until expression stabilizes.
8838 2001-08-13  Ulrich Weigand  <uweigand@de.ibm.com>:
8840         * glimits.h: Remove the __LONG_MAX__ special case for s390x.
8841         * config/s390/linux64.h: Define __LONG_MAX__ in CPP_PREDEFINES.
8843 2001-08-13  Richard Henderson  <rth@redhat.com>
8845         * config/arm/unknown-elf.h (CTOR_LIST_BEGIN, CTOR_LIST_END): Remove.
8846         (DTOR_LIST_BEGIN, DTOR_LIST_END): Remove.
8847         * config/arm/conix-elf.h: Likewise.
8849 2001-08-13  Geoffrey Keating  <geoffk@redhat.com>
8851         * config/svr4.h (LINK_SPEC): Don't do -Wl, here, it is done
8852         in gcc.c.
8853         * config/rs6000/sysv4.h (LINK_SPEC): Likewise.
8855         * gcse.c (hash_scan_set): Expressions that are set as part of
8856         jump instructions are not available.
8858 2001-08-13  Ulrich Weigand  <uweigand@de.ibm.com>
8860         * config/s390/s390.c (print_operand, s390_function_prologue,
8861         s390_va_start): Fixed HOST_WIDE_INT type mismatch.
8863 2001-08-13  Richard Henderson  <rth@redhat.com>
8865         * config/rs6000/xcoff.h (EH_FRAME_IN_DATA_SECTION): New.
8866         * defaults.h (EH_FRAME_SECTION_NAME): Respect it.
8867         * doc/tm.texi (Exception Region Output): Document it.
8869 2001-08-13  Geoffrey Keating  <geoffk@redhat.com>
8871         * config/rs6000/sysv4.h (PREFERRED_DEBUGGING_TYPE): Use
8872         DWARF2 instead of stabs by default.
8874 2001-08-13  David Edelsohn  <edelsohn@gnu.org>
8876         * config/rs6000/rs6000.c: Include optabs.h.
8878 2001-08-13  David Edelsohn  <edelsohn@gnu.org>
8880         * config/rs6000/eabi.asm: Define 64-bit versions of FPR
8881         save/restore routines.
8882         * ginclude/ppc-asm.h: Define 64-bit FUNC_* macros.
8884 2001-08-13  Andreas Jaeger  <aj@suse.de>
8886         * gcc.c (init_spec): Revert last patch by Theodore Papadopoulo,
8887         the english is correct.
8889 2001-08-13  Zack Weinberg  <zackw@panix.com>
8891         * expr.h: Split out optab- and libfunc-related code to...
8892         * optabs.h, libfuncs.h: ... these new headers.
8894         * Makefile.in (CONFIG_H, EXPR_H): Take out insn-codes.h.
8895         (OPTABS_H): New.
8896         (various .o rules): Add $(OPTABS_H) and/or libfuncs.h to
8897         dependencies.
8898         * mkconfig.sh: Don't include insn-codes.h from config.h.
8900         * reload.h: Use #ifdef GCC_INSN_CODES_H to decide whether
8901         enum insn_code is available.  Move reload_in_optab and
8902         reload_out_optab array declarations to optabs.h.
8903         * regmove.c (gen_add3_insn): Move to optabs.c, export from
8904         there, prototype in expr.h.
8905         * gencodes.c: Cleanup: zap global variables, don't use
8906         printf where puts will do, don't bother defining MAX_INSN_CODE
8907         which nothing uses, let CODE_FOR_nothing get its value implicitly.
8909         * genemit.c, genopinit.c: Include optabs.h in generated file.
8910         * genoutput.c: Include insn-codes.h in generated file.
8911         * builtins.c, caller-save.c, combine.c, doloop.c, explow.c,
8912         expmed.c, expr.c, function.c, ifcvt.c, loop.c, optabs.c, profile.c,
8913         reload1.c, simplify-rtx.c, stmt.c, unroll.c, config/alpha/alpha.c,
8914         config/arm/arm.c, config/c4x/c4x.c, config/clipper/clipper.c,
8915         config/i386/i386.c, config/ia64/ia64.c, config/mn10300/mn10300.c,
8916         config/pj/pj.c, config/sh/sh.c, config/sparc/sparc.c:
8917         Include optabs.h.
8918         * builtins.c, calls.c, dwarf2out.c, except.c, expr.c, function.c,
8919         optabs.c, stmt.c, config/c4x/c4x.c, config/clipper/clipper.c,
8920         config/m88k/m88k.c, config/sparc/sparc.c:
8921         Include libfuncs.h.
8922         * reload.c: Include expr.h and optabs.h before reload.h.
8923         * config/alpha/alpha.c: Include tree.h before reload.h.
8924         * config/pa/pa.c: Include expr.h, optabs.h, libfuncs.h,
8925         and reload.h in that order.
8926         * config/sparc/sparc.c: Include debug.h.
8927         * recog.c: Include insn-codes.h.
8929 2001-08-13  Andreas Jaeger  <aj@suse.de>
8931         * config.gcc: Use t-slibgcc-elf to build shared libgcc_s on
8932         s390*linux.
8934 2000-08-13 Theodore Papadopoulo <Theodore.Papadopoulo@sophia.inria.fr>
8936         * dwarf2out.c (output_cfa_loc): Fix typo in comment.
8937         * gcc.c (init_spec): Fix typo in comment.
8938         * varasm.c (data_section): Fix typo in comment.
8940 Mon Aug 13 02:27:39 CEST 2001  Jan Hubicka  <jh@suse.cz>
8942         * predict.c (dump_prediction): New argument "USED".
8943         (combine_predictions_for_insn): Determine the used heuristics,
8944         output the case no heuristic applied.
8945         * predict.def (PRED_DS_THEORY, PRED_NO_HEURISTIC): New.
8947 2001-08-13  Andreas Jaeger  <aj@suse.de>
8949         * config/i386/unix.h (ASM_OUTPUT_MI_THUNK): Don't capitalize
8950         register %rip.
8952 2001-08-13  Kazu Hirata  <kazu@hxi.com>
8954         * jump.c: Fix formatting.
8956 2001-08-13  Kazu Hirata  <kazu@hxi.com>
8958         * config/h8300/h8300.md (zero_extendqihi2): Correct the insn
8959         length.
8961 2001-08-12  Geoffrey Keating  <geoffk@redhat.com>
8963         * loop.c (check_dbra_loop): Use condjump_label to compute
8964         jump_label.
8966         * rtl.h: Move prototypes of rtx_alloc and rtvec_alloc around
8967         to better document the files they're in.
8969 2001-08-12  Zack Weinberg  <zackw@panix.com>
8971         * recog.h (struct insn_operand_data): Shrink 'mode' field
8972         to 16 bits.
8974 2001-08-12  Kazu Hirata  <kazu@hxi.com>
8976         * gcc.c: Fix comment formatting.
8977         * gccspec.c: Likewise.
8978         * gcov.c: Likewise.
8979         * gcse.c: Likewise.
8980         * genemit.c: Likewise.
8981         * gengenrtl.c: Likewise.
8982         * genrecog.c: Likewise.
8983         * gensupport.c: Likewise.
8984         * ggc-page.c: Likewise.
8985         * global.c: Likewise.
8986         * graph.c: Likewise.
8987         * ifcvt.c: Likewise.
8988         * integrate.c: Likewise.
8989         * lcm.c: Likewise.
8990         * libgcc2.c: Likewise.
8991         * loop.c: Likewise.
8992         * mbchar.c: Likewise.
8993         * optabs.c: Likewise.
8994         * predict.c: Likewise.
8995         * prefix.c: Likewise.
8996         * profile.c: Likewise.
8997         * protoize.c: Likewise.
8998         * real.c: Likewise.
8999         * recog.c: Likewise.
9000         * regclass.c: Likewise.
9001         * regmove.c: Likewise.
9002         * reg-stack.c: Likewise.
9003         * reload1.c: Likewise.
9004         * resource.c: Likewise.
9005         * rtlanal.c: Likewise.
9006         * rtl.c: Likewise.
9008 2001-08-12  Kazu Hirata  <kazu@hxi.com>
9010         * doc/tm.texi (ENCODE_SECTION_INFO): Add documentation on how
9011         a tree representing a constant is passed to the macro.
9013 2001-08-12  Richard Henderson  <rth@redhat.com>
9015         * config/rs6000/rs6000.c (rs6000_elf_asm_out_constructor): New.
9016         (rs6000_elf_asm_out_destructor): New.
9017         * config/rs6000/sysv4.h (CTORS_SECTION_ASM_OP): Remove.
9018         (DTORS_SECTION_ASM_OP): Remove.
9019         (TARGET_ASM_CONSTRUCTOR, TARGET_ASM_DESTRUCTOR): New.
9020         (ASM_OUTPUT_INT): Don't hack TARGET_RELOCATABLE for constructors.
9022 2001-08-12  David Edelsohn  <edelsohn@gnu.org>
9024         Revert:
9025         2001-08-02  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
9026         * gcc.c (set_collect_gcc_options): New function, split out from
9027         main.
9028         Ignore elided switches.
9029         (do_spec_1): Invoke before executing command.
9030         (set_input): Export.
9031         Move declaration ...
9032         * gcc.h (set_input): ... here.
9033         * config/alpha/osf.h (ASM_FINAL_SPEC): Use %U.s to refer to input
9034         file.
9036 2001-08-12  Richard Henderson  <rth@redhat.com>
9038         * config/rs6000/rs6000.c (rs6000_elf_section_type_flags): Fix
9039         thinko wrt TARGET_RELOCATABLE.
9041 2001-08-12  Neil Booth  <neil@daikokuya.demon.co.uk>
9043         * fix-header.c (cb_file_change): Update prototype.
9045 2001-08-11  Zack Weinberg  <zackw@panix.com>
9047         * toplev.c (set_float_handler): Make static.
9048         * toplev.h: Don't prototype set_float_handler.
9050         * simplify-rtx.c: Don't include setjmp.h.
9051         (simplify_unary_real, simplify_binary_real, simplify_binary_is2orm1):
9052         New functions.
9053         (simplify_unary_operation, simplify_binary_operation): Use them,
9054         via do_float_handler.
9056         * fold-const.c: Don't include setjmp.h.
9057         (exact_real_inverse_1): New function.
9058         (exact_real_inverse): Use it, via do_float_handler.
9060         * varasm.c: Don't include setjmp.h.
9061         (assemble_real_1): New function.
9062         (assemble_real): Use it, via do_float_handler.
9063         Call internal_error if we get a trap here.
9065         * c-parse.in, cse.c, cselib.c, config/i386/i386.c,
9066         config/pj/pj.c, config/s390/s390.c: Don't include setjmp.h.
9068 2001-08-11  Zack Weinberg  <zackw@panix.com>
9070         * defaults.h: Define PREFERRED_STACK_BOUNDARY to
9071         STACK_BOUNDARY if not already defined.
9073         * calls.c, function.c, reload1.c, explow.c: Don't default
9074         PREFERRED_STACK_BOUNDARY.  Remove all #if/#ifdef on
9075         PREFERRRED_STACK_BOUNDARY and/or STACK_BOUNDARY.
9077         * explow.c (allocate_dynamic_stack_space): Change unsafe #if
9078         to run-time test.
9080         * doc/tm.texi: Document that STACK_BOUNDARY is required;
9081         clarify difference between it and PREFERRED_STACK_BOUNDARY.
9083 2001-08-11  Neil Booth  <neil@daikokuya.demon.co.uk>
9085         * cppmacro.c (enter_macro_context): Push macro expansions even
9086         if empty.
9088 2001-08-11  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
9090         * config/rs6000/rs6000.c: Include integrate.h to silence warning.
9091         (rs6000_elf_section_type_flags): Actually return a value.
9093 2001-08-11  Ulrich Weigand  <uweigand@de.ibm.com>
9095         * s390.c, s390.h, s390.md, s390-protos.h, linux.h, t-linux:
9096         Clean up code: add missing comments and prototypes, fix warnings,
9097         remove obsolete code, fix spacing to conform to coding style.
9099 2001-08-11  Ulrich Weigand  <uweigand@de.ibm.com>
9101         * config/s390/s390.c (targetm): Define TARGET_ASM_OPEN_PAREN
9102         and TARGET_ASM_CLOSE_PAREN.
9103         (regclass_map): CC register belongs to class NO_REGS.
9104         (legitimize_pic_address): Don't generate unnecessary moves
9105         (to avoid confusing loop optimization).
9106         (check_and_change_labels): Replace jump_long by indirect_jump.
9107         (s390_final_chunkify): Don't start a new literal pool on section
9108         switch in 64-bit code.
9109         (s390_va_start, s390_va_arg): Fixed incorrect sizes for 64-bit.
9111         * config/s390/s390.h (TARGET_SWITCHES): Renamed debug_arg to debug.
9112         (MAX_BITS_PER_WORD, MAX_LONG_TYPE_SIZE): Set to 64 (for 64-bit).
9113         (HARD_REGNO_MODE_OK, RETURN_IN_MEMORY): Support complex integer
9114         modes correctly.
9115         (reg_class, REG_CLASS_NAMES, REG_CLASS_CONTENTS): Remove CC_REGS.
9116         (EH_RETURN_HANDLER_RTX): Fixed incorrect offset for 64-bit.
9117         (CONST_COSTS): Fixed incorrect costs.
9119         * config/s390/s390.md (fixuns_trunc[sd]f[sd]i2, udivsi3, umodsi3):
9120         Use emit_jump instead of emit_jump_insn (gen_jump).
9121         (divsi3, modsi3): Clobber low word of divmoddisi3 before shifting
9122         (to avoid confusing flow analysis).
9123         (tablejump, tablejump1, tablejump2): Removed.  Replaced by casesi.
9124         (casesi, casesi_jump): New.
9125         (jump_long): Removed.  Functionality merged into indirect_jump.
9126         (indirect_jump): Accept address_operand, not just register_operand.
9127         (cjump_long, icjump_long): Use same logic as indirect_jump.
9128         (builtin_setjmp_setup, builtin_setjmp_receiver, builtin_longjmp):
9129         Fixed broken setjmp/longjmp handling.
9130         (do_builtin_setjmp_setup): Removed.
9132         * config/s390/linux.h (ASM_OUTPUT_DOUBLE_INT): Work around
9133         broken GNU as versions that don't accept .quad with large
9134         negative values.  Use hexadecimal output instead.
9135         (ASM_OUTPUT_ADDR_DIFF_ELT): Adapt to new casesi insn.
9136         (ASM_OPEN_PAREN, ASM_CLOSE_PAREN, FUNCTION_PROLOGUE,
9137         FUNCTION_EPILOGUE): Removed.  Now in targetm.
9139         * config/s390/linux64.h (CALL_USED_REGISTERS): Add CC register.
9141         * config/s390/fixdfdi.h: Add missing copyright statement.
9142         Fix type conflicts on 64-bit.  Add missing SFmode routines.
9144         * s390.c, s390.h, s390.md, linux.h, linux64.h: Fixed incorrect
9145         email address.
9147 2001-08-11  Richard Henderson  <rth@redhat.com>
9149         * rtl.h (REG_EH_RETHROW): Remove.
9150         * rtl.c (reg_note_name): Update.
9151         * combine.c (distribute_notes): Don't check for it.
9153 2001-08-11  Richard Henderson  <rth@redhat.com>
9155         * combine.c (distribute_notes): Place REG_SETJMP.
9157 2001-08-11  Richard Henderson  <rth@redhat.com>
9159         * doc/extend.texi (Arrays and pointers implementation): Discourage
9160         relying on sign-extension of pointers.
9162 2001-08-11  H.J. Lu <hjl@gnu.org>
9164         * config/mips/linux.h (EXTRA_SECTIONS): Remove in_ctors and
9165         in_dtors.
9166         (EXTRA_SECTION_FUNCTIONS): Remove DTORS_SECTION_ASM_OP and
9167         RDATA_SECTION_ASM_OP.
9169 2001-08-11  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
9171         * doc/install.texi (Specific, c4x): Fix cross-reference to the
9172         main manual to work both for info and HTML versions.
9174 2001-08-11  Neil Booth  <neil@daikokuya.demon.co.uk>
9175             Matt Kraai <kraai@alumni.carnegiemellon.edu>
9177         * cpphash.c (_cpp_destroy_hashtable): Use ht_destroy.
9178         * cpphash.h (CPP_IN_SYSTEM_HEADER): Fix.
9179         (struct cpp_pool): New member first.
9180         * cppinit.c (append_include_chain): Plug memory leaks.
9181         * cpplib.c (cpp_register_pragma, cpp_register_pragma_space):
9182         Allocate pragma structures from the (aligned) macro pool to
9183         avoid leaking memory.
9184         * cpplex.c (_cpp_init_pool, _cpp_free_pool): Use pool->first
9185         so we don't leak memory.
9186         * hashtable.c (ht_destroy): New.
9187         * hashtable.h (ht_destroy): New.
9189 2001-08-11  Neil Booth  <neil@daikokuya.demon.co.uk>
9190             Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
9192         * c-lex.c (map): Make const.
9193         (cb_file_change): Update for callback passing a line map.
9194         Don't assume we have a previous map.  Remove sanity check
9195         about popping too many files.
9196         * cpperror.c (print_location): Make map const.
9197         * cppfiles.c (stack_include_file): Update; line maps now hold sysp.
9198         (cpp_make_system_header): Similarly.
9199         (search_from): Similarly.
9200         (_cpp_execute_include): Don't remember where we came from.
9201         * cpphash.h (struct cpp_buffer): Remove return_to_line, sysp.
9202         (struct cpp_reader): Make map const.
9203         (CPP_IN_SYSTEM_HEADER, _cpp_do_file_change): Update.
9204         * cpplib.c (do_line): Update; line maps now hold sysp.
9205         (cpp_push_buffer): Similarly.
9206         (_cpp_do_file_change): Similarly; callback with map instead.
9207         (cpp_get_line_maps): Constify return value.
9208         (_cpp_pop_buffer): Update.
9209         * cpplib.h (struct cpp_file_change): Remove.
9210         (struct cpp_callbacks): Update.
9211         (cpp_get_line_maps): Constify return value.
9212         * cppmacro.c (_cpp_create_definition): Update.
9213         * cppmain.c (struct printer): Constify map.
9214         (maybe_print_line): Similarly.
9215         (print_line): Similarly.  Deduce flags 1 and 2 here.
9216         (cb_file_change): Update.
9217         * line-map.c (free_line_maps): Warn regardless.
9218         (add_line_map): Return pointer to const.  When passed NULL to_file
9219         with LC_LEAVE, use the obvious values for the return point so the
9220         caller doesn't have to figure them out.
9221         (lookup_line): Return pointer to const.
9222         (print_containing_files): Take pointer to const.
9223         * line-map.h (struct line_map): New members reason, sysp.
9224         (add_line_map): Return pointer to const.
9225         (lookup_line): Similarly.
9226         (print_containing_files): Take pointer to const.
9228 2001-08-10  Roman Zippel  <zippel@linux-m68k.org>
9229             Richard Henderson  <rth@redhat.com>
9231         * regmove.c (regmove_optimize): Avoid setting a register twice in
9232         a parallel set.
9234 2001-08-10  Richard Henderson  <rth@redhat.com>
9236         * doc/extend.texi (Arrays and pointers implementation): Document
9237         behavior of pointer/integer conversion.
9239 2001-08-10  Ulrich Weigand  <uweigand@de.ibm.com>
9241         * glimits.h (__LONG_MAX__): Add s390x as 64-bit architecture.
9243 2001-08-10  Richard Henderson  <rth@redhat.com>
9245         * doc/extend.texi (C Implementation): New chapter.
9246         * doc/gcc.texi (Top): Link it in.
9248 2001-08-10  Andrew Cagney  <ac131313@redhat.com>
9250         * doc/install.texi (Specific): Fix CVS merge botch.
9252 2001-08-10  Richard Henderson  <rth@redhat.com>
9254         * config/m68k/m68k.c (m68k_svr3_asm_out_constructor): Protect with
9255         ifdef CTOR_LIST_BEGIN instead of INIT_SECTION_ASM_OP.
9257 2001-08-10  Zack Weinberg  <zackw@stanford.edu>
9259         * calls.c, function.c: Always define PREFERRED_STACK_BOUNDARY
9260         if not already defined.  Remove all #ifdefs on STACK_BOUNDARY;
9261         this macro is now required.
9263         * cselib.c (cselib_process_insn), flow.c (propagate_block),
9264         loop.c (find_and_verify_loops), reload.c (reload): Check
9265         for rtx code of CALL_INSN, not CALL, when deciding if we
9266         need to check for REG_SETJMP note.
9268         * gcse.c (compute_hash_table, compute_store_table): Update
9269         the #ifdef NON_SAVING_SETJMP code to the new REG_SETJMP
9270         logic.
9272         * config/avr/avr.c: Fix typo.
9273         * config/convex/convex.c (expand_movstr): Use adjust_address.
9274         * config/dsp16xx/dsp16xx.c: Define dsp16xx_compare_gen
9275         variable.
9276         * config/dsp16xx/dsp16xx.md: Correct calls to replace_equiv_address.
9277         * config/elxsi/elxsi.c: Include tree.h, expr.h, regs.h, and flags.h.
9278         Fix typo.
9279         * config/elxsi/elxsi.h: Don't define Rmode (typo for Pmode?)
9280         Do define STACK_BOUNDARY.
9281         * config/i370/i370.c: Include expr.h.
9282         * config/i860/sysv3.h, config/i860/sysv4.h, config/m32r/m32r.h,
9283         config/pa/som.h, config/v850/v850.h: Take in_ctors and
9284         in_dtors out of EXTRA_SECTIONS; take CTORS_SECTION_FUNCTION
9285         and DTORS_SECTION_FUNCTION out of EXTRA_SECTION_FUNCTIONS.
9286         * config/m88k/m88k.c: Include c-tree.h after expr.h.
9287         * config/pdp11/pdp11.c: Include expr.h and toplev.h.
9288         * config/romp/romp.c: Include expr.h after tree.h.
9289         Include toplev.h.
9290         (output_fpop): Use xmalloc, not oballoc.
9291         * config/we32k/we32k.c: Include expr.h.
9293 2001-08-10  Kazu Hirata  <kazu@hxi.com>
9295         * config/h8300/h8300.h: Fix formatting.
9297 2001-08-08  Jason Merrill  <jason_merrill@redhat.com>
9299         * c-common.h (RETURN_NULLIFIED_P): Lose.
9300         * c-semantics.c (genrtl_return_stmt): Don't check it.
9302 2001-08-10  Richard Sandiford  <rsandifo@redhat.com>
9304         * config/mips/mips.c (mips_add_large_offset_to_sp): New function.
9305         (mips_annotate_frame_insn): New function.
9306         (mips_emit_frame_related_store): New function.
9307         (save_restore_insns): Don't mark instructions that set up the base
9308         registers as frame-related.  Add REG_FRAME_RELATED_EXPR notes to
9309         the store instructions instead.
9310         (mips_expand_prologue): If the stack size is moved into a temporary
9311         register, do not mark that move as frame-related.  Add a
9312         REG_FRAME_RELATED_EXPR note to the stack adjustment instruction.
9314 2001-08-10  Richard Sandiford  <rsandifo@redhat.com>
9316         * config/mips/mips.c (save_restore_insns): Don't mark the RA's
9317         stack slot as unchanging if current_function_calls_eh_return.
9319 2001-08-10  Richard Sandiford  <rsandifo@redhat.com>
9321         * config/mips/mips.md (reload_incc): Use HARD_REGNO_NREGS to
9322         access the second half of the TFmode scratch operand.
9324 2001-08-10  Anthony Green  <green@redhat.com>
9326         * java/class.c (emit_register_classes): Conditionalize code on
9327         JCR_SECTION_NAME.
9329 2001-08-10  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
9331         * doc/install.texi (Specific, avr): Fix cross-reference to the
9332         main manual to work both for info and HTML versions.
9334 2001-08-09  John David Anglin  <dave@hiauly1.hia.nrc.ca>
9336         * stmt.c (expand_null_return_1): Remove code to generate simple returns
9337         and "use_goto" argument.
9338         (expand_null_return, expand_value_return): Update all callers.
9339         * function.c (expand_function_end): Remove code to generate simple
9340         return.
9341         * config/vax/vax.md (epilogue): New expander for function return.
9342         * doc/md.texi (epilogue): Remove "if defined".
9344 2001-08-09  Zack Weinberg  <zackw@stanford.edu>
9346         * Makefile.in: Partially revert my previous change:
9347         put -DGENERATOR_FILE back in HOST_CFLAGS, take it out
9348         of the hashtab.o and safe-ctype.o rules.
9350 2001-08-09  Richard Henderson  <rth@redhat.com>
9352         * Makefile.in (MAYBE_USE_COLLECT2): Remove; purge all uses.
9353         (USE_COLLECT2): Remove duplicate definition.
9354         * config.gcc (a29k-udi, a29k-wrs-vxworks) [tm_file]: Remove a29k/udi.h.
9355         (use_collect2): Remove dead code.
9356         * configure.in (use_collect2): Remove will_use_collect2 and
9357         maybe_use_collect2; add USE_COLLECT2 to host_xm_defines and xm_defines.
9358         * configure: Rebuild.
9360         * target.h (targetm.asm_out.constructor): New.
9361         (targetm.asm_out.destructor, targetm.have_ctors_dtors): New.
9362         * target-def.h (TARGET_ASM_CONSTRUCTOR): New.
9363         (TARGET_ASM_DESTRUCTOR, TARGET_HAVE_CTORS_DTORS): New.
9364         * varasm.c (in_ctors, in_dtors): New.
9365         (assemble_constructor, assemble_destructor): Remove.
9366         (default_stabs_asm_out_destructor): New.
9367         (default_named_section_asm_out_destructor): New.
9368         (dtors_section, default_dtor_section_asm_out_destructor): New.
9369         (default_stabs_asm_out_constructor): New.
9370         (default_named_section_asm_out_constructor): New.
9371         (ctors_section, default_ctor_section_asm_out_constructor): New.
9372         * output.h: Update declarations.
9373         * c-decl.c (c_expand_body): Use target hooks instead of
9374         assemble_constructor and assemble_destructor.
9375         * profile.c (output_func_start_profiler): Likewise.
9376         * objc/objc-act.c (finish_objc): Likewise.
9377         (build_module_descriptor): Tidy.  Set TREE_PUBLIC properly
9378         for the constructor.
9379         * objc/Make-lang.in (objc-act.o): Depend on TARGET_H.
9381         * crtstuff.c (CTORS_SECTION_ASM_OP): Don't define.
9382         (DTORS_SECTION_ASM_OP): Likewise.
9383         (__CTOR_LIST__): Use attribute section when possible.
9384         (__DTOR_LIST__, __CTOR_END__, __DTOR_END__): Likewise.
9386         * defaults.h (EH_FRAME_SECTION_NAME): Don't depend on
9387         ASM_OUTPUT_CONSTRUCTOR.
9389         * config/darwin.c (machopic_asm_out_constructor): New.
9390         (machopic_asm_out_destructor): New.
9391         * config/darwin-protos.h: Update declarations.
9392         * config/darwin.h (ASM_OUTPUT_CONSTRUCTOR): Remove.
9393         (ASM_OUTPUT_DESTRUCTOR): Remove.
9394         (TARGET_ASM_CONSTRUCTOR, TARGET_ASM_DESTRUCTOR): New.
9395         * config/nextstep.c (nextstep_asm_out_constructor): New.
9396         (nextstep_asm_out_destructor): New.
9397         * config/nextstep.h (ASM_OUTPUT_CONSTRUCTOR): Remove.
9398         (ASM_OUTPUT_DESTRUCTOR): Remove.
9399         (TARGET_ASM_CONSTRUCTOR, TARGET_ASM_DESTRUCTOR): New.
9400         * config/nextstep21.h: Undef TARGET_ASM_*STRUCTOR instead of
9401         ASM_OUTPUT_*STRUCTOR.
9402         * config/i386/aix386ng.h: Likewise.
9404         * config/elfos.h (CTORS_SECTION_ASM_OP, DTORS_SECTION_ASM_OP): Remove.
9405         (EXTRA_SECTIONS, EXTRA_SECTION_FUNCTIONS): No ctors/dtors.
9406         (CTORS_SECTION_FUNCTION, DTORS_SECTION_FUNCTION): Remove.
9407         (ASM_OUTPUT_CONSTRUCTOR, ASM_OUTPUT_DESTRUCTOR): Remove.
9408         * config/lynx.h: Likewise.
9409         * config/netware.h: Likewise.
9410         * config/psos.h: Likewise.
9411         * config/alpha/alpha-interix.h: Likewise.
9412         * config/alpha/elf.h: Likewise.
9413         * config/arc/arc.h: Likewise.
9414         * config/arm/aof.h: Likewise.
9415         * config/arm/coff.h: Likewise.
9416         * config/arm/elf.h: Likewise.
9417         * config/c4x/c4x.h: Likewise.
9418         * config/h8300/h8300.h: Likewise.
9419         * config/i386/cygwin.h: Likewise.
9420         * config/i386/djgpp.h: Likewise.
9421         * config/i386/i386-coff.h: Likewise.
9422         * config/i386/i386-interix.h: Likewise.
9423         * config/i386/sco5.h: Likewise.
9424         * config/i386/vsta.h: Likewise.
9425         * config/i386/win32.h: Likewise.
9426         * config/i960/i960-coff.h: Likewise.
9427         * config/ia64/sysv4.h: Likewise.
9428         * config/m68hc11/m68hc11.h: Likewise.
9429         * config/m68k/coff.h: Likewise.
9430         * config/m68k/mot3300.h: Likewise.
9431         * config/m88k/m88k.h: Likewise.
9432         * config/mcore/mcore-pe.h: Likewise.
9433         * config/mcore/mcore.h: Likewise.
9434         * config/mips/elf.h: Likewise.
9435         * config/mips/elf64.h: Likewise.
9436         * config/mips/iris6.h: Likewise.
9437         * config/pa/pa64-hpux.h: Likewise.
9438         * config/rs6000/sysv4.h: Likewise.
9439         * config/sh/sh.h: Likewise.
9440         * config/sparc/litecoff.h: Likewise.
9442         * config/svr3.h (CTORS_SECTION_ASM_OP): Remove.
9443         (CTORS_SECTION_FUNCTION, DTORS_SECTION_FUNCTION): Remove.
9444         (ASM_OUTPUT_CONSTRUCTOR, ASM_OUTPUT_DESTRUCTOR): Remove.
9445         * config/1750a/1750a.h (ASM_OUTPUT_CONSTRUCTOR): Remove.
9446         (ASM_OUTPUT_DESTRUCTOR): Remove.
9447         * config/a29k/a29k.c: Move include of tree.h.
9448         * config/a29k/udi.h: Delete file.
9449         * config/alpha/alpha.c (vms_asm_out_constructor): New.
9450         (vms_asm_out_destructor): New.
9451         * config/alpha/vms.h (EXTRA_SECTIONS): No ctors/dtors.
9452         (EXTRA_SECTION_FUNCTIONS): Likewise.
9453         (ASM_OUTPUT_CONSTRUCTOR, ASM_OUTPUT_DESTRUCTOR): Remove.
9454         (TARGET_ASM_CONSTRUCTOR, TARGET_ASM_DESTRUCTOR): New.
9455         * config/c4x/c4x.c: Move include of tree.h.
9456         * config/clipper/clipper.c (clix_asm_out_constructor): New.
9457         (clix_asm_out_destructor): New.
9458         * config/clipper/clix.h (ASM_OUTPUT_CONSTRUCTOR): Remove.
9459         (ASM_OUTPUT_DESTRUCTOR): Remove.
9460         (TARGET_ASM_CONSTRUCTOR, TARGET_ASM_DESTRUCTOR): New.
9461         * config/i386/aix386.h (ASM_OUTPUT_CONSTRUCTOR): Remove.
9462         (TARGET_ASM_CONSTRUCTOR): New.
9463         * config/i386/i386.c (ix86_svr3_asm_out_constructor): New.
9464         (sco_asm_out_constructor): New.
9465         * config/i386/sco5.h (TARGET_ASM_CONSTRUCTOR): New.
9466         * config/i386/svr3gas.h: Remove stack grows up code.
9467         Remove code duplicated from i386/sysv3.h.
9468         (TARGET_ASM_CONSTRUCTOR): New.
9469         (ASM_OUTPUT_CONSTRUCTOR, ASM_OUTPUT_DESTRUCTOR): Remove.
9470         (DTORS_SECTION_FUNCTION, CTORS_SECTION_FUNCTION): Remove.
9471         * config/i386/sysv3.h (ASM_OUTPUT_CONSTRUCTOR): Remove.
9472         (TARGET_ASM_CONSTRUCTOR): New.
9473         * config/m68hc11/m68hc11.c (m68hc11_asm_out_constructor): New.
9474         (m68hc11_asm_out_destructor): New.
9475         * config/m68hc11/m68hc11.h (TARGET_ASM_CONSTRUCTOR): New.
9476         (TARGET_ASM_DESTRUCTOR): New.
9477         * config/m68k/auxgas.h: Don't undef ASM_OUTPUT_*STRUCTOR.
9478         * config/m68k/dpx2.h: Properly undef all the bits inherited from
9479         config/svr3.h pertaining to section manipulation.
9480         * config/m68k/dpx2g.h: Remove #if 0 code.
9481         * config/m68k/m68k.c (m68k_svr3_asm_out_constructor): New.
9482         * config/m68k/tower-as.h (ASM_OUTPUT_SOURCE_LINE): Fix typo.
9483         (ASM_OUTPUT_CONSTRUCTOR): Remove.
9484         (TARGET_ASM_CONSTRUCTOR): New.
9485         * config/m88k/m88k.c (m88k_layout_frame): Don't use assign_stack_local.
9486         (m88k_svr3_asm_out_constructor): New.
9487         (m88k_svr3_asm_out_destructor): New.
9488         * config/m88k/sysv3.h (ASM_OUTPUT_CONSTRUCTOR): Remove.
9489         (ASM_OUTPUT_DESTRUCTOR): Remove.
9490         (TARGET_ASM_CONSTRUCTOR, TARGET_ASM_DESTRUCTOR): New.
9491         * config/mips/mips.h: Remove #if 0 ASM_OUTPUT_*STRUCTOR code.
9492         * config/rs6000/aix.h: Likewise.
9493         * config/mips/rtems64.h: Don't undef removed constructor related bits.
9494         * config/mips/vxworks.h: Likewise.
9495         * config/rs6000/lynx.h: Likewise.
9496         * config/sh/elf.h: Likewise.
9497         * config/rs6000/sysv4.h (CTORS_SECTION_ASM_OP): New.
9498         (DTORS_SECTION_ASM_OP): New.
9499         * config/sparc/linux64.h (ASM_OUTPUT_CONSTRUCTOR): Remove.
9500         (ASM_OUTPUT_DESTRUCTOR): Remove.
9501         * config/sparc/sol2-sld-64.h: Likewise.
9502         * config/vax/vax.c (vms_asm_out_constructor): New.
9503         (vms_asm_out_destructor): New.
9504         * config/vax/vms.h (ASM_OUTPUT_CONSTRUCTOR): Remove.
9505         (ASM_OUTPUT_DESTRUCTOR): Remove.
9506         (TARGET_ASM_CONSTRUCTOR, TARGET_ASM_DESTRUCTOR): New.
9508         * doc/tm.texi (@node Initialization): Update.
9510 2001-08-09  Richard Henderson  <rth@redhat.com>
9512         * config/alpha/crtbegin.asm (__JCR_LIST__): New.
9513         (__do_global_dtors_aux): Use gp-relative static data to avoid
9514         one dynamic relocation.
9515         (__do_frame_setup): Register Java classes.
9516         * config/alpha/crtend.asm (__JCR_END__): New.
9518 2001-08-09  Zack Weinberg  <zackw@stanford.edu>
9520         * Makefile.in (HOST_CFLAGS): Take out -DGENERATOR_FILE.
9521         (CONFIG_H, TCONFIG_H, TM_P_H): Update.
9522         (GEN, STAGESTUFF): Add new files.
9523         (insn-constants.h, s-constants, tm-preds.h, s-preds,
9524         genconstants, genpreds, genconstants.o, genpreds.o): New rules.
9525         (hashtab.o, safe-ctype.o): Add -DGENERATOR_FILE.
9526         * mkconfig.sh: Include tm-preds.h in tm_p.h; insn-constants.h
9527         as well as insn-codes.h and insn-flags.h in config.h; and no
9528         extra headers in tconfig.h and hconfig.h.
9530         * gencodes.c: Eliminate code to generate predicate declarations
9531         or #defines for md-file constants.
9532         * genconstants.c, genpreds.c: New files.
9534         * i386.md: Re-order guard expressions such that TARGET_64BIT
9535         comes first, when this permits better optimization.  Add
9536         TARGET_64BIT to more x86-64 patterns.  Add comment explaining
9537         why this is desirable.
9539 2001-08-09  Jakub Jelinek  <jakub@redhat.com>
9541         * config/ia64/fde-glibc.c: Require glibc 2.2.4+ headers.
9542         (find_fde_for_dso): Remove.
9543         (_Unwind_IteratePhdrCallback): New.
9544         (_Unwind_FindTableEntry): Use dl_iterate_phdr.
9545         * config/ia64/crtbegin.asm (__ia64_app_header): Remove.
9547 Thu Aug  9 11:30:20 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
9549         * expr.c (emit_single_push_insn): Only exists ifdef PUSH_ROUNDING.
9550         (move_by_pieces_1): If would call it, abort if no PUSH_ROUNDING.
9552 2001-08-09  Graham Stott  <grahams@redhat.com>
9554         * sched-vis.c (MAX_VISUAL_NO_UNIT): Define.
9555         (vis_no_unit): Use it.
9556         (visualize_no_unit): Add the insn only if room exists.
9558 2001-08-09  Graham Stott  <grahams@redhat.com>
9560         * predict.c (estimate_probability): Replace magic numbers with
9561         appropriate enumeration.
9563 2001-08-09  Graham Stott  <grahams@redhat.com>
9565         * cppexp.c (EXTRACT_PRIO): Uppercase and parenthsize macro
9566         parameter.
9567         (EXTRACT_FLAGS): Likewise.
9569 2001-08-09  Aldy Hernandez  <aldyh@redhat.com>
9571         * config/mips/mips.c    (mips_legitimate_address_p): Check for
9572         CONST_INT in last patch.
9574 2001-08-08  Anthony Green  <green@redhat.com>
9576         * java/class.c (emit_register_classes): Use assemble_jcr if
9577         possible.  Keep the original mechanism as a fallback.
9578         * defaults.h (JCR_SECTION_NAME): Define if we have named section
9579         and weak symbol support.
9580         * crtstuff.c (__JCR_LIST__): Define.
9581         (__JCR_END__): Define.
9582         (_Jv_RegiserClasses): Define weak symbol if possible.
9583         (__do_global_ctors_aux): Register classes for ELF targets with
9584         weak symbol support.
9586 2001-08-08  Kazu Hirata  <kazu@hxi.com>
9588         * dbxout.c: Fix comment formatting.
9589         * dependence.c: Likewise.
9590         * df.c: Likewise.
9591         * diagnostic.c: Likewise.
9592         * dominance.c: Likewise.
9593         * doprint.c: Likewise.
9594         * dwarf2out.c: Likewise.
9595         * dwarfout.c: Likewise.
9596         * emit-rtl.c: Likewise.
9597         * except.c: Likewise.
9598         * explow.c: Likewise.
9599         * expmed.c: Likewise.
9600         * expr.c: Likewise.
9601         * flow.c: Likewise.
9602         * fold-const.c: Likewise.
9603         * function.c: Likewise.
9605 2001-08-08  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
9607         * global.c (retry_global_alloc): Avoid shadowing allocno.
9609 2001-08-08  Mark Mitchell  <mark@codesourcery.com>
9611         * except.c (remove_fixup_regions): Fix typo.
9613 2001-08-08  Jan van Male <jan.vanmale@fenk.wau.nl>
9615         * emit-rtl.c (adjust_address, adjust_address_nv): Cast offset to
9616         unsigned HOST_WIDE_INT to avoid warning.
9617         * final.c (final): Cast INSN_UID to unsigned to avoid warning.
9618         * flow.c (set_block_for_new_insns): Likewise.
9620 Wed Aug  8 21:08:14 CEST 2001  Jan Hubicka  <jh@suse.cz>
9622         * sibcall.c (return_value_pseudo): New static variable.
9623         (skip_copy_to_return_value): Handle return_value_pseudo.
9624         (call_ends_block_p): Ensure that return_value_pseudo is set.
9625         (optimize_sibling_and_tail_recursive_call): Discover the
9626         load of pseudo return value in alternate exit block.
9628 Wed Aug  8 21:06:43 CEST 2001  Jan Hubicka  <jh@suse.cz>
9630         * calls.c (ECF_ALWAYS_RETURN): New constant.
9631         (emit_call_1): Add REG_ALWAYS_RETURN note if needed.
9632         (expand_call): Use LCF_ALWAYS_RETURN for __bb_fork_func.
9633         (emit_library_call_value_1): Handle LCT_ALWAYS_RETRUN.
9634         * flow.c (need_fake_edge_p): Handle REG_ALWAYS_RETURN.
9635         * rtl.c (reg_note_name): New name.
9636         * rtl.h (enum reg_note): Add REG_ALWAYS_RETURN.
9638 2001-08-07  Aldy Hernandez  <aldyh@redhat.com>
9640         * config/mips/mips.c (mips_legitimate_address_p): Limit "la" addresses.
9642 2001-08-08  Jason Merrill  <jason_merrill@redhat.com>
9644         * alias.c (get_alias_set): Return a previously calculated
9645         alias set for a VAR_DECL.
9646         * function.c (gen_mem_addressof): Calculate the alias set before
9647         touching the RTL.
9649 Wed Aug  8 18:44:37 CEST 2001  Jan Hubicka  <jh@suse.cz>
9651         * predict.def: Set hitrates according our experimental run.
9653 Wed Aug  8 18:01:58 CEST 2001  Jan Hubicka  <jh@suse.cz>
9655         * i386.h (HARD_REGNO_RENAME_OK): New macro.
9657 2001-08-08  H.J. Lu <hjl@gnu.org>
9659         * config/mips/mips.c (mips_unique_section): New. Copied from
9660         config/mips/elf.h.
9662         * config/mips/mips-protos.h (mips_unique_section): New
9663         prototype.
9665         * config/mips/elf.h (UNIQUE_SECTION): Use mips_unique_section.
9667         * config/mips/little.h: New. Generic little endian mips
9668         targets. Only mips*-*-linux* is converted to use it so far.
9670         * config/mips/linux.h: Include "gofast.h" and "mips/mips.h".
9671         (WCHAR_TYPE): Defined
9672         (WCHAR_TYPE_SIZE): Likewise.
9673         (INIT_SUBTARGET_OPTABS): Likewise.
9674         (BSS_SECTION_ASM_OP): Likewise.
9675         (SBSS_SECTION_ASM_OP): Likewise.
9676         (ASM_OUTPUT_ALIGNED_BSS): Likewise.
9677         (ASM_DECLARE_OBJECT_NAME): Likewise.
9678         (UNIQUE_SECTION): Likewise.
9679         (EXTRA_SECTIONS): Likewise.
9680         (ASM_OUTPUT_CONSTRUCTOR): Likewise.
9681         (ASM_OUTPUT_DESTRUCTOR): Likewise.
9682         (ASM_OUTPUT_DEF): Likewise.
9683         (HANDLE_SYSV_PRAGMA): Removed.
9684         (NO_IMPLICIT_EXTERN_C): Likewise.
9685         (TARGET_MEM_FUNCTIONS): Likewise.
9686         (STARTFILE_SPEC): Likewise.
9687         (ENDFILE_SPEC): Likewise.
9688         (LIB_SPEC): Likewise.
9689         (INVOKE__main): Likewise.
9690         (CTOR_LIST_BEGIN): Likewise.
9691         (CTOR_LIST_END): Likewise.
9692         (DTOR_LIST_BEGIN): Likewise.
9693         (DTOR_LIST_END): Likewise.
9694         (SET_ASM_OP): Likewise.
9695         (ASM_OUTPUT_SOURCE_LINE): Likewise.
9696         (ASM_OUTPUT_DEF): Likewise.
9697         (ASM_OUTPUT_IDENT): Likewise.
9699         * config/mips/mips.h (ASM_SPEC): Undefine before define.
9700         (CPLUSPLUS_CPP_SPEC): Likewise.
9701         (ASM_APP_ON) Redefine only if not defined.
9702         (ASM_APP_OFF): Likewise.
9703         (ASM_OUTPUT_SOURCE_LINE): Likewise.
9704         (ASM_OUTPUT_IDENT): Likewise.
9706         * config.gcc: Update tm_file for Linux/mips.
9708 2001-08-08  Bernd Schmidt  <bernds@redhat.com>
9710         * cselib.c (cselib_record_sets): If insn is predicated, turn
9711         sources into IF_THEN_ELSEs.
9713         * config/ia64/ia64.md (cond_opsi2_internal, cond_opsi2_internal_b):
9714         Turn into define_insn_and_split.
9716         * sched-deps.c: Include "cselib.h".
9717         (add_insn_mem_dependence, sched_analyze_1, sched_analyze_2):
9718         Use cselib to turn memory addresses into VALUEs.
9719         (sched_analyze): Call cselib_init/cselib_finish if necessary.
9720         * sched-int.h (struct sched_info): New member USE_CSELIB.
9721         * sched-ebb.c (ebb_sched_info): Initialize it.
9722         * sched-rgn.c (rgn_sched_info): Likewise.
9723         * Makefile.in (sched-deps.o): Update dependencies.
9725         * cselib.h (cselib_subst_to_values): Declare.
9726         * cselib.c (cselib_subst_to_values): No longer static.  Allow MEMs
9727         that have no value and autoincs to be handled by generating a new
9728         dummy value.
9730 2001-08-08  Graham Stott  <grahams@redhat.com>
9732         * final.c (shorten_branches): Update the INSN_ADDRESSES of insns
9733         within fixed length SEQUENCE.
9735 2001-08-08  Graham Stott  <grahams@redhat.com>
9737         * diagnostic.h (diagnostic_format_decoder): Parenthesize macro parameter.
9738         (diagnostic_prefixing_rule): Likewise.
9739         (diagnostic_line_cutoff): Likewise.
9740         (diagnostic_kind_count): Likewise.
9742 2001-08-08  Graham Stott  <grahams@redhat.com>
9744         * alias.c (find_base_decl): Delete redundent assignment.
9746 2001-08-08  Graham Stott  <grahams@redhat.com>
9748         * dependence.c (INDEX_LIMIT_CHECK): Uppercase macro parameter.
9749         (abs): Uppercase and paranthesize macro parameter.
9750         (MEM_DEPENDENCY): Add whitespace.
9752 2001-08-08  Graham Stott  <grahams@redhat.com>
9754         * config/mips/mips.c (mips_legitimate_address_p): Fix enable checking
9755         failure check for CONST_INT
9757 2001-08-08  Graham Stott  <grahams@redhat.com>
9759         * flow.c (back_edge_of_syntactic_loop_p): Add whitespace.
9760         (libcall_dead_p): Likewise.
9762         (mark_used_regs): Constify fmt.
9763         (find_use_as_address): Likewise.
9765 2001-08-08  Graham Stott  <grahams@redhat.com>
9767         * c-typeck.c (RESTORE_SPELLING_DEPTH): Uppercase and parenthesize macro
9768          parameter.
9770 2001-08-08  Graham Stott  <grahams@redhat.com>
9772         * combine.c (combine_simplify_rtx): Update comment and
9773         remove erroneous test.
9775 2001-08-07  Neil Booth  <neil@daikokuya.demon.co.uk>
9777         * cppinit.c (cpp_finish): Pop the final buffer without comment.
9778         * cpplex.c (_cpp_lex_token): Don't pop the final buffer; and
9779         take care to avoid multiple no-newline at EOF warnings in that
9780         case.
9782 Tue Aug  7 22:18:06 CEST 2001  Jan Hubicka  <jh@suse.cz>
9784         * calls.c (expand_call): Do not emit INSN_SETJMP note.
9785         (emit_library_call_value_1): Likewise.
9786         (emit_call_1): Emit REG_SETJMP note.
9787         * cse.c (cse_end_of_basic_block): Use REG_SETJMP instead
9788         of INSN_SETJMP
9789         * cselib.c (cselib_process_insn): Likewise.
9790         * flow.c (propagate_block): Likewise.
9791         * loop.c (find_and_verify_loops): Likewise.
9792         * reload.c (find_equiv_regs): Likewise.
9793         * reload1.c (reload): Likewise.
9794         * resource.c (mark_referenced_resources,
9795         mark_set_resources): Likewise.
9796         * sched-deps (sched_analyze_insn, sched_analyze): Likewise.
9797         * final.c (final_scan_insn): Remove NOTE_INSN_SETJMP.
9798         * haifa-sched.c (unlink_other_notes): Likewise.
9799         (reemit_notes): Likewise.
9800         * sched-ebb.c (sched_ebb): Likewise.
9801         * sched-rgc.c (sched_region): Likewise.
9802         * rtl.c (note_insn_name): Likewise.
9803         (reg_note_name): Add REG_SETJMP
9804         * rtl.h (reg_note): Add REG_SETJMP.
9805         (insn_note): Remove NOTE_INSN_SETJMP.
9807         * profile.c (branch_prob): Add fake edges for setjmp.
9809 2001-08-07  Daniel Jacobowitz  <drow@mvista.com>
9811         * config.gcc: Quote target_cpu_default2 correctly for
9812         powerpc*-*-* targets.
9814 2001-08-07  Neil Booth  <neil@daikokuya.demon.co.uk>
9816         * cpplib.h, line-map.h: Update comments.
9817         * cppmain.c (printer_init): Move inline.
9818         (maybe_print_line, print_line): Take a map pointer.
9819         (cb_ident, cb_define, cb_undef, cb_include, cb_def_pragma): Update.
9820         (cb_file_change): Don't use prior value of print.map.
9822 2001-08-07  David Edelsohn  <edelsohn@gnu.org>
9824         * doc/install.texi: Document fine-grained multilib configuration.
9826 Tue Aug  7 16:52:54 CEST 2001  Jan Hubicka  <jh@suse.cz>
9828         * rtlanal.c (find_first_parameter_load): Call note_stores
9829         only on the instructions.
9831 Tue Aug  7 14:56:16 CEST 2001  Jan Hubicka  <jh@suse.cz>
9833         * alias.c (nonlocal_mentioned_p):
9834         Rename CONST_CALL_P to CONST_OR_PURE_CALL_P
9835         * calls.c (emit_call_1): Likewise.
9836         * cse.c (cse_insn, invalidate_skipped_block): Likewise.
9837         * cselib.c (cselib_process_insn): Likewise.
9838         * df.c (df_insns_modify): Likewise.
9839         * flow.c (need_fake_edge_p): Likewise.
9840         (propagate_one_insn): Likewise.
9841         * haifa-sched.c (reemit_notes): Likewise.
9842         * integrate.c (copy_insn_list): Likewise.
9843         * jump.c (delete_prior_computation): Likewise.
9844         * local-alloc.c (validate_equiv_mem): Likewise.
9845         * loop.c (scan_loop): Likewise.
9846         * predict.c (estimate_probability): Likewise.
9847         * reload.c (reload): Likewise.
9848         * sched-deps (sched_analyze): Likewise.
9849         * rtl.h (CONST_CALL_P): rename to CONST_OR_PURE_CALL_P.
9850         * gcse.c (compute_hash_table): Likewise.
9851         (mark_call): Likewise.
9852         (store_killed_in_insn): Likewise.
9854 2001-08-07  Jason Merrill  <jason_merrill@redhat.com>
9856         * c-semantics.c (make_rtl_for_local_static): Use DECL_RTL_SET_P.
9858 2001-08-06  Richard Henderson  <rth@redhat.com>
9860         * varasm.c (assemble_gc_entry): Remove.
9861         * output.h: Likewise.
9863 2001-08-06  Richard Henderson  <rth@redhat.com>
9865         * varasm.c (assemble_constructor): Take a symbol_ref and a
9866         priority instead of a bare string.  Move priority handling
9867         here from cp/decl2.c.
9868         * output.h: Update decls.
9870         * c-decl.c (c_expand_body): Update calls to assemble_constructor
9871         and assemble_destructor.
9872         * profile.c (output_func_start_profiler): Likewise.
9873         * objc/objc-act.c (finish_objc): Likewise.
9874         (build_module_descriptor): Return the symbol not the symbol name.
9876 2001-08-06  David Edelsohn  <edelsohn@gnu.org>
9878         * config/rs6000/darwin.h (DOUBLE_INT_ASM_OP): Add whitespace.
9879         * config/rs6000/linux64.h (RS6000_MCOUNT): Define.
9880         ({SAVE,RESTORE}_FP_{PREFFIX,SUFFIX}): Define.
9881         * config/rs6000/rs6000.h (ASM_OUTPUT_DOUBLE_INT): Remove whitespace.
9882         * config/rs6000/sysv4.h (DOUBLE_INT_ASM_OP): Add whitespace.
9883         * config/rs6000/xcoff.h (DOUBLE_INT_ASM_OP): Add whitespace.
9885 2001-08-06  Neil Booth  <neil@daikokuya.demon.co.uk>
9887         * cpperror.c (print_containing_files): Moved to line-map.c.
9888         (print_location): line-map.c handles re-listing or otherwise.
9889         * cpphash.h (struct lexer_state): Remove next_bol.
9890         (struct cpp_buffer): Remove include_stack_listed.
9891         * cpplib.c (do_line, cpp_push_buffer, _cpp_pop_buffer):
9892         Remove faked buffer handling.
9893         (_cpp_do_file_change): Tweak.
9894         * cpplib.h (enum cpp_buffer_type): Remove BUF_FAKE.
9895         * cppmain.c (struct printer): Remove filename.
9896         (print_line, cb_file_change): Update accordingly.
9897         * line-map.c: Include intl.h.
9898         (init_line_maps): Initialize last_listed.
9899         (free_line_maps): Sanity check, warn if ENABLED_CHECKING.
9900         (add_line_map): Sanity check inputs, warn if ENABLED_CHECKING.
9901         (print_containing_files): New.
9902         * line-map.h (struct line_maps): New member last_listed.
9903         (print_containing_files, INCLUDED_FROM): New.
9904         * Makefile.in: Update.
9905         * po/POTFILES.in: Add line-map.c.
9907 2001-08-06  Richard Henderson  <rth@redhat.com>
9909         * except.c (convert_from_eh_region_ranges_1): Never mark
9910         USE or CLOBBER insns as throwing.
9912         * expr.c (store_constructor): Don't clobber memory targets.
9914 2001-08-06  Andreas Jaeger  <aj@suse.de>
9916         * profile.c (branch_prob): Remove unused variable insn.
9918         * Makefile.in (local-alloc.o): Add dependency on except.h.
9920         * local-alloc.c: Include except.h for can_throw_internal prototype.
9922 2001-08-06  Richard Henderson  <rth@redhat.com>
9924         * config/i386/i386.h (FORCE_PREFERRED_STACK_BOUNDARY_IN_MAIN): New.
9925         * function.c (expand_main_function): Implement it.
9926         * doc/tm.texi: Document it.
9928 2001-08-06  Stan Shebs  <shebs@apple.com>
9930         * doc/install.texi: Document powerpc-*-darwin* details.
9932 2001-08-06  Daniel Berlin  <dan@cgsoftware.com>
9934         * config/rs6000/aix.h (CPP_CPU_SPEC): Move back to rs6000.h
9935         (ASM_CPU_SPEC): Move back to rs6000.h
9936         #undef CPP_DEFAULT_SPEC and ASM_DEFAULT_SPEC before redefining them.
9938         * config/rs6000/darwin.h (DOUBLE_INT_ASM_OP): New macro.
9940         * config/rs6000/linux.h: Remove vtable thunks stuff we accidently
9941         readded.
9943         * config/rs6000/linux64.h: Ditto.
9945         * config/rs6000/rs6000.h: Move CPP_CPU_SPEC and ASM_CPU_SPEC back
9946         to here. Define default ASM_DEFAULT_SPEC and CPP_DEFAULT SPEC to
9947         nothing.
9949         Remove accidently readded definitions of FUNCTION_PROLOGUE,
9950         FUNCTION_EPILOGUE,  ASM_OPEN_PAREN, ASM_CLOSE_PAREN
9952         * config/rs6000/sysv4.h: Move CPP_CPU_SPEC and ASM_CPU_SPEC back
9953         to rs6000.h
9955 2001-08-05  Richard Henderson  <rth@redhat.com>
9957         * local-alloc.c (update_equiv_regs): Do not move insns that
9958         can throw.
9960 2001-08-05  Jan Hubicka  <jh@suse.cz>
9962         * Makefile.in (reload1.o): Add dedendancy on except.h
9963         * basic-block.h (purge_all_dead_edges, purge_dead_edges): Update
9964         prototypes.
9965         * flow.c (purge_dead_edges, purge_all_dead_edges): Return bool
9966         indicating wehther edges has been cleaned up.
9967         * reload1.c: Inlucde except.h
9968         (fixup_abnormal_edges): Accept deleted insns.
9969         * toplev.c (rest_of_compilation): Purge dead edges unconditionally
9970         after combine.
9972 2001-08-06  Neil Booth  <neil@daikokuya.demon.co.uk>
9974         * cpplib.c (do_line): Correct line number after pop_buffer.
9976 2001-08-05  Neil Booth  <neil@daikokuya.demon.co.uk>
9978         PR preprocessor/3824
9979         * line-map.c: Update comments.
9980         * line-map.h: Update comments.
9981         * tradcif.y: Don't consider large numbers unsigned.
9983 2001-08-05  Neil Booth  <neil@daikokuya.demon.co.uk>
9985         PR preprocessor/3081
9986         * c-lex.c (map): New.
9987         (cb_file_change): Update map and use it.
9988         (cb_def_pragma, cb_define, cb_undef): Use map and line.
9989         (c_lex): Update to use map.
9990         * cpperror.c (print_location): Move to using logical line numbers.
9991         * cppfiles.c (stack_include_file): Update for new _cpp_do_file_change.
9992         (cpp_make_system_header): Similarly.
9993         (_cpp_execute_include): Stop line numbering hacks.  Store the
9994         line we will return to.
9995         * cpphash.h (CPP_BUF_LINE): Remove.
9996         (struct cpp_buffer): Remove lineno and pseudo_newlines.
9997         Add map and return_to_line.
9998         (_cpp_do_file_change): Update.
9999         * cppinit.c (cpp_start_read): Update line kludge.
10000         * cpplex.c (handle_newline): Don't update lineno and pseudo_newlines.
10001         (trigraph_ok): Use logical line numbers for diagnostics.
10002         (skip_block_comment): Likewise.
10003         (skip_whitespace): Likewise.
10004         (skip_line_comment): Use pfile->line instead.
10005         (_cpp_lex_token): Update to use logical line numbering exclusively.
10006         Handle BOL locally.  Accept new lines in directives, but keep
10007         pfile->line decremented.  Diagnostics use logical lines.  Update
10008         directive handling.
10009         * cpplib.c (SEEN_EOL): New.
10010         (skip_rest_of_line, check_eol): Use it.
10011         (end_directive): Increase line number when accepting the newline
10012         at the end of a directive.
10013         (run_directive): Simplify.
10014         (do_line): Bad LC_LEAVEs become LC_RENAMEs.  Update.
10015         (_cpp_do_file_change): Update to take buffer line number as an
10016         argument, and store the current map in the cpp_reader.  Remove
10017         line number kludges.
10018         (_cpp_do__Pragma): Restore output position after a _Pragma.
10019         (cpp_push_buffer): Don't set output line or lineno.
10020         (_cpp_pop_buffer): Transfer more info from a faked buffer.
10021         Remove line kludge.  Set output_line.
10022         * cppmacro.c (builtin_macro): Update handling of __LINE__.
10023         (parse_arg): Use logical lines.
10024         (save_lookahead_token): Save EOFs too now.
10025         * cppmain.c (struct printer): Fix comments.
10026         (printer_init): Simplify, let caller do errors.
10027         (scan_translation_unit, check_multiline_token, dump_macro): Update.
10028         (maybe_print_line): Simplify.
10029         (print_line): Don't print a linemarker if -P.
10030         (cb_define, cb_undef, cb_def_pragma, cb_ident, cb_include): Update.
10031         (cb_file_change): Simplify.
10032         * line-map.h (LAST_SOURCE_LINE): Fix.
10033         (CURRENT_LINE_MAP): New.
10035 2001-08-05  Bernd Schmidt  <bernds@redhat.com>
10037         * doloop.c (doloop_modify_runtime): Properly compute number of
10038         iterations if loop was unrolled.
10040         * alias.c (rtx_equal_for_memref_p): VALUEs are only identical
10041         if their CSELIB_VAL_PTRs are.
10043         * config/ia64/ia64.c (struct spill_fill_data): New member prev_insn.
10044         (setup_spill_pointers): Initialize it.
10045         (spill_restore_mem): Set it.
10046         (do_spill, do_restore): Use it to add REG_INC note.
10047         * config/ia64/ia64.md (movti_internal): Add REG_INC notes as needed.
10049         * config/ia64/ia64.c (ia64_sched_reorder): Defer scheduling of
10050         asms if other insns are available.
10052         * config/ia64/ia64.c (condop_operator): New predicate.
10053         * config/ia64/ia64.h (PREDICATE_CODES): Add it.
10054         * config/ia64/ia64.md (cond_opsi2_internal and splitters): New
10055         patterns.
10057         * expr.c (expand_expr, case COND_EXPR): Prefer working with a
10058         temporary register than directly using a MEM.
10060 2001-08-04  Hans-Peter Nilsson  <hp@bitrange.com>
10062         * config/sh/sh.c (sh_asm_named_section): Fix typo in align
10063         parameter in last change.
10065 2001-08-04  Zack Weinberg  <zackw@panix.com>
10067         * sparc.md: Don't use #if inside C test expression.
10069 2001-08-04  Richard Henderson  <rth@redhat.com>
10071         * i386.c: Revert 07-30 ix86_output_main_function_alignment_hack.
10073 2001-08-04  Neil Booth  <neil@daikokuya.demon.co.uk>
10075         * cpphash.h (struct cpp_reader): New member directive_line.
10076         * cpplib.h (struct cpp_callbacks): Update prototypes of callbacks.
10077         * cpplib.c (do_define, do_undef, do_ident, do_include_common,
10078         do_pragma): Pass line to callbacks.
10079         (start_directive): Record line of directive.
10080         * cppmain.c (cb_ident, cb_define, cb_undef, cb_def_pragma,
10081         cb_include): Similarly.
10082         * c-lex.c (cb_ident, cb_define, cb_undef, cb_def_pragma):
10083         Similarly.
10085 2001-08-04  Hans-Peter Nilsson  <hp@bitrange.com>
10087         * config/d30v/d30v.h: Fix typo in start of UNIQUE_SECTION
10088         comment.
10090 Sat Aug  4 13:51:36 CEST 2001  Jan Hubicka  <jh@suse.cz>
10092         * loop.c (try_copy_prop); Kill invalidated REG_EQUAL notes.
10094         * reload1.c (fixup_abnormal_edges): New static function.
10095         (reload): Use it.
10097         * flow.c (need_fake_edge_p): New function.
10098         (flow_call_edges_add): Fix handling of noreturn and sibling calls;
10099         avoid call insn to be very last insn in the insn stream.
10101         * profile.c (branch_prob): Call flow_call_edges_add instead of
10102         doing that by hand; cleanup cfg to re-merge basic blocks once
10103         we are done.
10105 2001-08-04  Neil Booth  <neil@cat.daikokuya.demon.co.uk>
10107         * Makefile.in (CPPLIB_H): New, so that dependencies on cpplib.h
10108         are also on line-map.h.
10109         * cppfiles.c (stack_include_file): Update.
10110         * cpphash.h (struct cpp_buffer): New member return_at_eof.
10111         (_cpp_pop_buffer): New.
10112         * cppinit.c (cpp_destroy, cpp_finish): Update.
10113         (do_includes): Mark each buffer to return at EOF.
10114         * cpplex.c (_cpp_lex_token): Pop buffers at EOF.  Continue or
10115         return as requested.
10116         * cpplib.c (run_directive, do_line, cpp_push_buffer): Update.
10117         (cpp_pop_buffer): Rename _cpp_pop_buffer.  Stop skipping.
10118         * cpplib.h (cpp_pop_buffer): Remove.
10119         (cpp_scan_buffer_nooutput): Rename cpp_scan_nooutput.
10120         * cppmacro.c (cpp_scan_buffer_nooutput): Similarly.  No need to pop
10121         buffers.
10122         * cppmain.c (scan_buffer): Rename scan_translation_unit.  No need
10123         to pop buffers.
10124         (do_preprocessing): Update.
10125         * fix-header.c (read_scan_file): Update.  No need to pop buffers.
10126         * c-parse.in (_yylex): Similarly.
10127         * scan-decls.c (scan_decls): Similarly.
10128         * line-map.h: Update comments.
10130         * objc/Make-lang.in (objc-act.o): Update dependencies.
10132 2001-08-04  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
10134         * config/m68hc11/m68hc11.md ("cmphi_1", "cmpqi_1"): Allow memory
10135         and soft register for operand 0.
10136         ("cmphi_z_used", "cmpqi_z_used"): Allow memory for operand 0.
10138 2001-08-04  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
10140         * config/m68hc11/m68hc11.md ("bitcmpqi"): Allow memory and soft
10141         register for operand 0.
10142         ("bitcmpqi_z_used"): Allow memory for operand 0.
10143         (split "bitcmpqi"): New split to handle address reg as operand 1.
10145 2001-08-04  Andreas Jaeger  <aj@suse.de>
10147         * gcse.c: Revert Daniel's last patch.
10149 2001-08-03  Zack Weinberg  <zackw@stanford.edu>
10151         * sparc-protos.h: Add prototypes for fp_zero_operand and
10152         reg_or_0_operand.
10153         * sh-protos.h: Add prototype for fpul_operand.
10155 2001-08-04  Hans-Peter Nilsson  <hp@bitrange.com>
10157         * doc/extend.texi (Other Builtins): Fix typo in last change.
10159 2001-08-03  Richard Henderson  <rth@redhat.com>
10161         * target.h (gcc_target): Add asm_out.named_section,
10162         section_type_flags, have_named_sections.
10163         * target-def.h (TARGET_ASM_NAMED_SECTION): New.
10164         (TARGET_HAVE_NAMED_SECTIONS): New.
10165         (TARGET_SECTION_TYPE_FLAGS): New.
10167         * Makefile.in (toplev.o): Depend on TARGET_H.
10168         (varasm.o, dbxout.o): Likewise.
10169         * c-common.c (decl_attributes): Check targetm.have_named_sections
10170         instead of ifdef ASM_OUTPUT_SECTION_NAME.
10171         * dbxout.c (dbxout_function_decl): Likewise.
10172         (dbxout_function_end): Likewise.
10173         * toplev.c (compile_file): Likewise.
10174         * varasm.c (exception_section): Likewise.
10175         * cp/decl2.c (finish_objects): Likewise.
10177         * defaults.h (EH_FRAME_SECTION): Remove.
10178         (EH_FRAME_SECTION_ASM_OP): Remove.
10179         (EH_FRAME_SECTION_NAME): New.
10180         (UNIQUE_SECTION): Don't depend on ASM_OUTPUT_SECTION_NAME.
10181         (UNIQUE_SECTION_P): Remove.
10182         * dwarf2out.c (SECTION_FORMAT): Remove.
10183         (ASM_OUTPUT_SECTION): Remove.
10184         (output_call_frame_info): Use named_section_flags.
10185         (output_comp_unit, dwarf2out_start_source_file): Likewise.
10186         (dwarf2out_end_source_file, dwarf2out_define): Likewise.
10187         (dwarf2out_undef, dwarf2out_init, dwarf2out_finish): Likewise.
10188         * varasm.c (in_eh_frame, eh_frame_section): Remove.
10189         (named_section_flags): New.
10190         (named_section): Use it and targetm.section_type_flags.
10191         (resolve_unique_section): New.
10192         (assemble_start_function): Use it.
10193         (asm_emit_uninitialised, assemble_variable): Likewise.
10194         (default_section_type_flags): New.
10195         (default_no_named_section, default_elf_asm_named_section): New.
10196         (default_coff_asm_named_section, default_pe_asm_named_section): New.
10197         * output.h: Update varasm.c decls.
10198         (SECTION_*): New flags.
10200         * crtstuff.c: Check EH_FRAME_SECTION_NAME not EH_FRAME_SECTION_ASM_OP.
10201         (__EH_FRAME_BEGIN__, __FRAME_END__): Use attribute section.
10203         * config/elfos.h (UNIQUE_SECTION_P): Remove.
10204         * config/alpha/elf.h, config/arm/linux-elf.h: Likewise.
10205         * config/arm/pe.h, config/arm/unknown-elf.h: Likewise.
10206         * config/i386/cygwin.h, config/i386/djgpp.h: Likewise.
10207         * config/i386/i386-interix.h, config/i386/win32.h: Likewise.
10208         * config/ia64/sysv4.h, config/mcore/mcore-pe.h: Likewise.
10209         * config/mips/elf.h, config/mips/elf64.h: Likewise.
10210         * config/mips/iris6gld.h, config/mips/mips.h: Likewise.
10211         * config/pa/pa64-hpux.h,
10213         * config/elfos.h (ASM_OUTPUT_SECTION_NAME): Remove.
10214         (TARGET_ASM_NAMED_SECTION): New.
10215         * config/psos.h, config/a29k/a29k.h, config/alpha/elf.h: Likewise.
10216         * config/alpha/vms.h, config/arm/coff.h: Likewise.
10217         * config/arm/conix-elf.h, config/arm/elf.h: Likewise.
10218         * config/arm/linux-elf.h, config/arm/pe.h: Likewise.
10219         * config/arm/unknown-elf.h, config/avr/avr.h: Likewise.
10220         * config/c4x/c4x.h, config/h8300/h8300.h: Likewise.
10221         * config/i386/cygwin.h, config/i386/djgpp.h: Likewise.
10222         * config/i386/i386-interix.h, config/i386/i386elf.h : Likewise.
10223         * config/i386/sco5.h, config/i386/win32.h: Likewise.
10224         * config/m68k/coff.h, config/mcore/mcore-pe.h: Likewise.
10225         * config/mcore/mcore.h, config/mips/elf.h: Likewise.
10226         * config/mips/elf64.h, config/mips/iris6.h: Likewise.
10227         * config/mips/netbsd.h, config/mips/openbsd.h: Likewise.
10228         * config/pa/pa64-hpux.h, config/rs6000/sysv4.h: Likewise.
10229         * config/rs6000/xcoff.h, config/sh/sh.h: Likewise.
10230         * config/sparc/sysv4.h: Likewise.
10232         * config/nextstep.h: Error until named sections implemented.
10234         * config/a29k/a29k.c (a29k_asm_named_section): New.
10235         * config/alpha/alpha.c (SECTION_VMS_OVERLAY): New.
10236         (vms_section_type_flags, vms_asm_named_section): New.
10237         * config/arm/arm.c (arm_elf_asm_named_section): New.
10238         * config/avr/avr.c (asm_output_section_name): Remove.
10239         * config/avr/avr-protos.h: Update.
10240         * config/c4x/c4x.c (c4x_asm_named_section): New.
10241         * config/h8300/h8300.c (h8300_asm_named_section): New.
10242         * config/i386/i386.c (sco_asm_named_section): New.
10243         * config/i386/winnt.c (SECTION_PE_SHARED): New.
10244         (i386_pe_section_type_flags): New.
10245         (i386_pe_asm_named_section): New.
10246         * config/i386/i386-protos.h: Update.
10247         * config/m68k/m68k.c (m68k_coff_asm_named_section): New.
10248         * config/mcore/mcore.c (mcore_asm_named_section): New.
10249         * config/mips/mips.c (iris6_asm_named_section): New.
10250         * config/mips/mips.h (ENCODE_SECTION_INFO): Use DECL_ONE_ONLY
10251         instead of UNIQUE_SECTION_P.
10252         * config/rs6000/rs6000.c (rs6000_elf_section_type_flags): New.
10253         (xcoff_asm_named_section): New.
10254         * config/sh/sh.c (sh_asm_named_section): New.
10255         * config/sparc/sparc.c (sparc_elf_asm_named_section): New.
10257         * config/i386/djgpp.h (EH_FRAME_SECTION_ASM_OP): Remove.
10258         * config/i386/sco5.h (EH_FRAME_SECTION_ASM_OP*): Remove.
10259         (EH_FRAME_SECTION_NAME): New.
10260         (EXCEPTION_SECTION): New.
10261         * config/ia64/ia64.h (EH_FRAME_SECTION_ASM_OP): Remove.
10262         (DEBUG_*_SECTION): Remove.
10263         * config/m68k/rtemself.h (EH_FRAME_SECTION_ASM_OP): Remove.
10264         * config/mips/iris6.h (DEBUG_*_SECTION): Remove.
10265         (EH_FRAME_SECTION_ASM_OP): Remove.
10267         * doc/tm.texi (UNIQUE_SECTION_P): Remove.
10268         (ASM_OUTPUT_SECTION_NAME): Remove.
10269         (TARGET_ASM_NAMED_SECTION): New.
10270         (TARGET_HAVE_NAMED_SECTIONS): New.
10271         (TARGET_SECTION_TYPE_FLAGS): New.
10272         (EH_FRAME_SECTION_ASM_OP): Remove.
10273         (EH_FRAME_SECTION_NAME): New.
10275 2001-08-03  Zack Weinberg  <zackw@stanford.edu>
10277         * builtins.c (fold_builtin_constant_p): Return integer_zero_node
10278         for complex expressions when cfun == 0.
10279         * doc/extend.texi: Document that __builtin_constant_p can be
10280         used in data initializers as well as functions.
10282 2001-08-03  Alexandre Oliva  <aoliva@redhat.com>
10284         * config/mn10300/mn10300.h (CONDITIONAL_REGISTER_USAGE): Declare
10285         variable I locally, instead of expecting a declaration in the
10286         calling context.
10288 2001-08-03  Richard Henderson  <rth@redhat.com>
10290         * except.c (collect_one_action_chain): Add an explicit cleanup
10291         action if regions surrounding a catch were encoded entirely
10292         within the call-site entry.
10294 2001-08-03  Richard Henderson  <rth@redhat.com>
10296         * dbxout.c (dbxout_symbol_location): Flatten subregs first;
10297         don't take REGNO of a non-register.
10299 2001-08-03  John David Anglin  <dave@hiauly1.hia.nrc.ca>
10301         * gthr-dce.h (__GTHREAD_MUTEX_INIT_FUNCTION and
10302         __GTHREAD_MUTEX_INIT_DEFAULT): New macros for mutex initialization.
10303         (__gthread_key_delete): Remove code for __PTHREAD_LIBRARY_VERSION_1 >= 1
10304         (__gthread_mutex_init_function): New function for mutex initialization.
10306 2001-08-03  Daniel Berlin  <dan@cgsoftware.com>
10308         * Makefile.in: Revert screwed up commit.
10310 2001-08-03  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
10312         * config/m68hc11/t-m68hc11-gas (T_CPPFLAGS): Add _ctor and _dtor.
10313         * config/m68hc11/larith.asm (_exit): Split in several sub-sections
10314         merged by linker script to get a final _exit().
10315         (__do_global_dtors): New for destructor handling in specific exit
10316         section.
10317         (__do_global_ctors): New for constructors in specific install section.
10318         (__map_data_section): Map data sections before running constructors.
10319         * config/m68hc11/m68hc11.h (INT_ASM_OP): Define to use .word.
10320         (CTORS_SECTION_ASM_OP): Define to put in readonly section.
10321         (DTORS_SECTION_ASM_OP): Likewise.
10322         (CTORS_SECTION_FUNCTION): Define to force a reference to
10323         __do_global_ctors.
10324         (DTORS_SECTION_FUNCTION): Likewise for __do_global_dtors.
10326 2001-08-03  Daniel Berlin  <dan@cgsoftware.com>
10328         * ChangeLog: Fix date on previous ChangeLog entry for GCSE.
10330         * Makefile.in: Add df.h to gcse.c dependencies.
10332 2001-08-03  John David Anglin  <dave@hiauly1.hia.nrc.ca>
10334         * varasm.c (output_constant_def_contents): Use for the length of a
10335         string constant either its TREE_STRING_LENGTH or its int_size_in_bytes
10336         depending on which is larger.
10338 2001-08-03  Daniel Berlin  <dan@cgsoftware.com>
10340         * gcse.c: Include df.h for use as a dataflow analyzer.
10341         Remove regvec.
10342         Declaration of reg_set_info: gone.
10343         New df_analyzer variable used by store motion.
10344         (reg_set_info): Deleted.
10345         (mark_mem_regs): New function, analyze regs used by a mem.
10346         (store_ops_ok): Use dataflow analyzer results to determine if
10347         necessary regs are changed in the block.
10348         (find_moveable_store): Remove check for symbol ref, we can handle
10349         much more complex expressions now.
10350         (compute_store_table): Remove most of the code, it's unnecessary
10351         now that the dataflow analyzer records the info for us.
10352         (store_killed_after): Add parameter to say whether to do the
10353         store_ops_okay test, used to speed up testing when we already know
10354         the answer, and just want to know if the store itself was killed.
10355         (build_store_vector): Largely rewritten to calculate the various
10356         vectors properly, and somewhat optimized.
10357         (store_motion): Init the df_analyzer, get REG_DEF chains.
10358         Also handle trapping expressions (since mems almost always trap)
10359         (simple_mem): Redefine what a simple mem is.
10361 2001-08-03  DJ Delorie  <dj@redhat.com>
10363         * ifcvt.c (noce_get_alt_condition): Don't make an auxiliary
10364         set from a constant part of the condition.
10366 2001-08-01  Andrew Cagney  <ac131313@redhat.com>
10368         * mkdeps.c (deps_add_default_target): Make local variable
10369         ``start'' a const char pointer.
10370         * dwarf2out.c (compute_section_prefix): Localize use of ``p''.
10372 2001-08-03  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
10374         * doc/install.texi (Configuration): Fix markup.
10375         (Specific, i?86-*-udk): Likewise.
10376         (Specific, alpha*-dec-osf*): Warn against --with-gnu-as,
10377         --with-gnu-ld.
10378         Document --enable-threads and --enable-libgcj status.
10379         (Specific, mips-sgi-irix*): Canonicalize triples.
10380         (Specific, mips-sgi-irix5): Warn about problems with this config.
10381         Mention required GNU as patch.
10382         Native assembler problems are fixed.
10383         (Specific, mips-sgi-irix6): Update O32 ABI support status.
10384         Document --enable-threads and --enable-libgcj status.
10386 2001-08-02  Nick Clifton  <nickc@cambridge.redhat.com>
10388         * Makefile.in, mklibgcc.in: Restore changes with fixed invocation
10389         of mkinstalldirs.
10391 2001-08-03  Richard Henderson  <rth@redhat.com>
10393         * config/ia64/sysv4.h (ASM_OUTPUT_LABELREF): Don't write to
10394         constant data.
10396 2001-08-03  Richard Henderson  <rth@redhat.com>
10398         * rtlanal.c (find_first_parameter_load): Stop if we
10399         reach a CODE_LABEL at BOUNDARY.
10401 2001-08-03  Richard Henderson  <rth@redhat.com>
10403         * config/alpha/alpha.md (force_movdi): New insn.
10404         * config/alpha/alpha.c (alpha_expand_prologue): Use it.
10405         Tweek FRP marking of VMS prologue insns.
10406         * config/alpha/vms.h (EPILOGUE_USES): New.
10408 2001-08-02  Richard Henderson  <rth@redhat.com>
10410         * Makefile.in, mklibgcc.in: Revert mkinstalldirs change.
10412 2001-08-02  Lars Brinkhoff  <lars@nocrew.org>
10414         * combine.c, config.gcc, cse.c, defaults.h, real.c, reload.c,
10415         simplify-rtx.c, config/alpha/alpha.h, config/avr/avr.h,
10416         config/convex/convex.h, config/d30v/d30v.c,
10417         config/d30v/d30v.h, config/dsp16xx/dsp16xx.h,
10418         config/elxsi/elxsi.h, config/fr30/fr30.h, config/m88k/m88k.c,
10419         config/mips/mips.h, config/mn10200/mn10200.h,
10420         config/mn10300/mn10300.h, config/pdp11/pdp11.md,
10421         config/v850/v850.h, config/vax/openbsd.h,
10422         config/vax/openbsd1.h, config/vax/ultrix.h,
10423         config/vax/vax-protos.h, config/vax/vax.c, config/vax/vax.h,
10424         config/vax/vax.md, config/vax/vaxv.h, config/vax/xm-vms.h,
10425         cp/decl2.c, doc/contrib.texi, doc/cpp.texi, doc/gcc.texi,
10426         doc/install.texi, doc/invoke.texi, doc/md.texi, doc/rtl.texi,
10427         doc/tm.texi: consistently use "VAX", "VAXen", and "MicroVAX"
10428         in comments and documentation.
10430 2001-08-03  Neil Booth  <neil@cat.daikokuya.demon.co.uk>
10432         * line-map.c: New.
10433         * line-map.h: New.
10434         * Makefile.in (line-map.o): New.
10435         (LIBCPP_OBJS, LIBCPP_DEPS): Update.
10436         * c-lex.c (cb_file_change): Update for new cpp_file_change structure.
10437         * cpperror.c (print_containing_files): Similarly.
10438         (print_location): Update.  Don't output a space before _Pragma.
10439         * cppfiles.c (stack_include_file): Set to line 1 immediately.
10440         (stack_include_filee, cpp_make_system_header): Update.
10441         (_cpp_execute_include): Get logical line number right for calling
10442         as-yet-unterminated #include.
10443         * cpphash.h (struct cpp_reader): Add line_maps.
10444         (_cpp_do_file_change): Update.
10445         * cppinit.c (cpp_create_reader): Initialize line maps.
10446         (cpp_destroy): Destroy line maps.
10447         (cpp_start_read): Get logical line number right.
10448         * cpplex.c (parse_string): Only warn once for multi-line strings.
10449         Use boolean variable for null warning.
10450         * cpplib.c (_cpp_handle_directive): End the directive if it isn't
10451         already.
10452         (do_include_common): End the directive early.
10453         (do_line): Don't warn about out-of-range lines in preprocessed
10454         source.  Update.  Remove unused variables.
10455         (_cpp_do_file_change): Update for new line mapping.
10456         (pragma_cb): New typedef.
10457         (cpp_register_pragma): Stop looking ahead before calling the
10458         handler.  Clean up.
10459         (do_pragma_system_header): End directive early.
10460         (cpp_get_line_maps): New.
10461         (cpp_pop_buffer): Fudge logical line.  Update.
10462         * cpplib.h: Include line-map.h
10463         (enum cpp_fc_reason): Remove.
10464         (struct cpp_file_change): Update.
10465         (cpp_get_line_maps): New.
10466         * cppmain.c (struct_printer): New member map.
10467         (cb_file_change): Update for new mappings.
10468         * fix-header.c (cb_file_change): Similarly.
10470 2001-08-02  Nick Clifton  <nickc@cambridge.redhat.com>
10472         * Makefile.in (libgcc.mk): Define mkinstalldirs.
10473         * mklibgcc.in: Use mkinstalldirs instead of mkdir.
10475 2001-08-02  Lars Brinkhoff  <lars@nocrew.org>
10477         * config/vax/vax.c: include expr.h.
10479 2001-08-02  Nick Clifton  <nickc@cambridge.redhat.com>
10481         * Makefile.in ($(srcdir)/configure): Only rebuild in
10482         maintainer mode.
10483         ($(srcdir)/config.in): Only define in maintainer mode.
10484         ($(srcdir)/cstamp-h.in): Only define in maintainer mode.
10486 2001-08-02  David Edelsohn  <edelsohn@gnu.org>
10488         * doc/install.texi (Install GCC: Binaries): Update Bull info.
10490 2001-08-02  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
10492         * gcc.c (set_collect_gcc_options): New function, split out from
10493         main.
10494         Ignore elided switches.
10495         (do_spec_1): Invoke before executing command.
10496         (set_input): Export.
10497         Move declaration ...
10498         * gcc.h (set_input): ... here.
10499         * config/alpha/osf.h (ASM_FINAL_SPEC): Use %U.s to refer to input
10500         file.
10502 2001-08-02  Nathan Sidwell  <nathan@codesourcery.com>
10504         Kill -fhonor-std.
10505         * doc/c-tree.texi (Namespaces): Remove std & -fhonor-std
10506         interaction.
10507         * doc/invoke.texi (C++ Dialect Options): Remove -fno-honor-std.
10509 2001-08-02  Richard Sandiford  <rsandifo@redhat.com>
10511         * mips.md (movdicc): Make conditional on TARGET_64BIT.  Likewise
10512         for the unnamed instructions it expands to.
10514 2001-08-02  Richard Henderson  <rth@redhat.com>
10516         * regclass.c (call_really_used_regs): Conditionally define.
10517         (init_reg_sets_1): Don't use it if not defined.
10518         (fix_register): Similarly, don't set it.
10520 2001-08-01  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
10522         * params.def (PARAM_MAX_INLINE_INSNS): Change default to 600.
10523         Correct comment that had been missed in the previous change.
10525 2001-08-01  Stan Shebs  <shebs@apple.com>
10527         * config/darwin.c (machopic_stub_name): Try matching by name.
10528         (update_stubs): New function.
10529         (darwin_encode_section_info):  Call it and update_non_lazy_ptrs
10530         unconditionally.
10532 2001-08-01  Richard Henderson  <rth@redhat.com>
10534         * except.c (output_function_exception_table): Use assemble_align.
10535         * varasm.c (assemble_eh_label): Remove.
10536         (assemble_eh_align, assemble_eh_integer): Remove.
10538 2001-08-01  Robert Lipe  <robertl@caldera.com>
10540         * dwarfout.c: Remove reference to README.DWARF.
10542 2001-08-01  Andrew MacLeod  <amacleod@redhat.com>
10544         * regclass.c (call_really_used_regs): New array for registers which
10545         are actually used by a call.
10546         (init_reg_sets_1): Initialize regs_invalidated_by_call with the
10547         new array.
10548         (fix_register): Set call_really_used too.
10549         * config/ia64/ia64.h (CALL_REALLY_USED_REGISTERS): Initialize.
10550         * doc/tm.texi (CALL_REALLY_USED_REGISTERS): Document.
10552 2001-08-01  Richard Henderson  <rth@redhat.com>
10554         * read-rtl.c (read_name): Consider \r whitespace.
10556 2001-07-11  Andrew Cagney  <ac131313@redhat.com>
10558         * config.gcc: Recognize powerpc-*-netbsd*.
10560         * doc/install.texi (Host/target specific installation notes for
10561         GCC): Mention powerpc-*-netbsd*.
10563         * config/rs6000/netbsd.h: New file.
10564         (STANDARD_STARTFILE_PREFIX, LINK_SHLIB_SPEC): Redefine.
10565         (LIB_DEFAULT_SPEC, STARTFILE_DEFAULT_SPEC): Redefine.
10566         (ENDFILE_DEFAULT_SPEC, LINK_START_DEFAULT_SPEC): Redefine.
10567         (LINK_OS_DEFAULT_SPEC, CPP_OS_DEFAULT_SPEC): Redefine.
10568         (TARGET_VERSION): Redefine.
10570         * config/rs6000/t-ppccomm (MULTILIB_MATCHES_SYSV): Recognize
10571         mcall-netbsd as a match for mcall-sysv.
10572         (EXTRA_MULTILIB_PARTS): Add ncrti$(objext) and ncrtn$(objext).
10573         (ncrti.S, ncrtn.S): New targets.
10574         ($(T)ncrti$(objext), $(T)ncrtn$(objext)): New targets.
10576         * config/rs6000/sysv4.h (SUBTARGET_OVERRIDE_OPTIONS): Recognize
10577         "netbsd' as a V4 ABI.
10578         (ASM_SPEC): Check for -mcall-netbsd.
10579         (CC1_SPEC, CC1_SPEC, LINK_START_SPEC, LINK_OS_SPEC): Ditto.
10580         (CPP_ENDIAN_SPEC, CPP_SPEC, STARTFILE_SPEC): Ditto.
10581         (LIB_SPEC, ENDFILE_SPEC): Ditto.
10582         (LIB_NETBSD_SPEC, STARTFILE_NETBSD_SPEC): Define.
10583         (ENDFILE_NETBSD_SPEC, LINK_START_NETBSD_SPEC): Define.
10584         (LINK_OS_NETBSD_SPEC, CPP_OS_NETBSD_SPEC): Define.
10585         (SUBTARGET_EXTRA_SPECS): Add NetBSD specs.
10587         * doc/invoke.texi (Option Summary): Add -mcall-netbsd.
10588         (RS/6000 and PowerPC Options): Mention -mcall-netbsd.
10590 2001-08-01  Mark Kettenis  <kettenis@gnu.org>
10592         * unwind-pe.h (base_of_encoded_value, read_encoded_value): Define
10593         only if NO_BASE_OF_ENCODED_VALUE isn't defined.
10594         * unwind-dw2-fde.c (NO_BASE_OF_ENCODED_VALUE): Define before
10595         including "unwind-pe.h".
10597 Wed Aug  1 20:01:42 CEST 2001  Jan Hubicka  <jh@suse.cz>
10599         * rs6000.md (define_splits): Kill unused constraints.
10601 Wed Aug  1 20:02:12 CEST 2001 Graham Stott  <grahams@redhat.com>
10602                               Jan Hubicka  <jh@suse.cz>
10604         * function.c (thread_prologue_and_epilogue_insns): Kill code
10605         dealing with non-existent CFG.
10607 2001-08-01  Kazu Hirata  <kazu@hxi.com>
10609         * alias.c: Fix comment formatting.
10610         * bitmap.c: Likewise.
10611         * builtins.c: Likewise.
10612         * calls.c: Likewise.
10613         * c-common.c: Likewise.
10614         * c-decl.c: Likewise.
10615         * c-dump.c: Likewise.
10616         * c-lex.c: Likewise.
10617         * collect2.c: Likewise.
10618         * combine.c: Likewise.
10619         * conflict.c: Likewise.
10620         * cppfiles.c: Likewise.
10621         * cppinit.c: Likewise.
10622         * cpplex.c: Likewise.
10623         * cpplib.c: Likewise.
10624         * cppmacro.c: Likewise.
10625         * cppspec.c: Likewise.
10626         * c-pragma.c: Likewise.
10627         * crtstuff.c: Likewise.
10628         * cse.c: Likewise.
10629         * cselib.c: Likewise.
10630         * c-semantics.c: Likewise.
10631         * c-typeck.c: Likewise.
10633 2001-08-01  H.J. Lu <hjl@gnu.org>
10635         * config/mips/linux.h (ASM_OUTPUT_IDENT): Defined.
10637 2001-08-01  H.J. Lu <hjl@gnu.org>
10639         * gcc/config/mips/linux.h (ASM_OUTPUT_SOURCE_LINE): Defined.
10641 2001-08-01  Ziemowit Laski  <zlaski@apple.com>
10643         * c-parse.in (OBJC_NEED_RAW_IDENTIFIER): Define macro and flag for
10644         contextualizing Objective-C class name lookup by the lexer.
10645         (typespec_reserved_nonattr): Disable ObjC class name lookup after
10646         seeing a TYPESPEC.
10647         (protocoldef): Add support for forward @protocol declarations.
10648         (yylexname): Suppress ObjC class name lookup in certain contexts;
10649         re-enable after lookup is complete.
10650         (_yylex): Re-enable ObjC class name lookup when certain
10651         punctuation marks are seen.
10653         * objc/objc-act.c (check_protocol_recursively): New function used
10654         for finding circular dependencies in protocols.
10655         (objc_declare_protocols): New function for handling forward
10656         @protocol declarations.
10657         (receiver_is_class_object): Detect the case when 'self' is used
10658         inside of a class method.
10659         (build_message_expr): Issue a warning if class method is desired
10660         but instance method is found instead.
10661         (conforms_to_protocol): Streamline.
10662         (objc_comptypes): Detect the fact that 'Bar<Foo> foo' conforms to
10663         protocol Foo, even if 'Bar foo' does not.
10664         (check_protocols): Streamline.
10665         (start_protocol): Add checks for circular and duplicate protocol
10666         definitions.
10667         (encode_aggregate_within): For typedefs of structs, encode the
10668         underlying struct.
10669         * objc/objc-act.h (PROTOCOL_DEFINED): New tree accessor.
10670         (objc_declare_protocols): New prototype.
10672 2001-08-01  Neil Booth  <neil@cat.daikokuya.demon.co.uk>
10674         * cpphash.h (struct cpp_reader): New members line, pseudo_newlines.
10675         * cpplex.c (handle_newline): Update prototype.  Maintain logical
10676         line number.
10677         (skip_escaped_newlines, skip_block_comment, parse_string):
10678         Update accordingly.
10679         (_cpp_lex_token): Update, and store token position within the token.
10680         * cpplib.h (struct cpp_token): Add line and column entries.
10681         * cppmacro.c (replace_args): Position stringified tokens correctly.
10683 2001-08-01  Andreas Jaeger  <aj@suse.de>
10685         * basic-block.h: Add prototype for last_loop_beg_note.
10687 2001-07-31  Alexandre Petit-Bianco  <apbianco@redhat.com>
10689         * expr.c (safe_from_p): Use WITH_CLEANUP_EXPR_RTL instead of
10690         RTL_EXPR_RTL while handling WITH_CLEANUP_EXPR nodes. Fixed typo in
10691         comment.
10692         (expand_expr): Use WITH_CLEANUP_EXPR_RTL instead of RTL_EXPR_RTL
10693         while handling WITH_CLEANUP_EXPR node. Use second operand calling
10694         expand_decl_cleanup.
10695         * tree.c (firt_rtl_op): The third operand of WITH_CLEANUP_EXPR is
10696         the first RTX.
10697         (simple_cst_equal): WITH_CLEANUP_EXPR node to use its second
10698         operand while calling simple_cst_equal.
10699         * tree.def (WITH_CLEANUP_EXPR): Switched operands: the second
10700         operand is the cleanup expression, the third is the RTL_EXPR.
10701         * tree.h (WITH_CLEANUP_EXPR_RTL): New macro.
10703 2001-07-31  Jeff Sturm  <jsturm@one-point.com>
10705         * except.c (duplicate_eh_regions): Test n_array[i] for NULL.
10707 2001-07-31  matthew green  <mrg@eterna.com.au>
10709         * config.gcc (i386-*-netbsdelf): New description.
10710         * config/i386/netbsd-elf.h: New file.
10712 2001-07-30  Geoffrey Keating  <geoffk@redhat.com>
10714         * loop.c (check_dbra_loop): Use single_set to compute
10715         jump_label.
10717 2001-07-31  Daniel Berlin  <dan@cgsoftware.com>
10719         PowerPC reorg and support for powerpc64-*-linux*.
10721         Also fixes emitting of constants on 32 bit and 64 bit
10722         platforms.
10724         * config.gcc: powerpc64-*-linux* is a new target.
10725         Things that needed aix.h now also include xcoff.h
10727         * config/rs6000/rs6000.h: Split XCOFF specific stuff into
10728         xcoff.h.
10729         Move AIX specific stuff into aix.h.
10730         (TARGET_AIX): Renamed to TARGET_XCOFF, since the AIX ABI is used
10731         with more than just XCOFF now.
10732         (SET_ASM_OP): Remove, now defined where needed.
10733         (FUNCTION_PROLOGUE): New macro definition.
10734         (FUNCTION_EPILOGUE): New macro definition.
10735         (ASM_OPEN_PAREN, ASM_CLOSE_PAREN): New macro definition.
10737         * config/rs6000/xcoff.h: New file.
10739         * config/rs6000/linux64.h: New file.
10741         * config/rs6000/darwin.h: Copy needed AIX alignment definitions.
10743 2001-07-31  Alan Modra  <amodra@bigpond.net.au>
10745         * rs6000.c (print_operand_address): Handle ELF syntax.
10746         (output_toc): Simplify.  Use DOUBLE_INT_ASM_OP.
10747         * rs6000.md (load_toc_aix_di): Handle ELF syntax.
10748         * rs6000.h (ASM_OUTPUT_DOUBLE_INT, ASM_LONG): Use DOUBLE_INT_ASM_OP.
10750 2001-07-31  David Edelsohn  <edelsohn@gnu.org>
10752         * rs6000.c (rs6000_override_options): Only disable
10753         flag_function_sections for XCOFF.
10754         (exact_log2_cint_operand): New predicate.
10755         (reg_or_{add,sub}_cint64_operand): New predicates.
10756         (add_operand): Compare CONST_INT with fewer function calls.
10757         (rs6000_emit_set_const, rs6000_emit_set_long_const): New functions.
10758         (print_operand, case 'p'): Ensure positive operand.
10759         (rs6000_emit_load_toc_table): No load_toc_v4_pic_di.
10760         * rs6000.h (CONST_OK_FOR_LETTER_P, case 'N'): Ensure positive value.
10761         (PREDICATE_CODES): Add new predicates.
10762         * rs6000.md (addsi3): Split 32-bit constants more correctly.
10763         (divsi3, modsi3): Ensure positive power-of-2.
10764         (adddi3): Use new predicate.  Split 32-bit constants more
10765         correctly.  Re-arrange splitter to handle any constant.
10766         (subdi3): Use new predicate.
10767         (divdi3, moddi3): Ensure positive power-of-2.
10768         (movdi): Use rs6000_emit_set_const.
10769         (load_toc_v4_pic_di): Delete.
10771 2001-07-31  Graham Stott <grahams@redhat.com>
10773         * function.c (pad_below): Revert 2001-07-26 patch.
10775 Tue Jul 31 15:37:35 CEST 2001  Jan Hubicka  <jh@suse.cz>
10777         * reg-stack (convert_regs_1): Fix best edge condition.
10779 Tue Jul 31 15:33:27 CEST 2001  Jan Hubicka  <jh@suse.cz>
10781         * jump.c (duplicate_loop_exit_test): Better test for jumps
10782         entering the loop; create loop pre_header.
10784 2001-07-31 Hartmut Penner <hpenner@de.ibm.com>
10786         * doc/install.texi: Add s390 and s390x as new targets.
10787         * doc/invoke.texi: Add documentation of S/390 and zSeries
10788         target options.
10789         * doc/md.texi: Add documentation of S/390 and zSeries constraints.
10791 2001-07-30  Roman Zippel  <zippel@linux-m68k.org>
10793         * config/m68k/m68k.md: Replace all general_operand with
10794         nonimmediate_operand for all destinations.
10795         * config/m68k/m68k.c (not_sp_operand): Likewise.
10797 Mon Jul 30 23:20:34 EDT 2001  John Wehle  (john@feith.com)
10799         * flow.c (merge_blocks): Return 1 if an extra jump is inserted.
10801 2001-07-30  Richard Henderson  <rth@redhat.com>
10803         * config/ia64/ia64.h (DEBUG_RANGES_SECTION): New.
10804         * config/mips/iris6.h (DEBUG_RANGES_SECTION): New.
10806 2001-07-30  Roman Zippel  <zippel@linux-m68k.org>
10808         * config/m68k/m68k.h (TARGET_SWITCHES/TARGET_OPTIONS):
10809         Add missing doc strings
10810         * config/m68k/linux-aout.h (SUBTARGET_SWITCHES): Likewise
10811         * config/m68k/linux.h (SUBTARGET_SWITCHES): Likewise
10813 Mon Jul 30 22:16:08 CEST 2001  Jan Hubicka  <jh@suse.cz>
10815         * i386.c (ix86_output_main_function_alignment_hack): New function.
10816         (TARGET_ASM_FUNCTION_PROLOGUE): Default to it.
10818         * flow.c (mark_dfs_back_edges): Move from loop_p ; mark back
10819         edges by EDGE_DFS_BACK flag.
10820         (dump_edge_info): Add dfs_back flag.
10821         * basic-block.h (EDGE_DFS_BACK): New constant.
10822         (mark_dfs_back_edges): Declare.
10823         * alias.c (loop_p): Remove.
10824         (mark_constant_function): Use mark_dfs_back_edges.
10826         * reg-stack.c (block_info_def): Add predecessors counter and stack_out.
10827         (reg_to_stack): Call mark_dfs_back_edges; count the predecessors.
10828         (compensate_edge): Break out from ...
10829         (convert_regs_1): ... here; do smart choosing of stack_out to copy.
10830         (convert_regs_2): Set block_done once block is really done;
10831         Do updating of the predecessors counts.
10833         * toplev.c (rest_of_compilation): Recompute block_for_insn
10834         before post-reload cfg_cleanup.
10835         * function.c (thread_prologue_epilogue_insns):
10836         Call set_block_for_new_insns when emitting prologue directly.
10838 2001-07-30  Andreas Jaeger  <aj@suse.de>
10840         * jump.c: Add prototype for mark_modified_reg.
10842         * cse.c (set_live_p): Add unused attribute.
10844         * gcov.c (calculate_branch_probs): Use gcov_type to avoid
10845         overflow.
10846         (scan_for_source_files): Use long for count to avoid overflow.
10847         (output_data): Likewise.
10848         (output_data): Don't use string concatatenation to silence gcc
10849         -traditional.
10851         * predict.c: Fix typos and grammar.
10853         * gcse.c (insert_insn_end_bb): Remove unused variables.
10855 Mon Jul 30 21:54:53 CEST 2001  Jan Hubicka  <jh@suse.cz>
10857         * flow.c (mark_set_1): Use REG_FREQ_FROM_BB.
10858         (attempt_auto_inc): LIkewise.
10859         (mark_used_reg): Likewise.
10860         (try_pre_increment_1): Likewise.
10861         * regclass.c (regclass): Likewise.
10862         * global.c (allocno_compare): Update comment; change scaling factor.
10863         * local-alloc.c (QTY_CMP_PRI): Likewise.
10864         * regs.h (REG_FREQ_FROM_BB): New.
10865         (REG_FREQ_MAX): Likewise.
10867 2001-07-30  H.J. Lu <hjl@gnu.org>
10869         * config/mips/linux.h (CPLUSPLUS_CPP_SPEC): Add
10870         -D_GNU_SOURCE.
10872 2001-07-30  H.J. Lu  (hjl@gnu.org)
10874         * config/mips/linux.h (ASM_DECLARE_FUNCTION_NAME): Defined.
10875         (ASM_DECLARE_FUNCTION_SIZE): Likewise.
10876         (FUNCTION_NAME_ALREADY_DECLARED): Likewise.
10878 2001-07-30  Nick Clifton  <nickc@cambridge.redhat.com>
10880         * config/arm/t-arm-elf (MULTILIB_EXCEPTIONS): Skip -mthumb as well
10881         as -mthumb-interwork when -mcpu=arm7 is specified.
10883 Mon Jul 30 17:44:43 CEST 2001  Jan Hubicka  <jh@suse.cz>
10885         * predict.def (noreturn, loop branch, loop exit): Mark as first
10886         match heuristics.
10888 Mon Jul 30 12:52:11 CEST 2001  Jan Hubicka  <jh@suse.cz>
10890         * combine.c (try_combine): Avoid barrier after noop jumps.
10892 2001-07-29  Neil Booth  <neil@cat.daikokuya.demon.co.uk>
10894         * cpphash.h (struct cpp_reader): Remove import_warning.
10895         * cpplib.c (skip_rest_of_line): Don't bother turning off
10896         macro expansion.
10897         (parse_include): Move include handling to...
10898         (do_include_common): ... here.  Move import warning from...
10899         (do_import): ... here.
10900         (do_pragma_poison): Don't do a callback for poison identifiers.
10901         * cpplib.h (struct cpp_callbacks): Don't do poison callbacks.
10902         * cppmain.c (setup_callbacks): Similarly.
10904 Sun Jul 29 23:26:50 CEST 2001  Jan Hubicka  <jh@suse.cz>
10906         * rtlanal.c (parms_set, find_first_parameter_load): Break out from...;
10907         handle multiple sets.
10908         * except.c (sjlj_mark_call_sites): .... here.
10909         * gcse.c (insert_insn_end_bb): Use find_first_parameter_load.
10911 Sun Jul 29 21:38:45 CEST 2001  Jan Hubicka  <jh@suse.cz>
10913         Suggested by Richard Henderson and Richard Kenner:
10914         * combine.c (recog_for_combine): Use the fake recog
10915         only if instruction does not match.
10916         * rtl.h (NOOP_MOVE_INSN_CODE): New.
10917         * rtlanal.c (noop_move_p): Always return 1 for NOOP_MOVE_INSN_CODE.
10919         * combine.c (try_combine): Discover noop jump as direct jump.
10921 2001-07-29  Daniel Berlin  <dan@cgsoftware.com>
10923         * df.c (df_rd_global_compute): Add successors to worklist, not
10924         current item.
10925         (df_ru_global_compute): Ditto.
10927 2001-07-27  Daniel Berlin  <dan@cgsoftware.com>
10929         * regclass.c (reg_scan_mark_refs): Increment REG_N_REFS when we
10930         increment REG_N_SETS.
10932 2001-07-26  Daniel Berlin  <dan@cgsoftware.com>
10934         * sbitmap.h: New prototype for sbitmap_a_xor_b.
10936         * sbitmap.c (sbitmap_a_xor_b): New function.
10937         ifdef the basic block stuff on IN_GCC.
10939 2001-07-29  Neil Booth  <neil@cat.daikokuya.demon.co.uk>
10941         * cppexp.c (parse_defined): Always record the macro name.
10942         (lex): Don't worry about identifiers, or special-case
10943         CPP_NOT here.
10944         (_cpp_parse_expr): Figure out at the end of the routine
10945         whether we saw a valid !defined() expression.
10946         * cppfiles.c (stack_include_file): Update for mi_valid.
10947         (_cpp_pop_file_buffer): Similarly.
10948         * cpplex.c (_cpp_lex_token): Similarly.
10949         * cpphash.h (enum mi_state, enum mi_ind, mi_state,
10950         mi_if_not_defined, mi_lexed): Remove.
10951         (mi_valid): New.
10952         * cpplib.c (do_if): Simplify.
10953         (do_endif, push_conditional, _cpp_handle_directive): Update
10954         for renaming of mi_state to mi_valid.
10955 doc:
10956         * cpp.texi: Add index entries for digraphs, and add comment
10957         that C++ refers to them as alternative tokens.
10959 Sun Jul 29 18:59:13 CEST 2001  Jan Hubicka  <jh@suse.cz>
10961         * basic-block.h (CLEANUP_PRE_LOOP): New.
10962         * except.c (finish_eh_generation): Update call of cleanup_cfg.
10963         * sibcall.c (optimize_sibling_calls): Likewise.
10964         * toplev.c (rest_of_compilation): Likewise.
10965         * flow.c (try_forward_edges): Take argument MODE;
10966         do not forward over loop pre-headers if CLEANUP_PRE_LOOP.
10967         (try_optimize_cfg): Update call of try_forward_edges.
10969 Sun Jul 29 18:59:56 CEST 2001  Roman Zippel  <zippel@linux-m68k.org>
10970                                 Jan Hubicka  <jh@suse.cz>
10972         * (validate_replace_rtx_1): Fix simplification of MINUS.
10974 2001-07-29  Neil Booth  <neil@daikokuya.demon.co.uk>
10976         PR preprocessor/3669
10977         * cppinit.c (init_dependency_output): Turn off dump requests
10978         if sending dependencies to stdout.
10980 2001-07-28  Richard Henderson  <rth@redhat.com>
10982         * flow.c (life_analysis): Elide PROP_ALLOW_CFG_CHANGES if
10983         not optimizing.
10985 2001-07-28  Golubev I. N.  <gin@mo.msk.ru>
10987         * config/i386/sco5.h (DWARF2_DEBUGGING_INFO): Define.
10989 2001-07-28  Kazu Hirata  <kazu@hxi.com>
10991         * config/h8300/h8300.h (ENCODE_SECTION_INFO): Check to see if DECL
10992         is VAR_DECL first to prevent an ICE.
10994 2001-07-28  Richard Henderson  <rth@redhat.com>
10996         * varasm.c (immed_real_const_1): Don't elide special cases for
10997         nested functions.
10998         (clear_const_double_mem): Clear const_tiny_rtx too.
11000 2001-07-28  Richard Henderson  <rth@redhat.com>
11002         * dwarf2out.c (dw_val_class_offset): New.
11003         (struct dw_ranges_struct, dw_ranges_ref): New.
11004         (ranges_table, ranges_table_allocated): New.
11005         (ranges_table_in_use, RANGES_TABLE_INCREMENT): New.
11006         (add_AT_offset, add_ranges, output_ranges): New.
11007         (print_die, output_die): Handle dw_val_class_offset.
11008         (attr_checksum, size_of_die, value_format): Likewise.
11009         (gen_lexical_block_die): Handle non-contiguous blocks.
11010         (gen_block_die): Likewise.
11011         (dwarf2out_finish): Add a DW_AT_entry_pc to the compilation unit
11012         if needed.  Dump the ranges table.
11013         * final.c (final_start_function): Remove unnecessary notes and
11014         rebuild the block tree before numbering the blocks.
11015         * function.c (reorder_blocks_0): Walk the existing block tree
11016         to unmark all blocks.
11017         (reorder_blocks_1): Create block fragments when duplicate block
11018         notes are seen.
11019         (reorder_fix_fragments): New.
11020         (reorder_blocks): Call it.
11021         * tree.h (BLOCK_FRAGMENT_ORIGIN, BLOCK_FRAGMENT_CHAIN): New.
11023 2001-07-28  Richard Henderson  <rth@redhat.com>
11025         * emit-rtl.c (adjust_address): Make a copy of the memory address.
11027 2001-07-28  Richard Henderson  <rth@redhat.com>
11029         * flow.c (add_to_mem_set_list): New function.
11030         (init_propagate_block_info): Use it.
11031         (mark_set_1): Likewise.
11032         (insn_dead_p): Canonicalize memory address for dead store
11033         comparison.  Allow wider mode stores to kill narrower mode stores.
11034         (invalidate_mems_from_autoinc): Use invalidate_mems_from_set.
11035         (invalidate_mems_from_set): Don't handle MEMs.
11037 2001-07-28  Kazu Hirata  <kazu@hxi.com>
11039         * config/h8300/h8300.h: Fix formatting.
11041 Sat Jul 28 23:35:22 CEST 2001  Jan Hubicka  <jh@suse.cz>
11043         * basic-block.h (EDGE_FREQUENCY): New macro.
11044         * bb-reorder (fixup_reorder_chain): Set counts and frequencies
11045         for new BB/edges.
11046         * flow.c (find_sub_basic_blocks): Likewise.
11047         (try_crossjump_to_edge): Likewise; use EDGE_FREQUENCY
11048         (redirect_edge_and_branch): Use EDGE_FREQUENCY.
11050         * predict.c (DEF_PREDICTOR): New argument FLAGS.
11051         (HITRATE): New macro.
11052         (PRED_FLAG_FIRST_MATCH): New constant.
11053         (predictor_info): New field flgags.
11054         (combine_predictions_for_insn): Use DS theory to combine
11055         probabilities; set the edge probabilities when finished.
11056         (estimate_probability): Avoid duplicated matches
11057         of LOOP_BRANCH heuristics for nested loops; update comment.
11058         * predict.def: Add flags for each prediction, set probabilities
11059         according to B&L paper.
11060         * predict.h (DEF_PREDICTOR): New argument FLAGS.
11062         * profile.c (compute_branch_probabilities):  Cleanup way the edge
11063         probabilities are computed and REG_BR_PROB notes are dropped; if
11064         values does not match, emit error.
11065         (init_branch_prob): Do error instead of warning when profile driven
11066         feedback is missing or corrupt.
11068 2001-07-27  DJ Delorie  <dj@redhat.com>
11070         * ifcvt.c (noce_get_alt_condition): If the condition is a compare
11071         against a constant, try to adjust the compare to have the desired
11072         constant in it so that min/max optimizations happen more often.
11074 Fri Jul 27 17:53:00 CEST 2001  Jan Hubicka  <jh@suse.cz>
11076         * flow.c (last_loop_beg_note): New function.
11077         (redirect_edge_and_branch): Use it.
11078         (split_edge): Likewise.
11080         * alias.c (loop_p): Avoid uninitialized memory access.
11082         * flow.c (try_forward_edges): Avoid accessing freed memory.
11084         * flow.c (backward_edge_of_syntactic_loop_p): Avoid uninitialized
11085         variable access.
11087 2001-07-26  Andrew Haley  <aph@redhat.com>
11088         Joern Rennecke <amylaar@redhat.com>
11090         * config/sh/linux.h (CPP_DEFAULT_CPU_SPEC): New.
11091         (SUBTARGET_CPP_ENDIAN_SPEC): New.
11092         (SUBTARGET_CPP_SPEC): New.
11093         (CPP_SPEC): Remove.
11094         * config/sh/sh.h (SUBTARGET_CPP_ENDIAN_SPEC): New.
11095         (SUBTARGET_CPP_PTR_SPEC): New.
11096         (CPP_DEFAULT_CPU_SPEC): New.
11097         (EXTRA_SPECS): Add SUBTARGET_CPP_ENDIAN_SPEC,
11098         SUBTARGET_CPP_PTR_SPEC, and CPP_DEFAULT_CPU_SPEC.
11099         (CPP_SPEC): Break out parts into SUBTARGET_CPP_ENDIAN_SPEC,
11100         SUBTARGET_CPP_PTR_SPEC, and CPP_DEFAULT_CPU_SPEC.
11101         (SUBTARGET_CPP_SPEC): Define as an empty string.
11103 2001-07-27  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
11105         * doc/install.texi (Configuration): Properly link the host
11106         specific instructions also when generating HTML.
11108 Fri Jul 27 00:33:35 EDT 2001  John Wehle  (john@feith.com)
11110         * flow.c (redirect_edge_and_branch_force): Test
11111         target->global_live_at_start.
11113 2001-07-26  Richard Henderson  <rth@redhat.com>
11115         * simplify-rtx.c (avoid_constant_pool_reference): Export.
11116         * rtl.h (avoid_constant_pool_reference): Declare it.
11117         * dwarf2out.c (add_location_or_const_value_attribute): Use it.
11118         (add_const_value_attribute): Use add_AT_unsigned for unsigned values.
11120 Thu Jul 26 22:30:22 CEST 2001  Jan Hubicka  <jh@suse.cz>
11122         * rtl.h (cleanup_barriers): Declare.
11123         * jump.c (cleanup_barriers): New function.
11124         * toplev.c (rest_of_compilation): Call cleanup_barriers
11125         before loop optimizer and after bb_reorder.
11127         * flow.c (back_edge_of_syntactic_loop_p): New.
11128         (split_edge): Use it.
11130 2001-07-26  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
11132         * glimits.h (_MACH_MACHLIMITS_H_): Delete.
11134 Thu Jul 26 22:22:21 2001  Denis Chertykov  <denisc@overta.ru>
11136         * cse.c (cse_process_notes): Replace any registers if the address
11137         remains valid.
11139 Thu Jul 26 14:04:03 EDT 2001  John Wehle  (john@feith.com)
11141         * basic-block.h (PROP_ALLOW_CFG_CHANGES): Define.
11142         (PROP_FINAL): Include PROP_ALLOW_CFG_CHANGES.
11143         (propagate_block): Update prototype.
11144         * flow.c (update_life_info): Simplify the CFG and
11145         recalculate the global regs which are alive when
11146         removing dead code during a global update.
11147         (propagate_block): Return non-zero if an INSN is
11148         deleted.
11150 2001-07-26  Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
11152         * Makefile.in (LIBICONV): Define.
11154 2001-07-26  Catherine Moore  <clm@redhat.com>
11156         * config/v850/v850.h (ENCODE_SECTION_INFO):  Change order
11157         of conditional to avoid tree checking errors.
11159 2001-07-26  Kazu Hirata  <kazu@hxi.com>
11161         * regmove.c (regmove_optimize): Don't replace a reg with
11162         another reg of a different mode.
11164 2001-07-26  Andrew MacLeod  <amacleod@redhat.com>
11166         * params.def (PARAM_MAX_PENDING_LIST_LENGTH): Add parameter to
11167         limit length of dependency flush list.
11168         * params.h (MAX_PENDING_LIST_LENGTH): Define.
11169         * sched-int.h  (struct deps): Add pending_flush_length field.
11170         * sched-deps.c (flush_pending_lists): Last_pending_memory_flush now
11171         has 1 element in it.
11172         (sched_analyze_1): Use MAX_PENDING_LIST_LENGTH.
11173         (sched_analyze): After a jump, if the pending memory flush list is too
11174         large, flush the pending lists.
11175         (init_deps): Initialize pending_flush_length to 0.
11176         * doc/invoke.texi (max_pending_list_length): Document parameter.
11178 2001-07-26  Neil Booth  <neil@daikokuya.demon.co.uk>
11180         * toplev.c, varasm.c, final.c: Include xcoffout.h if appropriate.
11181         * dbxout.c (dbxout_global_decl): Move outside #ifdef.
11182         * Makefile.in (varasm.o, final.o, toplev.o): Update dependencies.
11184 2001-07-26  Neil Booth  <neil@cat.daikokuya.demon.co.uk>
11186         * cpphash.h (struct_lexer_state): Delete was_skipping.
11187         Move skipping here from struct cpp_reader.
11188         * cpplex.c (parse_identifier): Update.
11189         (_cpp_lex_token): Don't skip tokens in a directive.
11190         * cpplib.c (struct if_stack): Update.
11191         (start_directive, end_directive): Don't change skipping state.
11192         (_cpp_handle_directive): Update.
11193         (do_ifdef, do_ifndef, do_if, do_elif): Similarly.
11194         (do_else, do_endif): Update; only check for excess tokens if not
11195         in a skipped conditional block.
11196         (push_conditional): Update for new struct if_stack.
11198 2001-07-26  Graham Stott  <grahams@redhat.com>
11200         * function.c (locate_and_pad_parm): Also pad initial offset
11201         so that the total argument size also includes the padding.
11203 2001-07-26  Graham Stott <grahams@redhat.com>
11205         * gensupport.c (alter_output_for_insn): Correct enable checking failure
11206         change XSTR to XTMPL.
11208         (process_one_cond_exec): Likewise
11210 2001-07-25  Richard Henderson  <rth@redhat.com>
11212         * varasm.c (assemble_variable): Create DECL_RTL before setting
11213         TREE_ASM_WRITTEN.
11215 Thu Jul 26 00:19:30 CEST 2001  Jan Hubicka  <jh@suse.cz>
11217         * predict.c (estimate_probability): Avoid duplicated predictions.
11219         * loop.c (find_and_verify_loops): Grok multiple barriers.
11221 Wed Jul 25 18:00:05 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
11223         * config/alpha/alpha.c (print_operand, case '/'): Don't write '/'.
11225         * dbxout.c: Consistently use putc instead of fputc.
11226         (print_wide_int): New function; call instead of direct fprintf.
11227         (dbxout_type_index): Adjust calls of CHARS to be more accurate.
11228         (dbxout_type_fields, dbxout_type_method_1): Likewise.
11229         (dbxout_type_methods, dbxout_range_type, dbxout_type): Likewise.
11230         (print_int_cst_octal): Likewise.
11231         (print_octal): Show we wrote characters.
11232         (dbxout_type): Set have_used_extensions in more places.
11234 2001-07-25  Catherine Moore  <clm@redhat.com>
11236         * config/v850/v850.c (v850_va_arg):  Use addr
11237         instead of valist to build incr.
11239 Wed Jul 25 22:48:59 CEST 2001  Jan Hubicka  <jh@suse.cz>
11241         * flow.c (delete_dead_jumptables): New function.
11242         (life_analyzis): Call it.
11243         * bb-reorder.c (skip_insns_after_block): Handle contradictory
11244         sequences.
11246 2001-07-25  Richard Henderson  <rth@redhat.com>
11248         * except.c (reachable_handlers): Handle a region being removed
11249         out from under a RESX.
11251 2001-07-25  Richard Henderson  <rth@redhat.com>
11253         * config/alpha/alpha.c (alpha_emit_conditional_move): Always
11254         swap GE/GT if it is an fp comparison.
11256 2001-07-25  Andrew Haley  <aph@cambridge.redhat.com>
11258         * alias.c (rtx_equal_for_memref_p): Allow strings as types in
11259         operands.
11261 Wed Jul 25 08:25:01 2001  Jeffrey A Law  (law@cygnus.com)
11263         * ssa.c (rename_insn_1): Do not wrap an assignment to a
11264         paradoxical SUBREG inside a SEQUENCE.  Fix minor formatting
11265         glitch.
11267         * ssa-ccp.c (visit_expression): Handle CALL_INSNs that can
11268         throw an exception.
11269         (visit_expression): When attempting to simplify an expression,
11270         retrieve any modes for arguments before they are simplified
11271         to constants.
11273 2001-07-25  Andrew MacLeod  <amacleod@redhat.com>
11274             Janis Johnson  <janis@us.ibm.com>
11276         * stmt.c (expand_goto): A nonlocal goto can be a call too.
11277         * builtins.c (expand_builtin_longjmp): Reverse label and static chain
11278         pointer parameters to match documented usage of nonlocal_goto.
11279         * config/ia64/ia64.md (nonlocal_goto): Revert label and static chain
11280         parameters to their correct order.
11281         * config/sparc/sparc.md (nonlocal_goto): Revert label and static chain
11282         parameters to their correct order.
11284 2001-07-25  Andrew MacLeod  <amacleod@redhat.com>
11286         * config/ia64/ia64.h (STRIP_NAME_ENCODING): Strip out '*' as well.
11288 2001-07-25  Jan Hubicka  <jh@suse.cz>
11289             Richard Henderson  <rth@redhat.com>
11291         * flow.c (find_sub_basic_blocks): Fix handling of the last BB in
11292         the sequence.
11293         (make_edges): New argument update_p; populate the edge cache if set.
11294         (find_basic_blocks): Update make_edges invocation.
11296 2001-07-24  Joel Sherrill <joel@OARcorp.com>
11298         * config/i960/i960.h (CPP_SPEC): Define _SOFT_FLOAT for -msoft-float.
11300 2001-07-24  Joel Sherrill <joel@OARcorp.com>
11302         * config/sparc/rtems.h (CPP_PREDEFINES): Remove redundant
11303         -Acpu and -Amachine.h.
11304         * config/sparc/rtemself.h (CPP_PREDEFINES): Likewise.
11305         Corrected header to say ELF not a.out.
11306         * config/sparc/sparc.h (CPP_CPU_SPEC): Define _SOFT_FLOAT
11307         when given -msoft-float.
11309 2001-07-24  Joel Sherrill <joel@OARcorp.com>
11311         * config.gcc (arm*-*-rtems*): Include crtinit.o and crtfini.o as
11312         extra multilib parts like arm-elf.
11313         (i960-*-coff*, i960-*-rtems): Should not use collect2.
11314         (m68020-*-elf*, m68k-*-elf*, m68k-*-rtems*): Include crtinit.o and
11315         crtfini.o as extra multilib parts.
11317 2001-07-24  Joel Sherrill <joel@OARcorp.com>
11319         * configure.in: Add rtems as a supported thread model.
11320         * gthr-rtems.h: Add missing entry point __gthread_active_p.
11321         * configure: Rebuilt.
11323 2001-07-24  Lars Brinkhoff  <lars@nocrew.org>
11325         * stor-layout.c (get_mode_alignment): make it work when
11326         BITS_PER_UNIT is not a power of two.
11327         * builtins.c (get_pointer_alignment): Likewise.
11329 2001-07-24  Richard Henderson  <rth@redhat.com>
11331         * simplify-rtx.c (avoid_constant_pool_reference): Coerce
11332         the retrieved constant into the expected mode.
11334 Wed Jul 25 01:41:27 CEST 2001  Jan Hubicka  <jh@suse.cz>
11336         * flow.c (try_simplify_condjump): Avoid duplicated edges.
11337         (verify_flow_info): Check for duplicated edges; clarify
11338         error reporting.
11340         * flow.c (block_label): Update basic_block_for_insn.
11341         (commit_edge_insertions): Call compute_bb_for_insn.
11343         * flow.c (purge_dead_edges): Handle conditional jumps and conditional
11344         returns too.
11346         * flow.c (redirect_edge_and_branch,
11347         try_optimize_cfg): Use redirect_edge_succ_nodup
11348         (redirect_edge_succ_nodup): New.
11349         * basic_block.h (redirect_edge_succ_nodup): Declare.
11351         * toplev.c (rest_of_compilation): Rebuild CFG before cfg_cleanup
11352         after gcse.
11354 Wed Jul 25 00:32:49 CEST 2001  Jan Hubicka  <jh@suse.cz>
11356         * flow.c (try_forward_edges): Accept fallthru edge; Update comment.
11357         (try_crossjump_to_edge): Update commetns.
11358         (try_crossjump_bb): Likewise.
11360 2001-07-24  Richard Henderson  <rth@redhat.com>
11362         * combine.c (distribute_notes): Move set of need_refresh
11363         for noop_move_p down to catch all cases.
11365 Tue Jul 24 20:32:44 CEST 2001  Jan Hubicka  <jh@suse.cz>
11367         * recog.c (split_all_insns_noflow): New.
11368         * rtl.h (split_all_insns_noflow): Declare.
11369         * ia64.c (ia64_reorg): Use split_all_insns_noflow.
11370         * m68hc11.c (m68hc11_reorg): Likewise.
11371         * sh.c (machine_dependent_reorg): Likewise.
11372         * toplev.c (rest_of_compilation): Likewise for last split_all_insns
11373         call.
11375 2001-07-18  Andrew Haley  <aph@cambridge.redhat.com>
11377         * config/sh/sh.md (ashlsi3_std splitter): Split only after reload.
11378         (ashlsi3_n splitter): Likewise.
11379         (lshrsi3_n splitter): Likewise.
11381         (GOTaddr2picreg): Make const SImode.
11382         (sym_label2reg): Likewise.
11383         (symGOT2reg): Likewise.
11384         (symGOTOFF2reg) Likewise.
11386         (casesi_worker_0): Make unspec SImode.
11388 2001-07-18  Andrew Haley  <aph@cambridge.redhat.com>
11390         * config/sh/sh.c (barrier_align): Check that an operand really is
11391         an insn before extracting its INSN_CODE.
11393 2001-07-24  Andrew Haley  <aph@cambridge.redhat.com>
11395         * config/sh/sh.h (OVERRIDE_OPTIONS): Add braces to get rid of
11396         dangling else.
11398         * config/sh/sh.h (INITIALIZE_TRAMPOLINE): Truncate operands
11399         for SImode to prevent overflow.
11401 2001-07-24  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
11403         * config/mips/irix6-libc-compat.c: New file.
11404         * config/mips/t-iris6 (LIB2FUNCS_STATIC_EXTRA): Use it.
11405         * doc/install.texi (Specific, mips*-sgi-irix6): Mention structure
11406         passing workaround.
11408 2001-07-24  lars brinkhoff  <lars@nocrew.org>
11410         * rtl.texi (REG_POINTER): Document.
11411         (Machine Modes): Document BImode, OImode, PQImode, PHImode,
11412         QFmode, HFmode, TQFmode, QCmode, and HCmode.
11414 Tue Jul 24 10:49:40 CEST 2001  Jan Hubicka  <jh@suse.cz>
11416         * flow.c (delete_noop_moves): Do not confuse libcall regions.
11418 2001-07-23  Richard Henderson  <rth@redhat.com>
11420         * flow.c (try_simplify_condjump): Use tidy_fallthru_edge.
11422 2001-07-23  Kazu Hirata  <kazu@hxi.com>
11424         * config/h8300/h8300-protos.h: Add a prototype for
11425         general_operand_dst_push.
11426         * config/h8300/h8300.c (general_operand_dst_push): New.
11427         * config/h8300/h8300.h (OK_FOR_T): New.
11428         (EXTRA_CONSTRAINT): Use it.
11429         * config/h8300/h8300.md (movqi_push): Remove and integrate into
11430         the existing movqi pattern.
11431         (movhi_push): Likewise.
11433         * reload.c: Fix comment typos.
11435 Mon Jul 23 23:34:07 CEST 2001  Jan Hubicka  <jh@suse.cz>
11437         * gcse.c (cprop_insn): Update call of cprop_cc0_jump.
11439 2001-07-23  H.J. Lu  (hjl@gnu.org)
11441         * doc/extend.texi: Update __builtin_return_address and
11442         __builtin_frame_address.
11444 2001-07-23  Richard Henderson  <rth@redhat.com>
11446         * config/i386/i386.c (ix86_expand_setcc): Don't use method 0
11447         before CSE.
11448         * config/i386/i386.md: New setcc+movzbl peephole2.
11450 2001-07-23  Neil Booth  <neil@cat.daikokuya.demon.co.uk>
11452         * objc/Make-lang.in (objc-act.o): Depend on debug.h.
11453         * objc/objc-act.c: Include debug.h.
11454         (synth_module_prologue): Save and restore debug hooks too.
11456 2001-07-23  lars brinkhoff  <lars@nocrew.org>
11458         * tm.texi (TARGET_FLOAT_FORMAT): Document IBM_FLOAT_FORMAT
11459         and C4X_FLOAT_FORMAT.
11460         (BOOL_TYPE_SIZE): Document.
11462 Mon Jul 23 11:54:23 2001  Clinton Popetz  <cpopetz@cpopetz.com>
11464         * unroll.c (loop_iterations): Fix miscalculation of initial
11465         giv offset.
11467 2001-07-13  Andrew Haley  <aph@redhat.com>
11469         * doc/tm.texi (MD_CAN_REDIRECT_BRANCH): New macro.
11470         * config/sh/sh.h (MD_CAN_REDIRECT_BRANCH): New macro.
11471         * config/sh/sh.c (sh_can_redirect_branch): New function.
11472         * config/sh/sh-protos.h (sh_can_redirect_branch): Declare.
11473         * reorg.c (steal_delay_list_from_target): Use
11474         MD_CAN_REDIRECT_BRANCH to see if redirection is possible.
11476 Mon Jul 23 17:20:18 CEST 2001  Jan Hubicka  <jh@suse.cz>
11478         * flow.c (try_simplify_condjump): Unlink insn chain on
11479         fallthru edge; use can_fallthru.
11481 Mon Jul 23 16:03:19 CEST 2001  Jan Hubicka  <jh@suse.cz>
11483         * basic-block.h (find_sub_basic_block): Declare.
11484         * flow.c (make_edges): New arguments MIN and MAX;
11485         (find_sub_basic_blocks): Revamp to use make_edges
11486         and purge_dead_edges.
11487         (find_basic_blocks): Update call of find_sub_basic_block.
11489         * recog.c (split_all_insns): Always expect CFG to be consistent;
11490         call find_sub_basic_blocks in case something has changed.
11491         * toplev.c (rest_of_compilation): Always call split_all_insns once CFG
11492         has been built.
11494         * basic-block.h (delete_noop_moves): Declare.
11495         * combine.c (combine_instructions): Call it.
11496         (recog_for_combine): Tolerate noop moves
11497         (distribute_notes): Force refresh when register dies at noop move.
11498         * flow.c (delete_noop_moves): Use BB structure; delete JUMP insns
11499         too.
11500         (life_analysis): Update delete_noop_moves call.
11501         (set_noop_p): Move too ...
11502         * rtlanal.c (noop_move_p): ... here.
11503         * rtl.h (noop_move_p): Declare.
11505         * basic-block.h (purge_all_dead_edges, purge_dead_edges): New functions.
11506         * toplev.c (rest_of_compilation): Conditionally call purge_all_dead_edges
11507         after combine.
11508         * gcse.c (cprop_cc0_jump, cprop_insn): New argument "basic_block".
11509         (cprop_jump): Likewise; call purge_dead_edges if substitution succeeded.
11511 2001-07-23  Hans-Peter Nilsson  <hp@bitrange.com>
11513         * reload.c (push_reload): Fix typo in comment.
11514         (find_reloads_address): Ditto.
11515         (reg_overlap_mentioned_for_reload_p): Ditto in head comment.
11517 2001-07-22  Richard Henderson  <rth@redhat.com>
11519         * flow.c: Grammar check and clarify a lot of comments.
11520         (try_simplify_condjump): Rename variables to be clearer.
11521         (try_forward_edges): Skip complex and fallthru edges.
11522         Rearrange tests to avoid duplicate checks.
11523         (flow_find_cross_jump): Likewise.
11524         (outgoing_edges_match): Allow match if neither branch has
11525         probability data.  Loosen probability match to 5%.
11526         (try_crossjump_to_edge): Hoist repeated indirection into
11527         local variables.
11528         (try_crossjump_bb): Don't check complex edges.  Eliminate
11529         redundant crossjump tests.
11530         (try_optimize_cfg): Fix use of bool.  Reorganize cheaper
11531         checks before more expensive checks.
11533 2001-07-22  Richard Henderson  <rth@redhat.com>
11535         * fold-const.c (fold): Test vs FLOAT_TYPE_P instead of
11536         INTEGRAL_TYPE_P when folding comparisons with operand_equal_p
11537         arguments.
11539 2001-07-22  Richard Henderson  <rth@redhat.com>
11541         * m68k.c (const_uint32_operand): Abort if mode is <= 32 bits.
11542         (const_sint32_operand): Likewise.
11543         * m68k.md (anon mulsi pattern): Use const_int_operand not
11544         const_sint32_operand.
11545         (umulsi3_highpart): Zero extend a constant input.
11546         (smulsi3_highpart): Don't bother checking SImode constant.
11547         (const_umulsi3_highpart): Give op3 DImode.
11548         (const_smulsi3_highpart): Likewise.
11550 2001-07-22  Richard Henderson  <rth@redhat.com>
11552         * flow.c (split_block): Make sure bb_note is included in the
11553         new block when splitting before a label.
11555 Sun Jul 22 23:28:56 CEST 2001  Jan Hubicka  <jh@suse.cz>
11557         * basic-block.h (redirect_edge_and_branch_force,
11558         redirect_edge_and_branch, block_label, forwarder_block_p): Declare.
11559         * flow.c (redirect_edge_and_branch_force,
11560         redirect_edge_and_branch, block_label, forwarder_block_p): Make global.
11561         (redirect_edge_and_branch_force): Fix copying of lifeness information.
11562         (block_label): Handle EXIT_BLOCK_PTR by returning NULL.
11563         * ifcvt.c (dead_or_predictable): Take BB as an new destination
11564         instead of label; update CFG after transformation.
11565         (find_if_case_1): Update call, use redirect_edge_and_branch_force
11566         for finishing the transformation; handle even case where ELSE
11567         does not follow THEN.
11568         (find_if_case_2): Update call of dead_or_predictable; simplify
11569         CFG update.
11571         * emit-rtl.c (split_branch_probability): New global variable.
11572         (try_split): Take care to set split_branch_probability and
11573         create REG_BR_PROB note for new jump insns.
11574         * md.texi (define_split): Document new feature.
11576         * i386.c (ix86_split_fp_branch): Redistribute branch probability notes.
11578 2001-07-22  Neil Booth  <neil@daikokuya.demon.co.uk>
11580         * varasm.c: Don't inlcude dbxout.h, sdbout.h or xcoffout.h.
11581         (asm_out_file): Remove redundant declaration.
11582         (assemble_asm): Remove old #if 0 block.
11583         (assemble_variable): Remove end of function; debug output is
11584         now handled with global_decl.  Remove old #if 0 block.  Update.
11585         Remove saved_in_section and associated no-op code.
11586         * Makefile.in (varasm.o): Correct dependencies.
11588 Sun Jul 22 17:55:11 2001  Alexandre Oliva  <aoliva@redhat.com>
11590         * config/i386/freebsd-aout.h (ASM_PREFERRED_EH_DATA_FORMAT): Use
11591         the definition in defaults.h.
11593 Sun Jul 22 21:31:04 CEST 2001  Jan Hubicka  <jh@suse.cz>
11595         * jump.c: Update comments.
11596         (delete_barrier_successors, delete_unreferenced_labels,
11597         delete_noop_moves, tension_vector_labels, delete_from_jump_chain,
11598         delete_labelref_insn, redirect_tablejump, jump_optimize_1,
11599         jump_optimize, jump_optimize_minimal): Kill.
11600         (rebuild_jump_labels): Move code from jump_optimize_1.
11601         (purge_line_number_notes): Likewise.
11602         (copy_loop_headers): Likewise.
11603         * reg-stack.c: Update comment.
11604         * stmt.c: Likewise.
11605         * rtl.h (jump_optimize, jump_optimize_1, JUMP_NOOP_MOVES,
11606         JUMP_AFTER_REGSCAN): Kill.
11607         * toplev.c (rest_of_compilation): Use cleanup_cfg, call
11608         purge_line_number_notes and copy_loop_headers.
11610 2001-07-22 Neil Booth  <neil@daikokuya.demon.co.uk>
11611            Richard Henderson  <rth@redhat.com>
11613         * dbxout.c (dbxout_global_decl): New.
11614         (xcoff_debug_hooks, dbx_debug_hooks): Use it.
11615         * sdbout.c (sdbout_finish): New.
11616         (sdbout_debug_hooks): Use it, add comments.
11617         (sdbout_global_decl): Defer initialised public vars to
11618         sdbout_finish.
11619         * varasm.c (assemble_variable): Don't output debug information
11620         for file-scope variables.
11622 2001-07-22  Richard Henderson  <rth@redhat.com>
11624         * config/alpha/alpha.c (get_trap_mode_suffix): New.
11625         (get_round_mode_suffix): New.
11626         (print_operand): Use them for [/].  Remove support for [&'`()+].
11627         * config/alpha/alpha.h (PRINT_OPERAND_PUNCT_VALID_P): Update.
11628         * config/alpha/alpha.md (attr round_suffix): New.
11629         (attr trap_suffix): New.
11630         (all insns): Set them appropriately.  Use %/ instead of the
11631         myriad punctuators.
11633 2001-07-22  Neil Booth  <neil@cat.daikokuya.demon.co.uk>
11635         * dbxout.c, sdbout.c, varasm.c: Revert most recent debug patch.
11637 2001-07-22  Richard Henderson  <rth@redhat.com>
11639         * regrename.c (regrename_optimize): Compute nregs for each
11640         potential target register.
11642 2001-07-21 Neil Booth  <neil@daikokuya.demon.co.uk>
11643            Richard Henderson  <rth@redhat.com>
11645         * dbxout.c (dbxout_global_decl): New.
11646         (xcoff_debug_hooks, dbx_debug_hooks): Use it.
11647         * sdbout.c (sdbout_finish): New.
11648         (sdbout_debug_hooks): Use it, add comments.
11649         (sdbout_global_decl): Defer initialised public vars to
11650         sdbout_finish.
11651         * varasm.c (assemble_variable): Don't output debug information
11652         for file-scope variables.
11654 2001-07-21  H.J. Lu  (hjl@gnu.org)
11656         * config/mips/mips.c (mips_cpu): Moved into ...
11657         (override_options): Here.
11659         * config/mips/mips.h (mips_cpu_attr): Replace mips_cpu with
11660         mips_tune.
11661         (mips_cpu): Removed.
11663 2001-07-21  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
11665         * config/m68hc11/m68hc11.md ("andqi3"): Accept d as second operand.
11666         ("iorqi3"): Likewise.
11667         ("xorqi3"): Likewise.
11668         ("*addhi3"): Fix constraint to avoid reloading in a soft register.
11669         ("*subhi3_sp): Likewise.
11670         ("*subhi3"): Likewise.
11671         ("extendhisi2"): Accept D, X and Y as source operand to avoid
11672         reload problems.
11674 2001-07-21  Nathan Sidwell  <nathan@codesourcery.com>
11676         * doc/tm.texi: Remove DEFAULT_VTABLE_THUNKS.
11677         * config/freebsd.h: Likewise.
11678         * config/linux.h: Likewise.
11679         * config/openbsd.h: Likewise.
11680         * config/alpha/linux-elf.h: Likewise.
11681         * config/arm/linux-elf.h: Likewise.
11682         * config/d30v/d30v.h: Likewise.
11683         * config/fr30/fr30.h: Likewise.
11684         * config/ia64/aix.h: Likewise.
11685         * config/ia64/ia64.h: Likewise.
11686         * config/mips/linux.h: Likewise.
11687         * config/pj/pj.h: Likewise.
11688         * config/rs6000/linux.h: Likewise.
11689         * config/sparc/linux.h: Likewise.
11690         * config/sparc/linux64.h: Likewise.
11692 2001-07-20  Bruce Korb  <bkorb@gnu.org>
11694         * fixinc/fixincl.c(test_for_changes): force unsigned char comparisons
11695         because getc() and char* may disagree on signedness.
11697 2001-07-20  Richard Henderson  <rth@redhat.com>
11699         * doc/rtl.texi (REG_DEAD): Update for current semantics.
11701         * flow.c (try_redirect_by_replacing_jump): Correctly compute which
11702         insns to delete in the presence of cc0 in a jump insn.
11704 Fri Jul 20 22:14:49 CEST 2001  Roman Zippel  <zippel@linux-m68k.org>
11705                                 Jan Hubicka  <jh@suse.cz>
11707         * m68k.md (zero_extend?i?i2 expander): Use gen_lowpart instead
11708         of doing the change by hand.
11710 Fri Jul 20 21:59:42 CEST 2001  Jan Hubicka  <jh@suse.cz>
11712         * rtlanal.c (set_noop_p): Return true for noop jumps.
11714         * expr.c (emit_single_push_insn): Add call to push expander.
11715         * expr.h (optab_index): Add OTI_push
11716         (push_optab): New constant.
11717         * genopinit.c (optabs): Add push_optab.
11718         * optabs.c (init_optab): Init push optab.
11719         * md.texi (push??1): Document
11721 2001-07-20  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
11723         * config/m68hc11/m68hc11.md ("movdi", "movdi_internal"): Use an
11724         expand to emit the pattern; put a REG_INC note for push/pop
11725         instructions.
11726         ("movdf", "movdf_internal"): Likewise.
11727         ("movsi", "movsi_internal"): Likewise.
11728         ("movsf", "movsf_internal"): Likewise.
11729         ("movhi", "movqi"): Emit a REG_INC note for push/pop instructions.
11731 2001-07-20  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
11733         * config/m68hc11/m68hc11.c (m68hc11_gen_highpart): Don't use
11734         gen_highpart.
11736 2001-07-20  Daniel Berlin  <dan@cgsoftware.com>
11738         * params.def: Change default max inline insns to 100.
11740 2001-07-20  Diego Novillo  <dnovillo@redhat.com>
11742         * combine.c (combine_simplify_rtx): Generate a new shift operation
11743         when simplifying the first operand of a (neg (ashift)) expression.
11745 2001-07-20  Roman Lechtchinsky  <rl@cs.tu-berlin.de>
11747         * regclass.c (N_REG_INTS): Use only 32 bits per element.
11749 2001-07-20  Kelley Cook  <kelley.cook@home.com>
11751         * doc/install.texi (sparc-sun-solaris*): Add in 4.x assembler bug
11752         information.   Move rest into ...
11753         (*-*-solaris): ... here.  Eliminate redundant information and
11754         reword necessary packages section.  Delete 4.x assembler bug info.
11755         (sparc-sun-*): Merge into ...
11756         (sparc-sun-sunos*): here.
11758 2001-07-20  Catherine Moore  <clm@redhat.com>
11760         * config/v850/v850.md (casesi): Generate LABEL_REF
11761         with Pmode.
11763 Fri Jul 20 14:12:57 CEST 2001  Jan Hubicka  <jh@suse.cz>
11765         * i386-protos.h (ix86_zero_extend_to_Pmode): Declare.
11766         * i386.c (ix86_zero_extend_to_Pmode): Make global.
11767         * i386.md (strclrsi expander): Use it.
11769 Fri Jul 20 13:24:16 CEST 2001  Jan Hubicka  <jh@suse.cz>
11771         * integrate.c (copy_insn_list): handle
11772         NOTE_INSN_DELETED_LABEL, as if it were CODE_LABEL.
11773         (copy_rtx_and_substitute): Likewise; behave to NOTE_INSN_DELETED_LABEL
11774         identically as to CODE_LABEL.
11776         * fold-const (fold): Convert A/B/C to A/(B*C) and
11777         A/(B/C) to (A/B)*C
11779         * except.c (connect_post_landing_pads): Delete the RESX insns.
11781 2001-07-20  Aldy Hernandez  <aldyh@redhat.com>
11783         * config/mips/mips.h (ISA_HAS_NMADD_NMSUB): New macro.
11785         * config/mips/mips.md (nmadd/nmsub): Use macro.
11787 2001-07-20  Nathan Sidwell  <nathan@codesourcery.com>
11789         * cppinit.c (remove_dup_dir): Make static.
11790         (remove_dup_dirs): Make static. Only warn about preempting a
11791         system directory with a non-system directory.
11793 2001-07-19  Geoffrey Keating  <geoffk@redhat.com>
11795         * ifcvt.c (noce_try_store_flag_constants): Correct order
11796         of parameters to trunc_int_for_mode.
11798 2001-07-19  Mark Mitchell  <mark@codesourcery.com>
11800         * reorg.c (fill_simple_delay_slots): If an instruction might throw
11801         an exception that will be caught within this function, do not fill
11802         its delay slot with any subsequent instruction.
11804 2001-07-19  Steve Ellcey <sje@cup.hp.com>
11806         * tm.texi (POINTERS_EXTEND_UNSIGNED) Modify definition.
11807         * optabs.c (can_extend_p) Check HAVE_ptr_extend for a specialized
11808         pointer extension instruction.
11809         * combine.c (nonzero_bits,num_sign_bit_copies) Likewise.
11810         * simplify-rtx.c (simplify_unary_operation) Likewise.
11811         * explow.c (convert_memory_address) Check value of
11812         POINTERS_EXTEND_UNSIGNED to avoid some conversions when
11813         less than zero.
11814         * config/ia64/t-hpux (LIBGCC, INSTALL_LIBGCC, MULTILIB_OPTIONS,
11815         MULTILIB_DIRNAMES, MULTILIB_MATCHES) Add multilib support.
11816         * config/ia64/hpux.h (CPP_SPEC, ASM_SPEC, SUBTARGET_SWITCHES)
11817         Add Multilib Support.
11818         (POINTERS_EXTEND_UNSIGNED)  Define for ILP32 support.
11819         * config/ia64/ia64.h (MASK_ILP32, TARGET_ILP32, SUBTARGET_SWITCHES)
11820         Add Multilib Support.
11821         (POINTER_SIZE, LONG_TYPE_SIZE, MAX_LONG_TYPE_SIZE) Modify for ILP32
11822         support.
11823         * config/ia64/ia64.c (rtx_needs_barrier) Add support for addp4.
11824         * config/ia64/ia64.md (ptr_extend) New instruction to "swizzle"
11825         a 32 bit HP-UX pointer into a 64 bit HP-UX pointer.
11827 2001-07-19  Alexandre Oliva  <aoliva@redhat.com>
11829         * simplify-rtx.c (simplify_replace_rtx): Try to obtain mode from
11830         old and new operands in `<', `3' and `b'.
11832 2001-07-19  Neil Booth  <neil@daikokuya.demon.co.uk>
11834         * Makefile.in (emit-rtl.o, c-decl.o): Depend on debug.h.
11835         (final.o): Don't depend on xcoffout.h, dbxout.h or sdbout.h.
11836         (toplev.o): Don't depend on xcoffout.h.
11837         * c-decl.c: Include debug.h
11838         (duplicate_decls): Use debug hook.
11839         * dbxout.c (dbxout_source_file, dbxout_args): Make static.
11840         (dbx_debug_hooks, xcoff_debug_hooks): Update.
11841         (dbxout_types): Remove.
11842         * dbxout.h (dbxout_source_file, dbxout_types, dbxout_args): Remove.
11843         * debug.c (do_nothing_debug_hooks): Update.
11844         (debug_true_tree, debug_nothing_rtx): New.
11845         * debug.h (struct rtx_def): New.
11846         (struct gcc_debug_hooks): New hooks ignore_block,
11847         outlining_inline_function and label.
11848         (debug_true_tree, debug_nothing_rtx, dwarf2out_frame_init,
11849         dwarf2out_frame_finish): New.
11850         * dwarf2out.c (dwarf2out_ignore_block, dwarf2out_abstract_function):
11851         Make static, update prototype.
11852         (dwarf2_debug_hooks): Update.
11853         * dwarf2out.h (dwarf2out_ignore_block, dwarf2out_abstract_function,
11854         dwarf2out_frame_init, dwarf2out_frame_finish): Remove.
11855         * dwarfout.c (dwarf_debug_hooks): Update.
11856         * emit-rtl.c: Include debug.h.
11857         (remove_unnecessary_notes): Use debug hook.
11858         * final.c: Don't include dbxout.h, xcoffout.h or sdbout.h.
11859         (final_scan_insn): Use debug hook.
11860         * integrate.c (output_inline_function): Use debug hook.
11861         * sdbout.c (sdbout_toplevel_data, sdbout_label): Make static.
11862         (sdb_debug_hooks): Update.
11863         * sdbout.h (sdbout_label, sdbout_toplevel_data): Remove.
11864         * toplev.c: Don't include xcoffout.h.
11865         (note_outlining_of_inline_function, debug_ignore_block): Remove.
11866         * toplev.h (note_outlining_of_inline_function, debug_ignore_block):
11867         Remove.
11868         * tree.h (dwarf2out_do_frame): Remove.
11870 2001-07-19  Catherine Moore  <clm@cygnus.com>
11872         * config/v850/v850.h (ASM_OUTPUT_LABELREF): Restore.
11874 2001-07-19  Geoffrey Keating  <geoffk@redhat.com>
11876         * reload1.c (eliminate_regs_in_insn): When updating a set
11877         to the frame pointer to the hardware frame pointer, perform
11878         the update always not just when REPLACE is set.
11880         * reload1.c (choose_reload_regs): Don't inherit a reload
11881         that crosses multiple registers if registers past the first
11882         don't fit in the desired class.
11884         * ifcvt.c (noce_try_store_flag_constants): Use trunc_int_for_mode
11885         when negating constants.
11887 2001-07-19  Toon Moene  <toon@moene.indiv.nluug.nl>
11889         * tree.def: Document restriction on {L|R}SHIFT_EXPR's second argument.
11890         * doc/tree.texi: Ditto.
11892 2001-07-19  Mark Kettenis  <kettenis@wins.uva.nl>
11893             Jakub Jelinek  <jakub@redhat.com>
11895         * unwind-dw2.c (_Unwind_FrameState): Add eh_ptr.
11896         (extract_cie_info): Handle "eh" augmentation properly,
11897         remember eh_ptr.
11898         (struct frame_state, __frame_state_for): New.
11900 2001-07-19  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
11902         * config/alpha/osf.h (ASM_OUTPUT_WEAK_ALIAS, ASM_WEAKEN_LABEL,
11903         HANDLE_SYSV_PRAGMA): Define.
11904         * mips-tfile.c (add_ext_symbol): Pass complete symbol ptr, inline
11905         previous args.
11906         (copy_object): Caller changed.
11908 2001-07-19  Andreas Schwab  <schwab@suse.de>
11910         * configure.in (assembler dwarf2 debug_line support): Define nop
11911         insn for m68k.
11912         * configure: Regenerated.
11914 2001-07-19  Neil Booth  <neil@daikokuya.demon.co.uk>
11916         * Makefile.in (toplev.o, dwarfout.o, final.o): Don't depend on
11917         dwarfout.h.
11918         * dbxout.c (dbxout_function): Rename dbxout_funciton_decl, move
11919         to conditionally compiled block.
11920         (dbx_debug_hooks, xcoff_debug_hooks): Update.
11921         * dbxout.h (dbxout_function): Remove.
11922         * debug.c (do_nothing_debug_hooks): Update.
11923         * debug.h (struct gcc_debug_hooks): New hooks function_decl,
11924         global_decl, deferred_inline_function.
11925         * dwarf2out.c (dwarf2_debug_hooks): Update.
11926         (dwarf2out_global_decl): New.
11927         * dwarfout.c: Don't include dwarfout.h.
11928         (dwarfout_global_decl, dwarfout_function_decl,
11929         dwarfout_deferred_inline_function): New.
11930         (dwarf_debug_hooks): Update.
11931         * dwarfout.h: Remove.
11932         * final.c: Don't include dwarfout.h.
11933         * sdbout.c (sdbout_global_decl): New.
11934         (sdbout_debug_hooks): Update.
11935         * toplev.c: Don't include dwarfout.h.
11936         (check_global_declarations, rest_of_compilation): Use new debug hooks.
11937         (note_deferral_of_defined_inline_function): Remove.
11938         * toplev.h (note_deferral_of_defined_inline_function): Remove.
11939         * ch/Makefile.in (lex.o): No dependence on dwarfout.h.
11940         * ch/lex.c: Don't include dwarfout.h.
11941         * cp/Make-lang.in (decl2.o): No dependence on dwarfout.h, dwarf2out.h.
11942         (semantics.o, optimize.o): Depend on debug.h not dwarfout.h.
11943         * cp/decl2.c: Don't include dwarfout.h and dwarf2out.h.
11944         * cp/optimize.c: Include debug.h.
11945         (maybe_clone_body): Use debug hook.
11946         * cp/semantics.c: Include debug.h.
11947         (expand_body): Use debug hook.
11948         * po/POTFILES.in: Remove dwarfout.h.
11950 2001-07-19  Neil Booth  <neil@daikokuya.demon.co.uk>
11952         * c-lex.c (c_lex): Remove CPP_INT, CPP_FLOAT cases.
11953         * c-parse.in (yyerror, _yylex): Similarly.
11954         * cppexp.c (parse_number, parse_defined, lex, _cpp_parse_expr):
11955         Don't use CPP_INT, CPP_FLOAT; CPP_NUMBER is enough.
11956         Update comments.
11957         * cpplib.h (CPP_INT, CPP_FLOAT): Remove.
11958         * cp/spew.c (read_token, yyerror): Remove CPP_INT, CPP_FLOAT cases.
11960 2001-07-18  Jeff Sturm  <jsturm@one-point.com>
11962         * dwarf2out.c (dwarf2out_abstract_function): Don't emit
11963         in-class declaration at -g1.  Fixes c++/2814.
11965 2001-07-18  Richard Henderson  <rth@redhat.com>
11967         * doc/md.texi (reload_in/out): Document restrictions in predicates
11968         and constraints for these patterns.  Document empty string matching
11969         ALL_REGS.
11971 2001-07-18  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
11973         * defaults.h (ASM_OUTPUT_WEAK_ALIAS): Check for ASM_WEAKEN_LABEL.
11975 Wed Jul 18 20:47:36 CEST 2001  Jan Hubicka  <jh@suse.cz>
11977         * cse.c: Undo my previous patch.
11979 2001-07-18  Tom Tromey  <tromey@redhat.com>
11981         For PR java/2812:
11982         * configure: Rebuilt.
11983         * configure.in: Don't check for iconv.h or iconv(); use AM_ICONV
11984         instead.
11985         * aclocal.m4 (AM_ICONV): New macro from Bruno Haible.
11987 Wed Jul 18 18:46:30 CEST 2001  Richard Henderson <rth@cygnus.com>
11988                                 Jan Hubicka  <jh@suse.cz>
11990         * flow.c (redirect_edge_and_branch): Bail out on complex edges.
11991         (try_optimize_cfg): Do not remove tail recursive labels before sibcall.
11992         * jump.c (mark_jump_label): Do not forward branches.
11994 Wed Jul 18 18:35:01 CEST 2001  Jan Hubicka  <jh@suse.cz>
11996         * cse.c (delete_trivially_dead_insns): Delete the libcall block
11997         when return value is unused.
11999 Wed Jul 18 18:28:16 CEST 2001  Jan Hubicka  <jh@suse.cz>
12001         * gcse.c (pre_insert_copy_insn): Call update_ld_motion_stores.
12003 Wed Jul 18 12:05:29 2001  Nicola Pero  <n.pero@mi.flashnet.it>
12005         * gthr-posix.h (__gthread_objc_mutex_trylock): Fixed return value
12006         on error.  We can't blindly return the result of
12007         pthread_mutex_trylock because it returns a positive number on
12008         error, while we must return -1 on error.
12009         (__gthread_objc_mutex_lock, __gthread_objc_mutex_unlock): Similar
12010         fixes.
12011         Reported by Stephen Brandon <stephen@brandonitconsulting.co.uk>.
12013 2001-07-18  Andreas Jaeger  <aj@suse.de>
12015         * integrate.c (output_inline_function): Correct type of debug_hooks.
12017 2001-07-18  Toon Moene  <toon@moene.indiv.nluug.nl>
12019         * combine.c (combine_simplify_rtx): DIV can be treated
12020         associatively for floats if unsafe math optimisations are enabled.
12022 2001-07-17  Richard Henderson  <rth@redhat.com>
12024         * reload.c (push_secondary_reload): Accept empty-string for ALL_REGS.
12026 2001-07-17  Richard Henderson  <rth@redhat.com>
12028         * calls.c (prepare_call_address): New parameter SIBCALLP.  If true,
12029         don't force the function address into a register.
12030         (expand_call, emit_library_call_value_1): Update callers.
12031         * builtins.c (expand_builtin_apply): Likewise.
12032         * expr.h (prepare_call_address): Update decl.
12034 2001-07-17  Chandrakala Chavva  <cchavva@redhat.com>
12036         * config.gcc: For *-*-chorusos triplet, get chorus.h file from
12037         config directory.
12038         * config/i386/chorus.h: Move up.
12039         * config/sparc/chorus.h: Likewise.
12040         * config/rs6000/chorus.h: Likewise.
12041         * config/chorus.h: Moved here.
12043 2001-07-17  Andreas Schwab  <schwab@suse.de>
12045         * configure.in  (assembler eh_frame optimization): Handle big
12046         endian.
12047         * configure: Regenerated.
12049 Tue Jul 17 23:43:31 CEST 2001  Jan Hubicka  <jh@suse.cz>
12051         * expr.c (epxand_expr): Convert divisions into multiplications by
12052         reciprocals if -ffast-math.
12054 2001-07-17  Neil Booth  <neil@daikokuya.demon.co.uk>
12056         * dbxout.c (dbxout_really_begin_function): Rename to
12057         dbxout_begin_function.
12058         (dbx_debug_hooks, xcoff_debug_hooks): Update.
12059         (dbxout_begin_function): Remove.
12060         (dbxout_function): Update.
12061         (dbxout_source_line): Update prototype.
12062         * dbxout.h (dbxout_begin_function): Remove.
12063         * debug.c (do_nothing_debug_hooks): Update.
12064         (debug_nothing_tree): Update.
12065         (debug_nothing_charstar_rtx): Remove.
12066         * debug.h (union tree_node): Declare.
12067         (struct rtx_def): Remove.
12068         (gcc_debug_hooks): New hooks begin_prologue, end_prologue,
12069         begin_function.  Change source_line prototype.
12070         (debug_nothing_tree): New.
12071         (debug_nothing_charstar_rtx): Delete.
12072         (dwarf2out_begin_prologue): Moved from ...
12073         * tree.h: ... here.
12074         * dwarf2out.c (dwarf2_debug_hooks): Update.
12075         (dwarf2out_begin_prologue): Update prototype.  If genuine dwarf2
12076         debug info, call dwarf2out_source_line.
12077         (dwarf2out_souce_line): Update prototype.
12078         * dwarfout.c (dwarfout_begin_function): Rename dwarfout_end_prologue.
12079         Change prototype, make static.
12080         (dwarfout_source_line): Update prototype.
12081         (dwarf_debug_hooks): Update.
12082         * dwarfout.h (dwarfout_begin_function): Remove.
12083         * final.c (final_start_function, final_scan_insn): Use appropriate
12084         debug hooks, update to use notice_source_line.
12085         (output_source_line): Rename notice_source_line.  Don't call the
12086         source_line debug hook.
12087         * sdbout.c (sdbout_begin_function): Rename sdbout_begin_prologue,
12088         make static, update prototype.
12089         (sdbout_mark_begin_function): Rename sdbout_begin_function, update
12090         prototype.
12091         (sdbout_end_prologue): New.
12092         (sdbout_source_line): Update prototype.
12093         (sdbout_debug_hooks): Update.
12094         (sdbout_symbol): Remove unused var.
12095         * sdbout.h (sdbout_begin_function, sdbout_mark_begin_function):
12096         Delete.
12097         * varasm.c: Include debug.h.
12098         (assemble_start_function): Use begin_function debug_hook.
12099         * xcoffout.c (xcoffout_begin_prologue): Rename xcoffout_begin_function,
12100         update with prototype.
12101         (xcoffout_source_line): Update prototype.
12102         * xcoffout.h (xcoffout_begin_prologue): Rename xcoffout_begin_function,
12103         update prototype.
12104         (xcoffout_source_line): Update prototype.
12106 2001-07-17  Richard Henderson  <rth@redhat.com>
12108         * c-typeck.c (build_binary_op): Do not shorten unsigned
12109         right shift after sign extension.
12111 Tue Jul 17 16:56:05 CEST 2001  Jan Hubicka  <jh@suse.cz>
12113         * combine.c (combine_simplify_rtx): Attempt to simplify
12114         a*(b/c) as (a*b)/c for floats in unsafe_math mode.
12116         * simplify-rtx.c (avoid_constatn_pool_reference): New static function.
12117         (simplify_binary_operation, simplify_unary_operation,
12118          simplify_relational_operation): Use it.
12120         * combine.c (combine_simplify_rtx): Don't do associative law
12121         on divisions; allow associative law on floats.
12123 2001-07-17  H.J. Lu <hjl@gnu.org>
12124             Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
12126         * c-pragma.h (HANDLE_PRAGMA_WEAK): Define iff ASM_WEAKEN_LABEL and
12127         ASM_OUTPUT_WEAK_ALIAS are defined.
12128         * defaults.h (ASM_OUTPUT_WEAK_ALIAS): Define if possible.
12129         * config/mips/iris6.h (ASM_OUTPUT_WEAK_ALIAS, ASM_WEAKEN_LABEL):
12130         Moved ...
12131         * config/mips/iris5.h: ... here.
12132         (HANDLE_SYSV_PRAGMA): Defined as 1.
12133         * varasm.c (weak_finish): Use ASM_OUTPUT_WEAK_ALIAS.
12134         * doc/tm.texi (ASM_OUTPUT_WEAK_ALIAS): Support the undefined weak
12135         symbol.
12137 2001-07-17  Joseph S. Myers  <jsm28@cam.ac.uk>
12139         * c-parse.in (all_prefix_attributes): New variable.
12140         (PUSH_DECLSPEC_STACK, POP_DECLSPEC_STACK): New macros.
12141         (maybe_resetattrs): New production.
12142         (c_parse_init, datadef, fndef, datadecl, setspecs, setattrs, decl,
12143         maybe_type_quals_setattrs, initdecls, notype_initdecls, initdcl,
12144         notype_initdcl, nested_function, notype_nested_function,
12145         component_decl, components, components_notype,
12146         component_declarator, component_notype_declarator,
12147         absdcl_maybe_attribute, parm, firstparm, setspecs_fp, ivar_decl,
12148         ivars, mydecl, myparm): Update.  Avoid prefix attributes just
12149         after a comma being applied to more than one declarator.
12150         * doc/extend.texi (Attribute Syntax): Update.  Remove
12151         documentation of bugs that are no longer present.
12153 2001-07-13  Eric Christopher  <echristo@redhat.com>
12155         * config/mips/mips.h: Change TUNE_MIPS* options to use
12156         mips_tune.
12157         (EXTRA_SPECS): Add cc1_cpu_spec.
12158         * config/mips/mips.md (muldf3): Fix typo.
12160 2001-07-16  Richard Henderson  <rth@redhat.com>
12162         * config/m68k/m68k.c: Include expr.h and reload.h.
12163         (print_operand_address) [16 bit int]: Cast INTVAL to int for %d.
12164         [general int]: Use HOST_WIDE_INT_PRINT_DEC.
12166 2001-07-16  Daniel Berlin  <dan@cgsoftware.com>
12167             Richard Henderson  <rth@redhat.com>
12169         * cse.c (set_live_p): Take INSN argument for cc0; update callers.
12170         (insn_live_p): Fix fall off end of function.
12171         (dead_libcall_p): Remove COUNTS argument; update callers.
12172         (delete_trivially_dead_insns): Remove unused variables.
12174 2001-07-17  Andreas Jaeger  <aj@suse.de>
12176         * config/i386/unix.h (ASM_OUTPUT_MI_THUNK): Fix output format for
12177         x86-64 pic support.
12179         * lcm.c (optimize_mode_switching): Avoid warning for unused
12180         variable if !NORMAL_MODE.
12182         * flow.c (try_crossjump_to_edge): Remove unused variable.
12184 2001-07-16  John David Anglin  <dave@hiauly1.hia.nrc.ca>
12186         * inclhack.def (ultrix_atexit_param): New hack to fix ultrix 4.3
12187         atexit declaration in stdlib.h.
12189 2001-07-16  Richard Begg  <Richard.Begg@colesmyer.com.au>
12191         * fixinc/inclhack.def(hpux_vsnprintf): brokenness in stdio.h
12193 Mon Jul 16 22:48:00 CEST 2001  Jan Hubicka  <jh@suse.cz>
12195         * basic-block.h (CLEANUP_PRE_SIBCALL): New constant.
12196         * except.c (finish_eh_generation): Update call of cleanup_cfg;
12197         do rebuild_jump_labels instead of jump_optimize
12198         * sibcall.c (optimize_sibling_and_tail_recursive_call): Likewise.
12199         * toplev.c (rest_of_compulation): Likewise for -Wreturn_type.
12200         * flow.c (try_optimize_cfg): Remove unneeded code_labels.
12202         * flow.c: Include timevar.h
12203         (find_basic_block): Push/pop timevar;
12204         (cleanup_cfg): Likewise.
12205         * timevar.def (TV_CFG, TV_CLEANUP_CFG): New.
12206         * Makefile: Add dependencies on timevar.h
12208         * integrate.c (save_for_inline): Kill all BASIC_BLOCK notes.
12209         (copy_insn_list): Avoid killing of BASIC_BLOCK notes.
12211         * rtl.h (delete_trivially_dead_insns): Add new parameter.
12212         * toplev.c (rest_of_compilation): Update calls.
12213         * cse.c (set_live_p, insn_live_p, dead_libcall_p): Break out from ...
12214         (delete_trivially_dead_insns): ... here; accept new argument
12215         preserve_basic_blocks; preserve basic blocks if set.
12217         * reg-stack.c (stack_regs_mentioned): Return 0 if
12218         stack_regs_mentioned_data is not initialized.
12219         (reg_to_stack): Make stack_regs_mentioned survive after the
12220         reg-stack is completted; do not call cleanup_cfg.
12221         * toplev.c (rest_of_compilation): Do cleanup_cfg before bb-reorder;
12222         make cleanup_cfg after bb-reorder to output to debug file.
12224 2001-07-16  Richard Henderson  <rth@redhat.com>
12226         * regclass.c (init_reg_sets): Use only 32 bits per initializer
12227         from int_reg_class_contents.
12229 2001-07-16  Richard Henderson  <rth@redhat.com>
12231         * hard-reg-set.h (regs_invalidated_by_call): Declare.
12232         * regclass.c (regs_invalidated_by_call): Move from cse.c.
12233         (init_reg_sets_1): Move initialization from cse_main.
12234         * cse.c (regs_invalidated_by_call): Move to regclass.c.
12235         (cse_main): Move its initialization also.
12236         * df.c (df_insn_refs_record): Use regs_invalidated_by_call.
12237         * flow.c (propagate_one_insn): Likewise.
12238         * gcse.c (compute_hash_table): Likewise.
12239         (compute_kill_rd, compute_store_table): Likewise.
12240         * sched-deps.c (sched_analyze_1): Likewise.
12242 Mon Jul 16 18:07:07 2001  J"orn Rennecke <amylaar@redhat.com>
12244         * gcse.c (pre_insert_copy_insn): Use gen_move_insn instead of
12245         gen_rtx_SET.
12247 2001-07-16  Steve Ellcey <sje@cup.hp.com>
12249         * dominance.c (calc_dfs_tree_nonrec): Reverse order of tests
12250         in if statement so we don't access undefined memory.
12252 2001-07-16  Daniel Berlin  <dan@cgsoftware.com>
12254         * gcse.c: Update comment at top.
12255         Update comment on mem handling.
12256         mem_last_set, mem_first_set, mem_set_in_block: gone.
12257         Declaration of reg_set_info: gone.
12258         (oprs_unchanged_p): Don't use mem_*set_* anymore. They are
12259         pointless with load_killed_in_block_p (they are *more*
12260         conservative then it, not less, and less accurate).
12261         (oprs_not_set_p): Ditto.
12262         (alloc_gcse_mem): Don't allocate mem_set_in_block
12263         (free_gcse_mem): Don't free it, either.
12264         (record_last_mem_set_info): Update comment in front, remove
12265         mem_*set_* stuff. Note the reason we don't handle stores directly
12266         here.
12267         (compute_hash_table): Update comments to reflect reality. Remove
12268         mem_*set_* references.
12269         (reset_opr_set_tables): Remove mem_*set_* references.
12270         (mark_call): Ditto.
12271         (mark_set): Ditto.  Also remove double sets of bitmaps for REG's.
12272         (mark_clobber): Ditto (on both parts, we double set here too).
12273         (expr_killed_p): Remove mem_set_in_block test.
12274         (compute_transp): Remove mem_set_in_block test.
12276         * ssa-ccp.c: (optimize_unexecutable_edges): Add note about removal
12277         of edge, and removal of phi alternative to dump file.
12278         (ssa_ccp_substitute_constants): Add note about register now being
12279         constant, and which uses were replaced in what insns to dump file.
12281 2001-07-16  Andreas Jaeger  <aj@suse.de>
12283         * gcov.c (output_data): Use HOST_WIDEST_INT_PRINT_DEC to output
12284         variables of type HOST_WIDEST_INT.
12286         * libgcc2.c (__bb_exit_func): Handle gcov_type as long long.
12287         (__bb_exit_func): Correct type of count_max to avoid overflow.
12288         (num_digits): Handle long long argument.
12290         * combine.c (gen_lowpart_for_combine): Remove unused variable.
12292 2001-07-16  Neil Booth  <neil@cat.daikokuya.demon.co.uk>
12294         * output.h (sdb_begin_function_line): Restore as an extern
12295         variable.
12296         * sdbout.c (sdb_begin_function_line): Make extern.
12298 2001-07-15  Richard Henderson  <rth@redhat.com>
12300         * machmode.def (Pmode): Redefine if GENERATOR_FILE.
12301         * genrecog.c (maybe_both_true_mode): New.
12302         (maybe_both_true_2): Use it.
12303         (write_switch): Don't put Pmode in a switch.
12304         * rtl.c (mode arrays): Don't explicitly size them.
12306 Sun Jul 15 14:07:36 CEST 2001  Jan Hubicka  <jh@suse.cz>
12308         * toplev.c (rest_of_compilation): Fix register_life_up_to_date
12309         handling; move unconditional splitting before mode switching.
12311         * i386.md (type): Add fistp type.
12312         (i387, length_attr, scheduling definitions): Handle this type.
12313         (fix_trunc?f?i2): Revamp to use mode switching.
12314         (fix_trunct?f?i_nonmemory, fix_trunc?f?i_memory): New patterns.
12315         * i386.h (fp_cw_mode): New enum
12316         (OPTIMIZE_MODE_SWITCHING, NUM_MODES_FOR_MODE_SWITCHING, MODE_NEEDED,
12317         MODE_PRIORITY_TO_MODE, ENUM_MODE_SET): New macros.
12319 Sun Jul 15 12:53:51 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
12321         * Makefile.in (integrate.o): Add debug.h.
12322         * integrate.c (debug.h): Add.
12323         (output_inline_function): Save, reset, and restore debug_hooks.
12325 2001-07-15  Richard Henderson  <rth@redhat.com>
12327         * config/alpha/alpha.c (alpha_emit_xfloating_compare): Use CCmode
12328         instead of COMPARE for the EQUIV expression.
12330 2001-07-15  Richard Henderson  <rth@redhat.com>
12332         * flow.c (redirect_edge_and_branch_force): Initialize
12333         global_live_at_start and global_live_at_end.
12334         (allocate_bb_life_data): Export.
12335         * basic-block.h (allocate_bb_life_data): Declare.
12336         * toplev.c (rest_of_compilation): Call it.
12338 2001-07-15  Richard Henderson  <rth@redhat.com>
12340         * config/alpha/alpha.c (alpha_tablejump_addr_vec): New.
12341         (alpha_tablejump_best_label): New.
12342         * config/alpha/alpha-protos.h: Declare them.
12343         * config/alpha/alpha.md: Use braced strings for code blocks.
12344         (tablejump_osf): Break out add with r29.
12345         (tablejump_osf_internal): Remove.
12346         (tablejump_osf_nt_internal): Rename from tablejump_nt_internal,
12347         use alpha_tablejump_addr_vec and alpha_tablejump_best_label.
12349 Sun Jul 15 00:53:35 CEST 2001  Jan Hubicka  <jh@suse.cz>
12351         * loop.c (scan_loop): Add USEs inside PARALLELs into dependencies
12352         of the movable.
12354         * toplev.c (rest_of_compilation): Allow new pseudoes for mode switching.
12356         * i386-protos.h (ix86_split_fp_branch): Update prototype.
12357         (ix86_fp_jump_nontrivial_p): New.
12358         * i386.md (fp_jcc_?): Update call of split_fp_branch;
12359         use ix86_fp_jump_nontrivial_p.
12360         * i386.c (ix86_fp_jump_nontrivial_p): New.
12361         (ix86_split_fp_branch): Accept code instead of rtx.
12362         (ix86_expand_compare): Expand comparison early in case
12363         doing so is resonably cheap.
12365 2001-07-15  Nick Clifton  <nickc@cambridge.redhat.com>
12367         * config/rs6000/sysv4.h (CPP_ENDIAN_BIG_SPEC): Assert 'endian'
12368         not 'machine'.
12369         (CPP_ENDIAN_LITTLE_SPEC): Assert 'endian' not 'machine'.
12370         (CPP_ENDIAN_SOLARIS_SPEC): Assert 'endian' not 'machine'.
12372 2001-07-15  Neil Booth  <neil@daikokuya.demon.co.uk>
12374         * dbxout.c (dbxout_source_line): Make static, update prototype.
12375         (dbx_debug_hooks, xcoff_debug_hooks): Add new hooks.
12376         (dbxout_init, dbxout_finish, dbxout_source_line,
12377         dbxout_begin_block, dbxout_end_block): Update for new prototypes.
12378         * dbxout.h (dbxout_source_line): Delete.
12379         * debug.c (debug_nothing_file, debug_nothing_file_int,
12380         debug_nothing_file_charstar_rtx): New.
12381         (do_nothing_debug_hooks): Update.
12382         (debug_nothing_void, debug_nothing_charstar_rtx,
12383         dwarf2out_end_epilogue): New.
12384         (debug_nothing_file_charstar, debug_nothing_file_int_int): Rename.
12385         * debug.h (struct rtx_def): Declare.
12386         (gcc_debug_hooks): New hooks source_line, end_epilogue
12387         and end_function.
12388         (debug_nothing_void, debug_nothing_charstar_rtx,
12389         dwarf2out_end_epilogue): New.
12390         (debug_nothing_file_charstar, debug_nothing_file_int_int): Rename.
12391         * dwarf2out.c (dwarf2out_source_line): Make static, update prototype.
12392         (dwarf2_debug_hooks): Update.
12393         (dwarf2out_init, dwarf2out_finish, dwarf2out_source_line,
12394         dwarf2out_begin_block, dwarf2out_end_block): Update for new prototypes.
12395         * dwarf2out.h (dwarf2out_source_line): Remove.
12396         * dwarfout.c (dwarfout_end_epilogue, dwarfout_end_function):
12397         Make static, update prototype.
12398         (dwarfout_init, dwarfout_finish, dwarfout_source_line,
12399         dwarfout_begin_block, dwarfout_end_block): Update for new prototypes.
12400         (dwarf_debug_hooks): Update.
12401         * dwarfout.h (dwarfout_end_epilogue, dwarfout_source_line,
12402         dwarfout_end_function): Remove.
12403         * final.c (profile_function): Use debug hooks for ending functions
12404         and epilogues.
12405         (output_source_line, final_end_function): Update prototype,
12406         use debug hooks.
12407         (final_start_function, final_scan_insn): Update.
12408         * output.h (sdb_begin_function_line): Remove.
12409         (final_end_function): Update prototype.
12410         * sdbout.c (sdb_begin_function_line): Make static.
12411         (PUT_SDB_EPILOGUE_END): Move to sdbout_end_epilogue.
12412         (sdbout_source_line): New.
12413         (sdbout_end_epilogue, sdbout_end_function): Make static, update
12414         prototypes.
12415         (sdb_debug_hooks): Update.
12416         (sdbout_init, sdbout_source_line,
12417         sdbout_begin_block, sdbout_end_block): Update for new prototypes.
12418         * sdbout.h (sdbout_end_epilogue, sdbout_end_function): Remove.
12419         * toplev.c (compile_file, rest_of_compilation): Update.
12420         * tree.h (dwarf2out_end_epilogue): Move to debug.h.
12421         * xcoffout.c (xcoffout_source_line, xcoffout_begin_block,
12422         xcoffout_end_block, xcoffout_end_epilogue, xcoffout_end_function):
12423         Update for prototype changes.
12424         * xcoffout.h (xcoffout_source_line, xcoffout_begin_block,
12425         xcoffout_end_block, xcoffout_end_epilogue): Update prototypes.
12427 2001-07-15  Richard Henderson  <rth@redhat.com>
12429         * config/alpha/alpha.h (TARGET_ABI_OSF): New.
12430         (TARGET_ABI_WINDOWS_NT, TARGET_ABI_OPEN_VMS): Rename; update users.
12431         * config/alpha/alpha-protos.h: Update TARGET_ABI_* users.
12432         * config/alpha/alpha.c: Likewise.
12433         * config/alpha/alpha.md: Likewise.
12434         * config/alpha/alpha32.h: Likewise.
12435         * config/alpha/vms.h: Likewise.
12436         (OPEN_VMS): Remove.
12438 2001-07-14  Richard Henderson  <rth@redhat.com>
12440         * config/alpha/alpha.md: Use define_constants for unspec values.
12441         Substitute throughout.
12443 2001-07-14  Tim Josling  <tej@melbpc.org.au>
12445         * tree.def (EXPON_EXPR) remove. Never supported anyway.
12447 2001-07-14  John David Anglin  <dave@hiauly1.hia.nrc.ca>
12449         * pa.md: Remove unused constraints from define_split's.
12451 2001-04-14  Richard Henderson  <rth@redhat.com>
12453         * ifcvt.c (find_cond_trap): Test for exit block.
12455 Sun Jul 15 00:50:20 CEST 2001  Jan Hubicka  <jh@suse.cz>
12457         Re-install recently reverted patch.
12458         * emit-rtl.c (try_split): Update mark_jump_label call.
12459         * flow.c (find_sub_basic_blocks): Likewise.
12460         * jump.c (cross_jump_death_matters, find_cross_jump, do_cross_jump,
12461         jump_back_p): Kill.
12462         (mark_all_labels): Kill second parameter.
12463         (jump_optimize, jump_optimize_1): Kill cross_jump parameter.
12464         (rebuild_jump_labels, jump_optimize_minimal): Update call
12465         of jump_optimize_1.
12466         (jump_optimize_1): Kill crossjumping code.
12467         (mark_jump_label): Kill cross_jump parameter.
12468         * rtl.h (mark_jump_label, jump_optimize): Update prototypes.
12469         (JUMP_CROSS_JUMP, JUMP_CROSS_JUMP_DEATH_MATTERS): Kill.
12470         * reg-stack.c (reg_to_stack): Do not rebuild if not needed; do
12471          splitting.
12472         * toplev.c (enum dump_file_index): Kill DFI_jump2; put DFI_stack before
12473         DFI_bpro.
12474         (dump_file_info): Likewise.
12475         (rest_of_compilation): Update calls to jump_optimize; kill jump2 pass;
12476         reorganize passes to do reg-stack first, bb-reorder second.
12477         * invoke.texi (-d letters doc): Remove the jump2 pass.
12479 2001-07-14  Richard Henderson  <rth@redhat.com>
12481         * ifcvt.c (find_cond_trap): New.
12482         (find_if_header): Call it.
12483         (merge_if_block): Relax existing jump sanity check.
12484         * jump.c (jump_optimize_1): Remove conditional trap handling.
12486 2001-07-14  Alan Modra  <amodra@bigpond.net.au>
12488         * config/pa/pa.c (emit_hpdiv_const): Return reg is r2 for 64-bit
12489         millicode.
12490         (insn_refs_are_delayed): Correct comment.
12491         * config/pa/pa.h (INSN_REFERENCES_ARE_DELAYED): Likewise.
12492         * config/pa/pa.md (mulsi3): If TARGET_64BIT, clobber r2
12493         instead of r31.  Make associated insn !TARGET_64BIT, and
12494         provide an additional 64-bit insn that clobbers r2.
12495         (divsi3): Likewise.
12496         (udivsi3): Likewise.
12497         (modsi3): Likewise.
12498         (umodsi3): Likewise.
12500 Sat Jul 14 02:58:38 CEST 2001  Jan Hubicka  <jh@suse.cz>
12502         * bb-reorder.c (skip_insn_after_block): Get past the line number notes.
12504         * flow.c (redirect_edge_and_branch_force, split_edge,
12505         try_crossjump_to_edge): Use set_block_for_new_insns.
12506         * bb-reorder.c (emit_jump_to_block_after): Call set_block_for_new_insns.
12508 2001-07-13  H.J. Lu  (hjl@gnu.org)
12510         * config/elfos.h (UNIQUE_SECTION): Enable .bss section with
12511         the correct patch.
12513 2001-07-13  Geoffrey Keating  <geoffk@redhat.com>
12515         Revert H.J. Lu's UNIQUE_SECTION patch of 2001-07-13.
12517 2001-07-13  Joseph S. Myers  <jsm28@cam.ac.uk>
12519         * c-common.c (decl_attributes): Take a pointer to the node to
12520         which attributes are to be attached, and a flags argument.
12521         * c-common.h (enum attribute_flags): New.
12522         (decl_attributes): Update prototype.
12523         * c-decl.c (start_decl, push_parm_decl, finish_struct,
12524         finish_enum, start_function): Update calls to decl_attributes.
12525         * c-parse.in (component_declarator, component_notype_declarator,
12526         label): Update calls to decl_attributes.
12528 Fri Jul 13 23:04:00 2001  Denis Chertykov  <denisc@overta.ru>
12530         * config/avr/avr.md (strlenhi): PARALLEL keyword removed.
12531         * config/avr/avr.c (legitimate_address_p): Return value changed
12532         from letter to register classes. For better debugging.
12534 2001-07-13  Kazu Hirata  <kazu@hxi.com>
12536         * jump.c (reversed_comparison_code_parts): Fix comment typos.
12538 2001-07-13  H.J. Lu  (hjl@gnu.org)
12540         * config/elfos.h (UNIQUE_SECTION): Enable .bss section.
12542 2001-07-13  Marc Espie  <espie@cvs.openbsd.org>
12544         * config.gcc (*-*-openbsd*):  Add fragment to compile libgcc
12545         correctly for shared configurations.
12546         * config/t-libgcc-pic:  New.
12547         * config/{i386,m68k,sparc}/t-openbsd:  New.
12548         * config/openbsd.h:  Include cpu_spec in cpp_spec where needed.
12549         Support -shared.  Support debugging libraries with -g.
12550         * config/i386/openbsd.h:  Correct ASM_COMMENT_START.  Ensure dwarf2
12551         frame information does not emit pointer diffs.
12552         * config/sparc/openbsd.h:  Ensure dwarf2 frame information does not
12553         emit pointer diffs.
12555 2001-07-13  Geoffrey Keating  <geoffk@redhat.com>
12557         Revert Jan Hubicka's patch of Fri Jul 13 14:46:21 CEST 2001.
12559 2001-07-13  David Edelsohn  <edelsohn@gnu.org>
12561         * combine.c (try_combine): Ensure const_int pow2 is positive.
12563 2001-07-13  Hartmut Penner  <hpenner@de.ibm.com>
12565         * config.gcc: Add configuration for s/390.
12566         * config/s390/s390.c: New. Subroutines for code generation.
12567         * config/s390/s390.h: New. Definitions for s/390.
12568         * config/s390/s390-protos.h: New. Prototypes.
12569         * config/s390/linux.h: New. Definitions for linux for s/390.
12570         * config/s390/linux64.h: New. Definitions for linux for zSeries.
12571         * config/s390/t-linux: New. Makefile fragment.
12572         * config/s390/s390.md: New. Machine description for s/390 and zSeries.
12573         * config/s390/fixdfdi.h: New. Fix L_fix*di.
12575 Fri Jul 13 14:46:21 CEST 2001  Jan Hubicka  <jh@suse.cz>
12577         * emit-rtl.c (try_split): Update mark_jump_label call.
12578         * flow.c (find_sub_basic_blocks): Likewise.
12579         * jump.c (cross_jump_death_matters, find_cross_jump, do_cross_jump,
12580         jump_back_p): Kill.
12581         (mark_all_labels): Kill second parameter.
12582         (jump_optimize, jump_optimize_1): Kill cross_jump parameter.
12583         (rebuild_jump_labels, jump_optimize_minimal): Update call
12584         of jump_optimize_1.
12585         (jump_optimize_1): Kill crossjumping code.
12586         (mark_jump_label): Kill cross_jump parameter.
12587         * rtl.h (mark_jump_label, jump_optimize): Update prototypes.
12588         (JUMP_CROSS_JUMP, JUMP_CROSS_JUMP_DEATH_MATTERS): Kill.
12589         * reg-stack.c (reg_to_stack): Do not rebuild if not needed; do
12590          splitting.
12591         * toplev.c (enum dump_file_index): Kill DFI_jump2; put DFI_stack before
12592         DFI_bpro.
12593         (rest_of_compilation): Update calls to jump_optimize; kill jump2 pass;
12594         reorganize passes to do reg-stack first, bb-reorder second.
12595         * invoke.texi (-d letters doc): Remove the jump2 pass.
12597 2001-07-12  Steve Ellcey <sje@cup.hp.com>
12599         * toplev.c (compile_file): Put call of ASM_FILE_START inside ifdef.
12601 Thu Jul 12 17:57:16 CEST 2001  Jan Hubicka  <jh@suse.cz>
12603         * flow.c (try_optimize_cfg): Delete whole chain of trivially dead
12604         basic blocks.
12605         (verify_flow_info): Make diagnostics prettier.
12607 Thu Jul 12 16:48:54 CEST 2001  Jan Hubicka  <jh@suse.cz>
12609         * flow.c (find_basic_blocks_1): Do not emit NOP after call.
12611         * flow.c (outgoing_edges_match): Return early if condition reversal
12612         failed.
12614 2001-07-06  Richard Sandiford  <rsandifo@redhat.com>
12616         * config/mips/mips.c (print_operand): Extend '%D' to memory operands.
12617         (mips_move_2words): When splitting a move into two instructions,
12618         prefix the second address operand with '%D'.
12620 2001-07-12  Neil Booth  <neil@daikokuya.demon.co.uk>
12622         * Makefile.in (final.o): Depend on debug.h.
12623         * dbxout.c (dbxout_begin_block, dbxout_end_block): New.
12624         (dbx_debug_hooks): Add new hooks.
12625         (xcoff_debug_hooks): New.
12626         * debug.c (debug_nothing_file_int_int): New.
12627         (do_nothing_debug_hooks): Update.
12628         * debug.h (gcc_debug_hooks): New hooks begin_block and end_block.
12629         (debug_nothing_file_int_int): New.
12630         * dwarf2out.c (dwarf2out_begin_block, dwarf2out_end_block): Make
12631         static, update prototype.
12632         (dwarf2_debug_hooks): Update.
12633         * dwarf2out.h (dwarf2out_begin_block, dwarf2out_end_block): Remove.
12634         * dwarfout.c (dwarfout_begin_block, dwarfout_end_block): Make
12635         static, update prototype.
12636         (dwarf_debug_hooks): Update.
12637         * dwarfout.h (dwarfout_begin_block, dwarfout_end_block): Remove.
12638         * final.c: Include debug.h.
12639         (final_scan_insn): Use debug hooks when beginning and ending blocks.
12640         * sdbout.c (sdbout_begin_block, sdbout_end_block): Make
12641         static, update prototype.
12642         (sdb_debug_hooks): Update.
12643         * sdbout.h (sdbout_begin_block, sdbout_end_block): Remove.
12644         * toplev.c: Distinguish between xcoff and dbx.
12646         * f/lex.c (ffelex_file_pop_, ffelex_file_push_, ffelex_hash_):
12647         Call all debug hooks, not just dwarf ones.
12649 2001-07-11  Timothy Wall  <twall@redhat.com>
12651         * config.gcc: Add configuration for AIX5/IA64.
12652         * config/ia64/aix.h: New.  AIX5/IA64-specific configuration.
12653         * config/ia64/crt[in].asm: New.  Generic static ctor/dtor
12654         support prefix/suffix code.
12655         * config/ia64/t-aix: New.  Makefile fragment.
12656         * config/ia64/unwind-aix.c: New.  Unwind table entry lookup.
12658 2001-07-11  Kazu Hirata  <kazu@hxi.com>
12660         * recog.c (validate_change): Fix a comment typo.
12662 2001-07-11  Neil Booth  <neil@daikokuya.demon.co.uk>
12664         * Makefile.in (c-lex.o): Wrap long lines.  Depend on debug.h.
12665         * c-lex.c (cb_file_change, cb_define, cb_undef): Use debug
12666         hooks directly.
12667         * dbxout.c (dbx_debug_hooks): Add new hooks.
12668         (dbxout_start_new_source_file): Rename dbxout_start_source_file,
12669         make static.
12670         (dbxout_resume_previous_source_file): Rename dbxout_end_source_file,
12671         make static.
12672         * dbxout.h (dbxout_start_new_source_file,
12673         dbxout_resume_previous_source_file): Delete.
12674         * debug.c (do_nothing_debug_hooks): Add new hooks.
12675         (debug_nothing_init_finish): Rename debug_nothing_file_charstar.
12676         (debug_nothing_int_charstar, debug_nothing_int): New.
12677         * debug.h (gcc_debug_hooks): New hooks define, undef,
12678         start_source_file and end_source_file.
12679         (debug_nothing_init_finish): Rename debug_nothing_file_charstar.
12680         (debug_nothing_int_charstar, debug_nothing_int): New.
12681         * dwarf2out.c (dwarf2_debug_hooks): Add new hooks.  Move into
12682         the conditionally compiled section.
12683         (dwarf2out_start_source_file, dwarf2out_end_source_file,
12684         dwarf2out_define, dwarf2out_undef): Make static.
12685         * dwarf2out.h (dwarf2out_start_source_file, dwarf2out_end_source_file,
12686         dwarf2out_define, dwarf2out_undef): Remove.
12687         * dwarfout.c (dwarf_debug_hooks): Add new hooks.
12688         (dwarfout_start_source_file, dwarfout_end_source_file,
12689         dwarfout_define, dwarfout_undef): Make static.
12690         (dwarfout_start_source_file_check,
12691         dwarfout_end_source_file_check): New.
12692         (dwarfout_define, dwarfout_finish): Update.
12693         * dwarfout.h (dwarfout_start_new_source_file,
12694         dwarfout_resume_previous_source_file, dwarfout_define,
12695         dwarfout_undef): Remove.
12696         * sdbout.c (sdb_debug_hooks): Add new hooks.
12697         (sdbout_start_new_source_file): Rename sdbout_start_source_file,
12698         make static.
12699         (sdbout_resume_previous_source_file): Rename sdbout_end_source_file,
12700         make static, take an arg.
12701         * sdbout.h (sdbout_start_new_source_file,
12702         sdbout_resume_previous_source_file): Delete.
12703         * toplev.c (debug_start_source_file, debug_end_source_file,
12704         debug_define, debug_undef): Delete.
12705         * toplev.h (debug_start_source_file, debug_end_source_file,
12706         debug_define, debug_undef): Delete.
12708         * java/jcf-parse.c: Include debug.h.
12709         (parse_class_file): Update to use debug hooks directly.
12710         * java/Make-lang.in (jcf-parse.o): Depend on debug.h.
12712 Wed Jul 11 10:07:18 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
12714         * alias.c (set_mem_alias_set): New function.
12715         * rtl.h (set_mem_alias_set): Declare it.
12716         * builtins.c (expand_builtin_return_addr): Call it instead of
12717         using MEM_ALIAS_SET accessor.
12718         (expand_builtin_setjmp_setup, expand_builtin_longjmp): Likewise.
12719         (get_memory_rtx, expand_builtin_va_arg): Likewise.
12720         (expand_builtin_va_copy):Likewise.
12721         * caller-save.c (setup_save_areas): Likewise.
12722         * calls.c (compute_argument_addresses): Likewise.
12723         * explow.c (set_mem_attributes): Likewise.
12724         * expr.c (emit_single_push_insn, emit_push_insn): Likewise.
12725         (expand_assignment, store_constructor_field, store_field): Likewise.
12726         (expand_expr_unaligned): Likewise.
12727         * function.c (assign_stack_temp_for_type): Likewise.
12728         (put_reg_into_stack, gen_mem_addressof): Likewise.
12729         * ifcvt.c (noce_try_cmove_arith): Likewise.
12730         * reload1.c (reload, alter_reg): Likewise.
12731         * config/alpha/alpha.c (get_aligned_mem): Likewise.
12732         (alpha_set_memflags_1, alpha_expand_unaligned_load): Likewise.
12733         (alpha_expand_unaligned_store): Likewise
12734         (alpha_expand_unaligned_load_words): Likewise.
12735         (alpha_expand_unaligned_store_words): Likewise.
12736         (alpha_expand_block_clear, alpha_expand_prologue): Likewise.
12737         (alpha_expand_epilogue): Likewise.
12738         * config/arc/arc.c (arc_setup_incoming_varargs): Likewise.
12739         * config/clipper/clipper.c (clipper_builtin_saveregs): Likewise.
12740         * config/i386/i386.c (legitimize_pic_address): Likewise.
12741         * config/i960/i960.c (setup_incoming_varargs): Likewise.
12742         * config/ia64/ia64.c (spill_restore_mem): Likewise.
12743         * config/m32r/m32r.c (m32r_setup_incoming_varargs): Likewise.
12744         * config/m8k/m88k.c (m88k_builtin_saveregs): Likewise.
12745         * config/mips/mips.c (mips_va_arg): Likewise.
12746         * config/mn10300/mn10300.c (mn10300_builtin_saveregs): Likewise.
12747         * config/pa/pa.c (hppa_builtin_saveregs): Likewise.
12748         * config/rs6000/rs6000.c (rs6000_emit_move): Likewise.
12749         (setup_incoming_varargs, rs6000_va_arg): Likewise.
12750         (rs6000_emit_eh_toc_restore, rs6000_emit_prologue): Likewise.
12751         (rs6000_emit_epilogue): Likewise.
12752         * config/sh/sh.c (sh_builtin_saveregs): Likewise.
12753         * config/sparc/sparc.c (sparc_va_arg): Likewise.
12754         * config/v850/v850.c (v850_va_arg): Likewise.
12756 Wed Jul 11 21:27:25 CEST 2001  Jan Hubicka  <jh@suse.cz>
12758         * flow.c (merge_blocks_move_successor_nojumps): Do not crash
12759         when fallthru edge is present.
12760         (mege_blocks): Handle case where creation of jump insn
12761         is required.
12763         * basic-block.h (CLEANUP_EXPENSIVE, CLEANUP_CROSSJUMP,
12764         CLEANUP_POST_REGSTACK): New constants.
12765         * except.c (finish_eh_generation): Update call of cleanup_cfg,
12766         * jump.c (rtx_renumbered_equal_p): Handle 't' fields.
12767         * output.h (cleanup_cfg): Update prototype.
12768         * reg-stack.c (reg_to_stack): Use cleanup_cfg instead of jump_optimize
12769         * sibcall.c (optimize_sibling_and_tail_recursive_call): Update
12770         cleanup_cfg call; kill missleading comment.
12771         * toplev.c (rest_of_compilation): Update all cleanup_cfg calls.
12772         * flow.c (merge_blocks, try_optimize_cfg, cleanup_cfg): Accept mode
12773         parameter; control optimizations performed using it.
12774         (flow_find_cross_jump, outgoing_edges_match, try_crossjump_to_edge,
12775         try_crossjump_bb): New functions.
12777 2001-07-11  John David Anglin  <dave@hiauly1.hia.nrc.ca>
12779         * pa.c (pa_output_function_prologue): Delete prototype.  Make function
12780         extern.
12781         * pa.h (ASM_OUTPUT_MI_THUNK): Rename output_function_prologue to
12782         pa_output_function_prologue.
12783         * pa-protos.h (pa_output_function_prologue): New prototype.
12785 2001-07-11  John David Anglin  <dave@hiauly1.hia.nrc.ca>
12787         * stmt.c (emit_case_nodes): Widen high and low instead of new_bound
12788         and low to get correct sign extension in low+high test.
12790 2001-07-11  Janis Johnson <janis@us.ibm.com>
12792         * gcov.c (arcdata): Use gcov_type to fix branch percentage
12793         for large hit count.
12795         * profile.c (branch_prob): Fix .bbg info for computed gotos
12796         and C++ EH code.
12798 2001-07-11  Mark Mitchell  <mark@codesourcery.com>
12800         * stmt.c (parse_output_constraint): New function, split out
12801         from ...
12802         (expand_asm_operands): ... here.  Use parse_output_constraint.
12803         * tree.h (parse_output_constraint): Declare it.
12805 2001-07-11  Richard Henderson  <rth@redhat.com>
12807         * bitmap.c: Comment some functions; fiddle whitespace.
12808         (bitmap_free): Don't export.
12809         (bitmap_element_allocate): Use memset.
12810         * bitmap.h (bitmap_free): Don't declare.
12812 2001-07-11  Daniel Berlin  <dan@cgsoftware.com>
12814         * gcse.c, lcm.c, sched-deps.c:
12815         s/free on sbitmap vectors/sbitmap_vector_free on sbitmap vectors/g
12817         * flow.c (flow_loops_find): Free dom if we found no loops, since
12818         we aren't going to save it.
12820         * lcm.c (pre_edge_rev_lcm): Free st_antin, st_antout when we are
12821         done.
12823 Wed Jul 11 09:00:48 2001  Jeffrey A Law  (law@cygnus.com)
12825         * ssa-ccp.c (ssa_fast_dce): Free worklist when completed.
12827 Wed Jul 11 10:07:18 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
12829         * dwarf2out.c (dwarf2out_init, dwarf2out_finish): Add dummy version
12830         #ifndef DWARF2_DEBUGGING_INFO.
12832 2001-07-11  Richard Sandiford  <rsandifo@redhat.com>
12834         * simplify-rtx.c (simplify_gen_subreg): Return null for QUEUED rtxes.
12836 2001-07-11  Richard Sandiford  <rsandifo@redhat.com>
12838         * config/mips/mips.c (gen_int_relational): Tell the caller not to
12839         reverse a branch if a NE comparison is implemented with GTU.
12841 2001-07-11  Richard Sandiford  <rsandifo@redhat.com>
12842             H.J. Lu  <hjl@gnu.org>
12844         * mips.md (call_internal1): Use CONSTANT_ADDRESS_P to check for
12845         constant addresses.
12846         (call_internal2): Likewise.
12847         (call_value_internal1): Likewise.
12848         (call_value_internal2): Likewise.
12849         (call_value_multiple_internal1): Likewise.
12850         (call_value_multiple_internal2): Likewise.
12852 2001-07-10  Kazu Hirata  <kazu@hxi.com>
12854         * calls.c (emit_library_call_value_1): Fix a comment typo.
12855         * dwarf2out.c (mem_loc_descriptor): Likewise.
12856         * config/i386/i386.c (ix86_expand_aligntest): Likewise.
12858 2001-07-11  David Billinghurst <David.Billinghurst@riotinto.com>
12860         * simplify-rtx.c (simplify_subreg): Fix typo in comment
12862 Tue Jul 10 07:27:53 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
12864         * recog.c (offsettable_address_p): Handle LO_SUM case.
12865         * config/mips/mips.c (double_memory_operand): Use adjust_address_nv
12866         instead of plus_constant.
12868 2001-07-10  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
12870         * reload1.c (merge_assigned_reloads): After a RELOAD_OTHER merge,
12871         fix setting of the reloads of that reload to RELOAD_FOR_OTHER_ADDRESS.
12873 Tue Jul 10 07:27:53 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
12875         * config/rs6000/rs6000.c (print_operand, case 'L', 'Y', 'Z'): Use
12876         adjust_address_nv instead of plus_constant.
12878 2001-07-10  Neil Booth  <neil@daikokuya.demon.co.uk>
12880         * Makefile.in (toplev.o, sdbout.o, dbxout.o, dwarfout.o,
12881         dwarf2out.o): Depend on debug.h, wrap long lines.
12882         * dbxout.c: Include debug.h.
12883         (dbx_debug_hooks): New.
12884         (dbxout_init): Make static, take just 2 args.
12885         (dbxout_finish): Make static.
12886         * dbxout.h (dbxout_init, dbxout_finish): Delete.
12887         * debug.c: New file.
12888         * debug.h: New file.
12889         * dwarf2out.c: Include debug.h.
12890         (dwarf2_debug_hooks): New.
12891         (dwarf2out_init): Make static.
12892         (dwarf2out_finish): Make static, take 2 args.
12893         * dwarf2out.h (dwarf2out_init, dwarf2out_finish): Delete.
12894         * dwarfout.c: Include debug.h.
12895         (dwarf_debug_hooks): New.
12896         (dwarfout_init): Make static.
12897         (dwarfout_finish): Make static, take 2 args.
12898         * dwarfout.h (dwarfout_init, dwarfout_finish): Delete.
12899         * sdbout.c: Include debug.h.
12900         (sdb_debug_hooks): New.
12901         (sdbout_init): Make static, take 2 args.
12902         * sdbout.h (sdbout_init): Delete.
12903         * toplev.c: Include debug.h.
12904         (debug_hooks): New.
12905         (compile_file): Set deubg_hooks based on command line options.
12906         Use the hooks unconditionally rather than conditional compilation.
12908 Tue Jul 10 09:04:45 2001  Jeffrey A Law  (law@cygnus.com)
12910         * ssa-ccp.c (first_phi_node): Remove.  Replace uses with calls to
12911         first_insn_after_basic_block_note instead.
12913         * df.c (df_bb_refs_unlink): #if 0 out for now.
12915 2001-07-10  David Billinghurst <David.Billinghurst@riotinto.com
12917         * ssa.h: Add prototype for ssa_const_prop
12918         * ssa-ccp.c: Add prototype for ssa_fast_dce and mark_references
12919         (ssa_ccp_substitute_constants): Fix signed vs unsigned comparison
12920         (ssa_fast_dce): Remove unused variable
12922 2001-07-10  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
12924         * diagnostic.c (finish_diagnostic): Rename to
12925         diagnostic_finish. Make it take an 'output_buffer *'.  Adjust
12926         calls thourghout.
12928 2001-07-10  Jason Merrill  <jason_merrill@redhat.com>
12930         * dwarf2out.c (dwarf2out_line): Emit -dA comment even when we have
12931         .loc support.
12933         * collect2.c (main): Set COLLECT_NO_DEMANGLE for subprocesses.
12934         (dump_file): Only pad the demangled name with spaces if the
12935         mangled name was padded with spaces.
12937 2001-07-10  Bernd Schmidt  <bernds@redhat.com>
12939         * bb-reorder.c (make_reorder_chain_1): Correct branch/fallthru
12940         edge detection.
12942 Tue Jul 10 07:27:53 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
12944         * expr.c (expand_expr, case COMPONENT_REF): Don't force using bitfield
12945         extraction if no direct load if either EXPAND_CONST_ADDRESS or
12946         EXPAND_INITIALIZER.
12948         * emit-rtl.c (adjust_address, adjust_address_nv): Change criteria for
12949         whether can put offset inside LO_SUM to check mode alignment, not size.
12951 2001-07-10  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
12953         * doc/tm.texi (Misc): Fix thinko.
12955 2001-07-10  Jan van Male  <jan.vanmale@fenk.wau.nl>
12957         * regmove.c (replace_in_call_usage): Fix warnings.
12958         * sched-deps.c (add_dependence): Fix warnings.
12959         * simplify-rtx.c (simplify_subreg): Likewise.
12960         Return NULL_RTX instead of NULL.
12962         * reg-stack.c (emit_swap_insn): Eliminate warnings.
12963         (subst_asm_stack_regs): Likewise.
12965         * combine.c (num_sign_bit_copies): Cast bitwidth to int to avoid
12966         warnings.
12968         * dwarf2out.c (output_call_frame_info): Declare i as int.
12969         (build_abbrev_table): Declare n_alloc as int.
12970         (dwarf2out_finish): Initialize die.
12971         * except.c: Declare sjlj_funcdef_number as unsigned.
12972         (connect_post_landing_pads): Declare j as unsigned.
12973         (convert_to_eh_region_ranges): Initialize call_site.
12974         (output_function_exception_table): Initialize tt_format_size.
12975         * expr.c (move_by_pieces_1): Initialize to1.
12976         (store_constructor): Initialize minelt and maxelt.
12977         * flow.c (mark_regs_live_at_end): Declare i as unsigned.
12978         * function.c (instantiate_decls): Avoid signed/unsigned warning.
12980         * c-decl.c (combine_parm_decls): Unused, remove.
12981         * c-tree.h: Remove prototype for combine_parm_decls.
12983         * reload.c (push_reload): Fix warning.
12984         (regno_clobbered_p): Likewise.
12985         * reload1.c (replace_pseudos_in_call_usage): Likewise.
12986         (reload_combine): Likewise.
12988         * bitmap.c: Rename bitmap_zero to bitmap_zero_bits to fix warnings.
12989         * bitmap.h: Rename bitmap_zero to bitmap_zero_bits to fix
12990         warnings.
12991         * bitmap.c (bitmap_operation): Change user.
12992         * bitmap.h (EXECUTE_IF_AND_COMPL_IN_BITMAP): Likewise.
12994 2001-07-10  Eric Christopher  <echristo@redhat.com>
12996         * config/mips/mips.c (override_options): Fix typo.
12998 2001-07-09  Stan Shebs  <shebs@apple.com>
13000         * target.h (struct gcc_target): New fields init_builtins and
13001         expand_builtin.
13002         * target-def.h (TARGET_INIT_BUILTINS): New macro.
13003         (TARGET_EXPAND_BUILTIN): New macro.
13004         (TARGET_INITIALIZER): Add them.
13005         * builtins.c: Include target.h.
13006         (expand_builtin): Use targetm.expand_builtin.
13007         (default_init_builtins): New function.
13008         (default_expand_builtin): New function.
13009         * expr.h (default_init_builtins): Declare.
13010         (default_expand_builtin): Declare.
13011         * c-common.c (c_common_nodes_and_builtins): Use
13012         targetm.init_builtins.
13013         * defaults.h (MD_INIT_BUILTINS): Remove.
13014         * Makefile.in (builtins.o): Depend on target.h.
13016         * config/arm/arm.c (TARGET_INIT_BUILTINS): Define.
13017         (TARGET_EXPAND_BUILTIN): Define.
13018         * config/arm/arm.h (MD_INIT_BUILTINS): Remove.
13019         (MD_EXPAND_BUILTIN): Remove.
13021         * config/c4x/c4x.c (TARGET_INIT_BUILTINS): Define.
13022         (TARGET_EXPAND_BUILTIN): Define.
13023         (c4x_init_builtins): Make endlink arg a local.
13024         (c4x_print_operand): Fix typos in adjust_address usages.
13025         * config/c4x/c4x-protos.h (c4x_init_builtins): Update decl.
13026         * config/c4x/c4x.h (MD_INIT_BUILTINS): Remove.
13027         (MD_EXPAND_BUILTIN): Remove.
13029         * config/i386/i386.c (TARGET_INIT_BUILTINS): Define.
13030         (TARGET_EXPAND_BUILTIN): Define.
13031         (ix86_init_mmx_sse_builtins): New function, was ix86_init_builtins.
13032         (ix86_init_builtins): Call new function only if TARGET_MMX.
13033         * config/i386/i386-protos.h (ix86_init_mmx_sse_builtins): Declare.
13034         * config/i386/i386.h (MD_INIT_BUILTINS): Remove.
13035         (MD_EXPAND_BUILTIN): Remove.
13037         * config/ia64/ia64.c (TARGET_INIT_BUILTINS): Define.
13038         (TARGET_EXPAND_BUILTIN): Define.
13039         * config/ia64/ia64.h (MD_INIT_BUILTINS): Remove.
13040         (MD_EXPAND_BUILTIN): Remove.
13042         * doc/tm.texi: Document these changes.
13044 2001-07-09  Diego Novillo  <dnovillo@redhat.com>
13046         * basic-block.h (tree_node): Forward declare if needed.
13047         (struct basic_block_def): Add fields 'head_tree' and 'end_tree'.
13048         (BLOCK_HEAD_TREE): Define.
13049         (BLOCK_END_TREE): Define.
13050         (struct loops): Rename field 'tree' to 'tree_root'.
13051         * flow.c (entry_exit_blocks): Add initializers for 'head_tree' and
13052         'end_tree'.
13053         (flow_loops_tree_build): Rename reference to field 'tree' to
13054         'tree_root'.
13055         (flow_loops_level_compute): Ditto.
13056         * predict.c (estimate_bb_frequencies): Ditto.
13057         * tree.h (struct tree_common): Add field 'aux'.
13059 2001-07-09  Stan Shebs  <shebs@apple.com>
13061         * config/darwin.c (darwin_encode_section_info): Don't mark any
13062         DECL_EXTERNAL node as defined.
13064 2001-07-09  John David Anglin  <dave@hiauly1.hia.nrc.ca>
13066         * pa.c (pa_init_machine_status, pa_mark_machine_status,
13067         pa_free_machine_status, hppa_init_pic_save): Delete.
13068         (hppa_pic_save_rtx): New.  Use get_hard_reg_initial_val.
13069         (hppa_profile_hook): Use hppa_pic_save_rtx.
13070         * pa.h (struct machine_function, PIC_OFFSET_TABLE_SAVE_RTX,
13071         hppa_init_pic_save): Delete.
13072         (hppa_pic_save_rtx): Declare.
13073         * pa.md (call, call_value, sibcall, sibcall_value,
13074         builtin_setjmp_receiver): Use hppa_pic_save_rtx.
13076 2001-07-09  Kazu Hirata  <kazu@hxi.com>
13078         * config/h8300/t-h8300 (LIB1ASMFUNCS): Add _floatdisf and _fixsfdi.
13079         * config/mn10200/t-mn10200 (LIB1ASMFUNCS): Likewise.
13081 2001-07-09  Andreas Jaeger  <aj@suse.de>
13083         * output.h: Add declaration of final_forward_branch_p.
13085         * config/i386/i386.c (output_fix_trunc): Remove unused variable.
13087         * varray.c: Include errors.h for internal_error and trim_filename
13088         declarations.
13090         * Makefile.in (varray.o): Add errors.h.
13092 2001-07-09  Toon Moene  <toon@moene.indiv.nluug.nl>
13094         * expr.h: Adjust prototypes for have_add2_insn, have_sub2_insn.
13095         * optabs.c (have_add2_insn): Check whether the add insn chosen
13096         really accepts the operands.  (have_sub2_insn): Ditto for sub insn.
13097         * reload1.c (reload_cse_move2add): Adjust calls of have_add2_insn.
13099 Mon Jul  9 13:26:40 2001  Jeffrey A Law  (law@cygnus.com)
13101         * Makefile.in (OBJS): Add ssa-ccp.o
13102         (ssa-ccp.o): Add dependencies.
13103         * toplev.c (DFI_ssa_ccp): New dump file enum.
13104         (dump_file): Add entry for dumping after SSA CCP.
13105         (flag_ssa_ccp): New flag variable.
13106         (f_options): Add -fssa-ccp.
13107         (rest_of_compilation): Run SSA CCP if requested.
13108         * timevar.def (TV_SSA_CCP): New timevar.
13109         * ssa.c (mark_phi_and_copy_regs): Handle deleted PHI nodes.
13110         * doc/gcc.texi (Passes): Add documentation for SSA CCP pass.
13111         Fix minor typo in SSA DCE documentation.
13112         * doc/invoke.texi: Add documentation for new flag -fssa-ccp.
13113         Add documentation for new dump option.  Renumber dump files
13114         appropriately.
13116 Mon Jul  9 21:36:00 CEST 2001  Jan Hubicka  <jh@suse.cz>
13118         * emit-rtl.c (gen_highpart_mode): New.
13119         * rtl.h (gen_highpart_mode): Declare.
13120         * sparc.md (insn splitters): Use gen_highpart_mode, whenever the
13121         operand can be VOIDmode constant.
13123 Mon Jul  9 17:23:10 CEST 2001  Jan Hubicka  <jh@suse.cz>
13125         * flow.c (redirect_edge_and_branch_force): New.
13126         (can_fallthru): Ensure that basic blocks are succeeding.
13127         (try_optimize_cfg): Do not delete basic block if it is the last one.
13129         * flow.c (try_redirect_by_replacing_jump): Do not remove
13130         jumps with side effects, unlink chain on fallthru edge;
13131         set block for new jump instruction; avoid basic block to
13132         over by line number note.
13134         * flow.c (try_simplify_condjump): Verify that the condjump
13135         is not always falling through.
13137         Re-install patch:
13138         * flow.c (try_redirect_by_replacing_jump): Remove cc0 setter.
13140         * flow.c (forwarder_block_p): Fix for fallthru blocks.
13141         (try_redirect_by_replacing_jump): Update properly the count
13142         and frequency information.
13144 Mon Jul  9 06:41:07 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
13146         * emit-rtl.c (adjust_address, adjust_address_nv): Handle an
13147         address that is a LO_SUM specially.
13148         * explow.c (plus_constant_wide, case LO_SUM): Deleted.
13150         * c-lang.c (start_cdtor): Remove extra parameter from start_function.
13152         * emit-rtl.c (adjust_address_nv, replace_equiv_address_nv): New fcns.
13153         (operand_subword): Use them.
13154         (change_address_1): Renamed from change_address; new arg VALIDATE.
13155         * expr.h: Reflect above changes; change_address now macro.
13156         * alias.c (canon_rtx): Use replace_equiv_address_nv instead of
13157         making MEM.
13158         * cselib.c (add_mem_for_addr): Likewise.
13159         * expr.c (protect_from_queue, emit_move_insn_1): Likewise.
13160         * regmove.c (try_apply_stack_adjustment): Likewise.
13161         * reload.c (push_reload, make_memloc): Likewise.
13162         * reload1.c (eliminate_regs): Likewise.
13163         * simplify-rtx.c (simplify_replace_rtx): Likewise.
13164         * caller-save.c (setup_save_areas): Use adjust_address_nv instead of
13165         adjust_addess.
13166         * combine.c (make_extraction, simplify_shift_const): Likewise.
13167         (gen_lowpart_for_combine): Likewise.
13168         * cse.c (gen_lowpart_if_possible): Likewise.
13169         * function.c (fixup_var_refs_1, purge_addressof_1): Likewise.
13170         * expr.c (expand_expr, case COMPONENT_REF): Likewise.
13171         * optabs.c (gen_move_insn): Likewise.
13172         * reload1.c (alter_reg): Likewise.
13173         * simplify-rtx.c (simplify_subreg): Likewise.
13174         * stmt.c (expand_anon_union_decl): Likewise.
13175         * recog.c (validate_replace_rtx_1): Likewise.
13176         (expr.h): Include.
13177         * Makefile.in (recog.o): Add $(EXPR_H).
13178         * explow.c (stabilize): Call replace_equiv_address.
13179         * expr.c (move_by_pieces_1, store_by_pieces_2): Likewise.
13180         * final.c (alter_subreg): OFFSET is HOST_WIDE_INT.
13182 2001-07-03  Andrew Haley  <aph@redhat.com>
13184         * expmed.c (store_fixed_bit_field): Don't use a mode bigger than
13185         the mode of the memory location.
13187 2001-07-09  Bo Thorsen  <bo@suse.co.uk>
13189         * config/i386/unix.h (ASM_OUTPUT_MI_THUNK): Fix x86-64 vtable support.
13191 2001-07-09  Neil Booth  <neil@daikokuya.demon.co.uk>
13193         * final.c (output_addr_const): Use target opening and
13194         closing parentheses.
13195         * target-def.h: Define TARGET_ASM_OPEN_PAREN, TARGET_ASM_CLOSE_PAREN
13196         defaults, add to TARGET_ASM_OUT.
13197         * target.h (struct gcc_target): Add open_paren and close_paren.
13198         * doc/md.texi: Update.
13199         * doc/tm.texi: Document TARGET_ASM_FUNCTION_END_PROLOGUE,
13200         TARGET_ASM_FUNCTION_BEGIN_EPILOGUE, TARGET_ASM_OPEN_PAREN and
13201         TARGET_ASM_CLOSE_PAREN.
13202         * config/i386/i386.c (TARGET_ASM_OPEN_PAREN, TARGET_ASM_CLOSE_PAREN):
13203         Override.
13204         * config/pdp11/pdp11.c (TARGET_ASM_OPEN_PAREN, TARGET_ASM_CLOSE_PAREN):
13205         Override.
13206         * config/1750a/1750a.h (ASM_OPEN_PAREN, ASM_CLOSE_PAREN): Remove.
13207         * config/a29k/a29k.h: Similarly.
13208         * config/alpha/alpha.h: Similarly.
13209         * config/arc/arc.h: Similarly.
13210         * config/arm/aof.h: Similarly.
13211         * config/arm/aout.h: Similarly.
13212         * config/avr/avr.h: Similarly.
13213         * config/c4x/c4x.h: Similarly.
13214         * config/clipper/clipper.h: Similarly.
13215         * config/convex/convex.h: Similarly.
13216         * config/d30v/d30v.h: Similarly.
13217         * config/dsp16xx/dsp16xx.h: Similarly.
13218         * config/elxsi/elxsi.h: Similarly.
13219         * config/fr30/fr30.h: Similarly.
13220         * config/h8300/h8300.h: Similarly.
13221         * config/i370/i370.h: Similarly.
13222         * config/i386/i386.h: Similarly.
13223         * config/i860/i860.h: Similarly.
13224         * config/i960/i960.h: Similarly.
13225         * config/ia64/ia64.h: Similarly.
13226         * config/m32r/m32r.h: Similarly.
13227         * config/m68hc11/m68hc11.h: Similarly.
13228         * config/m68k/m68k.h: Similarly.
13229         * config/m88k/m88k.h: Similarly.
13230         * config/mcore/mcore.h: Similarly.
13231         * config/mips/mips.h: Similarly.
13232         * config/mn10200/mn10200.h: Similarly.
13233         * config/mn10300/mn10300.h: Similarly.
13234         * config/ns32k/ns32k.h: Similarly.
13235         * config/pa/pa.h: Similarly.
13236         * config/pdp11/pdp11.h: Similarly.
13237         * config/pj/pj.h: Similarly.
13238         * config/romp/romp.h: Similarly.
13239         * config/rs6000/rs6000.h: Similarly.
13240         * config/sh/sh.h: Similarly.
13241         * config/sparc/sparc.h: Similarly.
13242         * config/v850/v850.h: Similarly.
13243         * config/vax/vax.h: Similarly.
13244         * config/we32k/we32k.h: Similarly.
13246 2001-07-09  Joseph S. Myers  <jsm28@cam.ac.uk>
13248         * doc/c-tree.texi: Document representation of attributes.
13250 2001-07-08  Joseph S. Myers  <jsm28@cam.ac.uk>
13252         * doc/tm.texi: Update some places for the rename of target to
13253         targetm.  Fix typo.
13255 2001-07-08  Joseph S. Myers  <jsm28@cam.ac.uk>
13257         * target.h (struct gcc_target): Add insert_attributes.
13258         * target-def.h (TARGET_INSERT_ATTRIBUTES): Define.
13259         (TARGET_INITIALIZER): Update.
13260         * tree.c, tree.h (default_insert_attributes): New function.
13261         Update comments on other default functions to refer to targetm,
13262         not target.
13263         * doc/tm.texi (INSERT_ATTRIBUTES): Update to document
13264         TARGET_INSERT_ATTRIBUTES.
13265         (SET_DEFAULT_DECL_ATTRIBUTES): Remove.
13266         * c-common.c (decl_attributes): Use targetm.insert_attributes.
13267         Don't use PRAGMA_INSERT_ATTRIBUTES.
13268         * Makefile.in (c-common.o): Depend on $(TARGET_H).
13269         * c-decl.c (start_decl, start_function): Don't call
13270         SET_DEFAULT_DECL_ATTRIBUTES.
13271         * config/c4x/c4x.h (SET_DEFAULT_DECL_ATTRIBUTES): Don't define.
13272         * config/c4x/c4x-protos.h (c4x_set_default_attributes): Don't
13273         declare.
13274         * config/c4x/c4x.c (TARGET_INSERT_ATTRIBUTES): Define.
13275         (c4x_check_attribute): Avoid modifying attribute list itself.
13276         (c4x_set_default_attributes): Rename to c4x_insert_attributes.
13277         Make static.
13278         * config/sh/sh.h (PRAGMA_INSERT_ATTRIBUTES): Don't define.
13279         * config/sh/sh-protos.h (sh_pragma_insert_attributes): Don't
13280         declare.
13281         * config/sh/sh.c (TARGET_INSERT_ATTRIBUTES): Define.
13282         (sh_pragma_insert_attributes): Rename to sh_insert_attributes.
13283         Make static.
13284         * config/v850/v850.h (SET_DEFAULT_DECL_ATTRIBUTES): Don't define.
13285         * config/v850/v850-protos.h (v850_set_default_decl_attr): Don't
13286         declare.
13287         * config/v850/v850.c (TARGET_INSERT_ATTRIBUTES): Define.
13288         (v850_set_default_decl_attr): Rename to v850_insert_attributes.
13289         Adjust parameters.  Make static.
13291 2001-07-08  Joseph S. Myers  <jsm28@cam.ac.uk>
13293         * c-common.c (decl_attributes): Only take a single attributes
13294         parameter.
13295         * c-common.h (decl_attributes): Update prototype.
13296         * c-decl.c (start_decl, start_function): Only take a single
13297         attributes parameter.  Update calls to decl_attributes.
13298         (finish_struct, finish_enum): Update calls to decl_attributes.
13299         (push_parm_decl): Expect unified list of attributes.  Update call
13300         to decl_attributes.
13301         * c-parse.in (fndef, initdcl, notype_initdcl, nested_function,
13302         notype_nested_function, component_declarator,
13303         component_notype_declarator, label): Update calls to
13304         decl_attributes.
13305         (absdcl_maybe_attribute, parm, firstparm, myparm): Unify attribute
13306         lists that are passed to push_parm_decl.
13307         * c-tree.h (start_function, start_decl): Update prototypes.
13308         * config/sh/sh-protos.h, config/sh/sh.c
13309         (sh_pragma_insert_attributes): Only take a single attributes
13310         parameter.
13311         * config/sh/sh.h (PRAGMA_INSERT_ATTRIBUTES): Likewise.
13312         * doc/tm.texi (INSERT_ATTRIBUTES): Update.
13313         * objc/objc-act.c (define_decl, generate_objc_symtab_decl,
13314         build_module_descriptor, generate_static_references,
13315         generate_strings, build_selector_translation_table,
13316         generate_descriptor_table, generate_protocols,
13317         generate_ivars_list, generate_dispatch_table,
13318         generate_protocol_list, generate_category,
13319         generate_shared_structures, really_start_method, add_objc_decls,
13320         generate_classref_translation_entry): Update calls to start_decl
13321         and start_function.
13322         (build_tmp_function_decl, start_method_def): Unify attribute lists
13323         that are passed to push_parm_decl.
13325 2001-07-08  Neil Booth  <neil@daikokuya.demon.co.uk>
13327         * final.c (no_asm_to_stream): New.
13328         (final_scan_insn): Use target structures for prologue ends
13329         and epilogue starts.
13330         * output.h (no_asm_to_stream): New.
13331         * target-def.h (TARGET_ASM_FUNCTION_END_PROLOGUE,
13332         TARGET_ASM_FUNCTION_BEGIN_EPILOGUE): New.
13333         (TARGET_ASM_OUT): Update.
13334         * target.h (struct gcc_target): New members function_end_prologue
13335         and function_begin_epilogue.
13336         * config/1750/1750.h (ASM_OUTPUT_FUNNAM): Delete as unused.
13337         * config/alpha/alpha-protos.h (output_end_prologue): Delete.
13338         * config/alpha/alpha.c (output_end_prologue): Rename to
13339         alpha_output_function_end_prologue.  Use in target struct
13340         and make static.
13341         * config/alpha/alpha.h (FUNCTION_END_PROLOGUE): Delete.
13342         * config/ia64/ia64-protos.h (ia64_output_end_prologue): Delete.
13343         * config/ia64/ia64.c (ia64_output_end_prologue): Rename to
13344         ia64_output_function_end_prologue.  Use in target struct
13345         and make static.
13346         (ia64_function_prologue, ia64_funciton_epilogue): Rename
13347         mistyped prototypes.
13348         * config/ia64/ia64.h (FUNCTION_END_PROLOGUE): Delete.
13349         * config/m88k/m88k-protos.h (m88k_end_prologue, m88k_begin_epilogue):
13350         Delete.
13351         * config/m88k/m88k.c (m88k_end_prologue, m88k_begin_epilogue): Rename
13352         an use in target struct, make static.
13353         * config/ia64/ia64.h (FUNCTION_END_PROLOGUE, FUNCTION_BEGIN_EPILOGUE):
13354         Delete.
13356 2001-07-08  Richard Henderson  <rth@redhat.com>
13358         * stmt.c (emit_case_nodes): Convert modes properly in low+high test.
13360 2001-07-08  Richard Henderson  <rth@redhat.com>
13362         * config/i386/i386.md: Remove constraints strings from define_split
13363         and define_peephole2 patterns.
13364         (eh_return_si, eh_return_di): Split eh_return_1 for modes.
13365         (eh_return): Use them.
13367 2001-07-08  Richard Henderson  <rth@redhat.com>
13369         * doc/tm.texi (Exception Handling): New subnode of Stack and Calling.
13370         Document MD_FALLBACK_FRAME_STATE_FOR.
13372 2001-07-07  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
13374         * config/m68hc11/m68hc11.c (m68hc11_initial_elimination_offset):
13375         Take into account m68hc11_sp_correction for FRAME_POINTER_REGNUM
13376         elimination.
13377         * config/m68hc11/m68hc11.h (STARTING_FRAME_OFFSET): Use 0.
13379 2001-07-07  Nick Clifton  <nickc@cambridge.redhat.com>
13381         * config/ia64/sysv4.h (ASM_OUTPUT_LABELREF): Append # to end
13382         of the label inside NAME as opposed to just the end of NAME.
13384 2001-07-07  Neil Booth  <neil@daikokuya.demon.co.uk>
13386         * config/alpha/alpha-protos.h (vms_valid_decl_attribute_p): Delete.
13387         * config/alpha/alpha.c (alpha_init_machine_status,
13388         alpha_mark_machine_status, alpha_free_machine_status): Delete.
13389         (TARGET_VALID_DECL_ATTRIBUTE): Define for VMS.
13390         (vms_valid_decl_attribute_p): Make static, conditionally compile.
13391         * config/alpha/alpha.h (VALID_MACHINE_DECL_ATTRIBUTE): Delete.
13393 2001-07-06  Stan Shebs  <shebs@apple.com>
13395         * target.h (targetm): Rename global from "target", so as not to
13396         conflict with local variables.
13397         * c-decl.c: Ditto.
13398         * c-typeck.c: Ditto.
13399         * final.c: Ditto.
13400         * tree.c: Ditto.
13401         * cp/decl.c: Ditto.
13402         * cp/decl2.c: Ditto.
13403         * cp/typeck.c: Ditto.
13404         * 1750a/1750a.c: Ditto.
13405         * a29k/a29k.c: Ditto.
13406         * arc/arc.c: Ditto.
13407         * arm/arm.c: Ditto.
13408         * avr/avr.c: Ditto.
13409         * clipper/clipper.c: Ditto.
13410         * convex/convex.c: Ditto.
13411         * d30v/d30v.c: Ditto.
13412         * dsp16xx/dsp16xx.c: Ditto.
13413         * elxsi/elxsi.c: Ditto.
13414         * fr30/fr30.c: Ditto.
13415         * h8300/h8300.c: Ditto.
13416         * i370/i370.c: Ditto.
13417         * i386/i386.c: Ditto.
13418         * i860/i860.c: Ditto.
13419         * i960/i960.c: Ditto.
13420         * ia64/ia64.c: Ditto.
13421         * m32r/m32r.c: Ditto.
13422         * m68hc11/m68hc11.c: Ditto.
13423         * m68k/m68k.c: Ditto.
13424         * m88k/m88k.c: Ditto.
13425         * mips/mips.c: Ditto.
13426         * ns32k/ns32k.c: Ditto.
13427         * pa/pa.c: Ditto.
13428         * pdp11/pdp11.c: Ditto.
13429         * romp/romp.c: Ditto.
13430         * rs6000/rs6000.c: Ditto.
13431         * sh/sh.c: Ditto.
13432         * sparc/sparc.c: Ditto.
13433         * vax/vax.c: Ditto.
13434         * we32k/we32k.c: Ditto.
13435         * doc/tm.texi: Update the manual to match.
13437 2001-07-06  Richard Henderson  <rth@redhat.com>
13439         * except.h (MUST_USE_SJLJ_EXCEPTIONS): Examine the value of
13440         DWARF2_UNWIND_INFO not just whether it is defined.
13442 2001-07-06  Diego Novillo  <dnovillo@redhat.com>
13444         * combine.c (combine_simplify_rtx): Also recompute 'mode' if the
13445         call to simplify_binary_operation returns a new pattern.
13447 2001-07-06  Roman Lechtchinsky  <rl@cs.tu-berlin.de>
13449         * glimits.h (__SHRT_MAX__): New.
13450         (SHRT_MIN, USHRT_MAX): Define in terms of SHRT_MAX.
13451         (SHRT_MAX): Define in terms of __SHRT_MAX__.
13453 2001-07-06  Jan van Male  <jan.vanmale@fenk.wau.nl>
13455         * alias.c (base_alias_check): Cast GET_MODE_UNIT_SIZE to int to
13456         avoid warnings.
13458 2001-07-06  Richard Henderson  <rth@redhat.com>
13460         * bitmap.c (bitmap_release_memory): Move adjacent to the
13461         allocation functions.
13462         (bitmap_first_set_bit, bitmap_last_set_bit): Streamline knowing
13463         the implementation.  Binary search for the set bit.
13464         (bitmap_union_of_diff): Allocate the temporary on the stack
13465         instead of using xmalloc.
13467 2001-07-06  Richard Henderson  <rth@redhat.com>
13469         * genrecog.c (validate_pattern): Warn for constraints in
13470         define_{expand,split,peephole2}.  Remove strict_low_part
13471         before looking up match_dup.
13473 2001-07-06  DJ Delorie  <dj@redhat.com>
13475         * doc/gcc.texi (Makefile): Rename to be a more general purpose
13476         chapter about various build hints and history.  Add section
13477         talking about the various types of native and cross builds.
13479 2001-07-06  Neil Booth  <neil@daikokuya.demon.co.uk>
13481         * Makefile.in (final.o): Depend on target.h.
13482         * final.c: Include target.h.
13483         (default_function_pro_epilogue): New.
13484         (final_start_function): Use target structure for function prologues.
13485         (final_end_function): Use target structure for function epilogues.
13486         * fold-const.c (real_hex_to_f): Constify s and p.
13487         * output.h (default_function_pro_epilogue): New.
13488         * real.h (real_hex_to_f): Update prototype.
13489         * target-def.h (TARGET_ASM_FUNCTION_PROLOGUE,
13490         TARGET_ASM_FUNCTION_EPILOGUE, TARGET_ASM_OUT): New.
13491         (TARGET_INITIALIZER): Update.
13492         * target.h (gcc_target): Add struct asm_out.
13493         * doc/tm.texi: Update.
13495 config:
13496         Update each arch to use TARGET_ASM_FUNCTION_PROLOGUE and
13497         TARGET_ASM_FUNCTION_EPILOGUE.  Move macro code to functions
13498         in cpu/cpu.c, or rename old functions consistently.  Take
13499         a HOST_WIDE INT not an int as the SIZE parameter.  Remove now
13500         redundant macros and prototypes.  Make new functions static.
13502         * 1750a/1750a.c: Similarly.
13503         * 1750a/1750a.h: Similarly.
13504         * a29k/a29k-protos.h: Similarly.
13505         * a29k/a29k.c: Similarly.
13506         * a29k/a29k.h: Similarly.
13507         * arc/arc-protos.h: Similarly.
13508         * arc/arc.c: Similarly.
13509         * arc/arc.h: Similarly.
13510         * arm/arm-protos.h: Similarly.
13511         * arm/arm.c: Similarly.
13512         * arm/arm.h: Similarly.
13513         * avr/avr-protos.h: Similarly.
13514         * avr/avr.c: Similarly.
13515         * avr/avr.h: Similarly.
13516         * clipper/clipper-protos.h: Similarly.
13517         * clipper/clipper.c: Similarly.
13518         * clipper/clipper.h: Similarly.
13519         * convex/convex.c: Similarly.
13520         * convex/convex.h: Similarly.
13521         * d30v/d30v-protos.h: Similarly.
13522         * d30v/d30v.c: Similarly.
13523         * d30v/d30v.h: Similarly.
13524         * d30v/d30v.md: Similarly.
13525         * dsp16xx/dsp16xx-protos.h: Similarly.
13526         * dsp16xx/dsp16xx.c: Similarly.
13527         * dsp16xx/dsp16xx.h: Similarly.
13528         * elxsi/elxsi.c: Similarly.
13529         * elxsi/elxsi.h: Similarly.
13530         * fr30/fr30.c: Similarly.
13531         * fr30/fr30.md: Similarly.
13532         * h8300/h8300-protos.h: Similarly.
13533         * h8300/h8300.c: Similarly.
13534         * h8300/h8300.h: Similarly.
13535         * i370/i370-protos.h: Similarly.
13536         * i370/i370.c: Similarly.
13537         * i370/i370.h: Similarly.
13538         * i386/i386.c: Similarly.
13539         * i386/osf1elf.h: Similarly.
13540         * i386/osfrose.h: Similarly.
13541         * i860/i860-protos.h: Similarly.
13542         * i860/i860.c: Similarly.
13543         * i860/i860.h: Similarly.
13544         * i960/i960-protos.h: Similarly.
13545         * i960/i960.c: Similarly.
13546         * i960/i960.h: Similarly.
13547         * ia64/ia64-protos.h: Similarly.
13548         * ia64/ia64.c: Similarly.
13549         * ia64/ia64.h: Similarly.
13550         * m32r/m32r-protos.h: Similarly.
13551         * m32r/m32r.c: Similarly.
13552         * m32r/m32r.h: Similarly.
13553         * m68hc11/m68hc11-protos.h: Similarly.
13554         * m68hc11/m68hc11.c: Similarly.
13555         * m68hc11/m68hc11.h: Similarly.
13556         * m68k/crds.h: Similarly.
13557         * m68k/dpx2.h: Similarly.
13558         * m68k/m68k-protos.h: Similarly.
13559         * m68k/m68k.c: Similarly.
13560         * m68k/m68k.h: Similarly.
13561         * m68k/news.h: Similarly.
13562         * m88k/m88k-protos.h: Similarly.
13563         * m88k/m88k.c: Similarly.
13564         * m88k/m88k.h: Similarly.
13565         * mips/mips-protos.h: Similarly.
13566         * mips/mips.c: Similarly.
13567         * mips/mips.h: Similarly.
13568         * ns32k/merlin.h: Similarly.
13569         * ns32k/ns32k.c: Similarly.
13570         * ns32k/ns32k.h: Similarly.
13571         * ns32k/tek6000.h: Similarly.
13572         * pa/pa-protos.h: Similarly.
13573         * pa/pa.c: Similarly.
13574         * pa/pa.h: Similarly.
13575         * pdp11/2bsd.h: Similarly.
13576         * pdp11/pdp11-protos.h: Similarly.
13577         * pdp11/pdp11.c: Similarly.
13578         * pdp11/pdp11.h: Similarly.
13579         * romp/romp-protos.h: Similarly.
13580         * romp/romp.c: Similarly.
13581         * romp/romp.h: Similarly.
13582         * rs6000/rs6000-protos.h: Similarly.
13583         * rs6000/rs6000.c: Similarly.
13584         * rs6000/rs6000.h: Similarly.
13585         * rs6000/sysv4.h: Similarly.
13586         * sh/sh-protos.h: Similarly.
13587         * sh/sh.c: Similarly.
13588         * sh/sh.h: Similarly.
13589         * sparc/sparc-protos.h: Similarly.
13590         * sparc/sparc.c: Similarly.
13591         * sparc/sparc.h: Similarly.
13592         * vax/vax.c: Similarly.
13593         * vax/vax.h: Similarly.
13594         * vax/vms.h: Similarly.
13595         * we32k/we32k.c: Similarly.
13596         * we32k/we32k.h: Similarly.
13598 Fri Jul  6 11:47:59 2001  Jeffrey A Law  (law@cygnus.com)
13600         * basic-block.h (first_insn_after_basic_block_note): Declare.
13601         * flow.c (first_insn_after_basic_block_note): Define.  Moved
13602         from...
13603         * ssa.c (first_insn_after_basic_block_note): Remove.
13604         * ssa-dce.c (find_inherently_necessary): Consider BARRIERs
13605         necessary.
13606         (ssa_eliminate_dead_code): Properly update the CFG and PHI
13607         nodes when we find a dead conditional branch.  Insert BARRIERs
13608         after any blocks with no successors, but which do not have
13609         any BARRIERs.
13611 2001-07-06  Zack Weinberg  <zackw@stanford.edu>
13613         * varray.c (varray_check_failed): Use internal_error.
13615 2001-07-05  Andrew Haley  <aph@redhat.com>
13617         * Makefile.in (LIB2_DIVMOD_FUNCS): New.
13618         (LIB2FUNCS): Move divmod functions to LIB2_DIVMOD_FUNCS.
13619         * mklibgcc.in: Compile LIB2_DIVMOD_FUNCS.
13621 2001-07-02  Jason Merrill  <jason_merrill@redhat.com>
13623         * dwarf2out.c (mem_loc_descriptor): Only look through a constant pool
13624         reference if the target constant is also a SYMBOL_REF.
13626 2001-07-05  Eric Christopher  <echristo@redhat.com>
13628         * config/mips/mips.h (MASK_MIPS3900): Remove.
13629         (MASK_MIPS16,MASK_NO_CHECK_ZERO_DIV,MASK_CHECK_RANGE_DIV,
13630         MASK_UNINIT_CONST_IN_RODATA): Change for 3900 mask removal.
13631         (TARGET_MIPS3900): Change to use mips_arch.
13632         (TARGET_MIPS4000): New.
13633         (TARGET_MIPS4100): New.
13634         (TARGET_MIPS4300): New.
13635         (TARGET_SWITCHES): Change 3900 and 4650 options to NULL.
13636         (SUBTARGET_TARGET_OPTIONS): Add -march. Change help text
13637         for -mipsX.
13638         (GENERATE_BRANCHLIKELY): Move TARGET_MIPS3900.
13639         (ISA_HAS_BRANCHLIKELY): To here.
13640         (CC1_CPU_SPEC):  New.
13641         (CC1_SPEC): Use here.  Remove 4650 and 3900 options.
13642         (mips_arch_string): Declare.
13643         (mips_arch): Declare.
13644         (TARGET_OPTIONS): Add -march and -mtune.
13646         * config/mips/mips.c (mips_arch_string): New.
13647         (mips_arch): New.
13648         (override_options): Handle -march for codegen and -mtune
13649         for scheduling. Use mips_arch. Move tx39 target default here.
13650         (mips_parse_cpu): Move error message to override_options.
13652         * config/mips/r3900.h (TARGET_DEFAULT): Remove.
13654         * config/mips/mips.md: Use TARGET_MIPS4000 and TARGET_MIPS4300.
13656         * doc/invoke.texi (Option Summary): Add -march and -mtune entries.
13657         (MIPS Options): Ditto.  Change mcpu entry to historical text.
13659 2001-07-05  H.J. Lu  (hjl@gnu.org)
13661         * config/mips/mips.c (mips_parse_cpu): New function to parse
13662         -march=*/-mcpu=*.
13664 2001-07-05  Jim Wilson  <wilson@redhat.com>
13666         * config/ia64/lib1funcs.asm: Revert 2001-07-02 change.
13667         * config/ia64/t-ia64: Likewise.
13668         (LIB1ASMFUNCS): Update comment.
13670 2001-07-05  David Edelsohn  <edelsohn@gnu.org>
13672         * doc/install.texi (Install GCC: Binaries): Fix typo.
13674 2001-07-04  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
13676         * config/m68hc11/m68hc11.md ("*ashlsi3"): Operand 1 can be a memory
13677         reference using the stack pointer, adjust it since we push Y
13678         temporarily.
13679         ("*ashrsi3"): Likewise.
13680         ("*lshrsi3"): Likewise.
13682 2001-07-05  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
13684         * config/m68hc11/m68hc11.h (RETURN_ADDR_RTX): Fix return address
13685         when -fomit-frame-pointer is used.
13687 2001-07-05  Jeffrey Oldham  <oldham@codesourcery.com>
13689         * flow.c: Reverse Jan Hubicka's patch of 02July2001.
13690         (try_redirect_by_replacing_jump): Reverse updating properly the
13691         count and frequency information.  Reverse removing cc0 setter.
13692         (forwarder_block_p): Reverse fixing for fallthru blocks.
13694 2001-07-05  DJ Delorie  <dj@redhat.com>
13696         * gcc.c (TARGET_OPTION_TRANSLATE_TABLE): New.
13697         (translate_options): If the above is defined, use it to map
13698         given options to new options.
13699         * doc/tm.texi: Document it.
13701 2001-07-05  Brad Lucier <lucier@math.purdue.edu>
13702             Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
13704         * doc/invoke.texi (Optimize Options): Document that -fgcse may
13705         cause programs using computed gotos to run more slowly.
13707 2001-07-05  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
13709         * doc/install.texi (Specific): Markup, spelling and typo fixes.
13710         Fixed sorting.
13711         Consistently require binutils 2.11.2, not prereleases.
13712         (Specific, decstation-*): Canonicalize as mips-dec-*.
13713         (Specific, i?86-*-sco3.2v5*): Remove make bootstrap requirement,
13714         always necessary.
13715         (Specific, m68k-altos): Removed reference to README.altos, deleted.
13716         (Specific, mips-*): Reword MIPS C compiler requirements.
13717         (Specific, powerpc*-*-*): New, mention --with-cpu once.
13718         (Specific, sunv5): Removed, obsolete.
13720 2001-07-05  Nathan Sidwell  <nathan@codesourcery.com>
13722         * dwarf2out.c (output_loc_list): Use an all ones mask for
13723         .text asm output and don't rely on long long
13724         literals. Reformat some long lines.
13726 2001-07-05  Andreas Jaeger  <aj@suse.de>
13728         * doc/gcc.texi (GNU/Linux): Remove accidental re-add of GPL
13729         section.
13731 2001-07-04  Daniel Berlin  <dan@cgsoftware.com>
13733         * dwarf2out.c (dwarf2out_define): Update comment.
13734         (dwarf2out_undef): Ditto.
13735         (dwarf2out_start_source_file): Ditto.
13736         (dwarf2out_end_source_file): Ditto.
13737         (dwarf2out_finish): Output DW_MACINFO_end_file for primary file,
13738         since we never call the start/end debug hook for the primary file.
13740 2001-07-04  Kazu Hirata  <kazu@hxi.com>
13742         * config/h8300/h8300.c (get_shift_alg): Remove an extra operand
13743         from shll.
13745 2001-07-04  Nathan Sidwell  <nathan@codesourcery.com>
13747         * cppinit.c (remove_dup_dirs): Inform if a system include
13748         directory is being reordered.
13749         * doc/invoke.texi (Directory Options): GCC warns if you hide a
13750         system include.
13751         * doc/cpp.texi (Search Paths): Likewise.
13752         * doc/gcc.texi (Interoperation): Remove information about
13753         -I/usr/include.
13755 2001-07-04  Nathan Sidwell  <nathan@codesourcery.com>
13757         * varray.h (VARRAY_TOP_GENERIC_PTR): Remove spurious parameter.
13758         (VARRAY_TOP_CHAR_PTR): Likewise.
13760 2001-07-04  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
13762         * gcc.c (process_command): Don't assign elements of a const char*.
13764 Wed Jul  4 13:40:02 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
13766         * emit-rtl.c (change_address): Don't abort if invalid address while
13767         reload is in progress.
13769 2001-07-04  Daniel Berlin  <dan@cgsoftware.com>
13771         * c-lex.c (cb_file_change): Pass line number to
13772         debug_start_source_file.
13773         (cb_undefine): Pass correct line number to debug_undef.
13775         * toplev.c (debug_start_source_file): Add line number to
13776         parameters. Pass it along to dwarf2out_start_source_file.
13777         (decode_g_option): Stop resetting debug level back to normal when
13778         we change debug formats, unless the current level is
13779         none. (Before, -g3 -gdwarf-2 would use debug level 2, rather than
13780         3).
13782         * toplev.h (debug_start_source_file): Add line number to
13783         parameters.
13785         * dwarf2out.h (dwarf2out_start_source_file): Add line number to
13786         parameters.
13788         * dwarf2out.c (dwarf2out_start_source_file): Add line number to
13789         parameters.
13790         Output debug_macinfo data for starting file if requested.
13791         (dwarf2out_end_source_file): Output debug_macinfo data for ending
13792         file if requested.
13793         (dwarf2out_define): Output debug_macinfo data for defining a macro
13794         if requested.
13795         (dwarf2out_undef): Output debug_macinfo data for undefining a
13796         macro if requested.
13797         (DEBUG_MACINFO_SECTION): New. DWARF2 macro info section name.
13798         (DEBUG_MACINFO_SECTION_LABEL): New. DWARF2 macro info section label.
13799         (macinfo_section_label): New. DWARF2 macro info section label.
13800         (dwarf2out_init): If we want macro info, output the start label
13801         for the section.
13802         (dwarf2out_finish): If we want macro info, add a DW_AT_macro_info
13803         attribute to the compilation unit die pointing to the macro info.
13805 2001-07-04  Daniel Berlin  <dan@cgsoftware.com>
13807         * dwarf2out.c (new_loc_list): Move to inside #ifdef
13808         DWARF2_DEBUGGING_INFO.
13809         (add_loc_descr_to_loc_list): Ditto.
13810         (output_loc_list): Ditto.
13811         Also, fix thinko in curr not being initialized.
13812         (gen_internal_sym): Ditto.
13814 Wed Jul  4 13:40:02 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
13816         * emit-rtl.c (replace_equiv_address): New function.
13817         * expr.h (replace_equiv_address): New declaration.
13818         * explow.c (validize_mem): Call it instead of change_address and
13819         also call if -fforce-addr and address is constant.
13820         * expr.c: Replace more calls to change_address with adjust_address
13821         and/or replace_equiv_address or to validize_mem.
13822         * function.c, regmove.c, config/alpha/alpha.c: Likewise.
13823         * config/arm/arm.md, config/clipper/clipper.md: Likewise.
13824         * config/dsp16xx/dsp16xx.md, config/fr30/fr30.c: Likewise.
13825         * config/i370/i370.md, config/i860/i860.md: Likewise.
13826         * config/i960/i960.md, config/mips/mips.c: Likewise.
13827         * config/mips/mips.md, config/pa/pa.md: Likewise.
13828         * config/pdp11/pdp11.md, config/rs6000/rs6000.c: Likewise.
13829         * config/rs6000/rs6000.md, config/sh/sh.md: Likewise.
13831 2001-07-04  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
13833         * bitmap.c (bitmap_union_of_diff): Don't use BITMAP_ALLOCA.
13835         * bitmap.h (BITMAP_ALLOCA): Don't pass alloca as an argument to a
13836         function.
13838 2001-07-04  Joseph S. Myers  <jsm28@cam.ac.uk>
13840         * doc/include: New directory.
13841         * doc/fdl.texi: Move to doc/include/fdl.texi.
13842         * doc/texinfo.tex: Move to doc/include/texinfo.tex.
13843         * doc/include/funding.texi, doc/include/gpl.texi: New files.
13844         * doc/gcc.texi: Use funding.texi and gpl.texi.
13845         * Makefile.in ($(docdir)/cpp.info, $(docdir)/gcc.info,
13846         $(docdir)/cppinternals.info, cpp.dvi. gcc.dvi. cppinternals.dvi):
13847         Update dependencies and use -I $(docdir)/include.
13849 2001-07-04  Anthony Green  <green@redhat.com>
13851         * config/v850/t-v850 (v850-c.o): Add missing dependencies.
13853 2001-07-04  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
13855         * doc/install.texi (sparc64-*-*): Remove garbage.
13857 Wed Jul  4 09:07:44 2001  Jan van Male  <jan.vanmale@fenk.wau.nl>
13859         * i386.c (ix86_expand_builtin, case IX86_BUILTIN_SETPS):
13860         Fix typo in last change to use adjust_address.
13862 2001-07-04  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
13864         * doc/install.texi (Specific): Update information for *-*-solaris*.
13866 Tue Jul  3 22:33:15 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
13868         * explow.c (plus_constant_wide): Reinitialize Y for restart.
13870 2001-07-03  Stan Shebs  <shebs@apple.com>
13872         * config/darwin.h (SECTION_FUNCTION): Remove WAS_TEXT argument, remove
13873         case for flag_no_mach_text_sections.
13874         (EXTRA_SECTION_FUNCTIONS): Remove arg from uses of SECTION_FUNCTION.
13875         * config/darwin.c (flag_no_mach_text_sections): Remove.
13876         * config/darwin-protos.h (darwin_init_pragma): Remove decl.
13878 Tue Jul  3 15:35:52 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
13880         * explow.c (plus_constant_wide, case PLUS): Call find_constant_term
13881         and avoid checking for constant as first operand.
13882         * recog.c (find_constant_term_loc): No longer static.
13883         (adj_offettable_operand): Delete.
13884         * rtl.h (adj_offsettable_operand): Delete declaration.
13885         (find_constant_term): Add declaration.
13886         * caller-save.c: Replace calls to adj_offsettable_operand with calls
13887         to adjust_address.
13888         * config/arm/arm.c, config/c4x/c4x.c: Likewise.
13889         * config/clipper/clipper.md, config/h8300/h8300.c: Likewise.
13890         * config/i386/i386.c, config/i386/i386.md: Likewise.
13891         * config/i860/i860.c, config/i960/i960.c: Likewise.
13892         * config/i960/i960.md, config/m68hc11/m68hc11.c: Likewise.
13893         * config/m68k/m68k.c, config/m68k/m68k.md: Likewise.
13894         * config/m88k/m88k.md, config/mcore/mcore.c: Likewise.
13895         * config/mips/mips.c, config/mips/mips.md: Likewise.
13896         * config/mn10200/mn10200.c, config/mn10300/mn10300.c: Likewise.
13897         * config/ns32k/ns32k.c, config/ns32k/ns32k.md: Likewise.
13898         * config/pa/pa.c, config/pdp11/pdp11.c: Likewise.
13899         * config/pdp11/pdp11.md, config/sh/sh.c, config/v850/v850.c: Likewise.
13900         * config/vax/vax.md, config/ns32k/ns32k.c: Likewise.
13901         * config/ns32k/ns32k.md: Likewise.
13903 2001-07-03  Zack Weinberg  <zackw@stanford.edu>
13905         * rtl.c (copy_rtx): Handle 'T' format letter.
13906         * gensupport.c (collect_insn_data): Likewise.
13907         * print-rtl.c (print_rtx): Print 'T' slots like 's'.
13909 2001-07-03  Nick Clifton  <nickc@cambridge.redhat.com>
13911         * doc/invoke.texi (Directory Options): Specifiy range for <N> in
13912         -B option.  Use 'dir' not 'foo' as example directory name.
13914 2001-07-03  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
13916         * config/i386/sol2.h (ASM_PREFERRED_EH_DATA_FORMAT): Define.
13917         Fixes PRs bootstrap/3067, bootstrap/3249, bootstrap/3275.
13919 2001-07-03  Joseph S. Myers  <jsm28@cam.ac.uk>
13921         * doc/cppinternals.texi: Improve formatting and logical markup.
13923 2001-07-03  Andreas Jaeger  <aj@suse.de>
13925         * Makefile.in (insn-recog.o): Add dependency on reload.h.
13927         * genrecog.c (write_header): Include reload.h for prototypes in
13928         insn-recog.c.
13930 2001-07-03  Neil Booth  <neil@daikokuya.demon.co.uk>
13932 config:
13933         * i386/cygwin.h (VALID_MACHINE_DECL_ATTRIBUTE,
13934         VALID_MACHINE_TYPE_ATTRIBUTE): Remove.
13935         * i386/i386-protos.h (i386_pe_valid_decl_attribute_p,
13936         i386_pe_valid_type_attribute_p): Add.
13937         * i386/i386.c (TARGET_INITIALIZER): Override for cygwin targets.
13938         * i386/winnt.c (i386_valid_decl_attribute_p): Return directly.
13940 Mon Jul  2 21:52:19 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
13942         * explow.c (plus_constant_wide, case LO_SUM): New case.
13943         (plus_constant_for_output_wide): Delete.
13944         * rtl.h (plus_constant_for_output): Delete.
13945         * alias.c (canon_rtx, init_alias_analysis): Call plus_constant
13946         instead of plus_constant_for_output.
13947         * recog.c (offsettable_address_p, adj_offsettable_operand): Likewise.
13948         * config/darwin.c, config/arm/arm.c, config/m68k/m68k.c: Likewise.
13949         * config/m88k/m88k.c, config/mips/mips.c, config/pa/pa.c: Likewise.
13950         * config/rs6000/rs6000.c, config/sparc/sparc.c: Likewise.
13951         * config/sparc/sparc.md: Likewise.
13952         Convert some change_address calls to adjust_address.
13954 2001-07-03  Joseph S. Myers  <jsm28@cam.ac.uk>
13956         * doc/extend.texi, doc/gcc.texi, doc/invoke.texi, doc/md.texi,
13957         doc/rtl.texi, doc/tm.texi: Improve formatting.  Improve
13958         documentation of -std and -Wwrite-strings.
13960 2001-07-02  Geoffrey Keating  <geoffk@redhat.com>
13962         * cse.c (canon_hash): Don't register registers in very small
13963         register classes, as extending their lifetime might cause
13964         reload to fail.
13966 Mon Jul  2 23:14:00 CEST 2001  Jan Hubicka  <jh@suse.cz>
13968         * flow.c (try_redirect_by_replacing_jump): Remove cc0 setter.
13970         * flow.c (forwarder_block_p): Fix for fallthru blocks.
13971         (try_redirect_by_replacing_jump): Update properly the count
13972         and frequency information.
13974 Mon Jul  2 14:20:13 2001  Jeffrey A Law  (law@cygnus.com)
13976         * toplev.c (dump_file_index): Move SSA dumps just after first
13977         jump dump.
13978         (dump_file): Corresponding changes.
13979         (rest_of_compilation): Move SSA path to just after the first
13980         jump pass.
13981         * doc/gcc.texi (Passes): Update due to movement of SSA path.
13982         * doc/invoke.texi: Update dump file #s as they were completely
13983         out of date with reality.
13985 2001-07-02  Geoffrey Keating  <geoffk@redhat.com>
13987         * doc/tm.texi (Frame Layout): Document STACK_PUSH_CODE.
13989         * expr.c (emit_move_insn_1): Deal with non-default
13990         STACK_PUSH_CODE.
13992         * expr.c (emit_single_push_insn): Fix warning.
13994 2001-07-02  Toshiyasu Morita  <toshiyasu.morita@hsa.hitachi.com>
13996         * expr.c (emit_move_insn_1): Avoid modifying
13997         cfun->expr->x_stack_pointer when PUSH_ROUNDING is defined.
13999 Mon Jul  2 15:33:31 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
14001         * emit-rtl.c (adjust_address): New function.
14002         * expr.h (adjust_address): Add declaration.
14003         * builtins.c: Replace some calls to change_address with calls to it
14004         or to validize_mem.
14005         * caller-save.c, dwarf2out.c, except.c, expmed.c, expr.c: Likewise.
14006         * function.c, config/a29k/a29k.md, config/alpha/alpha.c: Likewise.
14007         * config/arm/arm.c, config/convex/convex.c: Likewise.
14008         * config/dsp16xx/dsp16xx.md, config/fr30/fr30.c: Likewise.
14009         * config/i386/i386.c, config/i386/i386.md: Likewise.
14010         * config/ia64/ia64.c, config/ia64/ia64.md: Likewise.
14011         * config/m32r/m32r.c, config/m68k/m68k.md: Likewise.
14012         * config/m88k/m88k.c, config/mips/mips.md: Likewise.
14013         * config/ns32k/ns32k.c, config/rs6000/rs6000.c: Likewise.
14014         * config/sh/sh.c, config/sparc/sparc.md: Likewise.
14016 2001-07-02  Jim Wilson  <wilson@redhat.com>
14018         * config/ia64/ia64.h: Delete obsolete lib1funcs.asm comment.
14020 2001-07-02  Steve Ellcey  <sje@cup.hp.com>
14022         * config/ia64/t-ia64: Change LIB1ASMFUNCS to use single underscore.
14023         * config/ia64/lib1funcs.asm: Change macro names to match t-ia64.
14025 2001-07-02  Zack Weinberg  <zackw@stanford.edu>
14027         * cppinit.c (lang_defaults): New table.
14028         (set_lang): Just read from lang_defaults into the live options
14029         structure.
14031 2001-07-02  Zack Weinberg  <zackw@stanford.edu>
14033         * Makefile.in (doc): Depend on $(GENERATED_MANPAGES).
14034         * doc/.cvsignore: Add gcc.1, cpp.1, gcov.1.
14035         * doc/gcc.1, doc/cpp.1, doc/gcov.1: Removed.
14037 2001-07-02  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
14039         * doc/install.texi: Various spelling and markup fixes.
14040         (Installing GCC): Component specific installation instructions are
14041         gone.
14042         Fix reference.
14043         Warn about removing old install dir in the presence of shared libs.
14044         (Configuration): Invoke with options target to match configure
14045         --help.
14046         Consistently refer to gas, gld pathnames.
14047         Invert --enable-multilib documentation.
14048         Remove references to old compiler versions.
14050 Mon Jul  2 12:50:51 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
14052         * flow.c (try_simplify_condjump): Fix typo in updating fallthru flags.
14054 2001-07-02  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
14056         * doc/install.texi (Specific, mips*-sgi-irix4): Split from IRIX 5
14057         section.
14058         (Specific, mips*-sgi-irix5): Note IDO download.
14059         Reworded MIPS C hints.
14060         Use GNU as instead of GAS.
14061         Markup fixes.
14062         Removed SGI Freeware reference, IRIX 6 only.
14063         (Specific, mips*-sgi-irix6): Removed ranlib caveats, obsolete.
14064         Note N64 library requirement/workaround.
14065         Update O32 hints.
14066         Complete list of structure passing bug victims.
14068 2001-07-02  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
14070         * doc/install.texi: Remove CVS Id.
14072 2001-07-02  Andreas Jaeger  <aj@suse.de>
14074         * ssa-dce.c (note_inherently_necessary_set): Add unused attribute.
14075         (find_inherently_necessary): Remove unused variable.
14077 2001-07-02  Nathan Sidwell  <nathan@codesourcery.com>
14079         * c-common.h (TDI_inlined): New ast dump phase.
14080         (dump_flag_name): New function.
14081         * c-dump.c (dump_files): Add inlined phase.
14082         (dump_flag_name): Define.
14083         * doc/invoke.texi (-fdump-ast-inlined): Document.
14085 Mon Jul  2 06:29:36 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
14087         * stor-layout.c (layout_decl): Revert change to handling of alignment
14088         in packed types.
14090 Sun Jul  1 11:53:52 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
14092         * c-common.c (decl_attributes, case A_MODE): Don't call layout_decl
14093         for FIELD_DECL.
14095 2001-07-01  Geoffrey Keating  <geoffk@redhat.com>
14097         * doc/tm.texi (FUNCTION_ARG): Document that the last call
14098         is special.
14100 2001-07-01  Nathan Sidwell  <nathan@codesourcery.com>
14102         * tlink.c (recompile_files): Remove COMPILER_PATH and
14103         LIBRARY_PATH from the environment.
14105 2001-07-01  Zack Weinberg  <zackw@stanford.edu>
14107         * c-common.h (enum rid): Add RID_FIRST_AT, RID_LAST_AT,
14108         RID_LAST_PQ.  Move RID_FIRST_PQ down with the other FIRST/LAST
14109         enumerators.
14110         (OBJC_IS_AT_KEYWORD, OBJC_IS_PQ_KEYWORD): New macros.
14112         * c-parse.in (OBJC_STRING): Kill.
14113         (objc_string): Decompose to [objc_string] '@' STRING.
14114         (reswords): Take the leading '@' off all the Objective C keywords.
14115         (objc_rid_sans_at): Kill.
14116         (init_reswords): Don't initialize it.
14117         (yylexname): Use OBJC_IS_AT_KEYWORD and OBJC_IS_PQ_KEYWORD.
14118         (_yylex): Kill reconsider label.  Look ahead one token after
14119         an '@'; if we get an identifier, check whether it's an
14120         Objective C @-keyword.  If so, return the keyword.  Otherwise,
14121         put back the token and return the '@' as a terminal.
14123         * cpplib.c (lex_macro_node): Remove unnecessary check for
14124         leading '@' on identifier.  Clarify control flow and commentary.
14126 Sun Jul  1 11:53:52 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
14128         * cse.c (new_label_ref): Variable deleted.
14129         (insert): Remove set of new_label_ref.
14130         (check_for_label_ref): New function.
14131         (cse_basic_block): Don't check new_label_ref; call check_for_label_ref.
14133 See ChangeLog.5 for earlier changes.