* gcc_release (-b): Remove option.
[official-gcc.git] / gcc / ChangeLog
blob45eb719d16aa293921b3399ab7dfd6854e80e88f
1 2001-06-13  Mark Mitchell  <mark@codesourcery.com>
3         * NEWS: Remove.
5 2001-06-13  Richard Henderson  <rth@redhat.com>
7         * ifcvt.c (cond_exec_get_condition): Use reversed_comparison_code.
8         (cond_exec_process_if_block, dead_or_predicable): Likewise.
10 2001-06-13  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
12         * mips-tfile.c (copy_object): Always pass indexNil for symbol
13         table index.
15 2001-06-13  Kazu Hirata  <kazu@hxi.com>
17         * config/h8300/h8300.h (OK_FOR_T): Remove.
18         (EXTRA_CONSTRAINT): Do not use OK_FOR_T.
19         * config/h8300/h8300.md: Remove alternatives involving inc and dec
20         in the helper patterns for addhi3 and addsi3.
22 2001-06-13  John David Anglin  <dave@hiauly1.hia.nrc.ca>
24         * gthr-dce.h (UNUSED): Attribute unused macro.
25         (__GTHREAD_MUTEX_INIT_FUNCTION and __GTHREAD_MUTEX_INIT_DEFAULT): New
26         macros for mutex initialization.
27         (__gthread_key_dtor): Make arguments UNUSED.
28         (__gthread_key_delete): Unsupported.  Argument UNUSED.
29         (__gthread_mutex_init_function): New function for mutex initialization.
31 2001-06-13  Phil Edwards  <pme@sources.redhat.com>
33         * doc/contrib.texi:  Link to libstdc++'s thanks.html for now.
35 2001-06-13  Joseph S. Myers  <jsm28@cam.ac.uk>
37         * doc/install.texi: Use more logical markup.  Include @node
38         commands in the source when generating any non-HTML.
40 2001-06-13  Joseph S. Myers  <jsm28@cam.ac.uk>
42         * README: Remove.  Some of the contents moved to ../README.
44 2001-06-13  Alexandre Oliva  <aoliva@redhat.com>
46         * doc/install.texi (--enable-shared): List package names
47         recognized by GCC.
49 2001-06-13  Richard Earnshaw (rearnsha@arm.com)
51         * arm.c (arm_reload_in_hi): Handle the scratch operand overlapping
52         with the output operand.
54 2001-06-12  Zack Weinberg  <zackw@stanford.edu>
56         * Makefile.in: Move _bb and __gcc_bcmp from LIB2FUNCS to
57         LIB2FUNCS_ST.
58         * libgcc-std.ver: Don't export __bb* or __gcc_bcmp.
59         * config/t-slibgcc-elf-ver, config/t-slibgcc-sld,
60         config/alpha/t-osf4, config/mips/t-iris6: Bump libgcc soname
61         to .so.1.
63 2001-06-13  Alexandre Oliva  <aoliva@redhat.com>
65         * doc/texinfo.texi: Copied from mainline.
67         * doc/install.texi (ix86-*-solaris*): Removed, outdated.
68         (*-*-solaris*): Document problem in /bin/sh that affects
69         configuring libraries.
70         (sparc-*-solaris*): Recommend GNU binutils 2.11.1 or vendor tools.
71         (*-sun-solaris2.8): Document linker problem that explains why
72         libjava is disabled by default.
74 2001-06-09  Mark Mitchell  <mark@codesourcery.com>
76         Revert this patch:
77         * toplev.c (rest_of_compilation): Remove dead code before
78         purge_addressof.
79         
80 2001-06-12  Jim Wilson  <wilson@redhat.com>
82         * loop.c (strength_reduce): Move bl->all_reduced set before
83         check_ext_dependant_givs call.
84         (check_ext_dependant_givs): Clear bl->all_reduced when ignoring givs.
86 2001-06-12  Alexandre Oliva  <aoliva@redhat.com>
88         Reverted:
89         2001-06-07  Nathan Sidwell  <nathan@codesourcery.com>
90         * configure.in (sparc*-*-*): Check assembler R_SPARC_UA32 support.
91         * configure: Rebuilt.
93         * doc/extend.texi (Function Attributes): Document SH's sp_switch
94         and trap_exit.
96 2001-06-13  Joseph S. Myers  <jsm28@cam.ac.uk>
98         * doc/invoke.texi: Use more logical markup.  Use TeX quotes,
99         dashes and @dots{}.
101 2001-06-12  Zack Weinberg  <zackw@stanford.edu>
103         * configure.in (ALL_LINGUAS): Set to nothing.
104         * configure: Regenerate.
106 2001-06-12  Richard Henderson  <rth@redhat.com>
108         * config/i386/i386.c (ix86_expand_prologue): Always use
109         gen_pro_epilogue_adjust_stack; update arguments.
110         (ix86_emit_epilogue_esp_adjustment): Likewise.
111         (ix86_expand_epilogue): Likewise.
112         * config/i386/i386.md (pro_epilogue_adjust_stack): Use a BLKmode
113         clobber of scratch memory instead of a modification of EBP as the
114         barrier.  Update all peepholes to match.
116 2001-06-12  Joseph S. Myers  <jsm28@cam.ac.uk>
118         * doc/gcc.texi: Change the font used for @def... commands to a
119         fixed width font.
120         * doc/extend.texi: Use more logical markup.  Use "built-in"
121         instead of "builtin".  Use @deftypefn to mark up built-in
122         functions; specify their types in the @deftypefn and not in the
123         descriptive text.  Use TeX quotes and dashes.  Add more index
124         entries.
126 2001-06-12  Joseph S. Myers  <jsm28@cam.ac.uk>
128         * doc/install.texi (--exec-prefix, --bindir, --libdir,
129         --with-slibdir, --infodir, --mandir, --with-cpp-install-dir):
130         Document.
131         (--enable-cpp): Change to document --disable-cpp instead; update
132         to reflect current default.
133         (--without-fast-fixincludes): Remove documentation.
134         (Final install): Document installation directories in more
135         detail.  Document use of make dvi.
137 2001-06-12  lars brinkhoff  <lars@nocrew.org>
139         * gcc.texi (HOST_BITS_PER_LONGLONG): Document.
140         (DIR_SEPARATOR_2): Likewise.
142 2001-06-12  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
144         * c-decl.c (grokdeclarator): Use INTEGRAL_TYPE_P.
146         * c-typeck.c (c_start_case): Likewise.
148 2001-06-12  Mark Mitchell  <mark@codesourcery.com>
150         * expr.c (store_field): Don't set MEM_ALIAS_SET for a field
151         in a structure at a variable address.
153 2001-06-12  Joseph S. Myers  <jsm28@cam.ac.uk>
155         * doc/gcov.texi: Use more logical markup.
157 2001-06-11  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
159         * config/m68hc11/m68hc11.c: Remove ifdef'ed gcc-2.95 code.
160         (m68hc11_reorg): Remove the gcc-2.95 compatible code.
161         (m68hc11_split_all_insns): Likewise, delete.
162         * config/m68hc11/m68hc11.h: Remove ifdef'ed gcc-2.95 code.
163         * config/m68hc11/m68hc11-protos.h: Likewise.
165 2001-06-11  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
167         * config/m68hc11/m68hc11.md ("*lshrdi3_const32"): Mark the clobber 
168         as an early clobber to make sure it is not used by reload in 
169         one of the operands.
171 2001-06-11  Mark Mitchell  <mark@codesourcery.com>
173         * toplev.c (lang_independent_f_options): Remove
174         -feliminate-dwarf2-dups, -fbounded-pointers, and -fbounds-check.
175         * doc/c-tree.texi: Update information about flag_honor_std.
176         * doc/install.texi: Note that binutils is required on HPUX 11.
177         * doc/invoke.texi (-fhonor-std): Note that -fno-honor-std is
178         now the default.
180         * config/mips/abi64.h (RETURN_IN_MEMORY): Fix handling of
181         variable-sized types.
182         
183 2001-06-11  Joseph S. Myers  <jsm28@cam.ac.uk>
185         * doc/md.texi: Use TeX dashes and quotes.
187 2001-06-11  Joseph S. Myers  <jsm28@cam.ac.uk>
189         * doc/rtl.texi: Reference manual chapter about trees.
191 2001-06-11  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
193         * config/mips/iris6.h (NO_BUILTIN_WINT_TYPE): Define.
194         (WINT_TYPE): Override.
195         (WINT_TYPE_SIZE): Likewise.
196         (SUBTARGET_CPP_SIZE_SPEC): Define __WINT_TYPE__ as appropriate.
198         * config/sparc/sol2.h (WINT_TYPE): Define.
199         (WINT_TYPE_SIZE): Likewise.
201         * config/sparc/sol2-sld-64.h (NO_BUILTIN_WINT_TYPE): Define.
202         (WINT_TYPE): Override.
203         (WINT_TYPE_SIZE): Likewise.
204         (CPP_ARCH32_SPEC): Add __WINT_TYPE__ definition.
205         (CPP_ARCH64_SPEC): Likewise.
207 2001-06-11  Richard Henderson  <rth@redhat.com>
209         * unwind-dw2-fde.c (__deregister_frame_info): Don't play games
210         with alias attribute.
212         * config/linux.h (CPLUSPLUS_CPP_SPEC): Use %(cpp) not $(cpp_cpu).
213         * config/alpha/linux.h (CPLUSPLUS_CPP_SPEC): Likewise.
215 2001-06-11  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
217         * config/rs6000/linux.h (CPLUSPLUS_CPP_SPEC): New.
219 2001-06-11  Richard Henderson  <rth@redhat.com>
221         * config/alpha/osf5.h (TARGET_LD_BUGGY_LDGP): New.
222         * config/alpha/alpha.h (TARGET_LD_BUGGY_LDGP): Default.
223         (struct machine_function): Add gp_save_rtx.
224         * config/alpha/alpha.c (alpha_mark_machine_status): Mark it.
225         (alpha_gp_save_rtx): New.
226         * config/alpha/alpha-protos.h: Declare it.
227         * config/alpha/alpha.md (exception_receiver): Make an expander.
228         Use alpha_gp_save_rtx if TARGET_LD_BUGGY_LDGP.
230 2001-06-11  Richard Henderson  <rth@redhat.com>
232         * config/alpha/osf.h (LINK_SPEC): Hide _GLOBAL_* symbols.
234 2001-06-11  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
236         * configure.in: Align --help messages.
237         Remove trailing full stops.
238         Consistently use lower case.
239         Fix DWARF 2 spelling.   
240         * configure: Rebuilt.
241         
242 2001-06-11  Joseph S. Myers  <jsm28@cam.ac.uk>
244         * c-decl.c (store_parm_decls): When comparing types in an
245         old-style function declaration with those from a previous
246         prototype, compare the unqualified versions of parameter types.
247         Fixes PR c/3116.
249 2001-06-11  Joseph S. Myers  <jsm28@cam.ac.uk>
251         * doc/objc.texi: Use more logical markup.  Use TeX dashes.
253 2001-06-11  Joseph S. Myers  <jsm28@cam.ac.uk>
255         * doc/c-tree.texi: Use more logical markup.
257 2001-06-11  Joseph S. Myers  <jsm28@cam.ac.uk>
259         * doc/install.texi: Update details of what components are included
260         in the GCC distribution.  Update default directory for g++
261         includes.  Update documentation relating to old libio.  Adjust
262         documentation on DejaGnu environment variables.  Remove
263         documentation of --enable-cpplib.
265 2001-06-11  Joseph S. Myers  <jsm28@cam.ac.uk>
267         * doc/contrib.texi: Fix alphabetical order.  Fix typos.  Improve
268         markup.
270 2001-06-10  Richard Henderson  <rth@redhat.com>
272         * ifcvt.c (life_data_ok): New.
273         (merge_if_block): Use it to determine whether to update
274         global_live_at_end.
275         (if_convert): Set it.
277 2001-06-10  Richard Henderson  <rth@redhat.com>
279         * config/alpha/osf5.h (ASM_OLDAS_SPEC): Add -c.
281 2001-06-10  Alexandre Oliva  <aoliva@redhat.com>
283         * doc/invoke.texi (MN10300 Options): Document -mno-crt0.
284         (SH Options): Document -mieee.
285         * doc/install.texi (Final install): Remove obsolete information
286         about installing cross compilers.
287         * doc/gcc.1: Rebuilt.
289 2001-06-10  Richard Henderson  <rth@redhat.com>
291         * config/alpha/alpha.c (override_options): Set align_loops,
292         align_jumps, and align_functions.
293         * config/alpha/alpha.h (FUNCTION_BOUNDARY): Set to 32 bits.
294         (LOOP_ALIGN, LABEL_ALIGN_AFTER_BARRIER): Remove.
296 2001-06-10  Richard Henderson  <rth@redhat.com>
298         * doc/invoke.texi (Optimization Options): Document -fpeephole2.
299         (Code Generation Options): Document -fnon-call-exceptions.
301 2001-06-10  Mark Kettenis  <kettenis@gnu.org>
303         * config/i386/gnu.h (MD_FALLBACK_FRAME_STATE_FOR): Undefine.
305 2001-06-10  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
307         * m68hc11.md (peepholes): Remove unused and wrong peepholes.
309 2001-06-10  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
311         * config/m68hc11/m68hc11.md ("extendhisi2"): Fix constraints to
312         prefer a memory for operand 1.
313         ("*addsi3"): Fix constraints, the '!' was too strong.
314         ("*addsi3_split"): Accept soft register and split accordingly.
316 2001-06-10  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
318         * config/m68hc11/m68hc11-protos.h (m68hc11_initialize_trampoline): 
319         Move definition in the RTX_CODE section.
321 2001-06-10  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
323         * config/m68hc11/m68hc11.h (RETURN_ADDR_RTX): Define the return 
324         address as relative to the argument pointer.
326 2001-06-09  Alexandre Oliva  <aoliva@redhat.com>
328         * doc/invoke.texi (C Dialect Options): Document -aux-info.
329         (Debugging Options): Document -print-multi-directory and
330         -print-multi-lib.
331         * doc/gcc.1: Rebuilt.
333         * toplev.c (independent_decode_option): Require `=' between
334         `-aux-info' and filename in the same argument.
335         * gcc.c: Don't pass -aux-info=filename twice.
337 2001-06-10  Neil Booth  <neil@daikokuya.demon.co.uk>
339         * cppinit.c (print_help): Document -fpreprocessed.
340         * invoke.texi: Similarly.
342 2001-06-09  Mark Mitchell  <mark@codesourcery.com>
344         * expr.c (expand_expr, case ARRAY_REF): Do not replace
345         an array element with the known initializing value if it has
346         side-effects.
348         * toplev.c (rest_of_compilation): Remove dead code before
349         purge_addressof.
350         
351 2001-06-09  Richard Henderson  <rth@redhat.com>
353         * defaults.h (ACCUMULATE_OUTGOING_ARGS, PUSH_ARGS): Move from ...
354         * calls.c: ... here.
355         * combine.c, expr.c, final.c, function.c toplev.c: Don't provide
356         defaults for them here.
358 2001-06-09  Peter Jakubek <pjak@snafu.de>
360         * config/m68k/m68k.md (ashrdi_const): Fix right shift by 16.
362 2001-06-09  Joseph S. Myers  <jsm28@cam.ac.uk>
364         * doc/gcc.texi: Use @defcodeindex for the index of options.  Add
365         more index entries.  Use more logical markup where appropriate.
366         Use TeX quotes and dashes.
368 2001-06-09  Nicola Pero <nicola@brainstorm.co.uk>
370         * gthr-posix.h (__gthread_objc_init_thread_system): If
371         pthread_key_create fails, it's not clear what the return value is.
372         This obvious fix makes sure it always returns -1 if a problem
373         occurs.
375 2001-06-09  Benjamin Kosnik  <bkoz@redhat.com>
377         * unwind-pe.h: Conditionally qualify references to abort with
378         std::.
379         
380 2001-06-09  John David Anglin  <dave@hiauly1.hia.nrc.ca>
382         * vax.h (NOTICE_UPDATE_CC): Set CC_NO_OVERFLOW in cc_status.flags
383         for integer operations that don't update C bit.
385 2001-06-09  Julian Foad <julian_foad@hotmail.com>
387         * invoke.texi: Remove superfluous text.
389 2001-06-08  Richard Henderson  <rth@redhat.com>
391         * config/alpha/linux.h (CPLUSPLUS_CPP_SPEC): New.
392         (LIB_SPEC): Mirror config/linux.h version.
394 2001-06-08  Richard Henderson  <rth@redhat.com>
396         2001-03-29  Richard Henderson  <rth@redhat.com>
397         * libgcc2.c [L__main]: Include unwind-dw2-fde.h instead of frame.h.
399 2001-06-08  Richard Henderson  <rth@redhat.com>
401         * except.c (get_exception_pointer, get_exception_filter): Take a
402         struct function.  Update all callers.
403         * except.h (get_exception_pointer): Update declaration.
404         * expr.c (expand_expr): Update get_exception_pointer call.
405         * integrate.c (expand_inline_function): Remap the exception pointer
406         from callee to caller.
408 2001-06-08  Mark Mitchell  <mark@codesourcery.com>
410         * c-decl.c (grokdeclarator): Make the TREE_TYPE for declarations
411         accurately reflect its cv-qualification.
412         * c-typeck.c (type_lists_compatible_p): Ignore the top-levl
413         cv-qualifiers on function types.
415 2001-06-07  Loren J. Rittle  <ljrittle@acm.org>
417         * config/alpha/elf.h (MAKE_DECL_ONE_ONLY): Copy definition
418         from config/elfos.h.
420 2001-06-08  Joseph S. Myers  <jsm28@cam.ac.uk>
422         * doc/gcc.texi, doc/invoke.texi: Add index of command line
423         options.  Use @opindex to index them rather than other indexing
424         commands.  Use @var{...} instead of <...>.  Avoid spaces in names
425         inside @var.  Don't use @kindex to index escape sequences in
426         source code.
428 2001-06-08  Jason Merrill  <jason_merrill@redhat.com>
430         * dbxout.c (dbxout_symbol): Use DECL_RTL_SET_P.
432 2001-06-08  Jakub Jelinek  <jakub@redhat.com>
434         * config/ia64/ia64.c (ia64_function_arg): Use [SDT]Fmode as gr_mode
435         for complex floats passed to unprototyped functions.
437 2001-06-08  Jakub Jelinek  <jakub@redhat.com>
439         * jump.c (mark_modified_reg): Allow jump threading if condition
440         codes are represented by a hard register.
442 2001-06-08  Jakub Jelinek  <jakub@redhat.com>
444         * config/ia64/ia64.h (CC1_SPEC): Define.
445         * config/ia64/linux.h (CC1_SPEC): Define.
447 2001-06-08  Jakub Jelinek  <jakub@redhat.com>
449         * tradcpp.c (do_define): Make sure we don't walk past limit.
451 2001-06-08  Jakub Jelinek  <jakub@redhat.com
453         * gcc.c (cpp_options): Define __NO_INLINE__ unless we are honoring
454         "inline" keyword.
455         * doc/cpp.texi (__NO_INLINE): Document it.
457 2001-06-08  Mark Mitchell  <mark@codesourcery.com>
459         * except.c (expand_eh_region_end_allowed): Call
460         do_pending_stack_adjust as necessary.
462 2001-06-08  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
464         * doc/install.texi2html (MAKEINFO): Keep value if set already.
466 2001-06-07  Mark Mitchell  <mark@codesourcery.com>
468         * tree.h (DECL_SOURCE_FILE): Improve documentation.
469         (DECL_SOURCE_LINE): Likewise.
471 2001-06-07  Phil Edwards  <pme@sources.redhat.com>
473         * linux.h (CPLUSPLUS_CPP_SPEC):  Move -D_GNU_SOURCE to here.
474         * pa/pa-linux.h:  Allow CPLUSPLUS_CPP_SPEC to remain.
476 2001-06-08  Joseph S. Myers  <jsm28@cam.ac.uk>
478         * doc/contrib.texi: Add copyright notice.
480 2001-06-08  Joseph S. Myers  <jsm28@cam.ac.uk>
482         * doc/md.texi: Use four digit years in copyright notice.
484 2001-06-07  DJ Delorie  <dj@redhat.com>
486         * c-tree.texi, contrib.texi, cpp.texi, cppinternals.texi,
487         extend.texi, fdl.texi, gcov.texi, invoke.texi, md.texi,
488         objc.texi, rtl.texi, tm.texi, texinfo.tex, gcc.1, cpp.1,
489         gcov.1: Move to doc subdirectory.
490         * install.texi: Move to doc/install-old.texi.
491         * gcc.texi: Move to doc, refer to install-old.texi.
492         * Makefile.in: Reflect move of docs to doc/.
493         * f/Make-lang.in: Ditto.
494         * java/Make-lang.in: Ditto.
495         * doc/.cvsignore: New.
497 2001-06-07  Theodore Papadopoulo  <Theodore.Papadopoulo@sophia.inria.fr>
499         * c-tree.texi: Reformat the manual as a single chapter now
500         included by gcc.texi.
501         * gcc.texi: Include c-tree.texi. Merge all indexes.
502         * Makefile.in (dvi): Add generation for the cppinternals
503         documentation. Added dependencies on fdl.texi and c-tree.texi
504         where appropriate.  Use TEXI2DVI instead of custom tex calls.
505         (info): Added dependencies on fdl.texi and c-tree.texi where
506         appropriate.  Remove the target c-tree.info.
508 2001-06-07  Joseph S. Myers  <jsm28@cam.ac.uk>
510         * NEWS: Regenerate.
512 2001-06-07  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
514         * gthr-posix.h (__gthread_objc_thread_detach): Simply cast
515         pthread_t to objc_thread_t.
516         (__gthread_objc_thread_id): Likewise.
518 2001-06-07  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
520         * alpha/osf5.h (CPP_XFLOAT_SPEC): Override default definition.
521         (ASM_OLDAS_SPEC): Likewise.
523         * alpha/osf.h (CPP_XFLOAT_SPEC): Define.
524         (CPP_SUBTARGET_SPEC): Use it.
525         (ASM_OLDAS_SPEC): Define.
526         (ASM_SPEC): Use it.
527         (SUBTARGET_EXTRA_SPECS): Define, declare the new specs above.
529 2001-06-07  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
531         * config/alpha/alpha.c (alpha_va_arg): Handle TFmode, TCmode args,
532         passed by reference.
534 2001-06-07  Joseph S. Myers  <jsm28@cam.ac.uk>
536         * tm.texi (TARGET_SWITCHES, TARGET_OPTIONS): Adjust markup.
537         Document use of N_(...), and show it in examples.  Note that
538         documentation should be added to invoke.texi.  Avoid an overfull
539         hbox.
541 2001-06-07  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
542   
543         * pself.c, pself1.c, pself2.c, pself3.c, pself4.c, pself5.c:
544         Remove.
546 2001-06-07  Joseph S. Myers  <jsm28@cam.ac.uk>
548         * install.texi: Remove more obsolete documentation.
550 2001-06-07  Nathan Sidwell  <nathan@codesourcery.com>
552         * configure.in (sparc*-*-*): Check assembler R_SPARC_UA32 support.
553         * configure: Rebuilt.
555 2001-06-06  Richard Henderson  <rth@redhat.com>
557         * flow.c (mark_used_reg): Clean up looping over multiple hard
558         registers.  Do conditional life bits across multiple hard regs.
560 2001-06-05  Jeffrey D. Oldham  <oldham@codesourcery.com>
562         * reload1.c (reload): Revert Schmidt's change so all USEs are not
563         deleted during reload.
565 2001-06-05  Mark Mitchell  <mark@codesourcery.com>
567         * c-semantics.c (genrtl_scope_stmt): Write out nested inline
568         functions here, instead of ...
569         * c-decl.c (c_expand_body): ... here.
571 2001-06-05  Richard Henderson  <rth@redhat.com>
573         * dwarf2.h (DW_EH_PE_aligned): New.
574         * dwarf2asm.c (eh_data_format_name): Name it.
575         (dw2_asm_output_encoded_addr_rtx): Align for it.
576         * dwarf2out.c (output_call_frame_info): Handle it for personality
577         routine and LSDA pointers.
579         * unwind-pe.h (DW_EH_PE_aligned): New.
580         (base_of_encoded_value): Handle it.
581         (read_encoded_value_with_base): Likewise.
582         * unwind-dw2-fde.c (base_from_object): Likewise.
583         (get_cie_encoding): Likewise.
585         * config/alpha/elf.h: Remove ecoff commentary.
586         * config/alpha/osf.h (ASM_PREFERRED_EH_DATA_FORMAT): New.
588 2001-06-05  Mark Mitchell  <mark@codesourcery.com>
590         * print-rtl.c (xspaces): Remove.
591         (print_rtx): Use printf field-width, rather than xpsaces, to
592         indent.
593         * toplev.c (main): Disable sibling-call optimization if we are
594         handling exceptions.
595         
596 2001-06-05  Bernd Schmidt  <bernds@redhat.com>
598         * reload1.c (reload): Delete all USEs generated during reload.
600 Tue Jun  5 21:08:39 2001  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
602         * config.gcc (i?86-*-solaris2*): Enable shared libgcc.
604 2001-06-05  Phil Edwards  <pme@sources.redhat.com>
606         * gccbug.in:  Remove high priority.
608 2001-06-05  scott snyder  <snyder@fnal.gov>
610         * gccbug.in:  Fix typo.
612 2001-06-05  David Edelsohn  <edelsohn@gnu.org>
614         * rs6000/aix51.h (CPP_SPEC, CPLUSPLUS_CPP_SPEC): Fix typo in
615         __WCHAR_TYPE__ definition.
616         (WCHAR_TYPE_SIZE): #undef before #define.
618 2001-06-05  Nathan Sidwell  <nathan@codesourcery.com>
620         * c-common.h (flag_dump_translation_unit): Remove.
621         (enum tree_dump_index): Define.
622         (TDF_ADDRESS, TDF_SLIM): New #defines.
623         (dump_node_to_file): Remove.
624         (dump_node): Make extern. Add flags.
625         (dump_flag, dump_enabled_p, dump_begin, dump_end,
626         dump_switch_p): Prototype.
627         * c-common.c (flag_dump_translation_unit): Remove.
628         * c-decl.c (c_decode_option): Remove -fdump-translation-unit
629         logic. Use dump_switch_p.
630         * c-dump.h (struct dump_info): Add node and user fields.
631         (dump_pointer): Declare.
632         * c-dump.c (dump_node): Make extern. Add flags.
633         (SOL_COLUMN, EOL_COLUMN, COLUMN_ALIGNMENT): New #defines.
634         (dump_new_line, dump_maybe_newline): Use them.
635         (dump_pointer): New function.
636         (dequeue_and_dump): Check TDF_SLIM before dumping a _DECL's
637         chain or function's body. Dump address, if TDF_ADDRESS set.
638         (dump_flag): Define.
639         (dump_node_to_file): Remove.
640         (struct dump_file_info): New struct.
641         (dump_files): New array.
642         (dump_begin, dump_end, dump_enabled_p, dump_switch_p): Define.
643         * c-lang.c (finish_file): Adjust dumping.
644         * toplev.h (dump_base_name): Make extern.
645         * invoke.texi: Document new flags.
647 2001-06-04  Mark Mitchell  <mark@codesourcery.com>
649         * c-tree.h (lang_decl): Add pending_sizes fields.
650         * c-decl.c (store_parm_decls): Save pending_sizes away for nested
651         functions.
652         (c_expand_body): Expand them.
653         (lang_mark_tree): Mark lang_decl:pending_sizes.
654         * function.c (expand_pending_sizes): New function, broken out 
655         from ...
656         (expand_function_start): ... here.
657         * tree.h (expand_pending_sizes): Declare it.
658         
659 2001-06-04  Loren J. Rittle  <ljrittle@acm.org>
661         * doc/install.texi: Update FreeBSD information.  Generalize
662         and update information for alpha-based platforms using ELF.
664 2001-06-04  Richard Henderson  <rth@redhat.com>
666         * sibcall.c (optimize_sibling_and_tail_recursive_call): Suppress
667         optimization if current_function_calls_setjmp.
669 2001-06-04  Joseph S. Myers  <jsm28@cam.ac.uk>
671         * c-tree.texi: Fix documentation of TREE_STRING_LENGTH for wide
672         strings.
674 2001-06-04  John David Anglin  <dave@hiauly1.hia.nrc.ca>
676         * c-decl.c (get_parm_info): Use INTEGRAL_TYPE_P.
677         (store_parm_decls): Likewise.
678         * c-typeck.c (convert_arguments): Likewise.
680 2001-06-03  kaz Kojima  <kkojima@rr.iij4u.or.jp>
682         * gcc/config/sh/sh.c (print_operand_address, print_operand): Call
683         mark_constant_pool_use before output_addr_const.
684         (struct pool_node): New field wend.
685         (add_constant): Note a sequence of constants that are referenced
686         by a given label.
687         (pool_window_label, pool_window_last): New variables.
688         (dump_table): Emit a unspec_volatile representing the end of a
689         sequence of constants.
690         (mark_constant_pool_use): New function.
691         * gcc/config/sh/sh.md (UNSPECV_WINDOW_END): New constant.
692         (consttable_2): Add the second operand which flags whether
693         this consttable entry was used or not.
694         (consttable_4, consttable_8, consttable_sf, consttable_df):
695         Likewise.
696         (consttable_window_end): New insn.
698 2001-06-03  Alexandre Oliva  <aoliva@redhat.com>
700         Warning removal.
701         * config/sh/sh.c (print_operand_address): Cast INTVAL to int.
702         (shl_and_kind): Cast wide constant.
703         (gen_far_branch): Define as static, as in declaration.
704         (barrier_align): Compute cache-line length as unsigned.  Add
705         parentheses in initial credit computation.
706         (rounded_frame_size): Add parentheses.
707         (permanent_obstack): Remove declaration.  Include ggc.h for
708         declaration of ggc_add_root_rtx().
709         (get_free_reg): Removed declaration of unused variable reg.
710         (legitimize_pic_address): Mark mode argument as unused.
712 2001-06-03  Igor Shevlyakov  <igor@windriver.com>
714         * config/sh/sh.c (output_branch): Support for insn with lenght
715         attr 12 & 16 which represents cond branches outside +-4096 range.
717 2001-06-03  Alexandre Oliva  <aoliva@redhat.com>
719         * config/sh/lib1funcs.asm (ic_invalidate): Align the
720         cache-mirroring sequence.  Add nops.
722 2001-06-03  Joseph S. Myers  <jsm28@cam.ac.uk>
724         * install.texi: Remove more old installation documentation.
725         * doc/install.texi: Add relevant parts here.
727 2001-06-03  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
729         * doc/install.texi2html: New script.
731 2001-06-03  David Edelsohn  <edelsohn@gnu.org>
733         * doc/install.texi: Update AIX information again.
735 2001-06-02  Joseph S. Myers  <jsm28@cam.ac.uk>
737         * gcc.texi, install.texi: Remove old system-specific installation
738         documentation.
739         * doc/install.texi: Move it to here.
741 2001-06-02  Joseph S. Myers  <jsm28@cam.ac.uk>
743         * doc/install.texi: Clean up Texinfo markup.
745 2001-06-02  Joseph S. Myers  <jsm28@cam.ac.uk>
747         * cpp.texi, cppinternals.texi, gcc.texi: Move contents to just
748         after title page.
750 2001-06-02  Joseph S. Myers  <jsm28@cam.ac.uk>
752         * install.texi: Remove documentation of some configuration
753         options.
754         * doc/install.texi: Add relevant parts of this documentation here.
756 2001-06-02  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
758         * contrib.texi: Updated entries for Mark Mitchell, Joseph S. Myers,
759         Gerald Pfeifer, Bernd Schmidt, and Dean Wakerley.
761 2001-06-02  Joseph S. Myers  <jsm28@cam.ac.uk>
763         * install.texi: Remove libgcc1 documentation.
764         * gcc.texi: Remove link to Cross Runtime.
766 2001-06-01  Jan van Male  <jan.vanmale@fenk.wau.nl>
768         * invoke.texi: Remove references to papers about sequence points to
769         readings.html, refer to that page.
771 2001-06-01  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
773         * README: Update references to installation instructions.
775 2001-06-01  Laurent Guerby  <guerby@acm.org>
776             Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
778         * doc/install.texi: Define srcdir when sources come from CVS.
779         Significantly improve markup.  Wrap overly long lines.
781 2001-05-31  Richard Henderson  <rth@redhat.com>
783         * gcc.c (init_gcc_specs): When linking against libgcc_s.so,
784         also link against libgcc.a.
786 Thu May 31 19:17:01 CEST 2001  Jan Hubicka  <jh@suse.cz>
788         * i386.c (ix86_expand_int_movcc): Force one of operands to be register.
790 2001-05-31  Rodney Brown  <rbrown64@csc.com.au>
792         * install.texi (Configuration): Add html links for --with-gnu-as &
793         --with-gnu-ld and refer to them from hppa & SCO triplets.
794         (Specific): Link back to with-gnu-ld for all ELF platfoms.
795         (Specific): Reword AVR binutils recommendation.
797 2001-05-31  Jan van Male  <jan.vanmale@fenk.wau.nl>
799         * extend.texi: Fix formating of examples, eliminate some
800         'overfull hboxes'.
801         * gcc.texi: Eliminate some 'overfull hboxes'.
802         * invoke.texi: Use two spaces between command options, eliminate
803         some 'overfull hboxes'.
805 2001-05-30  Richard Henderson  <rth@redhat.com>
807         * dwarf2out.c (dwarf2out_finish): Don't emit DW_AT_stmt_list at -g1.
809 2001-05-30  Tom Tromey  <tromey@redhat.com>
811         * gcc.c (do_spec_1): In `%O' case, if we computed saved_suffix,
812         use it in the new association.
814 2001-05-30  Loren J. Rittle  <ljrittle@acm.org>
815             David O'Brien  <obrien@freebsd.org>
817         FreeBSD system configuration merged from mainline.
819         * config.gcc (the unlabeled system switch statement): Add
820         generic configuration section to handle *-*-freebsd*.  Also,
821         to match the system compiler, default to threading support (it
822         may be disabled with the standard --disable-threads
823         configuration-time switch).  Report bad configuration.
824         (i[34567]86-*-freebsd* in machine-specific section): Use it.
825         (alpha*-*-freebsd* in machine-specific section): Likewise.
827         * config/freebsd.h (LIB_SPEC): Key the exact setting to
828         configure-time options and target version of FreeBSD.  Set-up
829         to match architectural change in threading support.  Correctly
830         report when -pthread option is not supported by configure-time
831         options.
832         (FBSD_CPP_PREDEFINES): Move from architecture-specific files
833         and extend to encode target version number in run-time setting
834         of __FreeBSD__ macro to match the system compiler.  Use #endif/#if pair
835         instead of #elif (which is OK for this case but not in general).
836         (CPP_PREDEFINES): Likewise.
837         (PREFERRED_DEBUGGING_TYPE): Change to DWARF2_DEBUG.
839         * config/alpha/freebsd.h (CPP_PREDEFINES): Moved to common freebsd.h.
840         * config/i386/freebsd.h (CPP_PREDEFINES): Likewise.
842         * config/freebsd3.h: New file to expose FBSD_MAJOR macro (3).
843         * config/freebsd4.h: New file to expose FBSD_MAJOR macro (4).
844         * config/freebsd5.h: New file to expose FBSD_MAJOR macro (5).
845         * config/freebsd6.h: New file to expose FBSD_MAJOR macro (6).
846         * config/freebsd-nthr.h: New file to expose FBSD_NO_THREADS macro.
848         * config/t-freebsd (TARGET_LIBGCC2_CFLAGS): Add -fPIC.
849         * config/t-freebsd-thread (TARGET_LIBGCC2_CFLAGS): Add
850         -pthread instead setting macro.
852 2001-05-30  Loren J. Rittle  <ljrittle@acm.org>
853             John David Anglin  <dave@hiauly1.hia.nrc.ca>
855         * gthr-posix.h (__gthread_active_ptr): Cast function pointer
856         to target type to allow ISO C++ compiler to accept it.
857         * gthr-dce.h (__gthread_active_ptr): Likewise.
858         * gthr-solaris.h (__gthread_active_ptr): Likewise.
860 2001-05-30  Neil Booth  <neil@daikokuya.demon.co.uk>
862         * cpplex.c (_cpp_lex_token): Revert patch of 16 May 2001
863         so that we do accept comments in preprocessed input.
865 2000-05-30  Kelley Cook  <kelley.cook@home.com>
867         * config/i386/i386.h (TARGET_SWITCHES): Remove -mmmx and -msse options.
869 2001-05-30  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
871         * sparc/sol2.h (CPLUSPLUS_CPP_SPEC): Add all of CPP_SPEC instead
872         of just copying CPP_CPU_SPEC.
874 2001-05-30  Gordon Sadler <gbsadler1@lcisp.com>
876         * invoke.texi (Option Summary): Remove -isystem-c++ from options.
878 2001-05-30  Hans-Peter Nilsson  <hp@axis.com>
880         * Makefile.in (s-mlib): Make backtick-commands always succeed.
881         (DRIVER_DEFINES): Ditto.
883 2001-05-29  Stan Shebs  <shebs@apple.com>
885         * gcc.texi: Add links for information about Objective-C.
887 2001-05-29  Hartmut Schirmer <SchirmerH@Innovative-Systems.de>
889         * config/sh/sh.h (IDENT_ASM_OP): End with TAB, not LF.
891 2001-05-29  Nathan Sidwell  <nathan@codesourcery.com>
893         * configure.in (gcc_version): Remove unrequired \ on ". (Solaris
894         /bin/sed fails on [^\"]).
895         (configargs.h): Likewise.
896         * configure: Rebuilt.
898 2001-05-28  Joseph S. Myers  <jsm28@cam.ac.uk>
900         * c-tree.texi, contrib.texi, cpp.texi, extend.texi, gcc.texi,
901         gcov.texi, install.texi, md.texi, objc.texi, rtl.texi, tm.texi:
902         Remove trailing whitespace.
904 2001-05-28  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
906         * c-common.c (c_common_nodes_and_builtins): Change __builtin_fsqrt
907         to __builtin_sqrt.
908         * extend.texi (Other Builtins): Update documentation about
909         __builtin_sqrt. 
911 2001-05-28  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
913         * doc/install.texi (Specific): http://reality.sgi.com/ariel/freeware/
914         became http://freeware.sgi.com/.
915         
916 2001-05-27  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
918         * fixinc/fixtests.c: Declare entries in ENV_TABLE.
920 2001-05-27  Neil Booth  <neil@daikokuya.demon.co.uk>
922         * cpplib.c (run_directive): Set pfile->directive.
924 2001-05-27  Nathan Sidwell  <nathan@codesourcery.com>
926         * lists.c (init_EXPR_INSN_LIST_cache): Only called once.
927         * toplev.c (rest_of_compilation): Don't call it here.
928         (compile_file): Call it here.
930 2001-05-27  Lars Brinkhoff  <lars@nocrew.org>
932         * combine.c (try_combine): Fix typo in comment.
933         * expr.c (expand_expr): Likewise.
934         * config/i370/i370.md (untyped_call): Likewise.
936 2001-05-26  Bruce Korb  <bkorb@gnu.org>
938         * fixinc/fixtests.c(stdc_0_in_system_headers_test): Must return "FIX"
939         when fixincl is operating in test mode
940         * fixinc/inclhack.def(AAB_dgux_int_varargs) : aesthetics
941         (AAB_ultrix_limits): remove redundant text
942         (AAB_ultrix_memory): ditto
943         (AAB_ultrix_string): ditto
944         (djgpp_wchar_h): fix the test text
945         (irix_stdio_va_list): add test text
946         (irix_limits_const): add a testing output file (limits.h is overwritten)
947         (strict_ansi_not_ctd): put limits.h second in list for same reason
948         (solaris27_mutex_init): test text needed selection text, too
950         * fixinc/fixtests.c(stdc_0_in_system_headers_test): Must return "FIX"
951         when fixincl is operating in test mode
953 2001-05-25  Zack Weinberg  <zackw@stanford.edu>
955         * toplev.c (debug_args, f_options, W_options): Mark
956         descriptions for translation.
957         (display_help): Translate descriptions on output.
959         * cp/lang-options.h, f/lang-options.h, java/lang-options.h,
960         objc/lang-options.h: Mark descriptions for translation.
962         * aclocal.m4: Quote final argument of patsubst.  Use
963         3-argument form of AC_DEFINE.  Restore quotes to [] while
964         using AC_FD_CC.
965         * configure, config.in: Regenerate.
967 2001-05-25 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
969         * c4x.h (HARD_REGNO_CALLER_SAVE_MODE): Remove MODE argument.
971 2001-05-25  Stacey Sheldon  <ssheldon@Catena.com>
973         * config/arc/initfini.c (.init): Fix typo.
975 2001-05-25  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
977         * i386/i386.h (CC1_CPU_SPEC): Clarify -m486 etc deprecation messages.
979 2001-05-25  Richard Henderson  <rth@redhat.com>
981         * config.gcc (all gnu and linux): Use t-slibgcc-elf-ver with t-linux.
982         (i386-*-solaris2): Use t-slibgcc-elf-ver or t-slibgcc-sld.
983         (sparc*-*-solaris2): Likewise.
984         * config/t-linux: Remove shared libgcc macros.
985         * config/t-slibgcc-elf-ver: Move from sparc/t-slibgcc.
986         * config/t-slibgcc-sld: Move from sparc/t-slibgcc-sld.
988 2001-05-25  Richard Henderson  <rth@redhat.com>
990         * libgcc-std.ver: Export XFmode and TFmode versions of symbols.
992 2001-05-25  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
994         * fixinc/inclhack.def (strict_ansi_not, strict_ansi_not_ctd,
995         strict_ansi_only): Don't run if stdc_0_in_system_headers.
996         * fixinc/fixincl.x: Regenerate.
997         * fixinc/fixtests.c (stdc_0_in_system_headers_test): New function.
998         (FIX_TEST_TABLE): Declare it.
999         * fixinc/fixlib.h: Include config.h.
1001 2001-05-25  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
1003         * fixinc/inclhack.def (alpha___assert): Change char * args to
1004         const char * on Tru64 UNIX to avoid excessive warnings from
1005         assert.h.
1006         * fixinc/fixincl.x: Regenerate.
1008 2001-05-25  David Edelsohn  <edelsohn@gnu.org>
1010         * xcoffout.h (DBX_OUTPUT_GCC_MARKER): Do not emit any marker.
1012         * config/rs6000/aix.h (USER_LABEL_PREFIX): AIX symbols do not have
1013         any prefix.
1015 2001-05-25  Jeff Knaggs  <jknaggs@redhat.com>
1017         * config/alpha/alpha.md (movtf_internal): Use reg_overlap_mentioned_p
1018         instead of rtx_equal_p for early clobber test.
1020 2001-05-25  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
1022         * aclocal.m4: Fixed typo.
1023         (gcc_AC_HEADER_STDBOOL): Define.
1024         (gcc_AC_C__BOOL): Define.
1025         * configure.in: Use them.
1026         (AC_CHECK_HEADERS): Remove stdbool.h
1027         * configure, config.in: Regenerate.
1029 2001-05-25  Richard Henderson  <rth@redhat.com>
1031         * config/i386/i386.md: Revert previous change.  Do not apply
1032         the peephole if the components do not die after the sequence.
1034 2001-05-25  Mark Mitchell  <mark@codesourcery.com>
1036         * config/i386/i386.md: Make sure cmpstr peepholes do not 
1037         affect liveness information.
1039 2001-05-24  Mark Mitchell  <mark@codesourcery.com>
1041         * c-typeck.c (digest_init): Issue error messages about 
1042         invalid constants, not warnings.
1044         * invoke.texi (-fno-builtin): Document that this is always on
1045         in C++.
1047 2001-05-24  Philip Blundell  <philb@gnu.org>
1049         * config/arm/arm.c (output_return_instruction): Correctly handle
1050         interworking and interrupt functions.
1052 2001-05-24  Philip Blundell  <philb@gnu.org>
1054         * config/arm/arm.h (TARGET_SWITCHES): Correct misleading help for
1055         -m{no-}sched-prolog.  Fix typos and improve formatting.
1057 2001-05-24  Philip Blundell  <philb@gnu.org>
1059         * invoke.texi (ARM Options): Improve wording slightly.  Add
1060         documentation for more options, including those for Thumb mode.
1061         Don't mention options that don't exist or are unimplemented.
1062         (Thumb Options): Delete; merged into above section.
1064 2001-05-24  Geoff Keating  <geoffk@redhat.com>
1066        * config/rs6000/linux.h (SIGNAL_FRAMESIZE): Define.
1067        (MD_FALLBACK_FRAME_STATE_FOR): Use it.
1069 2001-05-23  Richard Henderson  <rth@redhat.com>
1071         * doc/install.texi (alpha-linux): Require binutils 2.11.
1073 2001-05-23  Joseph S. Myers  <jsm28@cam.ac.uk>
1075         * extend.texi (Attribute Syntax): Clarify application of
1076         attributes to parameters declared as functions or arrays.
1078 2001-05-23  Zack Weinberg  <zackw@stanford.edu>
1080         * diagnostic.c (vnotice): Kill.
1081         (fnotice): Call vfprintf directly.
1082         (diagnostic_for_decl, output_do_verbatim, output_verbatim,
1083         verbatim, set_diagnostic_context): Rename string argument to
1084         indicate that it is run through gettext.
1085         (vbuild_message_string, build_message_string, output_do_printf):
1086         Rename string argument to indicate that it is NOT run through
1087         gettext.
1088         (output_printf, diagnostic_for_decl, fatal_io_error, sorry,
1089         output_do_verbatim, set_diagnostic_context, fnotice, _fatal_insn):
1090         Run msgid argument through gettext.
1091         (default_print_error_function): Run constant strings through
1092         gettext when nothing else will.
1093         (fatal_error, internal_error, error_recursion): Use fnotice.
1094         Present complete sentences to gettext.
1096 2001-05-23  Mark Mitchell  <mark@codesourcery.com>
1098         * jump.c (mark_jump_label): Fix thinko in 2001-05-19 change.
1100 2001-05-22  Richard Henderson  <rth@redhat.com>
1102         * config/mips/iris6.h (EH_FRAME_SECTION_ASM_OP): Give the
1103         section pointer alignment.
1105         * doc/install.texi (alpha-linux): Require binutils >= 2.10.
1107         * unwind-dw2-fde.c (__deregister_frame_info): Stringize use
1108         of __USER_LABEL_PREFIX__.
1110 2001-05-22  Richard Henderson  <rth@redhat.com>
1112         * unwind-dw2-fde.c (__deregister_frame_info): Stubbify in favour of...
1113         (__deregister_frame_info_bases): New.
1114         * unwind-dw2-fde.h: Declare it.
1115         * libgcc-std.ver: Export it.
1116         * crtstuff.c (__do_global_dtors_aux): Call it if we would have
1117         called __register_frame_info_bases.
1119 2001-05-22  Andrew MacLeod  <amacleod@redhat.com>
1121         * builtins.c (expand_builtin_longjmp): A longjmp can be a call too.
1122         * config/ia64/ia64.md (nonlocal_goto): Reverse label and frame pointer
1123         parameters to __ia64_nonlocal_goto. Flag as NO_RETURN.
1124         * config/ia64/ia64.c (ia64_expand_epilogue): Make sure we are issuing
1125         "r2" to the assembly file. Only issue allocs with non-zero parameters.
1127 2001-05-22  Richard Henderson  <rth@redhat.com>
1129         * libgcc2.c: Include hwint.h.
1131 2001-05-22  Richard Henderson  <rth@redhat.com>
1133         * crtstuff.c (__register_frame_info_bases): Declare.
1134         (frame_dummy): Use it, if CRT_GET_RFIB_TEXT or CRT_GET_RFIB_DATA.
1135         (__do_global_dtors_aux, __do_global_dtors): Streamline.
1137         * config/i386/linux.h (ASM_MAYBE_OUTPUT_ENCODED_ADDR_RTX): New.
1138         (CRT_GET_RFIB_DATA): New.
1139         * config/i386/sysv4.h: Likewise.
1140         * config/i386/sco5.h: Likewise.
1141         (ASM_PREFERRED_EH_DATA_FORMAT): New.
1143 2001-05-22  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
1145         * doc/install.texi (Specific): Remove a bogus and duplicate part
1146         copied from the end of the document.
1148 2001-05-22  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
1150         * install.texi: Remove obsolete information on SunOS as well as
1151         i386-sun-sunos4, i860-intel-osf1, and powerpcle-*-solaris2*.
1152         (Installing GNU CC on the Sun): Remove section.
1154 2001-05-22  Alexandre Oliva  <aoliva@redhat.com>
1156         * cppfiles.c (remove_component_p): Don't assume lstat/stat will
1157         keep errno unchanged on success.
1159 2001-05-22  Joseph S. Myers  <jsm28@cam.ac.uk>
1161         * c-lex.c (lex_number): If pedantic and not C99, pedwarn exactly
1162         once for hexadecimal floats, whether or not they contain a decimal
1163         point.  Don't let the setting of pedantic otherwise affect the
1164         parsing of hexadecimal floats.
1166 2001-05-22  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
1168         * README.ACORN: Remove obsolete file.
1170 2001-05-22  Joseph S. Myers  <jsm28@cam.ac.uk>
1172         Merge objc.texi from mainline:
1173         2001-02-28  Ovidiu Predescu  <ovidiu@cup.hp.com>
1174         * objc-features.texi: Document the @compatibility_alias compiler
1175         directive (description from Nicola Pero <n.pero@mi.flashnet.it>).
1177 2001-05-21  Mark Mitchell  <mark@codesourcery.com>
1179         * tree.h (type_num_arguments): Declare it.
1180         * tree.c (type_num_arguments): New function.
1182 2001-05-21  Richard Henderson  <rth@redhat.com>
1184         * dwarf2out.c (current_funcdef_number): Move outside dwarf2
1185         conditional ifdef.
1187 2001-05-21  Mark Mitchell  <mark@codesourcery.com>
1189         * c-decl.c (finish_decl): Don't set DECL_C_HARD_REGISTER for
1190         non-register variables.
1191         * extend.texi: Document that asm-specifications do not make sense
1192         for non-static local variables.
1194 2001-05-17  Andrew Haley  <aph@redhat.com>
1196         * config/rs6000/linux.h (MD_FALLBACK_FRAME_STATE_FOR): New.
1198 2001-05-20  Mark Mitchell  <mark@codesourcery.com>
1199             Jim Wilson  <wilson@redhat.com>
1201         * libgcc2.h (TItype): Do not assume that the host has 64-bit ntegers.
1202         (W_TYPE_SIZE): Likewise.
1204 2001-05-21  Joseph S. Myers  <jsm28@cam.ac.uk>
1206         * extend.texi: Clarify documentation of extensions included in ISO
1207         C99.  Prefer C99 terminology and syntax to old GNU terminology and
1208         syntax.  Add more index entries.  Document mixed declarations and
1209         code as an extension in C89 mode.  Warn about future changes to
1210         semantics of inline functions.  Fixes PR other/930.
1212 2001-05-20  Richard Henderson  <rth@redhat.com>
1214         * sched-deps.c (sched_analyze_insn): Force volatile memory reads
1215         to be output before a branch.
1217         2001-05-12  Neil Booth  <neil@cat.daikokuya.demon.co.uk>
1218         * sched-deps.c (sched_analyze_insn): Remove unused vars.
1220         2001-04-05  Bernd Schmidt  <bernds@redhat.com>
1221         * sched-deps.c (sched_analyze_insn): Revert more of the March 27
1222         change.
1224         2001-04-04  Bernd Schmidt  <bernds@redhat.com>
1225         * sched-deps.c (sched_analyze_insn): Partially revert March 27
1226         change.
1228 2001-05-20  Richard Henderson  <rth@redhat.com>
1230         * Makefile.in (dwarf2asm.o): Depend on $(TREE_H).
1232 2001-05-20  Richard Henderson  <rth@redhat.com>
1234         * config/i386/att.h (ASM_SHORT, ASM_LONG): Add trailing \t.
1235         (ASM_DOUBLE): Remove.
1236         * config/i386/bsd.h, config/i386/sco5.h: Likewise.
1237         * config/i386/sun386.h: Likewise.
1239         * config/i386/i386.h (UNALIGNED_SHORT_ASM_OP): New.
1240         (UNALIGNED_INT_ASM_OP, INT_ASM_OP): New.
1242         * config/i386/cygwin.h (INT_ASM_OP): Remove.
1243         * config/i386/freebsd-aout.h, config/i386/i386-aout.h: Likewise.
1244         * config/i386/i386-coff.h, config/i386/i386-interix.h: Likewise.
1245         * config/i386/netbsd.h, config/i386/openbsd.h: Likewise.
1247         * config/i386/cygwin.h: Adjust uses of ASM_LONG for trailing \t.
1248         * config/i386/djgpp.h, config/i386/i386.h: Likewise.
1249         * config/i386/i386elf.h, config/i386/ptx4-i.h: Likewise.
1250         * config/i386/sco5.h, config/i386/svr3gas.h: Likewise.
1251         * config/i386/sysv4.h, config/i386/vsta.h: Likewise.
1252         * config/i386/win-nt.h, config/i386/win32.h: Likewise.
1254 2001-05-20  Joseph S. Myers  <jsm28@cam.ac.uk>
1256         * invoke.texi: Add more options to summary list.
1258 2001-05-19  Zack Weinberg  <zackw@stanford.edu>
1260         * extend.texi: Document #pragma GCC java_exceptions.
1262 2001-05-20  Joseph S. Myers  <jsm28@cam.ac.uk>
1264         * invoke.texi: Document meaning of -pedantic when -std=gnu* is
1265         used.  Fixes PR c/2291.
1266         * gcc.1: Regenerate.
1268 2001-05-20  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
1270         * config/m68hc11/m68hc11.c (m68hc11_override_options): Ignore
1271         the -fpic and -fPIC options, clear flag_pic.
1273 2001-05-19  Brad Lucier  <lucier@math.purdue.edu>, Alexandre Oliva  <aoliva@redhat.com>
1275         * Makefile.in (alloca.o): Depend on $(GCONFIG_H).
1276         ($(HOST_PREFIX_1)alloca.o): Depend on $(HCONFIG_H).  Arrange for
1277         hconfig.h to be included.
1279 Sat May 19 18:23:04 2001  Richard Henderson <rth@redhat.com>
1281         * except.c (dw2_build_landing_pads): Use word_mode, not Pmode,
1282         as ncessary.
1283         (expand_eh_return): Convert between word_mode and Pmode.
1284         * unwind-dw2.c (extract_cie_info): Do not assume words and pointers
1285         are the same size.
1286         (execute_stack_op): Likewise.
1287         (execute_cfa_program): Likewise.
1288         (uw_frame_state_for): Likewise.
1289         (uw_update_context_1): Likewise.
1290         * unwind.inc (_Unwind_Reason_Code): Likewise.
1291         * config/mips/mips.h (EH_RETURN_DATA_REGNO): Define.
1292         (EH_RETURN_STACKADJ_RTX): Likewise.
1293         * config/mips/mips.c (compute_frame_size): Make space for saving
1294         EH return registers.
1295         (mips_expand_epilogue): Handle EH stack adjustments.
1296         * config/mips/mips.md (eh_return): New pattern.
1297         (eh_set_lr_si): Likewise.
1298         (eh_set_lr_di): Likewise.
1299         Add splitter to perform EH return after reload.
1301 2001-05-19  Mark Mitchell  <mark@codesourcery.com>
1303         * jump.c (mark_jump_label): Tidy previous change.
1305 2001-05-17  Brendan Conoboy <blc@cygnus.com>
1306             Bruce Korb <bkorb@gnu.org>
1308         * fixinc/fixincl.sh(FIXINC): accept local directory if fixincl not
1309         found in fixinc directory.  Facilitates binary distributions.
1311 2001-05-19  Bruce Korb <bkorb@gnu.org>
1313         * fixinc/fixincl.tpl: rewritten as an AutoGen version 5 template
1314         * fixinc/genfixes: emit a warning if AutoGen is out of date
1315         * fixinc/fixincl.x: regen
1316         * fixinc/Makefile.in: open stdin for those building with a closed one.
1318 2001-05-19  Mark Mitchell  <mark@codesourcery.com>
1320         * jump.c (mark_jump_label): Tidy previous change.
1322         * jump.c (jump_optimize_1): Tidy.
1323         (mark_jump_label): When changing the label in a LABEL_REF, change
1324         update any REG_EQUAL notes as well.
1326         * defaults.h (TARGET_ALLOWS_PROFILING_WITHOUT_FRAME_POINTER): New
1327         macro.
1328         * tm.texi (TARGET_ALLOWS_PROFILING_WITHOUT_FRAME_POINTER):
1329         Document it.
1330         * toplev.c (main): If the target does not allow profiling without
1331         a frame pointer, issue an error message.
1332         * config/i386/linux.h (TARGET_ALLOWS_PROFILING_WITHOUT_FRAME_POINTER):
1333         Define it to false.
1335 Sat May 19 09:40:45 2001  Denis Chertykov  <denisc@overta.ru>
1337         * regrename.c (regrename_optimize): frame pointer register can
1338         use a few hardregs.
1340 2001-05-18  John David Anglin  <dave@hiauly1.hia.nrc.ca>
1342         * toplev.c (note_outlining_of_inline_function): Add ATTRIBUTE_UNUSED
1343         to argument declaration.
1345 2001-05-18  Jason Merrill  <jason_merrill@redhat.com>
1347         * README.DWARF: Move into dwarfout.c.
1349 2001-05-18  Stan Shebs  <shebs@apple.com>
1351         * configure.in (gcc_cv_as_eh_frame): Cope with old assemblers.
1352         * configure: Regenerate.
1354 2001-05-18  Geoff Keating  <geoffk@redhat.com>
1356         * config/rs6000/rs6000.c (rs6000_emit_prologue): Don't save
1357         the link register if we're not going to use it.
1359         * config/rs6000/rs6000.c (output_function_profiler): Fix a warning.
1361 2001-05-18  Per Bothner  <per@bothner.com>
1363         Changes needed for java/jvspec.c
1364         * gcc.h (n_infiles, outfiles):  Add declarations.
1365         * gcc.c (n_infiles, outfiles):  Mske no longer static.
1367 Fri May 18 10:12:19 2001  Jeffrey A Law  (law@cygnus.com)
1369         * config/pa/som.h (EXCEPTION_SECTION): Define.
1371 2001-05-18  Bernd Schmidt  <bernds@redhat.com>
1373         Revert
1374         2001-02-09  Nick Clifton  <nickc@redhat.com>
1375         * config/arm/arm.md: Change output constraint on post inc
1376         load/store multiple patterns to be a read/write constraint.
1378 2001-05-18  Mark Mitchell  <mark@codesourcery.com>
1380         * function.c (expand_function_start): Avoid creating BLKmode
1381         pseudos.
1383 2001-05-17  Mark Mitchell  <mark@codesourcery.com>
1385         * dwarf2out.c (output_comp_unit): Always output a compilation-unit
1386         DIE, even if it has no children.
1387         (dwarf2out_finish): Always output the line-number table, even if
1388         it has no content.
1390 2000-05-18  David Edelsohn  <edelsohn@gnu.org>
1392         * rs6000.md (movsfcc,movdfcc): Remove NE case.
1394 2000-05-17  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
1396         * config/rs6000/rs6000.c (rs6000_legitimate_address): Allow any stack
1397         offsets if not REG_OK_STRICT.
1399         * config/rs6000/rs6000.h (REG_OK_STRICT_FLAG): New macro.
1400         (INT_REG_OK_FOR_INDEX_P): Likewise.
1401         (INT_REG_OK_FOR_BASE_P): Likewise.
1402         (REG_OK_FOR_INDEX_P): Use INT_REG_OK_FOR_INDEX_P.
1403         (REG_OK_FOR_BASE_P): Use INT_REG_OK_FOR_BASE_P.
1404         (LEGITIMATE_OFFSET_ADDRESS_P): Use INT_REG_OK_FOR_INDEX_P and
1405         INT_REG_OK_FOR_BASE_P instead of REG_OK_FOR_INDEX_P and
1406         REG_OK_FOR_BASE_P. Take an additional parameter.
1407         (LEGITIMATE_INDEXED_ADDRESS_P): Likeewise.
1408         (LEGITIMATE_INDIRECT_ADDRESS_P): Likewise.
1409         (LEGITIMATE_LO_SUM_ADDRESS_P): Likewise.
1410         (GO_IF_LEGITIMATE_ADDRESS): Move code into new function
1411         rs6000_legitimate_address() and use it.
1412         * config/rs6000/rs6000.c: Update all callers.
1413         (rs6000_legitimate_address): New function.
1415 2001-05-17  Mark Kettenis  <kettenis@wins.uva.nl>
1417         * dwarf2out.c (modified_type_die): Equate qualified type to die.
1419 2001-05-17  Mark Mitchell  <mark@codesourcery.com>
1421         * doc/install.texi: Update Solaris information.
1423         * except.h (protect_cleanup_actions): Remove it.
1424         (lang_protect_cleanup_actions): Declare it.
1425         * except.c (protect_cleanup_actions): Remove it.
1426         (lang_protect_cleanup_actions): New variable.
1427         (init_eh): Don't make protect_cleanup_actions a GC root.
1428         (expand_eh_region_and_cleanup): Call
1429         lang_protect_cleanup_actions.
1430         (output_function_exception_table): Remove unused `align'
1431         variable.
1432         * varasm.c (assemble_external): Abort if we have not yet
1433         opened the assembly output file.
1435 Thu May 17 11:53:49 2001  Jeffrey A Law  (law@cygnus.com)
1437         * pa.c (hppa_init_pic_save): No longer update last_parm_insn.
1439         * except.c (sjlj_emit_function_enter): Call assemble_external_libcall
1440         for eh_personality_libfunc.
1442 2001-05-17  Bernd Schmidt  <bernds@redhat.com>
1444         * reload1.c (delete_output_reload): Call eliminate_regs on substed.
1445         (reload_as_needed): Call update_eliminable_offsets a bit later.
1447         * expr.c (protect_from_queue): Protect against subsequent calls to
1448         emit_queue.
1449         (expand_expr, case ADDR_EXPR): Prevent protect_from_queue from being
1450         too clever.
1452 2001-05-17  Jeffrey Oldham  <oldham@codesourcery.com>
1454         * dbxout.c (dbxout_symbol_location): For CONCAT, skip types not
1455         COMPLEX_TYPE.
1457 2001-05-17  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
1459         * gccbug.in (CATEGORIES): Add "bootstrap".
1461 2001-05-17  Bernd Schmidt  <bernds@redhat.com>
1463         * stmt.c (expand_asm_operands): For inout operands, make sure
1464         the substitution of '=' for '+' makes it into the rtl.
1466 2001-05-17  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
1468         * gcc.texi (gccbug): Refer to the web pages for detailed information
1469         on GNATS.
1471 2001-05-16  Wolfgang Bangerth <wolfgang.bangerth@iwr.uni-heidelberg.de>
1472         Bruce Korb <bkorb@gnu.org>
1474         * fixinc/inclhack.def(solaris27_mutex_init):  Fix broken mutex
1475         initializer
1477 2001-05-16  Zack Weinberg  <zackw@stanford.edu>
1479         * assert.h: Removed.
1480         * libgcc-std.ver, sys-protos.h: Remove __eprintf.
1481         * libgcc2.c: Document that __eprintf exists for backward
1482         compatibility only.
1483         * configure.in: Correct commentary now assert.h does not exist.
1484         * configure: Regenerate.
1486         * Makefile.in: Delete INSTALL_ASSERT_H, assertdir, and all
1487         references to either. Delete install-assert-h target.  Do not
1488         create $(assertdir) or $(gcc_tooldir) in mkinstalldirs target.
1489         Move _eprintf from LIB2FUNCS to LIB2FUNCS_ST; pass
1490         LIB2FUNCS_ST to mklibgcc.
1491         * cross-make: Don't set assertdir.
1492         * mklibgcc.in: Add support for LIB2FUNCS_ST.
1494         * config/t-freebsd, config/t-linux, config/t-linux-aout,
1495         config/t-netbsd, config/t-openbsd, config/t-rtems, config/x-linux,
1496         config/alpha/t-interix, config/i386/t-beos, config/i386/t-interix,
1497         config/mcore/t-mcore, config/mcore/t-mcore-pe:
1498         No need to set INSTALL_ASSERT_H.
1500         * fixinc/fixinc.dgux, fixinc/fixinc.interix, fixinc/fixinc.ptx,
1501         fixinc/fixinc.svr4, fixinc/fixinc.winnnt, fixinc/fixinc.wrap,
1502         fixinc/fixincl.sh: Don't install assert.h.
1504 2001-05-16  Zack Weinberg  <zackw@stanford.edu>
1506         * i386.md: Add two peepholes to clean up code generated by
1507         cmpstr* expanders.
1509 2001-05-16  Richard Henderson  <rth@redhat.com>
1511         * dwarf2asm.c (eh_data_format_name): Add names for "pointer size"
1512         variants of non-absolute encodings.
1514         * config/i386/i386.h (ASM_PREFERRED_EH_DATA_FORMAT): New.
1516         * libgcc-std.ver (_Unwind_Find_FDE, __register_frame_info_bases,
1517         __register_frame_info_table_bases): Export.
1519 Wed May 16 13:38:21 2001  Jeffrey A Law  (law@cygnus.com)
1521         * pa32-regs.h (HARD_REGNO_MODE_OK): Allow TI/TFmode values in
1522         GPRs.
1524 2001-05-16  Richard Henderson  <rth@redhat.com>
1526         * except.c (eh_data_format_name): Move to ...
1527         * dwarf2asm.c: ... here.  Use designated initializers if available.
1528         (dw2_asm_output_encoded_addr_rtx): Accept varargs commentary.
1529         * dwarf2asm.h: Update declarations.
1530         * dwarf2out.c (output_cfi) [DW_CFA_set_loc]: If for_eh, mind
1531         ASM_PREFERRED_EH_DATA_FORMAT.
1532         (output_call_frame_info): Likewise.  Use 'L' augmentation for
1533         the LSDA encoding.
1535         * unwind-dw2-fde.h (struct fde_vector): New.
1536         (struct old_object): Rename from struct object.
1537         (struct object): New.
1538         (__register_frame_info_bases): Declare.
1539         (__register_frame_info_table_bases): Declare.
1540         (struct dwarf_fde): Remove explicit pc_begin/pc_range members.
1541         * unwind-dw2-fde.c (objects): Remove.
1542         (unseen_objects, seen_objects): New.
1543         (__register_frame_info_bases): New.
1544         (__register_frame_info): Use it.
1545         (__register_frame_info_table_bases): New.
1546         (__register_frame_info_table): Use it.
1547         (__deregister_frame_info): Rewrite for changed object struct.
1548         (base_from_object, get_cie_encoding, get_fde_encoding): New.
1549         (fde_unencoded_compare): Rename from fde_compare; uninline.
1550         (fde_single_encoding_compare, fde_mixed_encoding_compare): New.
1551         (start_fde_sort): Adjust for new definition of fde_vector.
1552         (fde_insert): Likewise.
1553         (end_fde_sort): Likewise.  Select comparison function based
1554         on properties of the object.
1555         (fde_split): Take object and fde_compare_t arguments.
1556         (frame_heapsort, fde_merge): Likewise.
1557         (classify_object_over_fdes): Rename from count_fdes.  Handle
1558         encoded pointers.  Collect encoding, mixed_encoding, and pc_begin
1559         for the object.
1560         (add_fdes): Handle encoded pointers.
1561         (init_object): Rename from frame_init.  Update for new struct object.
1562         (linear_search_fdes): Rename from search_fdes.  Handle encoded
1563         pointers.
1564         (binary_search_unencoded_fdes): Broken out from _Unwind_Find_FDE.
1565         (binary_search_single_encoding_fdes): New.
1566         (binary_search_mixed_encoding_fdes): New.
1567         (search_object): New.
1568         (_Unwind_Find_FDE): Update for new struct object.  Fill in
1569         the dwarf_eh_bases.
1570         * unwind-dw2.c: Include unwind-pe.h.  Constify all pointers
1571         iterating over EH data.
1572         (_Unwind_FrameState): Remove saw_lsda, addr_encoding.  Add
1573         fde_encoding, lsda_encoding.
1574         (read_uleb128, read_sleb128): Remove.
1575         (read_encoded_pointer): Remove.  All callers use read_encoded_value.
1576         (extract_cie_info): Set lsda_encoding from 'L' augmentation.
1577         (uw_frame_state_for): Don't set bases.func.  Handle encoded fde
1578         pointers.
1579         * unwind-pe.h: Add "struct" to _Unwind_Context references.
1581 2001-05-16  Andreas Jaeger  <aj@suse.de>
1583         * Makefile.in (toplev.o): Add dependency on dwarf2asm.h.
1585         * toplev.c: Include dwarf2asm.h for prototype of
1586         dw2_output_indirect_constants.
1588 2001-05-16  Richard Henderson  <rth@redhat.com>
1590         2001-03-08  Richard Henderson  <rth@redhat.com>
1591         * configure.in (HAVE_AS_LEB128): New assembler check.
1592         * configure, config.in: Rebuilt.
1594 2001-05-16  David Edelsohn  <edelsohn@gnu.org>
1596         * doc/install.texi: Update AIX information.
1597         * README.RS6000: Remove obsolete file.
1599 2001-05-16  John David Anglin  <dave@hiauly1.hia.nrc.ca>
1601         * pa-hpux10.h (THREAD_MODEL_SPEC): Define.
1603 2001-05-16  Jakub Jelinek  <jakub@redhat.com>
1604             Nathan Sidwell  <nathan@codesourcery.com>
1606         * gcc.c (give_switch): Don't write before start of string.
1607         Always append suffix.
1609 2001-05-16  Nathan Sidwell  <nathan@codesourcery.com>
1611         * cpplex.c (_cpp_lex_token, '/' case): Comments can't appear
1612         after stage3.
1614 2001-05-16  Dean Wakerley  <dean@wakerley.com>
1616         * doc/install.texi: New file. Converted to texinfo from the HTML
1617         documentation in wwwdocs/htdocs/install.
1619 2001-05-16  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
1621         * README.ALTOS: Remove obsolete file.
1623 Tue May 15 22:12:41 2001  Jeffrey A Law  (law@cygnus.com)
1625         * flow.c (life_analysis): After life analysis is complete, do
1626         an optional scan over insns looking for REG_LABEL notes that
1627         reference a deleted label.
1628         (propagate_block_delete_insn): Verify INOTE is a CODE_LABEL
1629         before peeking at LABEL_NUSES.
1631 2001-05-15  Richard Henderson  <rth@redhat.com>
1633         * unwind-sjlj.c (_Unwind_GetDataRelBase): New.
1634         (_Unwind_GetTextRelBase): New.
1636 2001-05-15  Mark Mitchell  <mark@codesourcery.com>
1638         * config/sparc/sol2.h (CPLUSPLUS_CPP_SPEC): Define.
1640 2001-05-15  Loren J. Rittle  <ljrittle@acm.org>
1642         * gthr-posix.h: Make additional pthread-* functions weak.
1644 2001-05-14  Richard Henderson  <rth@redhat.com>
1646         * configure.in (gcc_cv_as_eh_frame): New test.
1647         * config.in, configure: Rebuild.
1648         * gcc.c (init_spec): Honor USE_AS_TRADITIONAL_FORMAT.
1650 2001-05-14  Andrew MacLeod  <amacleod@redhat.com>
1652         * config/ia64/ia64.c (rtx_needs_barrier): Call rtx_needs_barrier
1653         for RETURNS as well.
1654         * config/ia64/lib1funcs.asm (__divtf3): Fix incorrect bits in
1655         extended precision divide.
1657 2001-05-14  Andrew Haley  <aph@redhat.com>
1659         * reload1.c (copy_eh_notes): New function.
1660         (emit_input_reload_insns): Call it.
1661         (emit_output_reload_insns): Call it.
1663         * emit-rtl.c (try_split):  Copy EH notes to sequence.
1665 2001-05-14  Richard Henderson  <rth@redhat.com>
1667         2001-04-12  Richard Henderson  <rth@redhat.com>
1668         * Makefile.in (regmove.o): Depend on except.h.
1669         * regmove.c: Include it.
1671 Mon May 14 08:57:23 2001  Jeffrey A Law  (law@cygnus.com)
1673         * config/pa/som.h (NM_FLAGS): Remove.
1674         (ASM_OUTPUT_FUNCTION_PREFIX): No longer truncate subspace names.
1675         (ASM_OUTPUT_SECTION_NAME): Remove.
1676         (MAKE_DECL_ONE_ONLY, ASM_WEAKEN_LABEL): Likewise.
1678 2001-05-14  Mark Mitchell  <mark@codesourcery.com>
1680         * regrename.c (regrename_optimize): Do not rename registers to
1681         leaf registers.
1683 2001-05-14  Alexandre Oliva  <aoliva@redhat.com>
1685         * rtl.texi (CALL_INSN_FUNCTION_USAGE): Note that (and when) it may
1686         contain MEMs.  Remove useless distinction about clobbering
1687         registers.
1689 2001-05-13  Richard Henderson  <rth@redhat.com>
1691         2001-03-28  Richard Henderson  <rth@redhat.com>
1692         * config/rs6000/rs6000.h (EPILOGUE_USES): Use TARGET_AIX,
1693         not TARGET_TOC for special toc restore handling.
1694         * config/rs6000/rs6000.md (eh_return): Likewise.
1696 2001-05-13  Alexandre Oliva  <aoliva@redhat.com>
1698         * tm.texi (THREAD_MODEL_SPEC): Document it.
1699         * gcc.c (main): Use it.
1700         * config/rs6000/aix43.h (THREAD_MODEL_SPEC): Define it.
1701         * config/rs6000/aix51.h (THREAD_MODEL_SPEC): Likewise.
1703 2001-05-13  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
1705         * rtl.h (SYMBOL_REF_WEAK): New macro.
1706         * rtlanal.h (rtx_addr_can_trap): Use it, a weak SYMBOL_REF can trap.
1707         * varasm.c (make_decl_rtl): Mark SYMBOL_REF weak if necessary.
1708         * rtl.texi (SYMBOL_REF_WEAK): Document it.
1709         * gcc.texi: Remove wrong description.
1711 2001-05-13  Mark Mitchell  <mark@codesourcery.com>
1713         * stringpool.c (xxx, yyy): Remove.
1714         (get_identifier): Don't set them.
1716         * Makefile.in (STAMP): New macro.
1717         Replace all uses of `touch' with $(STAMP).
1718         * fixinc/Makefile.in: Likewise.
1720 2001-05-13  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1722         * i386.c (ix86_save_reg): Change `bool' parameter to `int'.
1724 2001-05-12  Richard Henderson  <rth@redhat.com>
1726         EH merge from mainline, continued.
1728         2001-05-12  Richard Henderson  <rth@redhat.com>
1729         * dwarf2asm.c (size_of_encoded_value): New function.
1730         * dwarf2asm.h: Declare it.
1731         * except.c (output_function_exception_table): Align the TType
1732         array only as wide as the encoding.
1734         2001-05-11  Richard Henderson  <rth@redhat.com>
1735         * defaults.h (ASM_PREFERRED_EH_DATA_FORMAT): New.
1736         * dwarf2asm.c (dw2_force_const_mem, dw2_output_indirect_constant_1,
1737         dw2_output_indirect_constants, dw2_asm_output_encoded_addr_rtx): New.
1738         * dwarf2asm.h (dw2_asm_output_encoded_addr_rtx): Prototype.
1739         (dw2_output_indirect_constants): Prototype.
1740         * dwarf2out.c (dwarf2out_begin_prologue): Generate
1741         current_function_func_begin_label if we'll need it for EH.  Exit
1742         early for IA64_UNWIND_INFO.
1743         * except.c: Get DW_EH_PE_* defines from dwarf2.h.
1744         (eh_data_format_name): Update for indirect references.
1745         (output_function_exception_table): Care for IA64_UNWIND_INFO.
1746         Handle ASM_PREFERRED_EH_DATA_FORMAT.
1747         * except.h (MUST_USE_SJLJ_EXCEPTIONS): IA64_UNWIND_INFO needn't
1748         define HAVE_eh_return etc.
1749         * final.c (final_start_function): Always call dwarf2out_begin_prologue.
1750         (final_end_function): Don't call output_function_exception_table.
1751         * toplev.c (compile_file): Call dw2_output_indirect_constants.
1752         (rest_of_compilation): Invoke output_function_exception_table
1753         for ia64 before assemble_end_function.
1754         * tm.texi (ASM_PREFERRED_EH_DATA_FORMAT): Document.
1755         (ASM_MAYBE_OUTPUT_ENCODED_ADDR_RTX): Document.
1757         * unwind-dw2.c (_Unwind_GetTextRelBase, _Unwind_GetDataRelBase): New.
1758         * unwind.h: Declare them.
1759         * libgcc-std.ver: Export them.
1760         * unwind-pe.h: New file.
1762         * config/alpha/elf.h (ASM_PREFERRED_EH_DATA_FORMAT): New.
1764         * config/ia64/fde-glibc.c: Use "struct unw_table_entry"
1765         instead of "fde".
1766         (find_fde_for_dso): Extract DT_PLTGOT.
1767         (_Unwind_FindTableEntry): Rename from __ia64_find_fde; return
1768         the segment and gp as well.
1769         * config/ia64/frame-ia64.c: Remove file.
1770         * config/ia64/frame-ia64.h: Remove file.
1771         * config/ia64/unwind-ia64.c: New file.
1772         * config/ia64/unwind-ia64.h: New file.
1773         * config/ia64/ia64.h (ASM_OUTPUT_EH_CHAR): Remove.
1774         (ASM_OUTPUT_EH_SHORT, ASM_OUTPUT_EH_INT): Remove.
1775         (ASM_OUTPUT_EH_DOUBLE_INT): Remove.
1776         (ASM_PREFERRED_EH_DATA_FORMAT): New.
1777         (ASM_MAYBE_OUTPUT_ENCODED_ADDR_RTX): New.
1778         (IA64_UNWIND_INFO): Re-enable.
1779         (HANDLER_SECTION): Remove.
1780         (EH_RETURN_DATA_REGNO): New.
1781         * config/ia64/ia64.md (exception_receiver): Remove.
1782         * config/ia64/t-glibc (LIB2ADDEH): Re-enable.
1783         * config/ia64/t-ia64 (LIB2ADDEH): Re-enable.
1785         Mon May  7 09:30:14 2001  Jeffrey A Law  (law@cygnus.com)
1786         * except.c (sjlj_mark_call_sites): Do not search for assignments to
1787         non-argumment registers that are mentioned in CALL_INSN_FUNCTION_USAGE.
1789         2001-05-05  Richard Henderson  <rth@redhat.com>
1790         * except.c (remove_fixup_regions): Adjust REG_EH_REGION notes
1791         to the parent of the fixup region.
1793         2001-04-28  Jason Merrill  <jason_merrill@redhat.com>
1794         * except.c (expand_eh_region_start): Don't start a new block.
1795         (expand_eh_region_end): Don't end a block.
1796         * stmt.c (expand_end_bindings): Don't end EH blocks.
1797         (expand_decl_cleanup): Starting an EH region won't change the block.
1798         (mark_block_as_eh_region, mark_block_as_not_eh_region): Lose.
1799         (is_eh_region): Lose.
1800         * tree.h: Adjust.
1802         2001-04-27  Jeffrey Oldham  <oldham@codesourcery.com>
1803         * except.c (expand_eh_region_end_cleanup): word_mode, not Pmode.
1805         2001-04-27  Jason Merrill  <jason_merrill@redhat.com>
1806         * except.c (get_exception_filter): word_mode, not Pmode.
1808         2001-04-26  Andrew Haley  <aph@cambridge.redhat.com>
1809         * except.c (expand_eh_region_end_cleanup): Force pending stack
1810         adjust before emitting label that branches around cleanup code.
1812         2001-04-25  Richard Henderson  <rth@redhat.com>
1813         * config/i386/i386.c (ix86_expand_epilogue): Properly compute size
1814         of registers to restore along non eh_return path.
1816         2001-04-24  Jason Merrill  <jason_merrill@redhat.com>
1817         * except.c (reachable_handlers): Step out one level from a RESX.
1819         * except.c (struct eh_region): Rename 'last' to 'resume'.
1820         (mark_eh_region, duplicate_eh_region_1): Adjust.
1821         (expand_eh_region_end_cleanup): Remember the jump, not the barrier.
1822         (build_post_landing_pads): Likewise.
1823         (expand_end_catch, expand_eh_region_end_allowed): Don't set it.
1824         (expand_eh_region_end_must_not_throw): Likewise.
1825         (connect_post_landing_pads): Thread (only) regions with non-deleted
1826         resume insns.
1828         * except.c (expand_eh_region_end_cleanup): Save the EH return data
1829         registers around the cleanup.
1830         (get_exception_filter): New fn.
1831         (finish_eh_generation): Use it.
1833         2001-04-03  Richard Henderson  <rth@redhat.com>
1834         * rtl.h (LCT_THROW): New.
1835         * calls.c (emit_library_call_value_1): Handle it.
1836         * except.c (connect_post_landing_pads): Use it.
1838         2001-03-28  Richard Henderson  <rth@redhat.com>
1839         * except.c: Rewrite entirely for IA-64 ABI exception handling.
1840         * except.h: Likewise.
1842         * Makefile.in (LIB2ADDEH): Mention unwind-dw2*.c
1843         (LIB2ADDEHDEP): New.
1844         (LIB2FUNCS_EH): Remove.
1845         (LIB2ADD): Remove LIB2ADDEH.
1846         (libgcc.mk): Pass LIB2ADDEHDEP, don't pass LIB2FUNCS_EH.
1847         (LIBGCC_DEPS): Use LIB2ADDEHDEP.
1848         (crt{begin,end}[S].o): Likewise.
1849         (except.o): Update includes.
1850         * mklibgcc.in: Remove LIB2FUNCS_EH, add LIB2ADDEH, LIB2ADDEHDEP.
1851         (libgcc2_c_dep): Use LIB2ADDEHDEP.
1853         * basic-block.h (struct basic_block_def): Remove eh_beg, eh_end.
1854         * bb-reorder.c (reorder_basic_blocks): Don't disable for EH.
1855         * builtins.def (BUILT_IN_EH_RETURN_DATA_REGNO): New.
1856         * builtins.c (expand_builtin): Implement it.
1857         [BUILT_IN_EH_RETURN]: Update for nr arguments change.
1858         * c-common.c (c_common_nodes_and_builtins): Declare it.
1859         * c-decl.c (init_decl_processing): Update __builtin_eh_return.
1860         * calls.c (libfunc_nothrow): Remove.
1861         (emit_library_call_value_1): Don't call it.
1862         * crtstuff.c: Include unwind-dw2-fde.h instead of frame.h.
1863         * dwarf2.h (dwarf_call_frame_info): Add dwarf2.1 elements.
1864         (DW_EH_PE_*): New defines for pointer encoding in .eh_frame.
1865         * dwarf2out.c (struct dw_fde_struct): Add uses_eh_lsda, funcdef_number.
1866         (current_funcdef_number): Globalize.
1867         (output_call_frame_info): Emit frame data if an lsda is needed.
1868         Generate augmentation for personality routine.  Don't play with
1869         difference symbols.
1870         (dwarf2out_begin_prologue): Record funcdef_number.
1871         * dwarf2out.h (current_funcdef_number): Declare.
1872         * expr.c (expand_expr): Update for except.h name changes.
1873         Remove POPDCC_EXPR, POPDHC_EXPR.  Add EXC_PTR_EXPR.
1874         * expr.h (LTI_throw, LTI_rethrow): Remove.
1875         (LTI_sjthrow, LTI_sjpopnthrow, LTI_terminate): Remove.
1876         (LTI_eh_rtime_match): Remove.
1877         (LTI_unwind_resume, LTI_eh_personality): Add.
1878         (LTI_unwind_sjlj_register, LTI_unwind_sjlj_unregister): Add.
1879         * final.c (final): Don't call check_exception_handler_labels,
1880         init_insn_eh_region, or free_insn_eh_region.
1881         (final_scan_insn): Always emit debug labels for
1882         NOTE_INSN_EH_REGION notes.
1883         * flow.c (entry_exit_blocks): Remove eh_beg, eh_end.
1884         (record_active_eh_regions): Remove.
1885         (count_basic_blocks): Check all instructions for REG_EH_REGION.
1886         Use can_throw_internal.
1887         (find_basic_blocks_1): Likewise.
1888         (move_stray_eh_region_notes): Remove.
1889         (find_label_refs): No eh_return_stub_label.
1890         (make_edges): Likewise.  No init/free_eh_nesting_info.  Handle RESX.
1891         (make_eh_edge): No eh_nest_info.  Update for reachable_handlers
1892         changes.
1893         (delete_unreachable_blocks): Don't track deleted handlers.
1894         (flow_delete_block): Use maybe_remove_eh_handler.
1895         (delete_eh_regions): Remove.
1896         (merge_blocks): Don't check for eh region match.
1897         (mark_regs_live_at_end): Handle EH_RETURN_DATA_REGNO,
1898         EH_RETURN_STACKADJ_RTX, EH_RETURN_HANDLER_RTX.
1899         (init_propagate_block_info): Disable dead frame store optimization
1900         when current_function_calls_eh_return.
1901         (dump_bb): Don't print eh_beg, eh_end.
1902         * function.c (fixup_var_refs): No catch_clauses.
1903         (expand_function_end): Likewise.  Call expand_eh_return before
1904         the return register use.  Call sjlj_emit_function_exit_after.
1905         (expand_function_start): Force pseudo DECL_RESULT if sjlj exceptions.
1906         * function.h (struct function): Add calls_eh_return, uses_eh_lsda.
1907         * ifcvt.c (dead_or_predicable): Remove eh region check.
1908         * integrate.c (function_cannot_inline_p): Disallow __builtin_eh_return.
1909         Don't check for EH vs parameters.
1910         (expand_inline_function_eh_labelmap, eif_eh_map): Remove.
1911         (expand_inline_function): Call duplicate_eh_regions.
1912         (copy_insn_list): Don't handle NOTE_INSN_EH_REGION_BEG/END.
1913         (copy_insn_notes): Remap REG_EH_REGION notes.
1914         (copy_rtx_and_substitute): Remove SYMBOL_REF_NEED_ADJUST check.
1915         * jump.c (jump_optimize_1): Don't init/free_insn_eh_region, nor
1916         check_exception_handler_labels, nor exception_optimize.
1917         (find_cross_jump): No EH region check.
1918         * optabs.c (init_optabs): Update for changed eh libfuncs.
1919         * rtl.def (RESX): New.
1920         * rtl.h (SYMBOL_REF_NEED_ADJUST): Remove.
1921         * stmt.c (expand_decl_cleanup): Simplify using_eh_for_cleanups_p
1922         checks.  Update for except.h name changes.
1923         (expand_cleanups): Likewise.
1924         (expand_dcc_cleanup, expand_dhc_cleanup): Remove.
1925         * toplev.c (dump_file_index, dump_file): Add .02.eh dump.
1926         (compile_file): Call init_eh before init_optabs.  Don't
1927         output_exception_table here.
1928         (rest_of_compilation): Call convert_from_eh_region_ranges,
1929         convert_to_eh_region_ranges, output_function_exception_table.
1930         Don't emit_eh_context.
1931         * tree.def (POPDHC_EXPR, POPDCC_EXPR): Remove.
1932         (EXC_PTR_EXPR): New.
1934         * md.texi (eh_epilogue): Remove.
1935         (eh_return): Document.
1936         * tm.texi (EH_RETURN_DATA_REGNO): Document.
1937         (EH_RETURN_STACKADJ_RTX, EH_RETURN_HANDLER_RTX): Document.
1939         * eh-common.h: Remove file.
1940         * frame-dwarf2.c, frame.c, frame.h: Remove files.
1941         * libgcc2.c (L_eh): Remove.
1943         * unwind-dw2-fde.c: New file, largely copied from frame.c.
1944         * unwind-dw2-fde.h: New file.
1945         * unwind-dw2.c: New file, largely cribbed from frame-dwarf2.c.
1946         * unwind-sjlj.c, unwind.h, unwind.inc: New files.
1947         * libgcc-std.ver: Update for eh symbols.
1949         * config/alpha/alpha.c (alpha_sa_mask): Add EH_RETURN_DATA_REGNOs.
1950         (alpha_mark_machine_status): No eh_epilogue_sp_ofs ...
1951         (alpha_expand_epilogue): ... use EH_RETURN_STACKADJ_RTX instead.
1952         * config/alpha/alpha.h (machine_function): Remove eh_epilogue_sp_ofs.
1953         (EH_RETURN_DATA_REGNO): New.
1954         (EH_RETURN_STACKADJ_RTX, EH_RETURN_HANDLER_RTX): New.
1955         * config/alpha/alpha.md (eh_epilogue): Remove.
1956         (exception_receiver): Use $26 for ldgp input.
1957         * config/alpha/linux.h (MD_FALLBACK_FRAME_STATE_FOR): New.
1959         * config/i386/i386.c (general_no_elim_operand): Disallow virtual regs.
1960         (ix86_save_reg): If maybe_eh_return, true for EH_RETURN_DATA_REGNOs.
1961         True for pic register if current_function_calls_eh_return.
1962         (ix86_expand_epilogue): Change "emit_return" argument into "style".
1963         Handle eh_return requirements.
1964         * config/i386/i386.h (EH_RETURN_DATA_REGNO): New.
1965         (EH_RETURN_STACKADJ_RTX): New.
1966         * config/i386/i386.md (exception_receiver): Remove.
1967         (eh_return, eh_return_1): New.
1968         * config/i386/linux.h (MD_FALLBACK_FRAME_STATE_FOR): New.
1970         * config/rs6000/rs6000.c (rs6000_stack_info): Allocate space
1971         for eh_return data registers.
1972         (rs6000_emit_prologue): Save eh_return data registers.
1973         (rs6000_emit_epilogue): Force inline restores if eh_return.
1974         Restore eh_return data registers.  Mind EH_RETURN_STACKADJ_RTX.
1975         * config/rs6000/rs6000.h (rs6000_stack_t): Add ehrd_offset.
1976         (EH_RETURN_DATA_REGNO, EH_RETURN_STACKADJ_RTX): New.
1977         (EPILOGUE_USES): True for TOC_REGISTER if calls_eh_return and
1978         the target uses one.
1979         * config/rs6000/rs6000.md (eh_epilogue, eh_reg_restore): Remove.
1980         (return_eh_si, return_eh_di): Remove.
1981         (eh_return): New, from corpse of eh_epilogue.
1982         (eh_set_lr_si, eh_set_lr_di): New.
1984         * config/sparc/sparc.c (eligible_for_epilogue_delay): False if
1985         current_function_calls_eh_return.
1986         (output_function_epilogue): Handle eh_return.
1987         * config/sparc/sparc.h (DOESNT_NEED_UNWINDER): Remove.
1988         (EH_RETURN_DATA_REGNO): New.
1989         (EH_RETURN_STACKADJ_RTX): New.
1990         (EH_RETURN_HANDLER_RTX): New.
1991         * config/sparc/sparc.md (call/short branch peepholes): Check
1992         can_throw_internal instead of in_same_eh_region.
1994         2001-03-17  Richard Henderson  <rth@redhat.com>
1995         * dwarf2out.c (queue_reg_save): New.
1996         (flush_queued_reg_saves, clobbers_queued_reg_save): New.
1997         (dwarf2out_frame_debug_expr): Call queue_reg_save instead of
1998         dwarf2out_reg_save.
1999         (dwarf2out_frame_debug): Call flush_queued_reg_saves when needed.
2000         (cfa, cfa_store, cfa_temp): Make static.
2001         * final.c (final_scan_insn): Always call dwarf2out_frame_debug.
2003         2001-03-16  Richard Henderson  <rth@redhat.com>
2004         * dwarf2asm.c (dw2_asm_output_data): Mask data to the output size.
2005         (dw2_asm_output_data_uleb128): Use space not tab after .uleb128.
2006         (dw2_asm_output_delta_uleb128): Likewise.
2007         (dw2_asm_output_delta_sleb128): Similarly.
2008         (dw2_asm_output_data_sleb128): Similarly.  Print number in decimal.
2010         2001-03-15  Richard Henderson  <rth@redhat.com>
2011         * dwarf2asm.c (dw2_asm_output_offset): Use ASM_OUTPUT_DWARF_OFFSET
2012         if provided by the target.
2013         (dw2_asm_output_pcrel): Likewise with ASM_OUTPUT_DWARF_PCREL.
2014         (dw2_asm_output_addr): New.
2015         * dwarf2asm.h (dw2_asm_output_addr): Declare.
2016         * dwarf2out.c (output_cfi): Use it for program addresses.
2017         (output_call_frame_info, output_die): Likewise.
2018         (output_aranges, output_line_info): Likewise.
2020         2001-03-06  Krister Walfridsson  <cato@df.lth.se>
2021         * dwarf2asm.c (dw2_asm_output_delta): Fix smallest_mode_for_size call.
2023         2001-03-02  Richard Henderson  <rth@redhat.com>
2024         * Makefile.in (OBJS): Add dwarf2asm.o.
2025         * dwarf2asm.c, dwarf2asm.h: New files.
2026         * dwarf2out.c (*): Use them.
2027         (size_of_uleb128, size_of_sleb128): Remove.
2028         (output_uleb128, output_sleb128): Remove.
2029         (UNALIGNED_SHORT_ASM_OP, UNALIGNED_INT_ASM_OP): Remove.
2030         (UNALIGNED_DOUBLE_INT_ASM_OP, ASM_BYTE_OP): Remove.
2031         (UNALIGNED_OFFSET_ASM_OP, UNALIGNED_WORD_ASM_OP): Remove.
2032         (FDE_LABEL, LINE_NUMBER_BEGIN_LABEL, LINE_NUMBER_END_LABEL): New.
2033         (ASM_OUTPUT_DWARF_DATA1, ASM_OUTPUT_DWARF_DELTA1): Remove.
2034         (ASM_OUTPUT_DWARF_DATA2, ASM_OUTPUT_DWARF_DELTA2): Remove.
2035         (ASM_OUTPUT_DWARF_DATA4, ASM_OUTPUT_DWARF_DELTA4): Remove.
2036         (ASM_OUTPUT_DWARF_DATA, ASM_OUTPUT_DWARF_DELTA): Remove.
2037         (ASM_OUTPUT_DWARF_ADDR, ASM_OUTPUT_DWARF_ADDR_DATA): Remove.
2038         (ASM_OUTPUT_DWARF_ADDR_DELTA, ASM_OUTPUT_DWARF_ADDR_CONST): Remove.
2039         (ASM_OUTPUT_DWARF_OFFSET4, ASM_OUTPUT_DWARF_OFFSET): Remove.
2040         (ASM_OUTPUT_DWARF_CONST_DOUBLE): Remove.
2041         (ASM_OUTPUT_DWARF_NSTRING, ASM_OUTPUT_DWARF_STRING): Remove.
2042         (dwarf2out_frame_debug): Remove unused variables.
2043         (output_loc_operands): Don't abort on 8 byte constants if
2044         host integers are wide enough.
2045         (output_symbolic_ref): Remove.
2046         (size_of_die): Don't assume 4 byte host integers.
2047         (output_line_info): Use ASM_GENERATE_INTERNAL_LABEL for begin
2048         and end labels.
2049         (add_const_value_attribute) [CONST_INT]: Verify we're not doing
2050         something stupid with HOST_WIDE_INT to long truncation.
2051         [CONST_DOUBLE]: Likewise.
2053         * config/arm/conix-elf.h (UNALIGNED_WORD_ASM_OP): Remove.
2054         (ASM_OUTPUT_DWARF2_ADDR_CONST, ASM_OUTPUT_DWARF_ADDR_CONST): Remove.
2055         * config/arm/unknown-elf.h: Likewise.
2056         * config/rs6000/aix.h (UNALIGNED_SHORT_ASM_OP): New.
2057         (UNALIGNED_INT_ASM_OP, UNALIGNED_DOUBLE_INT_ASM_OP): New.
2058         (ASM_OUTPUT_DWARF_ADDR_VAR, ASM_OUTPUT_DWARF_DELTA_VAR): Remove.
2059         (ASM_OUTPUT_DWARF_DELTA2, ASM_OUTPUT_DWARF_DELTA4): Remove.
2060         (ASM_OUTPUT_DWARF_DELTA, ASM_OUTPUT_DWARF_ADDR_DELTA): Remove.
2061         (ASM_OUTPUT_DWARF_ADDR, ASM_OUTPUT_DWARF_DATA4): Remove.
2062         (ASM_OUTPUT_DWARF_DATA2, ASM_OUTPUT_DWARF_OFFSET4): Remove.
2063         (ASM_OUTPUT_DWARF_OFFSET): Remove.
2064         * config/rs6000/sysv4.h (ASM_OUTPUT_DWARF_ADDR): Remove.
2065         * config/sparc/sp64-elf.h (UNALIGNED_DOUBLE_INT_ASM_OP): New.
2066         (UNALIGNED_LONGLONG_ASM_OP, ASM_OUTPUT_DWARF_ADDR): Remove.
2067         (ASM_OUTPUT_DWARF_ADDR_CONST, ASM_OUTPUT_DWARF_REF): Remove.
2069         Sat Feb 24 03:32:50 CET 2001  Jan Hubicka  <jh@suse.cz>
2070         * i386.c (ix86_frame): New structure.
2071         (ix86_compute_frame_size): Kill.
2072         (ix86_compute_frame_layout): New.
2073         (ix86_save_reg): New.
2074         (ix86_can_use_return_insn_p): Use frame layout stuff.
2075         (ix86_expand_prologue): Likewise.
2076         (ix86_expand_epilogue): Likewise.
2077         (ix86_initial_elimination_offset): Likewise.
2078         (ix86_nsaved_regs): Use ix86_save_reg.
2079         (ix86_emit_save_regs): Likewise.
2081 2001-05-12  Richard Henderson  <rth@redhat.com>
2083         EH merge from mainline, parts 5 - 16.
2084         * regmove.c (perhaps_ends_bb_p): Use can_throw_internal to
2085         reduce false positives.
2086         (regmove_optimize): Disable if flag_non_call_exceptions.
2088         * stmt.c (expand_return): Remove always true predicate.
2089         (expand_decl_cleanup_no_eh): Remove dead code.
2091         * sched-deps.c (sched_analyze_insn): Consolidate scheduling
2092         barrier code.  Add a scheduling barrier if a non-call insn
2093         can throw internally.
2095         * rtlanal.c (rtx_addr_can_trap_p): Virtual registers cannot trap.
2096         Auto-inc addresses trap only if their base register does.
2098         * except.c (can_throw_internal): Rename from can_throw.
2099         * except.h, resource.c: Update references.
2101         * integrate.c (copy_insn_list): Use returnjump_p.
2102         (copy_insn_notes): Recurse for CALL_PLACEHOLDER.
2104         * integrate.h (struct inline_remap): Add local_return_label.
2105         * integrate.c (expand_inline_function): Initialize it and emit
2106         it after copy_insn_notes.
2107         (copy_insn_list): Don't store local_return_label here.
2108         (copy_insn_notes): New function split out from copy_insn_list.
2110         * function.h (struct function): Move all boolean valued fields
2111         to single bit fields at the end of the struct.
2113         * flow.c (cleanup_cfg): Take no argument.
2114         * output.h, sibcall.c, toplev.c: Update all calls.
2116         * flow.c (tidy_fallthru_edges): Don't combine complex edges.
2117         (calculate_global_regs_live): Kill call-clobbered registers
2118         across exception edges.
2119         * reg-stack.c (convert_regs_1): Kill the entire target stack
2120         across non-call exception edges.
2122         * flags.h (flag_new_exceptions): Remove.
2123         * toplev.c: Don't set it.
2124         * final.c: Don't check it.
2125         * except.c: Provide stub definition.
2127         * combine.c (distribute_notes) [REG_EH_REGION]: If non-call
2128         exceptions, put the note on the trapping instruction.
2130         * Makefile.in (cs-tconfig.h): Copy USING_SJLJ_EXCEPTIONS
2131         value to target configuration header.
2132         * configure.in (CONFIG_SJLJ_EXCEPTIONS): New.
2133         * config.in, configure: Rebuild.
2134         * except.h (USING_SJLJ_EXCEPTIONS): New.  Define based on
2135         configuration and target defines.
2136         (exceptions_via_longjmp): Remove.
2137         * dwarf2out.c, except.c, final.c, toplev.c, config/ia64/ia64.c:
2138         Use USING_SJLJ_EXCEPTIONS instead of exceptions_via_longjmp.
2140 2001-05-12  Richard Henderson  <rth@redhat.com>
2142         2001-03-25  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2143         * mkconfig.sh (DEFINES): Handle entries with '='.
2145         2001-03-22  Zack Weinberg  <zackw@stanford.edu>
2146         * mkconfig.sh: Use a subshell with redirected stdout,
2147         instead of closing stdout and confusing commands that run
2148         afterward.  Throw away output of cmp.
2150         2001-03-22  Richard Henderson  <rth@redhat.com>
2151         * mkconfig.sh: Include insn-flags.h.
2152         * Makefile.in (CONFIG_H): Include insn-flags.h.
2153         (lots of objects): Remove insn-codes.h and insn-flags.h.
2155         * alias.c, bb-reorder.c, calls.c, do-loop.c, flow.c, haifa-sched.c,
2156         integrate.c, jump.c, loop.c, predict.c, profile.c, reg-stack.c,
2157         regmove.c, reorg.c, a29k/a29k.c, alpha/alpha.c, arc/arc.c, arm/arm.c,
2158         avr/avr.c, clipper/clipper.c, convex/convex.c, d30v/d30v.c,
2159         dsp16xx/dsp16xx.c, fr30/fr30.c, h8300/h8300.c, i370/i370.c,
2160         i386/i386.c, i860/i860.c, ia64/ia64.c, m32r/m32r.c, m68hc11/m68hc11.c,
2161         m68k/m68k.c, m88k/m88k.c, mcore/mcore.c, mn10200/mn10200.c,
2162         mn10300/mn10300.c, ns32k/ns32k.c, pa/pa.c, pdp11/pdp11.c,
2163         pj/pj.c, romp/romp.c, rs6000/rs6000.c, sh/sh.c, sparc/sparc.c,
2164         v850/v850.c, vax/vax.c:
2165         Don't include insn-flags.h.
2167         * diagnostic.c, expr.h, reload.c, toplev.c:
2168         Don't include insn-codes.h.
2170         * builtins.c, combine.c, except.c, explow.c, expmed.c, expr.c,
2171         final.c, function.c, optabs.c, recog.c, reload1.c, stmt.c,
2172         c4x/c4x.c, i960/i960.c, mips/mips.c:
2173         Don't include insn-codes.h or insn-flags.h.
2175         * genemit.c, genopinit.c, genoutput.c: Don't include insn-codes.h
2176         or insn-flags.h in the generated code.
2177         * genflags.c (gen_proto): Use "struct rtx_def *" instead of "rtx".
2178         (main): Forward declare struct rtx_def.
2180         2001-03-09  Zack Weinberg  <zackw@stanford.edu>:
2181         * configure.in: Prune nonexistent files from build_xm_file,
2182         xm_file, and host_xm_file lists.  Warn unless they're
2183         $cpu/xm-$cpu.h.
2184         Don't generate *config.h here.
2185         AC_SUBST all variables needed to generate *config.h.
2186         * mkconfig.sh: New helper script, from code removed from
2187         configure.in.
2188         * Makefile.in: Substitute in variables needed to generate *config.h.
2189         Stop lying about the dependencies contained in CONFIG_H and
2190         GCONFIG_H.
2191         (HCONFIG_H, TCONFIG_H, TM_P_H): New variables.
2192         (config.h, hconfig.h, tconfig.h, tm_p.h, cs-config.h,
2193         cs-hconfig.h, cs-tconfig.h, cs-tm_p.h): New rules.
2194         (all .o): Add dependencies on $(HCONFIG_H), $(TCONFIG_H),
2195         $(TM_P_H), etc. as appropriate.
2197 2001-05-12  Richard Henderson  <rth@redhat.com>
2199         EH merge from mainline, parts 1 - 4.
2200         * gthr-single.h (UNUSED): New.  Distinguish between how C
2201         and C++ mark unused function arguments.  Use throughout.
2203         * bb-reorder.c, dwarf2out.c, except.c, except.h, flow.c,
2204         jump.c, toplev.c:
2205         Rename asynchronous_exceptions to flag_non_call_exceptions.
2206         * except.h (flag_non_call_exceptions): Move ...
2207         * flags.h: ... here.
2209         * rtl.h (LCT_NORETURN): New.
2210         * calls.c (emit_library_call_value_1): Handle it.
2212         * function.c (expand_function_start): Set DECL_REGISTER on
2213         a pseudo used for DECL_RESULT.
2215 2001-05-12  Neil Booth  <neil@cat.daikokuya.demon.co.uk>
2217         * cpplex.c (_cpp_lex_token): Ensure we warn at most once
2218         about files not ending in newlines.
2220 2001-05-12  Alexandre Oliva  <aoliva@redhat.com>
2222         * defaults.h (TARGET_PTRMEMFUNC_VBIT_LOCATION): Define.
2223         * tm.texi (TARGET_PRTMEMFUNC_VBIT_LOCATION): Document.
2225 2001-05-11  Richard Henderson  <rth@redhat.com>
2227         * config/ia64/ia64.c (group_barrier_needed_p): Don't allow
2228         calls and jumps to be bundled together.
2229         (ia64_reorg): Emit a break after a noreturn call that ends
2230         a function.
2231         * config/ia64/ia64.md (break_f): New.
2233 2001-05-11  Jakub Jelinek  <jakub@redhat.com>
2235         * regmove.c (regmove_optimize): Suppress the optimization for
2236         unchanging destination register.  Add comment above function.
2238 2001-05-11  Mark Mitchell  <mark@codesourcery.com>
2240         * loop.h (struct movables): Remove `num'.
2241         * loop.c (scan_loop): Don't set it.  Use count_insns_in_loop.
2242         Adjust call to strength_reduce.
2243         (num_unmoved_movables): New function.
2244         (move_movables): Don't set movables->num.
2245         (strength_reduce): Compute the number of instructions in the loop
2246         here, rather than in the caller.
2247         (check_dbra_loop): Always clear reversible_mem_store if there
2248         are any memory sets.
2249         (loop_regs_scan): Don't count instructions here.
2250         (count_insn_in_loop): New function.
2252         * optabs.c (emit_libcall_block): Don't mark calls as CONST_CALL_P.
2254 2001-05-10  David Edelsohn  <edelsohn@gnu.org>
2256         * expr.c (emit_push_insn): Convert PUSH_ROUNDING argument to
2257         bytes.  Reported by Kazu Hirata <kazu@hxi.com>.
2259 Thu May 10 18:23:11 2001  Jeffrey A Law  (law@cygnus.com)
2261         * cse.c (cse_insn): Mostly remove first hunk of code which collapsed
2262         a computed jump into an unconditional jump.
2263         In second hunk of code for collapsing computed and conditional jumps
2264         into unconditional jumps, reemit the jump in additional cases.
2266 2001-05-10  David Edelsohn  <edelsohn@gnu.org>
2268         * expr.c (emit_group_load): extract_bit_field requires a REG or
2269         MEM as an argument.
2271 2001-05-10  Toon Moene  <toon@moene.indiv.nluug.nl>
2273         * dwarf2out.c (mem_loc_descriptor): Do not pass constant pool
2274         contents for a SYMBOL_REF in case of floating point constants.
2276 2001-05-09  Zack Weinberg  <zackw@stanford.edu>
2278         * cppinit.c (cpp_post_options): Shut off macro expansion if
2279         -fpreprocessed.
2280         * cpplib.c (_cpp_handle_directive): If -fpreprocessed, accept
2281         IN_I directives only if the # is in column 1 and the directive
2282         name begins in column 2.
2283         * cppmain.c (scan_buffer): Insert a space between # and an
2284         identifier, when that identifier is a directive name.
2286         * tradcpp.c (struct file_buf): Add a pointer to the next entry
2287         in the header search path.
2288         (enum node_type): Add T_INCLUDE_NEXT.
2289         (directive_table): Add entry for include_next.
2290         (do_include_next): New function.
2291         (process_include): New routine, broken out of do_include.
2292         (finclude): Insert 'nhd' argument, to be copied into
2293         next_header_dir of the new buffer.
2294         (main): Adjust to match.
2295         * gsyslimits.h, limity.h: Un-indent #include_next.
2297 2001-05-09  Joseph S. Myers  <jsm28@cam.ac.uk>
2299         * objc.texi: Move from ../libobjc/objc-features.texi.  Adjust for
2300         inclusion as a chapter of the GCC manual.
2301         * gcc.texi: Include objc.texi.
2302         * fdl.texi: Use @unnumberedsec for the addendum.
2303         * Makefile.in ($(srcdir)/gcc.info, gcc.dvi): Update dependencies.
2305 2001-05-07  John David Anglin  <dave@hiauly1.hia.nrc.ca>
2307         * pa.md (interspace_jump): Revise comment.
2308         (builtin_longjmp): Block initial setup insns from delay slot of
2309         interspace branch.
2310         (builtin_setjmp_receiver): New expander to save and restore PIC
2311         register.
2313         * som.h (NM_FLAGS): Remove `-n' sort option.  Revise comment.
2315 2001-05-07  Mark Mitchell  <mark@codesourcery.com>
2317         * gcc.texi: Remove references to CHILL.
2318         * invoke.texi: Likewise.
2319         * install.texi: Likewise.
2321 2001-05-06  Zack Weinberg  <zackw@stanford.edu>
2323         * Makefile.in (tradcpp0): Correct typo in dependency list.
2325 2001-05-06  Andreas Jaeger  <aj@suse.de>
2327         * invoke.texi (Option Summary): Add -momit-leaf-frame-pointer
2328         (i386 Options): Document -momit-leaf-frame-pointer.
2330 Sun May  6 10:54:20 2001  Jim Wilson  <wilson@redhat.com>
2332         * dwarf2out.c (output_line_info): Fix typo.
2334 2001-05-05  Richard Henderson  <rth@redhat.com>
2336         * integrate.c (copy_insn_list): Substitute NOTE_EXPECTED_VALUE.
2338 2001-05-05  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
2340         * config/m68hc11/m68hc11.c (m68hc11_gen_movhi): Optimize moves
2341         between X and Y by using sequences of xgdx and xgdy.
2343 2001-05-05  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
2345         * config/m68hc11/m68hc11.md ("*logicalsi3_silshr16"): Use '?' instead
2346         of '!' for the 'D' alternative ('!' is too strong).
2347         ("*logicalsi3_silshl16"): Likewise.
2348         ("movstricthi"): Accept 'A' when 'd' constraint, remove spurious '+'.
2349         ("movstrictsi"): Remove spurious '+'.
2350         ("movstrictqi"): Don't accept 'A' and remove spurious '+'.
2351         ("tstqi_1", "*lshrqi3_const1"): Put 'm' constraint before 'd'.
2352         ("subqi3"): Disparage with '!' the 'x' and 'y' registers to avoid
2353         a reload to them.
2355 2001-05-04  David Edelsohn  <edelsohn@gnu.org>
2357         * calls.c (store_one_arg): Don't divide align by BITS_PER_UNIT.
2359 2001-05-04  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
2361         * config/rs6000/rs6000.md (ashldi3 splits): Guard with TARGET_POWERPC64.
2363 2001-05-04  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
2365         * config/m68hc11/m68hc11.md (lshrhi3_const1): Fix shift of
2366         soft register, use ror instead of rol.
2368 2001-05-04  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
2370         * config/m68hc11/m68hc11.c (m68hc11_check_z_replacement): Take
2371         into account pre/post increment decrement for 68HC12.
2372         Fix other problems in replacement and fix call to reg_mentioned_p.
2374 2001-05-04  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
2376         * config/m68hc11/larith.asm (L_regs_frame): New for _.frame.
2377         Put the soft registers in bss for 68HC12.
2378         (L_regs_d3_4): New for _.d3 and _.d4.
2379         (L_regs_d5_6): Likewise.
2380         (L_regs_d1_2): Likewise.
2381         * config/m68hc11/t-m68hc11-gas (T_CPPFLAGS): Compile new parts.
2383 2001-05-04  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
2385         * config/m68hc11/m68hc11.h (CPP_SPEC): Pass -D__HAVE_SHORT_DOUBLE__
2386         to the pre-processor when -fshort-double is specified.
2387         * config/m68hc11/m68hc11.2 (CPP_SPEC): Likewise.
2389 2001-05-04  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
2391         * config/m68hc11/larith.asm (divmodhi4): Empty for 68HC12.
2392         (__mulsi3): Rewrite for 68HC12.
2393         * config/m68hc11/m68hc11.md (divmodhi4): Use idivs for 68HC12.
2394         Mark 'x' constraint with earlyclobber to prevent a
2395         RELOAD_FOR_OTHER_ADDRESS to go in it.
2396         (mulhi3_m68hc12): New pattern.
2397         (mulhi3_m68hc11): Rename of mulhi3.
2398         (mulhi3): New expand for 68HC12 optimisation.
2399         (umulhisi3, mulhisi3): New patterns for 68HC12.
2401 2001-05-04  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
2403         * config/m68hc11/m68hc11.md (*tbne, *tbeq): New patterns for 68HC12.
2404         (extendqisi2, extendqihi2, extendhisi2): Use sex for 68HC12.
2405         (uminqi3, umaxqi3, uminhi3, umaxhi3): New pattern for 68HC12.
2407 2001-05-04  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
2409         * config/m68hc11/m68hc11.h (CONST_COSTS): Make the cost of
2410         constants cheap after reload.
2411         * config/m68hc11/m68hc11.c (m68hc11_shift_cost): Shift by 16 and 32
2412         are cheap.
2413         (m68hc11_rtx_costs): Cost of multiplication by 65536 is expensive
2414         so that gcc prefers a shift by 16.
2415         (m6811_cost, m6812_cost): Make the shift cheap compared to an add.
2417 2001-05-04  Mark Elbrecht  <snowball3@bigfoot.com>
2419         * config/i386/djgpp.h (CPP_PREDEFINES): Define __GO32__.
2420         (CPP_SPEC): Conditionally define MSDOS and GO32.
2421         (SUBTARGET_SWITCHES): Ignore -mbnu210 and -mno-bnu210.
2422         (SUBTARGET_OVERRIDE_OPTIONS): Warn that -mbnu210 and -mno-bnu210 are
2423         ignored.
2424         (SUPPORTS_WEAK, SUPPORTS_ONE_ONLY): Remove.
2426 2001-05-04  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2428         * hash.c (hash_lookup): Likewise.
2430         * hash.h (hash_lookup): Likewise.
2432         * tlink.c (symbol_hash_lookup, demangled_hash_lookup): Likewise.
2434 2001-05-03  David O'Brien  <obrien@FreeBSD.org>
2436         * config/t-freebsd: Don't install "assert.h" in gcc.  Compile
2437         crtbeginS.o and crtendS.o with PIC.
2439 2001-05-03  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
2441         * config/m68hc11/m68hc11.md ("bitcmpqi"): New pattern for bitb
2442         instruction.
2443         ("bitcmpqi2"): New pattern for bit-extract and test.
2444         ("bitcmphi"): New pattern for bitb/bita instructions.
2446 2001-05-03  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
2448         * config/m68hc11/m68hc11.h (STATIC_CHAIN_REGNUM): Use soft z register
2449         instead of _.d1.
2450         (INITIALIZE_TRAMPOLINE): Call it.
2451         (TRAMPOLINE_SIZE): Define according to 68HC11/68HC12.
2452         (TRAMPOLINE_TEMPLATE): Remove.
2453         * config/m68hc11/m68hc11.c (m68hc11_initialize_trampoline): New.
2454         * config/m68hc11/m68hc11-protos.h (m68hc11_initialize_trampoline):
2455         Declare.
2457 2001-05-03  Joseph S. Myers  <jsm28@cam.ac.uk>
2459         * gccbug.in: Use a temporary directory when the mktemp command is
2460         not available.
2462 2001-05-03  David Edelsohn  <edelsohn@gnu.org>
2464         * config/rs6000/aix51.h: Remove duplicate header file inclusion as
2465         reported by David O'Brien <obrien@FreeBSD.org>.
2467 2001-05-03  Mark Mitchell  <mark@codesourcery.com>
2469         * integrate.h (struct inline_remap): Add leaf_reg_map table.
2470         * integrate.c (expand_inline_function): Use xcalloc to allocate
2471         memory.
2472         (copy_rtx_and_substitute): Use the leaf_reg_map for leaf
2473         registers.
2475 2001-05-02  Geoff Keating  <geoffk@redhat.com>
2477         * config/rs6000/rs6000.md (ctrsi_internal1, ctrsi_internal2,
2478         ctrsi_internal3, ctrsi_internal4, ctrsi_internal5,
2479         ctrsi_internal6, ctrdi_internal1, ctrdi_internal2,
2480         ctrdi_internal3, ctrdi_internal4, ctrdi_internal5,
2481         ctrdi_internal6): In the short-branch case, this insn is only 4
2482         bytes long.  Reported by Reza Yazdani <reza@apple.com>.
2484         * config/rs6000/rs6000.c (rs6000_float_const): Remove warning.
2485         (setup_incoming_varargs): Remove warning.
2487         * config/rs6000/rs6000.c (validate_condition_mode): When
2488         flag_fast_math, allow floating-point conditionals to be reversed.
2489         (rs6000_generate_compare): When flag_fast_math, don't generate
2490         cror operations for FP conditionals.
2492 2001-05-02  Dale Johannesen  <dalej@apple.com>
2494         * config/rs6000/rs6000.h (RS6000_ARG_SIZE): Remove unused NAMED
2495         parameter.
2496         (STRICT_ARGUMENT_NAMING): Define.
2497         * config/rs6000/rs6000.c (function_arg_advance, function_arg,
2498         function_arg_partial_nregs, setup_incoming_varargs): Remove
2499         args logic which depends on "named" now that STRICT_ARGUMENT_NAMING
2500         is defined.
2502 Wed May  2 13:09:36 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
2504         * function.c (fixup_var_regs_1, case SUBREG): Use promoted mode
2505         for replacement.
2507         * expr.c (store_field): Do nothing except elaborate side-effects if
2508         zero-bit field.
2510 2001-05-02  Nick Clifton  <nickc@cambridge.redhat.com>
2512         * dwarf2out.c (mem_loc_descriptor): If a SYMBOL_REF is in the
2513         constant pool, use the pool's SYMBOL_REF instead.
2515 2001-05-01  Per Bothner  <per@bothner.com>
2517         * expr.c (expand_expr):  When compiling LABELED_BLOCK_EXPR,
2518         call do_pending_stack_adjust before emiting label.
2520 2001-05-01  Mark Mitchell  <mark@codesourcery.com>
2522         * extend.texi: Fix typo.
2524 2001-05-01  Stan Shebs  <shebs@apple.com>
2526         * objc/objc-act.c (build_module_descriptor): Clear DECL_CONTEXT
2527         of UOBJC_MODULES_decl.
2528         (generate_strings): Clear DECL_CONTEXT of new decl nodes.
2529         (generate_descriptor_table): Ditto.
2530         (generate_protocols): Ditto.
2531         (generate_protocol_list): Ditto.
2532         (generate_classref_translation_entry): Ditto.
2534 2001-05-01  Jeffrey Oldham  <oldham@codesourcery.com>
2536         * ChangeLog (2001-02-21): Remove erroneous entry.
2537         * gcc.c (cc1_options): Add "-param".
2538         (DEFAULT_WORD_SWITCH_TAKES_ARG): Likewise.
2539         (option_map): Likewise.
2540         (display_help): Add "--param" to 'other' options.
2541         * invoke.texi (Optimize Options): Add documentation for `--param
2542         max-delay-slot-insn-search' and `--param
2543         max-delay-slot-live-search' and reorder --param section.
2544         * params.def: Modify initial comment.
2545         * params.h (param_info): Add `help' member.
2546         * toplev.c (lang_independent_params): Include `help' description.
2547         (display_help): Print --param parameters.
2548         (independent_decode_option): Fix typographical error.
2550 2001-05-01  Nathan Sidwell  <nathan@codesourcery.com>
2552         * c-tree.texi (USING_STMT): Document.
2554 2001-04-30  Mark Mitchell  <mark@codesourcery.com>
2555             Richard Henderson  <rth@redhat.com>
2557         * extend.texi: Improve documentation of volatile asms.
2559 2001-04-30  Mark Mitchell  <mark@codesourcery.com>
2561         * c-tree.texi: Fix thinko.
2562         * gcc.texi: Likewise.
2564 2001-04-30  Richard Henderson  <rth@redhat.com>
2566         * c-common.c (c_promoting_integer_type_p): New function, from the
2567         corpse of old macro.  Properly promote too-small enumerations and
2568         booleans.  Adjust all callers.
2569         * c-common.h (C_PROMOTING_INTEGER_TYPE_P): Remove.
2570         (c_promoting_integer_type_p): Declare.
2571         * c-decl.c: Adjust C_PROMOTING_INTEGER_TYPE_P invocations.
2572         * c-typeck.c: Likewise.
2573         (default_conversion): Remove now redundant boolean check.
2575 2001-04-30  Jan Hubicka  <jh@suse.cz>
2576             Richard Henderson  <rth@redhat.com>
2578         * regmove.c (try_apply_stack_adjustment): Remove now redundant
2579         sanity checks.
2580         (combine_stack_adjustments_for_block): Don't combine stack
2581         allocation followed by deallocations.  Handle grow-up stacks.
2583 2001-04-30  Mark Mitchell  <mark@codesourcery.com>
2585         * fdl.texi: New file.
2586         * c-tree.texi: Use the GFDL.
2587         * gcc.texi: Likewise.
2589 2001-04-30  Stan Shebs  <shebs@apple.com>
2591         * invoke.texi: Add a section documenting Objective-C options.
2593 2001-04-30  Mark Mitchell  <mark@codesourcery.com>
2595         * regmove.c (record_stack_memrefs): Catch all references to the
2596         stack pointer.
2598 2001-04-30  John David Anglin  <dave@hiauly1.hia.nrc.ca>
2600         * pa.c (hppa_init_pic_save): Update last_parm_insn after emitting
2601         pic save insn.
2603 2001-04-30  Mark Mitchell  <mark@codesourcery.com>
2605         * extend.texi (extended asm): Fix typo.
2607 Sat Apr 28 10:32:26 2001  Jeffrey A Law  (law@cygnus.com)
2609         * flow.c (propagate_block_delete_insn): Handle deletion of ADDR_VEC
2610         and ADDR_DIFF_VEC insns when the proceeding CODE_LABEL was put
2611         into the constant pool.
2612         * jump.c (jump_optimize_1): Remove barrier successors after all
2613         the LABEL_NUSES counds have been computed.
2614         (delete_barrier_successors): When deleting a tablejump insn, also
2615         delete the jump table it uses.
2616         * varasm.c (force_const_mem): Set LABEL_PRESERVE_P when forcing a
2617         label into memory.
2619 2001-04-28  Andreas Jaeger  <aj@suse.de>
2621         * invoke.texi: Use XX-bit instead of XXbit or XX bit where
2622         appropriate.
2623         * extend.texi: Likewise.
2625 2001-04-28  Andreas Jaeger  <aj@suse.de>
2627         * md.texi: Use XX-bit instead of XXbit or XX bit where
2628         appropriate.
2630 2001-04-28  Andreas Jaeger  <aj@suse.de>
2631             Richard Henderson  <rth@redhat.com>
2633         * md.texi (Machine Constraints): Fix description of "A" for
2634         i386.
2636 2001-04-27  Jeffrey Oldham  <oldham@codesourcery.com>
2638         * collect2.c (main): Add `-L' case to remove duplicate entries.
2639         (is_in_args): New function to check for a duplicate argument.
2640         * defaults.h (LINK_ELIMINATE_DUPLICATE_LDIRECTORIES): New macro.
2641         * tm.texi (LINK_ELIMINATE_DUPLICATE_LDIRECTORIES): New documentation.
2642         * config/mips/iris6.h (LINK_ELIMINATE_DUPLICATE_LDIRECTORIES):
2643         Define to be nonzero.
2645 Fri Apr 27 10:41:06 2001  Jeffrey A Law  (law@cygnus.com)
2647         * tm.texi (TARGET_MEM_FUNCTIONS): Update text.
2649 2001-04-26  Geoffrey Keating  <geoffk@redhat.com>
2651         * config/sparc/sparc.md (movsf_no_f_insn): Add more alternatives
2652         common to other movsf patterns.  Move up so that in future
2653         people who change the other patterns will change it too.
2654         (movsf_lo_sum): Allow even for soft-float; add appropriate
2655         constraints.
2656         (movsf_high): Likewise.
2657         (movsf_high+1): Allow even for soft-float.
2659 2001-04-26  Mark Mitchell  <mark@codesourcery.com>
2661         * invoke.texi: Document more C++ command-line options.
2663 2001-04-26  H.J. Lu  (hjl@gnu.org)
2665         * config.gcc (mips*-*-linux*): Add elfos.h to tm_file.
2667         * config/mips/ecoff.h (STARTFILE_SPEC): Undefine before
2668         define.
2669         * config/mips/elf64.h (MAX_OFILE_ALIGNMENT): Likewise.
2670         (ASM_OUTPUT_SECTION_NAME): Likewise.
2671         (ASM_WEAKEN_LABEL): Likewise.
2672         (UNIQUE_SECTION): Likewise.
2673         (ASM_OUTPUT_CONSTRUCTOR): Likewise.
2674         (ASM_OUTPUT_DESTRUCTOR): Likewise.
2675         * config/mips/elf.h (MAX_OFILE_ALIGNMENT): Likewise.
2676         (ASM_OUTPUT_SECTION_NAME): Likewise.
2677         (ASM_WEAKEN_LABEL): Likewise.
2678         (UNIQUE_SECTION): Likewise.
2679         (ASM_OUTPUT_CONSTRUCTOR): Likewise.
2680         (ASM_OUTPUT_DESTRUCTOR): Likewise.
2681         * config/mips/linux.h (HANDLE_SYSV_PRAGMA): Likewise.
2682         * config/mips/mips.h (DBX_CONTIN_LENGTH): Likewise.
2683         (ASM_FILE_START): Likewise.
2684         (ASM_OUTPUT_SOURCE_LINE): Likewise.
2685         (ASM_DECLARE_OBJECT_NAME): Likewise.
2686         (ASM_FILE_END): Likewise.
2687         (ASM_DECLARE_FUNCTION_NAME): Likewise.
2688         (ASM_OUTPUT_INTERNAL_LABEL): Likewise.
2689         (ASM_GENERATE_INTERNAL_LABEL): Likewise.
2690         (ASM_OUTPUT_CASE_LABEL): Likewise.
2691         (ASM_OUTPUT_SKIP): Likewise.
2692         (ASM_OUTPUT_ASCII): Likewise.
2693         (ASM_OUTPUT_IDENT): Likewise.
2694         (READONLY_DATA_SECTION): Likewise.
2695         (EXTRA_SECTIONS): Likewise.
2696         (EXTRA_SECTION_FUNCTIONS): Likewise.
2697         (SELECT_RTX_SECTION): Likewise.
2698         (SELECT_SECTION): Likewise.
2700         * config/mips/linux.h (INVOKE__main): Undefine.
2701         (CTOR_LIST_BEGIN): Likewise.
2702         (CTOR_LIST_END): Likewise.
2703         (DTOR_LIST_BEGIN): Likewise.
2704         (DTOR_LIST_END): Likewise.
2705         (SET_ASM_OP): Defined it to ".dummy".
2706         (ASM_OUTPUT_DEF): Defined.
2707         (ASM_OUTPUT_DEFINE_LABEL_DIFFERENCE_SYMBOL): Defined.
2709 2001-04-26  Nathan Sidwell <nathan@codesourcery.com>
2711         * c-lex.c (c_lex): Remove # from %o diagnostic formatting.
2713 2001-04-26  Jakub Jelinek  <jakub@redhat.com>
2715         * config/i386/i386.h (CC1_CPU_SPEC): Fix deprecation warnings for
2716         -m386 and -m486.
2718 2001-04-26  Alexandre Oliva  <aoliva@redhat.com>
2720         * configure.in (configargs.h): Define thread_model.
2721         * configure: Rebuilt.
2722         * gcc.c (main): Print it with -v.
2724 2001-04-25  Joseph S. Myers  <jsm28@cam.ac.uk>
2726         * invoke.texi: Document -Wmissing-braces, -dumpspecs,
2727         -dumpmachine, -dumpversion, -fmem-report and -ftime-report.
2728         * gcc.1: Regenerate.
2730 2001-04-25  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
2732         * dwarfout.c (is_pseudo_reg, type_main_variant, is_tagged_type,
2733         is_redundant_typedef): Use static inline instead of inline static.
2735 Wed Apr 25 18:21:01 2001  Christopher Faylor <cgf@cygnus.com>
2737         * config/i386/cygwin.h: Move W32API search to LINK_SPEC to ensure that
2738         this directory is always searched.
2740 2001-04-25  Jason Merrill  <jason_merrill@redhat.com>
2742         * loop.c (try_swap_copy_prop): Go back to checking insn.
2744 2001-04-25  Jakub Jelinek  <jakub@redhat.com>
2746         * config/i386/i386.c (ix86_expand_int_movcc): If overlap between
2747         out and comparison sequence has been detected, put result into
2748         proper temporary pseudo.
2750 2001-04-24  Mark Mitchell  <mark@codesourcery.com>
2752         * dwarf2out.c (dwarf2out_finish): Forcibly return to the data
2753         section after emitting information.
2755 2001-04-24  Zack Weinberg  <zackw@stanford.edu>
2757         * Makefile.in (LIB2FUNCS): Remove _varargs and __dummy.
2758         * libgcc-std.ver: Remove __builtin_saveregs, __dummy, and __empty.
2759         * libgcc2.c: Remove __dummy and __empty functions, and all
2760         code for __builtin_saveregs.
2761         * libgcc2.h: Don't prototype __builtin_saveregs, __dummy, or __empty.
2762         * config/i860/varargs.asm: New file - preserve i860 __builtin_saveregs
2763         for future reference.
2765 2001-04-23  Joseph S. Myers  <jsm28@cam.ac.uk>
2767         * c-convert.c (convert): When converting to a BOOLEAN_TYPE, avoid
2768         passing nested NOP_EXPRs to fold.
2770 2001-04-23  Mark Mitchell  <mark@codesourcery.com>
2772         * dwarf2out.c (rtl_for_decl_location): Add comments.  Abort
2773         if the decl is abstract.
2774         (add_bound_info): Don't try to get the location of an abstract
2775         declaration.
2777 2001-04-22  Mark Mitchell  <mark@codesourcery.com>
2779         * loop.c (loop_delete_insns): Add prototype.
2781 2001-04-21  Mark Mitchell  <mark@codesourcery.com>
2783         * flow.c (proagate_one_insn): Remove useless assignment.
2784         * jump.c (delete_insn): Tidy.
2785         * loop.c (try_copy_prop): When deleting an instruction with a
2786         REG_RETVAL note, delete the entire libcall sequence.
2787         (loop_delete_insns): New function.
2788         * unroll.c (initial_reg_note_copy): Copy INSN_LIST notes, even if
2789         we're not substituting into them yet.
2791 2001-04-21  Kazu Hirata  <kazu@hxi.com>
2793         * config/h8300/h8300.c (general_operand_src): Fix a comment typo.
2795         * config/sparc/sparc.c (sparc_flat_eligible_for_epilogue_delay):
2796         Fix a comment typo.
2797         * config/i960/i960.c (signed_arith_operand): Likewise.
2799         * calls.c (expand_call): Fix a comment typo.
2801 Fri Apr 20 12:22:15 2001  Jeffrey A Law  (law@cygnus.com)
2803         * config/pa/som.h (NM_FLAGS): Define.
2805 2001-04-20  Bernd Schmidt  <bernds@redhat.com>
2807         * ia64.c (ia64_flag_schedule_insns2): New variable.
2808         (ia64_override_options): Initialize it.  Clear
2809         flag_schedule_insns_after_reload.
2810         (ia64_reorg): Only do scheduling if ia64_flag_schedule_insns2.
2812 Thu Apr 19 19:12:57 2001  Jeffrey A Law  (law@cygnus.com)
2814         * config/pa/pa-linux.h (CPLUSPLUS_CPP_SPEC): Undefine.
2815         * config/pa/pa.h (CPLUSPLuS_CPP_SPEC): Define.
2817         * config/pa/som.h (ASM_OUTPUT_FUNCTION_PREFIX): Truncate subspace
2818         name at 32 total characters.
2819         (ASM_OUTPUT_SECTION_NAME): Similarly.  Also, only support placing
2820         functions in named sections -- data items can still go into unique
2821         sections, but they have normal names (ie $LIT$ and $DATA$).
2823         * config/pa/som.h (SUPPORTS_INIT_PRIORITY): SOM does not support
2824         INIT_PRIORITY.
2826 2001-04-19  Mark Mitchell  <mark@codesourcery.com>
2828         * toplev.h (struct lang_hooks): Allow decode_option to indicate
2829         that language-independent processing should not be done.
2830         * toplev.c (main): Adjust accordingly.
2832         * rtl.texi (jump_insn): Expand on JUMP_LABEL documentation.
2833         * loop.c (load_mems): Handle a NULL JUMP_LABEL for a JUMP_INSN.
2835         * mips.md (reload_outputdi): Require that operand0 be a
2836         general_operand.
2838 2001-04-19  Jakub Jelinek  <jakub@redhat.com>
2840         * invoke.texi (-Wshadow): Clarify.
2842 2001-04-18  Mark Mitchell  <mark@codesourcery.com>
2844         * loop.c (load_mems): Examine all the instructions in the loop
2845         before concluding that all jumps branch to the first instruction
2846         after the loop.
2848 Wed Apr 18 20:32:03 2001  Christopher Faylor <cgf@cygnus.com>
2850         * config/i386/xm-cygwin.h (CPP_SPEC): Fix typo.
2852 2001-04-18  Jakub Jelinek  <jakub@redhat.com>
2854         * cpp.texi (-Wwhite-space): Remove.
2855         (-Wall): -Wall does not imply -Wwhite-space.
2857 2001-04-17  Zack Weinberg  <zackw@stanford.edu>
2859         * dbxout.c (dbxout_init): If DBX_OUTPUT_GCC_MARKER is defined,
2860         use it instead of blindly generating a .stabs.
2861         * xcoffout.h: Define DBX_OUTPUT_GCC_MARKER so we put the type
2862         in the right place.
2863         * xcoffout.c: Don't bother defining default for N_CATCH.
2864         (UNKNOWN_STAB): Use internal_error.
2865         (stab_to_sclass): Remove now-unnecessary aborts.
2866         Remove #if 0'ed case N_BROWS.  Add #ifdef N_OPT block.
2868 Tue Apr 17 21:39:12 2001  Jeffrey A Law  (law@cygnus.com)
2870         * jump.c (mark_all_labels): Canonicalize the tail recursion
2871         label attached to CALL_PLACEHOLDER insns.
2873 2001-04-17  Loren J. Rittle  <ljrittle@acm.org>
2875         * dbxout.c (N_OPT): Define if not available from <stab.h>
2877 2001-04-17  John David Anglin  <dave@hiauly1.hia.nrc.ca>
2879         * vax.h (PROMOTE_PROTOTYPES): Define for compatibility with system
2880         libraries and native K&R compilers.
2882 2001-04-16  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2884         * c-typeck.c (convert_arguments): Don't check for width changes
2885         with -Wtraditional.
2887         * invoke.texi (-Wtraditional): Update documentation.
2889 2001-04-16  Zack Weinberg  <zackw@stanford.edu>
2891         * toplev.c (output_lang_identify): Delete.
2892         (compile_file): Don't call ASM_IDENTIFY_GCC or ASM_IDENTIFY_LANGUAGE.
2893         Don't generate gcc2_compiled. label.  Don't emit a nop if profiling.
2894         If IDENT_ASM_OP is defined, emit an .ident "GCC (GNU) <version>"
2895         after calling ASM_FILE_END.
2897         * dbxout.c (dbxout_init): Don't call ASM_IDENTIFY_GCC_AFTER_SOURCE.
2898         Instead, unconditionally emit an N_OPT stab with string equal
2899         to STABS_GCC_MARKER, which defaults to "gcc2_compiled."
2901         * defaults.h: Don't provide default for ASM_IDENTIFY_LANGUAGE.
2903         * config/dbxelf.h, config/freebsd.h, config/nextstep.h,
2904         config/psos.h, config/ptx4.h, config/1750a/1750a.h,
2905         config/alpha/alpha.h, config/alpha/elf.h, config/arc/arc.h,
2906         config/arm/aof.h, config/arm/coff.h, config/arm/elf.h,
2907         config/arm/linux-elf.h, config/avr/avr.h, config/d30v/d30v.h,
2908         config/dsp16xx/dsp16xx.h, config/h8300/h8300.h,
2909         config/i370/i370.h, config/i386/beos-elf.h,
2910         config/i386/osf1elf.h, config/i386/osfrose.h,
2911         config/ia64/sysv4.h, config/m68k/3b1.h, config/m68k/auxgas.h,
2912         config/m68k/crds.h, config/m68k/hp320.h, config/m68k/m68kv4.h,
2913         config/m68k/mot3300.h, config/m68k/news.h, config/m68k/sgs.h,
2914         config/m68k/tower-as.h, config/mcore/mcore-elf.h,
2915         config/mips/iris6.h, config/mips/osfrose.h,
2916         config/mips/sni-svr4.h, config/pa/som.h, config/pdp11/pdp11.h,
2917         config/sparc/sp64-elf.h:
2918         Delete definitions of any or all of: ASM_IDENTIFY_GCC,
2919         ASM_IDENTIFY_GCC_AFTER_SOURCE, and ASM_IDENTIFY_LANGUAGE.
2921         * config/elfos.h, config/freebsd.h, config/linux.h,
2922         config/alpha/elf.h, config/arm/linux-elf.h, config/i386/i386elf.h,
2923         config/i386/ptx4-i.h, config/mips/gnu.h, config/mips/linux.h,
2924         config/sparc/linux.h, config/sparc/linux64.h: Delete definitions
2925         of ASM_FILE_START which merely emit a .version directive.  Delete
2926         definitions of ASM_FILE_END which merely emit an .ident directive.
2928         * config/avr/avr.h, config/vax/vax.h: Delete definition of
2929         ASM_IDENTIFY_GCC and move part of its logic into
2930         ASM_FILE_START.
2932         * config/i386/att.h, config/i386/gas.h, config/i386/linux.h,
2933         config/sparc/linux-aout.h: Don't emit .version directive in
2934         ASM_FILE_START.
2936         * config/i386/dgux.c, config/m88k/m88k.c, config/sh/sh.c
2937         (output_file_start): Correct comment.
2939         * config/i386/osfrose.h: Don't emit trailing .ident directive.
2940         * config/m68k/mot3300.h: Override STABS_GCC_MARKER to "gcc2_compiled%"
2941         to match gdb.
2942         * config/pa/lib2funcs.asm: Delete gcc_compiled. label.
2943         * config/rs6000/aix.h: Correct comment.
2945         * config/i386/i386afe.h: Delete.
2946         * config.gcc: Remove references to i386afe.h.
2948         * tm.texi: Delete documentation of ASM_IDENTIFY_GCC.  The
2949         other macros deleted by this patch were undocumented.
2951 Mon Apr 16 08:02:14 2001  Jeffrey A Law  (law@cygnus.com)
2953         * pa.md (reload_outdi): Operand 0 must be a non hard register.
2955         * pa.c (secondary_reload_class): SAR<->FP copies require a
2956         secondary register.
2958         * install.texi (mips-mips-bsd): Update list of functions
2959         required to include memmove.
2960         * tm.texi (TARGET_MEM_FUNCTIONS): Update list of implicitly
2961         used functions to include memmove.
2963 2001-04-15  Mark Mitchell  <mark@codesourcery.com>
2965         * c-dump.c (dequeue_and_dump): Don't look at DECL_ASSEMBLER_NAME
2966         if it is not set.
2968 2001-04-15  Jim Wilson  <wilson@redhat.com>
2970         * function.c (expand_function_end): Handle PARALLEL real_decl_rtl.
2972 2001-04-13  Jim Wilson  <wilson@redhat.com>
2974         * config/ia64/ia64.c (ia64_expand_epilogue): Emit alloc if sibcall_p.
2975         (first_instruction): New static variable.
2976         (rtx_needs_barrier): Return 1 for alloc.
2977         (init_insn_group_barriers): Set first_instruction.
2978         (rws_sum): Delete duplicate definition.
2979         (group_barrier_needed_p): Return 0 when first_instruction true.
2980         (safe_group_barrier_needed_p): Save and restore first_instruction
2981         around group_barrier_needed_p call.
2983 Fri Apr 13 21:33:59 2001  Loren J. Rittle  <ljrittle@acm.org>
2985         * expr.h (enum libfunc_index): Add LTI_memmove.
2986         (memmove_libfunc): Define macro.
2987         * optabs.c (init_optabs): Initialize memmove_libfunc.
2988         * expr.c (expand_assignment): Use memmove_libfunc instead of
2989         memcpy_libfunc.
2991 2001-04-13  Alan Modra  <alan@linuxcare.com.au>
2993         * pa.h (GO_IF_LEGITIMATE_ADDRESS): Disallow PIC LO_SUM
2994         fp mode addresses.
2996 2001-04-13  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
2998         * Makefile.in (CFLAGS, BOOT_CFLAGS): Partly revert 2000-10-27 patch.
2999         (stage1_build): Instead pass down STAGE1_CFLAGS here. Pass down
3000         MAKEINFO and MAKEINFOFLAGS too.
3001         (stage4_build): Correctly order -B flags.
3003 2001-04-12  Jim Wilson  <wilson@redhat.com>
3005         * config/ia64/ia64.md (extendsfdf2, extendsftf2, extenddftf2): Simplify
3006         to just emit an fnorm.
3008 2001-04-12  Mark Mitchell  <mark@codesourcery.com>
3010         * invoke.texi: Document --param max-gcse-memory.
3012 2001-04-12  kaz Kojima  <kkojima@rr.iij4u.or.jp>
3014         * sh.md (builtin_setjmp_receiver): New expander.
3016 2001-04-12  Kelley Cook <kelley.cook@home.com>
3018         * config-lang.in (lang_dirs): Add in zlib.
3020 2001-04-11  Mark Mitchell  <mark@codesourcery.com>
3022         * dwarf2out.c (modified_type_die): Don't create new types here.
3023         * tree.h (get_qualified_type): New function.
3024         (build_qualified_type): Adjust comment.
3025         * tree.c (get_qualified_type): New function.
3026         (build_qualified_type): Use it.
3028 2001-04-11  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
3030         * cpp.texi (-Wtraditional): Update description.
3032         * invoke.texi (-Wtraditional): Likewise.
3034 2001-04-11  Jim Wilson  <wilson@redhat.com>
3036         * config/ia64/ia64.h (FUNCTION_ARG_BOUNDARY): Return 128 if argument
3037         requires more than 64 bits of alignment.
3039 2001-04-11  Neil Booth  <neil@daikokuya.demon.co.uk>
3041         * cpplib.c (do_line): Sanity check iff enable checking.
3043 2001-04-11  Mark Mitchell  <mark@codesourcery.com>
3045         * Makefile.in (gcse.o): Depend on params.h.
3046         * gcse.c: Include params.h.
3047         (gcse_main): Don't do GCSE if doing so will take inordinate
3048         amounts of memory.
3049         * params.def (PARAM_MAX_GCSE_MEMORY): New  parameter.
3050         * params.h (MAX_GCSE_MEMORY): New macro.
3052 2001-04-11  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
3054         * c-typeck.c (convert_arguments): -Wtraditional now activates
3055         -Wconversion warnings, except for changes in signed-ness.
3056         Detect complex<->int & int<->complex conversions as well.
3058         * invoke.texi (-Wtraditional): Document it.
3060 Wed Apr  4 00:28:23 2001  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
3062         * sparc/sol2-sld-64.h (STARTFILE_SPEC): Added missing blank.
3064 2001-04-11  Jason Merrill  <jason_merrill@redhat.com>
3066         * collect2.c (is_ctor_dtor): Always use '_' in the file fn names,
3067         not '.' or '$'.
3068         * tree.c (FILE_FUNCTION_FORMAT): Likewise.
3069         * varasm.c (CHKR_PREFIX): Likewise.
3071 2001-04-11  Jakub Jelinek  <jakub@redhat.com>
3073         * cpplex.c (_cpp_lex_token): Only warn if -Wcomment.
3075 2001-04-09  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
3077         * Makefile.in (LIB2FUNCS_STATIC_EXTRA): New macro.
3078         (LIB2ADD_ST): New macro, pass it to mklibgcc.
3079         * mklibgcc.in (libgcc2_st_objs): New variable, set it from LIB2ADD_ST.
3080         (libgcc_st_objs): New, set from libgcc2_st_objs. Use it for libgcc.a.
3081         * config/rs6000/t-ppccomm (LIB2FUNCS_STATIC_EXTRA): New macro.
3083 2001-04-09  Neil Booth  <neil@daikokuya.demon.co.uk>
3085         * configure.in: Add check for lstat.
3086         * configure, config.in: Regenerate.
3087         * cppinit.c (append_include_chain): Make empty path ".".
3088         * cpplib.c (do_line): Don't simplify #line paths.
3089         * cppfiles.c (remove_component_p): New function.
3090         (find_or_create_entry): Acknowledge stat () errors during
3091         path simplification.
3092         (handle_missing_header): Don't simplify paths.
3093         (_cpp_simplify_pathname): Don't simplify VMS paths.  Return
3094         the empty path untouched.  Don't leave a trailing '/'.
3096 Sun Apr  8 22:50:49 2001  Christopher Faylor <cgf@cygnus.com>
3098         * config/i386/xm-cygwin.h (GET_ENV_PATH_LIST): Eliminate obsolete
3099         function.  Remove include of sys/cygwin.h.
3101 Sun Apr  8 22:20:27 2001  Christopher Faylor <cgf@cygnus.com>
3103         * config/i386/cygwin.h (STARTFILE_SPEC): search */lib/w32api by default.
3104         (CPP_SPEC): Always search */include/w32api for header files.
3105         (ASM_OUTPUT_SECTION_NAME): Avoid testing NULL DECL.
3106         (LINK_SPEC): Add "cyg" to the library search prefixes.
3108 2001-04-08  Philip Blundell  <philb@gnu.org>
3110         * config/arm/arm.h (ASM_OUTPUT_LABELREF): Use asm_fprintf.
3112 2001-04-08  Neil Booth  <neil@daikokuya.demon.co.uk>
3114         * cpperror.c (print_location): Don't special case <stdin>.
3115         (_cpp_begin_message): Handle WARNING_SYSHDR the same as
3116         WARNING, but we don't check if we're in system headers.
3117         * cpphash.h (enum error_type): WARNING_SYSHDR: New.
3118         * cpplib.c (do_warning): Warn in system headers.
3119         (cpp_push_buffer): Give stdin buffers the name <stdin>.
3121 2001-04-07  Mumit Khan <khan@NanoTech.Wisc.EDU>
3123         * mbchar.c: Include config.h first.
3125 2001-04-07  Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
3127         * c4x.h (HARD_REGNO_NREGS): HCmode mode uses 2 regs not 4.
3129 2001-04-05  Benjamin Kosnik  <bkoz@redhat.com>
3131         * cppdefault.c (GPLUSPLUS_BACKWARD_INCLUDE_DIR): Add.
3132         * Makefile.in (-DGPLUSPLUS_BACKWARD_INCLUDE_DIR): Add.
3134 2001-04-05  Bernd Schmidt  <bernds@redhat.com>
3136         * config/ia64/ia64.c (rtx_needs_barrier): PARALLELs can contain
3137         ASM_OPERANDS.
3139 2001-04-05 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
3141         * emit-rtl.c (mark_label_nuses) Increment the label uses for
3142         all labels present in rtx.
3143         (try_split) Call new function for all split insns.
3145 2001-04-05  Neil Booth  <neil@daikokuya.demon.co.uk>
3147         * cppfiles.c (open_file): Fail directories silently, but
3148         with an errno of NOENT set.
3149         (read_include_file): Move the common exit code to the sole
3150         caller.  Return an int indicating success or failure.  Let
3151         open_file handle directories.
3152         (stack_include_file): If read_include_file fails,
3153         push a "null" buffer.
3155 2001-04-04  Diego Novillo  <dnovillo@redhat.com>
3157         * simplify-rtx.c (simplify_binary_operation): Check for overflow
3158         when folding integer division and modulo operations.
3160 2001-04-04  Jakub Jelinek  <jakub@redhat.com>
3162         * gcse.c (delete_null_pointer_checks_1): Add delete_list argument,
3163         push insns to delete to it instead of deleting them.
3164         (delete_null_pointer_checks): Delete insns from delete_list after
3165         all delete_null_pointer_checks_1 passes are done.
3167 2001-04-03  Alexandre Oliva  <aoliva@redhat.com>
3169         * configure.in (target_subdir): Use target_alias, not target.
3170         * configure: Rebuilt.
3172         * config/sh/crtn.asm (init, fini): Restore r15 from r14, not the
3173         other way round.
3174         * config/sh/crti.asm: Fix typos in comments.
3176 2001-04-03  Alan Modra  <alan@linuxcare.com.au>
3178         * dwarf2out.c (dwarf2out_frame_debug_expr): Move errant HIGH and
3179         LO_SUM cases to where they belong.
3181 2001-04-02  Jakub Jelinek  <jakub@redhat.com>
3183         * ifcvt.c (noce_emit_move_insn): New.
3184         (noce_try_store_flag, noce_try_store_flag_constants,
3185         noce_try_store_flag_inc, noce_try_store_flag_mask,
3186         noce_try_cmove, noce_try_cmove_arith): Use it.
3187         (noce_process_if_block): Likewise.
3188         For STRICT_LOW_PART, take mode from its SUBREG.
3190 2001-04-02  Jakub Jelinek  <jakub@redhat.com>
3192         * fold-const.c (fold): Before optimizing unsigned comparison with
3193         0x7fffffffU, make sure arg0 is integral type.
3195 2001-04-02  Joseph S. Myers  <jsm28@cam.ac.uk>
3197         * c-tree.texi: Document representation of wide strings.
3199 2001-03-31  Marek Michalkiewicz  <marekm@linux.org.pl>
3201         * config/avr/libgcc.S (__mulhi3): Correct tests to exit the loop
3202         when multiplier or multiplicand is zero.
3204 2001-03-30  Bernd Schmidt  <bernds@redhat.com>
3206         * loop.c (load_mems): When generating a load from a pseudo, update
3207         REGNO_LAST_UID.
3209         * config/ia64/ia64.c (update_set_flags): New function, broken out of
3210         rtx_needs_barrier.
3211         (set_src_needs_barrier): Likewise.
3212         (rtx_needs_barrier): For SET case, use these two functions.  Rework
3213         PARALLEL case to handle all inputs before all outputs.
3214         (emit_insn_group_barriers): Call init_insn_group_barriers only if we
3215         saw a label and no stop bit since then.
3216         (maybe_rotate, process_epilogue): Add prototypes.
3218 2001-03-28  Jim Wilson  <wilson@redhat.com>
3220         * config/ia64/ia64.md (movtf): Change DImode to TFmode in calls to
3221         operand_subword.
3223 2001-03-28  DJ Delorie  <dj@redhat.com>
3225         * Makefile.in (stage1_build): Revert CFLAGS patch.
3227 2001-03-28  John David Anglin  <dave@hiauly1.hia.nrc.ca>
3229         * reload1.c (eliminate_regs): Don't abort on MEM USEs.
3231 2001-03-27  Jim Wilson  <wilson@redhat.com>
3233         * final.c (final_scan_insn, case NOTE_INSN_BASIC_BLOCK): Call
3234         IA64_UNWIND_EMIT.
3235         * config/ia64/ia64.c (block_num, need_copy_state): New static vars.
3236         (process_epilogue): New static function.
3237         (process_set): Call process_epilogue instead of emitting .restore
3238         directly.
3239         (process_for_unwind_directive): Handle NOTE_INSN_BASIC_BLOCK.
3241         * flow.c (struct reg_cond_life_info): New fields orig_condition
3242         and stores.
3243         (init_propagate_block_info): Set new fields.
3244         (mark_regno_cond_dead): Set and use new fields.
3245         (flush_reg_cond_reg_1): Likewise.
3246         (and_reg_cond, case AND): Check for redundant AND conditions.
3247         (mark_used_reg): Delete unnecessary clears before freeing splay trees.
3248         Set new fields.
3250 2001-03-27  Neil Booth  <neil@daikokuya.demon.co.uk>
3252         * cppmacro.c (stringify_arg): Null terminate strings.
3254 2001-03-27  Neil Booth  <neil@daikokuya.demon.co.uk>
3256         * cppfiles.c: Update comments.
3257         (struct include_file): Remove "defined" memeber.
3258         (find_or_create_entry): Make a copy of the file name, and
3259         simplify it.
3260         (open_file): Update to ensure we use the simplified filename.
3261         (stack_include_file): Don't set search_from.
3262         (cpp_included): Don't simplify the path name here.
3263         (find_include_file): New prototype.  Call search_from to
3264         get the start of the "" include chain.  Don't simplify the
3265         filenames here.
3266         (_cpp_execute_include): New prototype.  Move diagnostics to
3267         do_include_common.  Update.
3268         (_cpp_pop_file_buffer): Don't set defined.
3269         (search_from): New prototype.  Use the preprocessor's cwd
3270         for files included from the command line.
3271         (read_name_map): Don't simplify the pathname here.
3273         (stack_include_file): Only increase the include
3274         count if we actually process the file properly, as opposed
3275         to treating it as length zero.  Only call read_include_file
3276         if not DO_NOT_REREAD.  Handle the -H include file output
3277         here.
3278         (read_include_file): Remove now redundant DO_NOT_REREAD check.
3279         (cpp_included, find_include_file): Simplify pathnames after
3280         remapping them.  If remapping, don't use the remapped file
3281         name's buffer as our scratch buffer.
3282         (cpp_pop_file_buffer): Replace the multiple include macro
3283         only if it isn't yet set.
3284         (read_name_map): Simplify remapped names when reading in.
3285         (remap_filename): Move code to code path that uses it.
3286         (_cpp_simplify_pathname): Return the input pointer.
3288         (NO_INCLUDE_PATH): New macro.
3289         (find_include_file): Decide here which part of the include
3290         chain to start the search.  Complain about an empty include
3291         chain in all cases apart from an abolsute file name.
3292         (_cpp_execute_include): Don't choose the search chain here.
3293         Don't call handle_missing_include in the case of an empty
3294         include chain.
3295         (_cpp_compare_file_date): Don't choose the search chain here.
3297         (destroy_include_file_node): Rename destroy_node.
3298         (find_or_create_entry): New function.
3299         (open_file, _cpp_fake_include): Use it.
3300         (handle_missing_header): New function, broken out of
3301         _cpp_execute include.  Don't segfault if there is no
3302         system or quoted path.
3303         (_cpp_execute_include): Use handle_missing_header.
3305         (INCLUDE_LEN_FUDGE, ENOMEM): Delete.
3306         (cpp_included, find_include_file): Update.
3307         (search_from): Use lbasename.
3308         (_cpp_execute_include): Don't make a null-terminated
3309         copy of the filename.  Don't use CPP_PREV_BUFFER.  Don't call
3310         strlen or strcpy; we already know the length.
3311         (_cpp_compare_file_date): Similarly.
3313         * cpphash.h: Update comments.
3314         (enum include_type): New.
3315         (struct buffer): Delete search from.  New search_cached.
3316         (_cpp_execute_include): Update prototype.
3317         (struct cpp_reader): Delete done_initialising.
3318         (_cpp_simplify_pathname): Update prototype.
3319         (struct cpp_buffer): Delete actual_dir.  New members
3320         search_from and dir.
3321         (struct cpp_reader): Remove actual_dirs.
3323         (struct include_file): Update.
3324         (stack_include_file): Use search_from.
3325         (cpp_included, find_include_file): Update.
3326         (cpp_execute_include): Update.  ptr->name may not be
3327         null terminated.  Use the new search_from member variable
3328         of cpp_buffer.
3329         (_cpp_compare_file_date): Similarly.
3330         (search_from): New function, similiar to actual_directory.
3331         (actual_directory): Delete.
3332         (remap_filename): Update.  loc->name may not be null terminated.
3333         (struct file_name_list): Rename search_path.  Update.
3335         * cppinit.c (do_includes): Use _cpp_execute_include.
3336         (cpp_start_read): Don't set done_initialising.
3337         (struct cpp_pending): Update for renamed objects.
3338         (append_include_chain, remove_dup_dir, remove_dup_dirs,
3339         merge_include_chains, cpp_destroy, cpp_start_read): Similarly.
3341         * cpplib.c (do_include_common): New function.
3342         (do_include, do_include_next, do_import): Use it.
3343         (do_include_next): Move the in-main-file diagnostic
3344         here from _cpp_execute_include.  Behave like #include if
3345         we're in the main file.
3346         (_cpp_compare_file_date): Make else unconditional.
3347         (CPP_PREV_BUFFER): Delete.
3348         (glue_header_name): Null-terminate.
3349         (do_line): Don't leak memory.
3351         * cpplex.c (parse_string): Guarantee null-termination.
3352         (_cpp_equiv_toklists): Remove.
3354         * cpplib.h (BT_WEAK): Delete.
3355         (struct cpp_options): Update.
3357         * cppmain.c (cb_ident): Strings are now null-terminated.
3359         * mkdeps.c (deps_add_default_target): Use lbasename.
3361 2001-03-27  Alan Modra  <alan@linuxcare.com.au>
3363         * c-typeck.c (digest_init): Fold init expression.
3365         * except.c (eh_regs): Save results of build_pointer_type to a temp
3366         as FUNCTION_VALUE macro may evaluate its args multiple times.
3368 2001-03-26  Mark Mitchell  <mark@codesourcery.com>
3370         * c-common.h (DECL_NUM_STMTS): New macro.
3371         * c-decl.c (duplicate_decls): Copy DECL_NUM_STMTS, not
3372         DECL_FRAME_SIZE.
3373         (pushdecl): Likewise.
3374         * c-semantics.c (add_stmt): Update DECL_NUM_STMTS.
3375         * integrate.c (expand_inline_function): Don't check
3376         DECL_FRAME_SIZE.
3377         * print-tree.c (print_node): Don't print it.
3378         * toplev.c (rest_of_compilation): Don't try to inline when
3379         flag_no_inline is on.
3380         * tree.h (DECL_FRAME_SIZE): Remove.
3381         (tree_decl): Adjust accordingly.
3383 Mon Mar 26 15:59:57 CEST 2001  Jan Hubicka  <jh@suse.cz>
3385         * i386.md (truncdfsf2_3, trunctfsf2_2): Change predicate to memory_operand.
3387 2001-03-26  Jakub Jelinek  <jakub@redhat.com>
3389         * varasm.c (make_decl_rtl): Don't append var_labelno discriminator
3390         to variable names where DECL_NAME is different from
3391         DECL_ASSEMBLER_NAME.
3393 2001-03-26  Jakub Jelinek  <jakub@redhat.com>
3395         * reg-stack.c (stack_result): Re-add 2001-03-14 changes which were
3396         lost during the 2001-03-14 lazy DECL_RTL commit.
3398 2001-03-21  Jason Merrill  <jason@redhat.com>
3400         * collect2.c (is_ctor_dtor): Always use '_' in the file fn names,
3401         not '.' or '$'.
3402         * tree.c (FILE_FUNCTION_FORMAT): Likewise.
3403         * varasm.c (CHKR_PREFIX): Likewise.
3405 2001-03-25  Kazu Hirata  <kazu@hxi.com>
3407         * config/h8300/h8300.md (umodqi3): Output a tab instead of a
3408         space.
3409         (modqi3): Likewise.
3410         (umodhi3): Likewise.
3411         (modhi3): Likewise.
3413 2001-03-23  Richard Henderson  <rth@redhat.com>
3415         * config/mips/iris4.h (ASM_OUTPUT_ASCII): Rename local variables
3416         to avoid shadowing arguments.
3418 2001-03-23  Jim Wilson  <wilson@redhat.com>
3420         * varasm.c (make_decl_rtl): Add TREE_PUBLIC check to abort test.
3421         (assemble_alias): Call make_decl_rtl.
3423 2001-03-23  Bryce McKinlay  <bryce@albatross.co.nz>
3425         * extend.texi: Document the "java_interface" attribute.
3427 2001-03-22  Gordon Sadler  <gbsadler1@lcisp.com>
3429         * Makefile.in (stage1_build): Pass CFLAGS to stage1_build.
3431 2001-03-22  Zack Weinberg  <zackw@stanford.edu>
3433         * gcc.c, objc/lang-specs.h: Add zero initializer for cpp_spec field to
3434         all array elements.
3436 2001-03-22  Brad Lucier  <lucier@math.purdue.edu>
3438         * Makefile.in: Have splay-tree.o depend on $(GCONFIG_H).
3440 2001-03-22  Joseph S. Myers  <jsm28@cam.ac.uk>
3442         * gcc.texi: Remove more obsolete documentation of bugs and
3443         installation problems.
3445 2001-03-21  Kazu Hirata  <kazu@hxi.com>
3447         * config/h8300/h8300.md (movsi_h8300hs): Split the 2nd alternative
3448         into two parts.
3450 Wed Mar 21 14:27:11 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
3452         * cse.c (find_comparison_args): Remove previous change.
3453         * ifcvt.c (noce_process_if_block): When moving an insn, remove any
3454         REG_EQUAL notes.
3456         * sdbout.c: #include ggc.h.
3457         (sdbout_init): Move to end of file.
3458         Call ggc_add_tree_root for anonymous_types.
3459         (sdbout_symbol): Use DECL_NAME for local, not DECL_ASSEMBLER_NAME.
3460         (sdbout_one_type): Use DECL_NAME for field name.
3461         * Makefile.in (sdbout.o): Show includes ggc.h.
3463 2001-03-21  Jakub Jelinek  <jakub@redhat.com>
3465         * crtstuff.c (init_dummy): Use CRT_END_INIT_DUMMY if defined.
3466         Remove ia32 linux PIC kludge and move it...
3467         * config/i386/linux.h (CRT_END_INIT_DUMMY): ...here.
3469 2001-03-20  DJ Delorie  <dj@redhat.com>
3471         * Makefile.in (install-libgcc): Pass complete list of variables.
3472         (install-multilib): Ditto.
3474 2001-03-20  Mark Mitchell  <mark@codesourcery.com>
3476         * tree.c (set_decl_assembler_name): Set DECL_ASSEMBLER_NAME for
3477         variables that are TREE_PUBLIC, even if not TREE_STATIC.
3479 2001-03-19  Mark Mitchell  <mark@codesourcery.com>
3481         Compute DECL_ASSEMBLER_NAME lazily.
3482         * tree.h (DECL_ASSEMBLER_NAME): Compute it lazily.
3483         (DECL_ASSEMBLER_NAME_SET_P): New macro.
3484         (SET_DECL_ASSEMBLER_NAME): Likewise.
3485         (COPY_DECL_ASSEMBLER_NAME): Likewise.
3486         (set_decl_assembler_name): Declare.
3487         (lang_set_decl_assembler_name): Likewise.
3488         * tree.c (lang_set_decl_assembler_name): New variab.e
3489         (set_decl_assembler_name): New function.
3490         (init_obstacks): Set lang_set_decl_assembler_name.
3491         (build_decl): Don't set DECL_ASSEMBLER_NAME.
3492         * c-decl.c (duplicate_decls): Use SET_DECL_ASSEMBLER_NAME,
3493         COPY_DECL_ASSEMBLER_NAME, etc.  Don't set DECL_ASSEMBLER_NAME
3494         where it's not necessary.
3495         (builtin_function): Likewise.
3496         (finish_decl): Likewise.
3497         * dbxout.c (dbxout_type_methods): Likewise.
3498         * ggc-common.c (ggc_mark_trees): Likewise.
3499         * profile.c (output_func_start_profiler): Likewise.
3500         * varasm.c (make_decl_rtl): Likewise.
3502         * cse.c (find_comparison_args): Update documentation.  Fix
3503         mishandling of COMPARE operations.
3505         * tree.def (ABS_EXPR): Add documentation.
3506         * fold-const.c (fold): Improve folding of ABS_EXPRs.
3508 2001-03-20  Tom Tromey  <tromey@redhat.com>
3510         * libgcc-std.ver: Added __fixunssfsi and __fixunsdfsi.
3512 2001-03-20  David Billinghurst  <David.Billinghurst@riotinto.com>
3514         * config/i386/cygwin.h: Declare ctor_section, dtor_section
3515         drectve_section, switch_to_section.
3517         * winnt.c: Declare functions associated_type, gen_stdcall_suffix,
3518         i386_pe_dllexport_p, i386_pe_dllimport_p, i386_pe_mark_dllexport,
3519         i386_pe_mark_dllimport.
3521 2001-03-20  David Billinghurst <David.Billinghurst@riotinto.com>
3523         * config/i386/cygwin.h: Include <stdio.h> Declare and constify
3524         functions i386_pe_*.
3526         * config/i386/winnt.c: Include "tm_p.h" and "toplev.h" Constify
3527         i386_pe_* functions with char * arguments.
3529 2001-03-20  Alexandre Oliva  <aoliva@redhat.com>
3531         * config/sh/sh.md (movsf_ie): Fix output patterns for fpul load
3532         and store.
3533         (movsi_ie): Introduce fpul store.
3535 2001-03-20  Alan Modra  <alan@linuxcare.com.au>
3537         * Makefile.in (OBJS): Remove hashtab.o.
3539 2001-03-19  Tom Tromey  <tromey@redhat.com>
3541         * gcc.c (init_gcc_specs): Fix comment.
3543 2001-03-19  Mark Mitchell  <mark@codesourcery.com>
3545         * cse.c (find_comparison_args): Update documentation.  Fix
3546         mishandling of COMPARE operations.
3548         * tree.def (ABS_EXPR): Add documentation.
3549         * fold-const.c (fold): Improve folding of ABS_EXPRs.
3551 2001-03-16  Andrew Haley  <aph@cambridge.redhat.com>
3553         * config/ia64/libgcc-ia64.ver: Add __ia64_backtrace.
3555 2001-03-19  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
3557         * README.X11: Remove obsolete file.
3559 2001-03-18  Anthony Green  <green@redhat.com>
3561         * config/pj/pj.h: Remove some trailing commas.
3562         (ASM_SPEC): Use -EB and -EL, not -mb and -ml.
3564 2001-03-17  Anthony Green  <green@redhat.com>
3566         * config/pj/lib1funcs.S: Fix broken comment.
3567         * config/pj/pj.h (LOCAL_LABEL_PREFIX): Prefix internal
3568         labels with '.'.
3570 2001-03-18  Joseph S. Myers  <jsm28@cam.ac.uk>
3572         * gcc.texi: Remove obsolete information relating to build and
3573         installation problems with enquire or the Pyramid C compiler.
3575 2001-03-16  Philip Blundell  <philb@gnu.org>
3577         * config.gcc: Remove obsolete targets "arm*-*-linuxoldld" and
3578         "armv2-*-linux".
3579         * config/arm/linux-elf.h: Remove historical relics related to
3580         above configurations.
3581         * config/arm/linux-oldld.h: Delete.
3582         * config/arm/linux-elf26.h: Delete.
3584 2001-03-17  Richard Henderson  <rth@redhat.com>
3586         * dwarf2out.c (lookup_filename): Emit .file if the assembler
3587         is generating .debug_line.
3588         (dwarf2out_init): Add main_input_filename to the file table first.
3589         * configure.in (as_dwarf2_debug_line): Test with file number 1
3590         instead of file number 0.
3592         * dwarf2out.c: Revert most of 2000-11-25 and 2001-01-24 changes.
3593         (LN_PROLOG_AS_LABEL, LN_PROLOG_END_LABEL): New.
3594         (size_of_line_prolog): Remove.
3595         (output_line_info): Compute prologue size via label difference.
3596         (lookup_filename): Return "unspecified" for <internal> and <built-in>.
3597         * configure.in (HAVE_AS_DWARF2_DEBUG_LINE): Require that the
3598         assembler error when redefining file numbers.
3599         * config.in, configure: Rebuild.
3601 2001-03-17  David Billinghurst  <David.Billinghurst@riotinto.com>
3603         * config/i386/xm-cygwin.h: Include <sys/cygwin.h.  Remove unused
3604         variable.
3606 2001-03-16  Jim Wilson  <wilson@redhat.com>
3608         * config/ia64/ia64.c (ia64_compute_frame_size): If reg_fp is zero,
3609         then set it to LOC_REG (79) instead of aborting.
3611 2001-03-16  Laurynas Biveinis  <lauras@softhome.net>
3613         * fixinc/Makefile.in: Set SHELL.
3615 2001-03-16  Laurynas Biveinis  <lauras@softhome.net>
3617         * fixinc/fixincl.c (fix_with_system): Quote file names before
3618         passing them to shell.
3620 2001-03-16  Laurynas Biveinis  <lauras@softhome.net>
3622         * Makefile.in: Use fix-header$(build_exeext) instead
3623         of fix-header.
3625 Fri Mar 16 11:26:01 2001  Christopher Faylor <cgf@cygnus.com>
3627         * config/i386/cygwin.h: Revert previously misapplied patch which
3628         eliminated TARGET_SUBTARGET_DEFAULT.
3630 2001-03-16  Alexandre Oliva  <aoliva@redhat.com>
3632         * config/sh/sh.c (sh_expand_prologue): Insns that set up the PIC
3633         register may be dead.
3635 2001-03-15  Mark Mitchell  <mark@codesourcery.com>
3637         * dwarf2out.c (rtl_for_decl_location): Use DECL_RTL_IF_SET.
3639 2001-03-16  Brad Lucier  <lucier@math.purdue.edu>
3641         * Makefile.in (hash.o): Depend on CONFIG_H.
3643 2001-03-16  Alexandre Oliva  <aoliva@redhat.com>
3645         * cppfiles.c (stack_include_file): Use MAX of sysp.
3647 2001-03-15  Steve Ellcey  <sje@cup.hp.com>
3649         * config.gcc (ia64*-*-hpux*): New case.
3650         * config/ia64/hpux.h: New file for HP-UX support.
3651         * config/ia64/t-hpux: New file for HP-UX support.
3653 2001-03-16  Bruce Korb  <bkorb@gnu.org>, Alexandre Oliva  <aoliva@redhat.com>
3655         * fixinc/inclhack.def (irix_stdio_va_list): New.
3656         * fixinc/fixincl.x: Rebuilt.
3658 2001-03-15  Bruce Korb  <bkorb@gnu.org>
3660         * gcc.c(main): make more rigorous
3661         * collect2.c(main): guard against ignoring SIGCHLD
3662         * protoize.c(main): ditto
3663         * gcc/fixinc/fixincl.c(initialize): ditto
3665 2001-03-15  Mark Mitchell  <mark@codesourcery.com>
3667         * sdbout.c (sdbout_symbol): Use DECL_RTL_SET_P, SET_DECL_RTL.
3668         (sdbout_parms): Likewise.
3670 Thu Mar 15 12:51:00 2001  Jeffrey A Law  (law@cygnus.com)
3672         * reload1.c (reload_cse_simplify_set): For LOAD_EXTEND_OP, do not
3673         "widen" a destination that is already wider than a word.  Also do
3674         not widen if LOAD_EXTEND_OP is NIL for the given mode.
3676 2001-03-15  Zack Weinberg  <zackw@stanford.edu>
3678         * config/xm-lynx.h, config/xm-std32.h, config/a29k/xm-a29k.h,
3679         config/a29k/xm-unix.h, config/alpha/xm-alpha.h,
3680         config/arc/xm-arc.h, config/arm/xm-arm.h, config/c4x/xm-c4x.h,
3681         config/clipper/xm-clix.h, config/convex/xm-convex.h,
3682         config/d30v/xm-d30v.h, config/dsp16xx/xm-dsp16xx.h,
3683         config/elxsi/xm-elxsi.h, config/fr30/xm-fr30.h,
3684         config/h8300/xm-h8300.h, config/i370/xm-i370.h,
3685         config/i370/xm-linux.h, config/i370/xm-mvs.h,
3686         config/i370/xm-oe.h, config/i386/xm-aix.h,
3687         config/i386/xm-i386.h, config/i386/xm-osf.h,
3688         config/i860/xm-i860.h, config/i960/xm-i960.h,
3689         config/ia64/xm-ia64.h, config/m32r/xm-m32r.h,
3690         config/m68k/xm-m68k.h, config/m88k/xm-m88k.h,
3691         config/mcore/xm-mcore.h, config/mips/xm-mips.h,
3692         config/mn10200/xm-mn10200.h, config/mn10300/xm-mn10300.h,
3693         config/ns32k/xm-ns32k.h, config/pa/xm-linux.h,
3694         config/pa/xm-pa.h, config/pa/xm-pa64hpux.h,
3695         config/pa/xm-pahpux.h, config/pa/xm-papro.h,
3696         config/pj/xm-pj.h, config/romp/xm-romp.h,
3697         config/rs6000/xm-beos.h, config/rs6000/xm-rs6000.h,
3698         config/rs6000/xm-sysv4.h, config/sh/xm-sh.h,
3699         config/sparc/xm-sparc.h, config/sparc/xm-sysv4.h,
3700         config/v850/xm-v850.h, config/vax/xm-vax.h,
3701         config/vax/xm-vms.h, config/we32k/xm-we32k.h:
3702         Do not define TRUE or FALSE.
3704         * config/i386/xm-aix.h, config/i386/xm-osf.h: Delete; made
3705         empty by above change.
3706         * config.gcc: Remove references to these files.
3708         * configure.in: Detect stdbool.h.
3709         * configure, config.in: Regenerate.
3710         * system.h: Include stddef.h here if available.  Set
3711         HAVE__BOOL based on GCC_VERSION and __STDC_VERSION__.  Then
3712         set up a sensible boolean type at the very end.
3714         * combine.c, cse.c, expr.c, fold-const.c, gensupport.c,
3715         config/mcore/mcore.c: Rename variables named 'true'
3716         and/or 'false'.
3718         * hash.h: Delete 'boolean' typedef and related #undefs.
3720         * function.c, ggc-common.c, hash.h, hash.c, tlink.c,
3721         Replace all uses of 'boolean' with 'bool'.
3723 2001-03-15  Neil Booth  <neil@daikokuya.demon.co.uk>
3724             David Billinghurst <David.Billinghurst@riotinto.com>
3726         * config/mips/iris5.h:  Change WCHAR_TYPE to int.
3728 2001-03-15  Bernd Schmidt  <bernds@redhat.com>
3730         * simplify-rtx.c (hash_rtx): For REG and MEM, just use value of
3731         expression without adding in rtx code and mode.
3733         * alias.c (init_alias_analysis): Don't use any rtx whose value
3734         varies as a known value.
3735         Delete a superfluous test.
3737 2001-03-15  Mark Mitchell  <mark@codesourcery.com>
3739         * varasm.c (assemble_variable): Use DECL_RTL_SET_P.
3741 2001-03-14  Mark Mitchell  <mark@codesourcery.com>
3743         * varasm.c (assemble_alias): Use DECL_ASSEMBLER_NAME, not the
3744         contents of the RTL, to determine the name of the object.
3746 2001-03-14  Laurynas Biveinis  <lauras@softhome.net>
3748         * configure.in: Use $gcc_cv_as instead of $as.
3749         * configure: Regenerated.
3751 Wed Mar 14 13:17:44 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
3753         * alias.c (handled_component_p, can_address_p): New functions.
3754         (get_alias_set): Use them.
3756 2001-03-14  Mark Mitchell  <mark@codesourcery.com>
3758         * expr.c (expand_expr): Revove bogus conditional.
3760 2001-03-14  Mark Mitchell  <mark@codesourcery.com>
3762         * tree.h (DECL_RTL): Allocate RTL lazily.
3763         (SET_DECL_RTL): New macro.
3764         (DECL_RTL_SET_P): Likewise.
3765         (COPY_DECL_RTL): Likewise.
3766         (DECL_RTL_IF_SET): Likewise.
3767         * varasm.c (make_decl_rtl): Add assertions about the kind of
3768         declaration we are processing.
3769         * c-decl.c (duplicate_decls): Use COPY_DECL_RTL, DECL_RTL_SET_P, etc.
3770         (start_decl): Likewise.
3771         (finish_decl): Likewise.
3772         * c-semantics.c (emit_local_var): Likewise.
3773         * calls.c (expand_call): Likewise.
3774         * dbxout.c (dbxout_symbol): Likewise.
3775         * emit-rtl.c (unshare_all_rtl): Likewise.
3776         (unshare_all_decls): Likewise.
3777         (reset_used_decls): Likewise.
3778         * expr.c (store_constructor): Likewise.
3779         (safe_from_p): Likewise.
3780         (expand_expr): Likewise.
3781         * function.c (put_var_into_stack): Likewise.
3782         (instantiate_decls_1): Likewise.
3783         (assign_parms): Likewise.
3784         (expand_function_start): Likewise.
3785         (expand_function_end): Likewise.
3786         * ggc-common.c (gcc_mark_trees): Likewise.
3787         * integrate.c (function_cannot_inline_p): Likewise.
3788         (copy_decl_for_inlining): Likewise.
3789         (expand_inline_function): Likewise.
3790         (integrate_parm_decls): Likewise.
3791         (integrate_decl_tree): Likewise.
3792         * print-tree.c (print_node): Likewise.
3793         * reg-stack.c (stack_result): Likewise.
3794         * stmt.c (label_rtx): Likewise.
3795         (expand_return): Likewise.
3796         (expand_decl): Likewise.
3797         (expand_decl_cleanup): Likewise.
3798         (expand_anon_union_decl): Likewise.
3799         * toplev.c (check_global_declarations): Likewise.
3800         (rest_of_decl_compilation): Likewise.
3801         * tree.c (simple_cst_equal): Likewise.
3802         * objc/objc-act.c (generate_static_references): Likewise.
3804 2001-03-14  Jakub Jelinek  <jakub@redhat.com>
3806         * reg-stack.c (stack_result): Unconditionally use
3807         FUNCTION_OUTGOING_VALUE resp. FUNCTION_VALUE.
3809 2001-03-13  Jim Wilson  <wilson@redhat.com>
3811         * config/ia64/ia64.c (find_gr_spill): Subtract frame_pointer_needed
3812         from 80 in try_locals code.
3813         (ia64_expand_prologue): Add comment pointing to find_gr_spill change.
3815 2001-03-13  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
3817         * cpp.texi (poison): Explain the macro expansion exception.
3819 2001-03-12  Neil Booth  <neil@daikokuya.demon.co.uk>
3821         * cppinternals.texi: Update for file handling.
3823 Mon Mar 12 14:05:32 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
3825         * flow.c (insn_dead_p): Don't consider two memrefs equivalent
3826         unless anti_dependence says they are.
3827         * alias.c (objects_must_conflict): If neither has a type specified,
3828         they must conflict.
3830 2001-03-12  Aldy Hernandez  <aldyh@redhat.com>
3832         * reload1.c (reload_cse_simplify): Call reload_cse_simplify_set
3833         before reload_cse_noop_set_p.
3835 Sat Mar 10 23:21:34 2001  kaz Kojima <kkojima@rr.iij4u.or.jp>
3837         * config/sh/sh.h (LEGITIMATE_PIC_OPERAND_P): Defined.
3839 Sat Mar 10 23:16:16 2001  Toshiyasu Morita  <toshiyasu.morita@hsa.hitachi.com>
3841         * config/sh/sh.md (umulhisi3_i, mulhisi3_i): Fix mnemonics.
3842         * config/sh/lib1funcs.asm (mulsi3): Convert mulu to mulu.w.
3844 Sat Mar 10 23:03:25 2001  Alexandre Oliva  <aoliva@redhat.com>
3846         * tree.c (build_common_tree_nodes_2): Don't copy va_list_type_node
3847         if it's a record type.
3849 Sat Mar 10 17:52:54 2001  Christopher Faylor <cgf@cygnus.com>
3851         * config/i386/cygwin.h: Make ../w32api a system directory.  Reorganize
3852         mingw includes slightly.
3854 Fri Mar  9 18:33:50 2001  Jeffrey A Law  (law@cygnus.com)
3856         * pa.md (builtin_longjmp): Rework slightly to work for PA64 too.
3858 2001-03-09  Nicola Pero <n.pero@mi.flashnet.it>
3860         * configure: Rebuilt.
3861         * configure.in: Only use `lang_requires' for languages athat are
3862         actually enabled.
3864 Thu Mar  8 23:34:42 2001  Jeffrey A Law  (law@cygnus.com)
3866         * config/pa/som.h (MAKE_DECL_ONE_ONLY, ASM_WEAKEN_LABEL): Disable.
3868 Thu Mar  8 23:22:26 2001  John Wehle  (john@feith.com)
3870         * rtlanal.c (rtx_varies_p): Check operand 0 of a
3871         LO_SUM unless for_alias is set.
3873 2001-03-08  Bruce Korb  <bkorb@gnu.org>
3875         gcc.c(main): ensure SIGCHLD handling is set to SIG_DFL so that
3876         wait4() can receive the signal.
3878 Thu Mar  8 21:09:10 2001  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
3880         * fixinc/inclhack.def (AAB_dgux_int_varargs): Don't use HTML
3881         entities.
3882         * fixinc/fixincl.x: Regenerate.
3884 Thu Mar  8 21:09:10 2001  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
3886         * fixinc/inclhack.def (AAA_standards): Undo <standards.h> breakage
3887         on Tru64 UNIX.
3888         * fixinc/fixincl.x: Regenerate.
3890 Thu Mar  8 19:42:08 CET 2001  Jan Hubicka  <jh@suse.cz>
3892         * reg-stack.c (move_for_stack_reg): Avoid non-popint fst for
3893         TFmode too.
3895 Thu Mar  8 06:32:50 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
3897         * config/i386/i386.md (clrstrsi): Call ix86_set_move_mem_attrs.
3899 2001-03-08  Alexandre Oliva  <aoliva@redhat.com>
3901         * configure.in (enable_shared): Support per-package shared-library
3902         enabling.
3903         * configure: Rebuilt.
3905 2001-03-07  David Edelsohn  <edelsohn@gnu.org>
3907         * rs6000.md (cr logic): Add original POWER mnemonic alternative
3908         for crnot.  Set operands[5] in splitter.
3910 2001-03-07  Tom Tromey  <tromey@redhat.com>
3912         * configure: Rebuilt.
3913         * configure.in: Allow config-lang.in to set `lang_requires' to list
3914         of other required languages.
3916 2001-03-07  Richard Henderson  <rth@redhat.com>
3918         * config/alpha/alpha.md (call_osf_1_noreturn): New pattern.
3920 2001-03-07  Laurynas Biveinis  <lauras@softhome.net>
3922         * fixinc/inclhack.def (djgpp_wchar_h): New test.
3923         * fixinc/fixincl.x: Regenerated.
3925 2001-03-06  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
3927         * Restore change that patch misapplied.
3928         * config/i386/i386.c (ix86_set_move_mem_attrs): New function.
3929         (ix86_set_move_mem_attrs_1): Likewise.
3930         * config/i386/i386-protos.h (ix86_set_move_mem_attrs): New declaration.
3931         * config/i386/i386.md (movstrsi): Call it.
3933 2001-03-06  Stephen L Moshier  <moshier@mediaone.net>
3935         * config/m68k/m68k.c (const_uint32_operand): Accept any
3936         const_int on a 32-bit host.
3938 2001-03-06  Zack Weinberg  <zackw@stanford.edu>
3940         * c-parse.in (yylexname): New function, split out of _yylex.
3941         (objc_rid_sans_at): New table.
3942         (init_reswords): Initialize it.
3943         (_yylex): Give labels clearer names.  Handle CPP_ATSIGN by
3944         retrieving the next token and checking it for significance as
3945         an ObjC keyword or string constant.
3947         * cpplex.c (_cpp_lex_token): Just return CPP_ATSIGN for '@'.
3948         * cpplib.h (TTYPE_TABLE): Add CPP_ATSIGN, drop CPP_OSTRING.
3950         * c-lex.c, c-parse.in, cppmacro.c, cpplex.c: Remove references
3951         to CPP_OSTRING.
3953 2001-03-06  Nicola Pero  <n.pero@mi.flashnet.it>
3955         * objc/objc-act.c (init_objc): Set save_lang_status,
3956         restore_lang_status, and mark_lang_status.
3958 2001-03-06  Neil Booth  <neil@daikokuya.demon.co.uk>
3960         * cppinternals.texi: Update.
3962 2001-03-05  Brad Lucier  <lucier@math.purdue.edu>
3964         * invoke.texi: Document __FAST_MATH__.
3966 2001-03-04  John David Anglin  <dave@hiauly1.hia.nrc.ca>
3968         * function.c (purge_addressof_1): Change type of function
3969         purge_addressof_1 from boolean to int.  Change local variable
3970         `result' to int, and false and true to 0 and 1, respectively.
3972 2001-03-04  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
3974         * config/m68hc11/larith.asm (__mulqi3): Fix multiplication of two
3975         negative numbers.
3976         (___subdi3, ___adddi3): Use x instead of y as index register.
3977         (__init_bss_section, __map_data_section): Optimize for 68HC12.
3978         (__memset, __memcpy): Likewise.
3979         (regs): Put the soft registers in bss for 68HC12.
3980         (abort): Use trap to abort for 68hc12.
3981         (__mulhi3, __mulhi32): Use emul for 68hc12.
3982         (__mulsi3): Avoid to use the tmp soft register for 68hc12.
3984 2001-03-04  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
3986         * config/m68hc11/m68hc11.h (LIMIT_RELOAD_CLASS): Don't define.
3987         * config/m68hc11/m68hc11-protos.h (limit_reload_class): Remove.
3988         * config/m68hc11/m68hc11.c (limit_reload_class): Remove.
3989         (m68hc11_override_options): Remove setting of flag_no_nonansi_builtin.
3990         Set 68HC12 min offset to -65536.
3991         (print_operand): Put parenthesis arround the operand if it refers
3992         to a symbol having the same name as a register.
3993         (m68hc11_z_replacement): When z register is replaced by its
3994         equivalent soft register, force the insn to be re-recognized.
3995         (m68hc11_check_z_replacement): Fix the test when destination is
3996         the index register and z dies in the insn.
3997         (m68hc11_reorg): Remove the REG_DEAD notes beforce recomputing them.
3999 2001-03-04  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
4001         * config/m68hc11/m68hc11.c (m68hc11_override_options): Initialize
4002         costs according to processor variant.
4003         (m68hc11_shift_cost): New function to compute shift costs.
4004         (m68hc11_rtx_costs): Define costs according to processor variant.
4005         (m6811_cost): Costs for 68HC11.
4006         (m6812_cost): Costs for 68HC12.
4007         (COSTS_N_INSNS): Remove.
4009         * config/m68hc11/m68hc11.h (RTX_COSTS): New.
4010         (DEFAULT_RTX_COSTS): Remove.
4011         (CONST_COSTS): Define costs according to OUTER_CODE.
4012         (processor_costs): New struct to define costs.
4013         (m68hc11_cost): Pointer to current costs.
4015 2001-03-04  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
4017         * config/m68hc11/m68hc11.md (*addhi3_68hc12): Fix generation
4018         and use m68hc11_notice_keep_cc when using leax/leay.
4019         (addhi3 split): Reject split if the insn is handled by
4020         leax/leay above.
4021         * config/m68hc11/m68hc11.c (m68hc11_split_move): For 68HC12 the
4022         push must be handled in a special way if the source operand uses
4023         sp as index register.
4024         (m68hc11_notice_keep_cc): New function.
4025         (m68hc11_gen_movhi): Use it when an insn changes a register but
4026         not the flags.
4027         (m68hc11_gen_movqi): Fix move for 68HC12.
4028         * config/m68hc11/m68hc11-protos.h (m68hc11_notice_keep_cc): Declare.
4030 2001-03-04  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
4032         * config/m68hc11/m68hc11.c (m68hc11_emit_libcall): Use LCT_CONST
4033         and don't pass operands[0] to emit_library_call_value.
4035 2001-03-04  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
4037         * config/m68hc11/m68hc11.md (tsthi_1): Use cpd for 68HC12.
4038         (zero_extendsi split): Simplify and use (zero_extendhi).
4039         (*addhi3): Remove 'w' constraint since stack pointer is handled
4040         by (addhi3_sp).
4041         (*ashlhi3_2): Operand 2 is clobbered use '+' for its constraint.
4042         (*ashlhi3, *ashrhi3, *lshrhi3): Likewise.
4043         (*ashrhi3_const): Fix shift by 7.
4044         (*lshrsi3_const16): Fix template.
4045         (call, call_value): Fix constraint and predicate.
4047 2001-03-04  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
4049         * config/m68hc11/m68hc11.md (X_REGNUM, D_REGNUM): New constant.
4050         (Y_REGNUM, SP_REGNUM, PC_REGNUM, A_REGNUM, B_REGNUM): Likewise.
4051         (CC_REGNUM): Likewise.
4052         (*unnamed splits): Use above constants instead of hard coded numbers.
4053         (*adcq, *subcq, *addsi_carry, *rotlqi3_with_carry): Likewise.
4054         (*rotlhi3_with_carry, *rotrhi3_with_carry): Likewise.
4055         (*return_16bit, *unnamed peepholes): Likewise.
4057 2001-03-03  Laurynas Biveinis  <lauras@softhome.net>
4059         * gcc.c (convert_filename): Append executable suffix
4060         if NO_AUTO_EXE_SUFFIX is not defined.
4061         * gcc.texi: Document NO_AUTO_EXE_SUFFIX.
4062         * config/i386/djgpp.h: Define NO_AUTO_EXE_SUFFIX.
4065 2001-03-03  David O'Brien  <obrien@FreeBSD.org>
4067         from 2000-09-06  Zack Weinberg  <zack@wolery.cumb.org>
4068         * c-parse.gperf, c-gperf.h: Delete.
4069         (c-gperf.h was accidently re-added to the CVS repo in the rev 1.16 commit
4070          by tromey)
4072 2001-03-03  John David Anglin  <dave@hiauly1.hia.nrc.ca>
4074         * fixinc/fixlib.h (t_bool): Add identifier `t_bool' in typedef.
4075         * fixinc/server.c (read_pipe_timeout): Use enum t_bool instead of
4076         t_bool in declaration because pcc can't combine volatile with typedef
4077         types.
4079 2001-03-03  Neil Booth  <neil@daikokuya.demon.co.uk>
4081         * longlong.h (umul_ppmm): Don't use a multiline string.
4083 2001-03-03  Neil Booth  <neil@daikokuya.demon.co.uk>
4085         * cpplex.c (_cpp_lex_token): Don't warn about directives in
4086         macro arguments when looking for the '('.
4087         * cppmacro.c (funlike_invocation_p): Set parsing_args to
4088         2 when really parsing arguments; 1 when looking for '('.
4089         Always restore the lexer position.
4091 2001-03-03  Neil Booth  <neil@daikokuya.demon.co.uk>
4093         * cpplex.c (parse_string): Unconditionally pedwarn.
4095 2001-03-03  Neil Booth  <neil@daikokuya.demon.co.uk>
4097         * cpp.texi: Update.
4098         * cppexp.c (parse_number): Update.
4099         * cpplex.c (parse_string): Pedwarn if multiline string does not
4100         result from a system header's macro.
4101         * cpplib.h (sys_objmacro_p): Rename sys_macro_p.
4102         * cppmacro.c (sys_objmacro_p): Rename sys_macro_p.  Return true
4103         for function-like macros too.
4105 2001-03-02  John David Anglin  <dave@hiauly1.hia.nrc.ca>
4107         * print-rtl.c (print_rtx): Cast enums to int for comparison.
4108         * c-decl.c (grokdeclarator): Cast enums to int for comparison and
4109         shifts.
4110         * c-format.c (C_STD_VER): Cast to int for comparisons.
4111         (check_function_format): Cast various enums to int for &.
4112         (maybe_read_dollar_number): Likewise.
4113         (check_format_info): Likewise.
4114         (check_format_info_main): Likewise.
4115         * expr.c (emit_move_insn_1): Cast enums to unsigned int for comparison.
4116         (safe_from_p): Likewise.
4117         * varasm.c (const_hash): Cast enum to int for %.
4118         * emit-rtl.c (init_emit_once): Use int loop variable to work around
4119         pcc enum problems with < and ++ operators.
4120         * regclass.c (init_reg_sets_1): Cast enums for comparison.
4121         (choose_hard_reg_mode): Use unsigned int to iterate over CCmodes.
4122         (regclass_init): Change enum class to int to iterate over reg_classes.
4123         * genrecog.c (merge_trees): Cast enums for comparison.
4124         * rtl.h (GET_CODE): Cast to enum rtx_code.
4125         (PUT_CODE): Cast to ENUM_BITFIELD(rtx_code).
4126         (GET_MODE): Cast to enum machine_mode.
4127         (PUT_MODE): Cast to ENUM_BITFIELD(machine_mode).
4128         (GET_NOTE_INSN_NAME): Cast enum to int.
4129         * tree.h (TREE_CODE): Cast to enum tree_code.
4130         (TREE_SET_CODE): Cast VALUE to ENUM_BITFIELD(tree_code).
4131         * simplify-rtx.c (hash_rtx): Cast enums to unsigned unt.
4132         * timevar.c (timevar_print): Change loop variable id from enum to
4133         unsigned int.
4134         * fixinc/fixincl.c (VLEVEL): Cast enums in comparison to unsigned int.
4135         * config/i386/i386.md: Use PUT_MODE for mode assignment.
4136         * toplev.c (compile_file): Cast enum DFI to int.
4137         (decode_d_option): Likewise.
4139 Fri Mar  2 12:18:13 2001  Christopher Faylor <cgf@cygnus.com>
4141         * cppinit.c (append_include_chain): Mark "after" include file name list
4142         as a system directory.
4143         * cpp.texi: Document new behavior.
4145 2001-03-01  Zack Weinberg  <zackw@stanford.edu>
4147         * cpphash.h (struct cpp_reader): Add print_version field.
4148         * cppinit.c (cpp_handle_option): For -v, -version, and --version,
4149         just set print_version and other flags as appropriate.
4150         (cpp_post_options): Print version here if print_version is set.
4152         * toplev.c (exit_after_options): New flag.
4153         (independent_decode_option): Don't exit here; just set
4154         exit_after_options.
4155         (main): Exit after calling lang_hooks.post_options if
4156         exit_after_options is true.
4158         * cppinit.c (append_include_chain): Drop never-used case QUOTE.
4159         (merge_include_chains): Adjust comment to match code.
4161 2001-03-01  Zack Weinberg  <zackw@stanford.edu>
4163         * stringpool.c (set_identifier): New function.
4164         * tree.h: Prototype it.
4166         * c-parse.in: Kill D_YES. If compiled for objc, call
4167         save_and_forget_protocol_qualifiers from init_reswords.
4168         * objc/objc-act.c (remember_protocol_qualifiers,
4169         forget_protocol_qualifiers): Don't diddle C_IS_RESERVED_WORD.
4170         Swap out the non-keyword IDENTIFIER_NODEs for keyword ones, or
4171         vice versa.
4172         (save_and_forget_protocol_qualifiers): New function.
4173         * c-lex.h: Prototype save_and_forget_protocol_qualifiers.
4175 2001-03-01  John David Anglin  <dave@hiauly1.hia.nrc.ca>
4177         * cpplib.c (_cpp_init_stacks): Cast enum for comparison.
4178         * cppexp.c (lex): Cast enums for comparison.
4179         * cppinit.c (parse_option): Cast enum for comparison.
4180         * cpplex.c (cpp_spell_token): Cast enums to int for minus.
4181         (cpp_output_token): Likewise.
4182         (cpp_can_paste): Cast enums for comparsion and plus/minus.
4183         (cpp_avoid_paste): Cast enums for minus and comparison.
4185 2001-02-23  Jeffrey Oldham  <oldham@codesourcery.com>
4187         * Makefile.in (resource.o): Add params.h dependence.
4188         * params.def (MAX_DELAY_SLOT_LIVE_SEARCH): New parameter.
4189         * params.h (MAX_DELAY_SLOT_LIVE_SEARCH): Likewise.
4190         * resource.c: Add dependence on params.h.
4191         (current_live_regs): Fix explanatory comment.
4192         (find_basic_block): Add new parameter to permit limiting search
4193         for a BARRIER.
4194         (mark_target_live_regs): Add new argument to find_basic_block call.
4195         (incr_ticks_for_insn): Likewise.
4197 2001-02-21  Jeffrey Oldham  <oldham@codesourcery.com>
4199         * Makefile.in (reorg.o): Add params.h dependence.
4200         * params.def: Fix typographical error in comment.
4201         (MAX_DELAY_SLOT_INSN_SEARCH): New parameter.
4202         * params.h: Modify introductory comment.
4203         (MAX_DELAY_SLOT_INSN_SEARCH): New parameter.
4204         * reorg.c: Add dependence on params.h.
4205         (redundant_insn): Add parameterized throttle for search.
4206         (fill_simple_delay_slots): Add a comment explaining a variable.
4207         Move conditional out of loop, simplifying code.
4208         (fill_eager_delay_slots): Fix typographical error in comment.
4210 2001-02-14  Jeffrey Oldham  <oldham@codesourcery.com>
4212         * Makefile.in (OBJS): Add params.o.
4214 2001-02-14  Mark Mitchell  <mark@codesourcery.com>
4216         * Makefile.in (toplev.o): Depend on params.h.
4217         (intergate.o): Likewise.
4218         (params.o): New target.
4219         * flags.h (inline_max_insns): Remove.
4220         * integrate.c: Include params.h.
4221         Use MAX_INLINE_INSNS instead of inline_max_insns.
4222         * params.c: New file.
4223         * params.h: Likewise.
4224         * params.def: Likewise.
4225         * toplev.c: Include params.h.
4226         (lang_independent_params): New variable.
4227         (decode_f_option): Use the param machinery instead of setting
4228         max_inline_insns.
4229         (independent_decode_option): Handle "--param name=value".
4230         (main): Register language-independent parameters.
4232 Thu Mar  1 09:44:15 2001  Jeffrey A Law  (law@cygnus.com)
4234         * config/pa/som.h  (ASM_IDENTIFY_GCC): Define.
4235         (ASM_IDENTIFY_GCC_AFTER_SOURCE): Likewise.
4237         * pa.c (emit_move_sequence): Verify operand0 is a hard register
4238         before determining its register class.
4240 2001-03-01  Bernd Schmidt  <bernds@redhat.com>
4242         * config/ia64/ia64.c (ia64_hard_regno_rename_ok): Disallow renaming
4243         from reg 4 if current_function_calls_setjmp.
4244         (ia64_sched_reorder): Move code that rotates bundles up a bit.
4246         * reload1.c (eliminate_regs_in_insn): Restrict the special case
4247         code not to try to optimize adds with anything but a REG destination.
4249         * sched-int.h (struct haifa_insn_data): Add new member priority_known.
4250         (INSN_PRIORITY_KNOWN): New accessor macro.
4251         * haifa-sched.c (priority): Use it instead of testing priority against
4252         zero.
4254 2001-02-28  Neil Booth  <neil@daikokuya.demon.co.uk>
4256         * cppinit.c (builtin_array): Update.
4257         (init_builtins): Flag builtins to warn if redefined or
4258         undefined.  Define __GXX_WEAK as a normal macro.
4259         * cpplib.c (do_undef): Warn if flagged NODE_WARN.
4260         * cpplib.h (NODE_WARN): New flag.
4261         * cppmacro.c (builtin_macro): Remove handling of __GXX_WEAK__.
4262         Handle __STDC__ as a builtin only on Solaris.
4263         (warn_of_redefinition): Renamed from check_macro_definition.
4264         Reverse sense of test.  Always warn if NODE_WARN.
4265         (_cpp_create_definition): Use warn_of_redefinition.  Flag
4266         any macro beginning with "__STDC_" to require a mandatory
4267         warning if redefined or undefined.
4268         * cppinit.c (set_lang):  Move builtin handling to...
4269         (init_builtins): ...here.
4270         (_cpp_create_reader): Move call to set_lang.
4271         * cppfiles.c (stack_include_file): Generate dependencies
4272         here, and manage include_count here too.
4273         (PRINT_THIS_DEP): Delete.
4274         (_cpp_execute_include): Do not generate dependencies here,
4275         apart from the case of a missing header.  Do not manage
4276         include_count.
4277         (_cpp_read_file): Leave dependency generation to
4278         stack_include_file.
4279         * cppexp.c (parse_number): Similarly.
4280         * cpplib.h (NODE_SYSHDR, cpp_sys_objmacro_p): New.
4281         * cppmacro.c (struct cpp_macro): New member node.
4282         (parse_args): Only warn about missing rest args if not
4283         a system macro.
4284         (funlike_invocation_p): Similarly for uninvoked funlike macros.
4285         (cpp_sys_objmacro_p): New.
4286         (_cpp_create_definition): Store the node with the macro defn.
4287         Remember if the macro is defined in a system header.
4289 2001-02-28  Nathan Sidwell  <nathan@codesourcery.com>
4291         * extend.texi (Deprecated Features): Deprecate float and
4292         complex template constant parms.
4294 Tue Feb 27 16:45:00 2001  Jeffrey A Law  (law@cygnus.com)
4296         * pa.c (override_options): Promote -fpic to -fPIC.
4297         (legitimize_pic_address): Simplify due to removal of
4298         small PIC as a code generation option.
4299         (secondary_reload_class): Similarly.
4300         * pa.h (GO_IF_LEGITIMATE_ADDRESS): Similarly.
4301         (PRINT_OPERAND_ADDRESS): Similarly.
4302         * pa.md (various patterns): Similarly.
4303         (small pic lo_sum pattern): Remove.
4305 2001-02-27  Andreas Jaeger  <aj@suse.de>
4307         * configure.in: Document that --disable-checking is default.
4308         * configure: Regenerated.
4310 2001-02-27  Mark Mitchell  <mark@codesourcery.com>
4312         * configure.in: Make --disable-checking the default.
4313         * configure: Regenerated.
4315 2001-02-26  Mark Mitchell  <mark@codesourcery.com>
4317         Revert the two previous changes.
4319 Sun Feb 25 08:34:23 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
4321         * config/i386/i386-protos.h (ix86_set_move_mem_attrs): Move decl.
4322         * config/i386/i386.c (ix86_set_move_mem_attrs_1): Fix typo.
4323         * config/i386/i386.md (movstrsi): Handle FAIL case.
4325 Sat Feb 24 20:25:29 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
4327         * config/i386/i386.c (ix86_set_move_mem_attrs): New function.
4328         (ix86_set_move_mem_attrs_1): Likewise.
4329         * config/i386/i386-protos.h (ix86_set_move_mem_attrs): New declaration.
4330         * config/i386/i386.md (movstrsi): Call it.
4332 2001-02-24  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
4334         * loop.c (check_dbra_loop): A biv has uses besides counting if it is
4335         used to set another biv.
4337 Sat Feb 24 06:45:21 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
4339         * errors.c (internal_error, trim_filename): New functions.
4340         (fancy_abort): Call internal_error.
4341         * errors.h (internal_error, trim_filename): New declarations.
4343 2001-02-24  Alexandre Oliva  <aoliva@redhat.com>
4345         * config/mn10300/mn10300.h (DBX_REGISTER_NUMBER): Reverted
4346         2000-08-26's patch.
4347         (EXTRA_CONSTRAINT): Formatting changes.
4349 2001-02-23  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
4351         * rtl.c (rtl_check_failed_code2): Fix typo in last change.
4353 2001-02-23  Per Bothner  <per@bothner.com>
4355         * gcc.c (record_temp_file, pfatal_with_name, error):  Make non-static,
4356         so they can be called from java/jvspec.c.
4357         * gcc.h (record_temp_file, pfatal_with_name, error):  Declare.
4359 Fri Feb 23 15:28:39 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
4361         * diagnostic.c (trim_filename): No longer static.
4362         * toplev.h (trim_filename): Declare.
4363         * rtl.c (rtl_check_failed_bounds): Call internal_error.
4364         (rtl_check_failed_type1, rtl_check_failed_type2): Likewise.
4365         (rtl_check_failed_code1, rtl_check_failed_code2): Likewise.
4366         (rtvec_check_failed_bounds): Likewise.
4367         * tree.c (tree_check_failed, tree_class_check_failed): Likewise.
4369         * convert.c (convert_to_integer): Don't do unsigned unless result or
4370         both inputs are unsigned.
4372         * fold-const.c (fold_convert): Don't call size_int_type_wide if
4373         input overflows.
4375         * c-decl.c (set_block): Set NAMES and BLOCKS from BLOCK.
4377         * varasm.c (output_constant): Recompute CODE after lang-specific fn.
4379 2001-02-23  Jakub Jelinek  <jakub@redhat.com>
4381         * fold-const.c (extract_muldiv) [case PLUS_EXPR]: If not MULT_EXPR,
4382         check if either operand is divisible by C.
4383         (multiple_of_p): Handle LSHIFT_EXPR with small constant shift.
4384         If type is signed, consider negative numbers as well.
4386 2001-02-22  Richard Henderson  <rth@redhat.com>
4388         * config/ia64/crtbegin.asm (.fini): Use pc-relative relocs to
4389         reach .text instead of gp-relative relocs.
4390         * config/ia64/crtend.asm (.init): Likewise.
4392 2001-02-22  Andreas Jaeger  <aj@suse.de>
4394         * extend.texi (C++ Attributes): Fix typo.
4396 2001-02-21  David Mosberger  <davidm@hpl.hp.com>
4398         * config/ia64/ia64.c (ia64_epilogue_uses): For syscall_linkage
4399         functions, drop current_function_args_info.words test.
4400         (ia64_compute_frame_size): Mark syscall_linkage functions as
4401         using eight input registers.
4403 2001-02-21  Loren J. Rittle  <ljrittle@acm.org>
4404         Bruce Korb  <bkorb@gnu.org>
4406         * fixinc/inclhack.def (freebsd_gcc3_breakage): new fix
4407         * fixinc/README: Document how to convert sed substitutions
4408         to format style c_fix-es.
4409         * fixinc/fixincl.x: regen
4411 2001-02-21  Bruce Korb  <bkorb@gnu.org>
4412             Rodney Brown  <RodneyBrown@mynd.com>
4414         * fixinc/mkfixinc.sh: Use C fixincludes for UnixWare 7.
4415         * fixinc/inclhack.def: Add fixinc.svr4 patterns with matching
4416         machine restrictions
4417         * fixinc/fixincl.x: regen
4419 2001-02-21  Neil Booth  <neil@daikokuya.demon.co.uk>
4421         * cppfiles.c: Update comments.
4422         (_cpp_read_file): Don't check for NULL filenames any more.
4423         * cppinit.c (cpp_start_read): Don't do canonicalization of
4424         in_fname and out_fname.  Use the passed file name exclusively.
4425         (_cpp_handle_options): Don't treat "-" as a command line option,
4426         but as a normal filename.
4427         (_cpp_post_options): Canonicalize in_fname and out_fname.
4428         * cppmain.c (printer_init): Don't check out_fname for NULL.
4429         * c-lex.c (orig_filename): Rename cpp_filename for clarity.
4430         (init_c_lex): Update, and use "" to represent stdin to CPP.
4431         (yyparse): Update.
4433 2001-02-21  Kazu Hirata  <kazu@hxi.com>
4435         * config/h8300/h8300.md (iorsi3): Do not output an extra newline
4436         character.
4437         (xorsi3): Likewise.
4439 Wed Feb 21 19:16:26 CET 2001  Jan Hubicka  <jh@suse.cz>
4441         * i386.md (mmx_lshrdi3, mmx_ashldi3): Guard by unspec.
4443 2001-02-21  Jason Merrill  <jason@redhat.com>
4445         * tree.h (DECL_UNINLINABLE): Move from C++ frontend.
4446         (struct tree_decl): Add uninlinable bitfield.
4447         * c-decl.c (duplicate_decls): Set it.
4448         * integrate.c (function_cannot_inline_p): Check it.
4450         * dwarf2out.c (add_name_and_src_coords_attributes): Don't add
4451         DW_AT_MIPS_linkage_name to abstract methods.
4452         (dwarf2out_abstract_function): Emit class context before calling
4453         set_decl_abstract_flags.  Don't clear DECL_ABSTRACT.
4454         (gen_subprogram_die): Remove obsolete code.
4455         (gen_member_die): Don't include clones in the member list.
4456         (gen_decl_die): Emit abstract info for clone origin.
4457         * dwarfout.c (output_type): Don't include clones in the member list.
4458         * dbxout.c (dbxout_type_methods): Ignore abstract methods.
4459         * toplev.c (note_deferral_of_defined_inline_function): Don't clear
4460         DECL_ABSTRACT on a function that already has it set.
4462         * dwarf2out.c (gen_formal_types_die): Also accept a FUNCTION_DECL.
4463         (get_subprogram_die): Pass it in.
4465 2001-02-21  Richard Earnshaw  <rearnsha@arm.com>
4467         * flow.c (mark_set_1): Make not_dead unsigned long.  For
4468         non-pseudos, use it as a bitmask of the hard regs that
4469         don't die.
4471 2001-02-20  Will Cohen  <wcohen@redhat.com>
4473         * config/pa/quadlib.c (_U_Qfcnvfxt_quad_to_usgl): New function.
4474         * config/pa/long_double.h (FIXUNS_TRUNCTFSI2_LIBCALL): Added.
4475         (INIT_TARGET_OPTABS): Use FIXUNS_TRUNCTFSI2_LIBCALL for
4476         fixunstfsi_libfunc.
4478 2001-02-20  Mark Mitchell  <mark@codesourcery.com>
4480         * stmt.c (expand_return): If an attempt is made to return the
4481         error_mar_node, treat the return like a return without a value.
4483 Mon Feb 19 20:24:50 2001  Jeffrey A Law  (law@cygnus.com)
4485         * pa.c (move_operand): Accept code to load the address of a
4486         symbol out of the DLT as a valid move operand.
4487         (print_operand, case 'A'): New to handle generating a DLT
4488         reference for a LO_SUM expression.
4489         * pa.h (EXTRA_CONSTRAINT): Handle 'A' for DLT LO_SUM references.
4490         * pa.md (movsi, movdi patterns): Allow DLT LO_SUM references.
4492 2001-02-19  Joseph S. Myers  <jsm28@cam.ac.uk>
4494         * README, cpp.texi, gcc.texi: Update version number to 3.0.
4495         * cpp.1, gcov.1, gcc.1: Regenerate.
4497 2001-02-19  Richard Henderson  <rth@redhat.com>
4499         * ifcvt.c (dead_or_predicable): Don't move code if eh regions
4500         would be disrupted.
4502 Mon Feb 19 10:11:53 2001  Jeffrey A Law  (law@cygnus.com)
4504         * config.gcc (hppa*64*-*-hpux11*): Add MASK_GAS to
4505         target_cpu_default.  Remove dead assignment to
4506         target_cpu_default.
4508 Mon Feb 19 16:46:56 CET 2001  Jan Hubicka  <jh@suse.cz>
4510         * regclass.c (contains_reg_of_mode): Make global.
4511         (init_reg_sets): Remove contains_reg_of_mode; take into account
4512         CLASS_MAX_NREGS when looking for the proper mode.
4513         (dump_regclass): Dump only classes considered for the pseudo.
4514         (regclass): Use contains_reg_of_mode.
4516 Mon Feb 19 16:40:45 CET 2001  Jan Hubicka  <jh@suse.cz>
4518         * gcc.c (do_spec_1): 'n' for printing notices.
4519         * i386.h (CC1_CPU_SPEC): Notice deprecated options as deprecated.
4521 Mon Feb 19 16:20:04 CET 2001  Jan Hubicka  <jh@suse.cz>
4523         * reg-stack.c (next_flags_user): Use current_block->end
4524         (swap_rtx_condition): Look for next user if flags don't die;
4525         give up on CALL_INSNs; use current_block->end.
4527 2001-02-17  Mark Mitchell  <mark@codesourcery.com>
4529         * invoke.texi (-fsquangle): Remove documentation.
4530         (-fname-mangling-version): Likewise.
4532 2001-02-18  Kazu Hirata  <kazu@hxi.com>
4534         * config/h8300/h8300.md: Update copyright.
4535         (andsi3): Do not output an extra newline character.
4537 Sun Feb 18 17:03:06 2001  Jeffrey A Law  (law@cygnus.com)
4539         * Makefile.in (rtlanal.o): Depend on hard-reg-set.h.
4540         ($HOST_PREFIX_1)rtlanal.o: Remove rules for building
4541         (mostlyclean): Corresponding changes.
4542         * rtlanal.c (hard-reg-set.h): Include.
4543         (rtx_unstable_p): Do not treat the argument pointer specially
4544         if it is not a fixed register.
4545         (rtx_varies_p, rtx_addr_can_trap_p): Similarly.
4547 Sun Feb 18 15:45:17 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
4549         * config/sparc/sparc.c (eligible_for_epilogue_delay): Don't put
4550         assignments from FP constants sonce 'Y' output code can't handle it.
4551         (eligible_for_sibcall_delay): Likewise.
4553         * invoke.texi (-I): Add note avoiding use for system header files.
4555         * final.c (output_operand_lossage): Use internal_error, not error.
4557 2001-02-18  Shane Nay  <shane@agendacomputing.com>
4559         * mips.c (mips_expand_prologue) Add REG_MAYBE_DEAD to
4560         structure shift insns.
4562 2001-02-18  Richard Henderson  <rth@redhat.com>
4564         * config/alpha/alpha.md (movsi_fix): Fix typo in pattern name.
4566         * reload1.c (reload_cse_simplify_set): Fix typo.
4568 Sun Feb 18 09:30:09 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
4570         * diagnostic.c (_fatal_insn): Decrement errorcount.
4572 2001-02-18  Alan Modra <alan@linuxcare.com.au>
4574         * pa.c (hppa_expand_prologue): Simplify code storing return
4575         pointer.  For large (>=8k) frames with a post_store, adjust stack
4576         pointer by 8k-64 first rather than by 64.  When testing with
4577         VAL_14_BITS_P, always use the actual value rather than the value
4578         negated.  Add blockage to prevent scheduling of spills before
4579         stack frame has been created.
4580         (hppa_expand_epilogue): Simplify code loading return pointer.
4581         Allow a slightly larger range for merge_sp_adjust_with_load case.
4582         When testing with VAL_14_BITS_P, always use the actual value.
4584         * pa.c (pa_adjust_insn_length): Check that block move
4585         pattern is a set before looking at operands.
4587 2001-02-17  Mark Mitchell  <mark@codesourcery.com>
4589         * fold-const.c (fold_binary_op_with_conditional_arg): New
4590         function, split out from ...
4591         (fold): ... here.
4592         * tree.def (COND_EXPR): Document the use of VOID_TYPE for
4593         conditional arms that throw exceptions.
4595         * print-tree.c (print_node): Do not use BLOCK_CHAIN when we're not
4596         looking at a BLOCK.
4598 2001-02-18  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
4600         * aclocal.m4 (gcc_AC_CHECK_DECL): Before attempting the test,
4601         define HAVE_DECL_* to 1 to mask potential backup declarations.
4602         * configure: Regenerated.
4604 2001-02-17  Richard Henderson  <rth@redhat.com>
4606         * reload1.c (reload_cse_simplify_set): Respect LOAD_EXTEND_OP
4607         when replacing a memory load with a register.
4609 2001-02-17  Joseph S. Myers  <jsm28@cam.ac.uk>
4611         * gcc.texi, invoke.texi: Link to GCC 3.0 version of
4612         c99status.html.
4614 2001-02-16  Richard Henderson  <rth@redhat.com>
4615             DJ Delorie  <dj@redhat.com>
4617         * jump.c (jump_optimize_1): When we delete a conditional jump
4618         preceeding a non-conditional jump to effectively the same place,
4619         make sure that the combined jump skips any clobber insns between
4620         the two labels.
4622 2001-02-16  Jason Merrill  <jason@redhat.com>
4624         * dwarf2out.c (add_bound_info): Don't crash if SAVE_EXPR_RTL is
4625         NULL.
4626         (gen_subprogram_die): Don't abort on seeing a second definition if
4627         the previous one was abstract.  Don't replace an abstract instance
4628         in the lookup table.
4630         * dwarf2out.c (dwarf2out_abstract_function): Rename from
4631         gen_abstract_function.
4632         * dwarf2out.h: Declare it.
4633         * toplev.c (note_outlining_of_inline_function): New fn.
4634         * toplev.h: Declare it.
4635         * integrate.c (output_inline_function): Call it.
4636         * c-decl.c (duplicate_decls): Call it when redefining an extern
4637         inline.  Don't inline the new defn.
4639         * tree.h (BLOCK_CHAIN): Use BLOCK_CHECK.
4641 2001-02-16  Jakub Jelinek  <jakub@redhat.com>
4643         * objc/objc-act.c (start_class): Register implemented_classes with
4644         GC.
4646 2001-02-16  Neil Booth  <neil@daikokuya.demon.co.uk>
4648         * cppfiles.c (_cpp_make_system_header): Generate a file
4649         change callback.
4651 Thu Feb 15 21:30:26 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
4653         * flow.c (tidy_fallthru_edge): Never end block on line number NOTE.
4655         * function.c (assign_parms): Set RTX_UNCHANGING_P in pseudo when we
4656         do in memory.
4658 2001-02-15  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
4660         * version.c: Bump to "3.0 20010215 (prerelease)".
4662 Thu Feb 15 15:15:29 2001  Alexandre Oliva  <aoliva@redhat.com>
4664         * config/sh/sh.h (BOOL_TYPE_SIZE): Don't define.
4666 Thu Feb 15 00:20:31 CET 2001  Jan Hubicka  <jh@suse.cz>
4668         * i386.h (RETURN_IN_MEMORY): Fix formating; reject TFmodes
4670         * invoke.texi (-mreg-alloc): Deprecate.
4672 2001-02-14  Richard Henderson  <rth@redhat.com>
4674         * toplev.c (f_options): Clarify -fschedule-insns2 documentation.
4676 Wed Feb 14 23:35:57 CET 2001  Jan Hubicka  <jh@suse.cz>
4678         * regclass.c (init_reg_sets_1): Reinstall the optimization
4679         together with Matt Kraai's fix.
4681 2001-02-14  Jeffrey Oldham  <oldham@codesourcery.com>
4683         * gcc.c (do_spec_1): Fix off-by-one error for '%M' case.
4685 2001-02-14  Richard Henderson  <rth@redhat.com>
4687         * regclass.c (init_reg_sets_1): Revert last change.
4689 2001-02-14  Nathan Sidwell  <nathan@codesourcery.com>
4691         * extend.texi (Deprecated): Deprecate new initializer lists.
4693 2001-02-14  Nathan Sidwell  <nathan@codesourcery.com>
4695         * mkdeps.c (deps_add_default_target): Robustify. Add
4696         basename component only.
4697         * cpp.texi (-M): Describe how default target is generated.
4698         * invoke.texi (-M): Likewise.
4700 2001-02-13  Zack Weinberg  <zack@wolery.stanford.edu>
4702         * ggc-common.c (ggc_mark_rtx_children): No need to mark 'S' or
4703         's' slots in RTXen.
4704         * ggc-page.c, ggc-simple.c (ggc_mark_if_gcable): Delete function.
4705         * ggc.h (ggc_mark_if_gcable): Delete prototype.
4707 Wed Feb 14 01:03:14 CET 2001  Jan Hubicka  <jh@suse.cz>
4709         * regclass.c (init_reg_sets_1): Optimize calculation of move_cost
4710         arrays.
4712 Tue Feb 13 07:52:04 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
4714         * config/sparc/sparc.c (function_value): Treat all non-record
4715         aggregate types like used to treat UNION_TYPE.
4717 2001-02-13  Alexandre Oliva  <aoliva@redhat.com>
4719         * combine.c (UWIDE_SHIFT_LEFT_BY_BITS_PER_WORD): New macro.
4720         (try_combine): Use it.
4722 2001-02-13  Richard Henderson  <rth@redhat.com>
4724         * sparc.md (cmp_cc_arith_op_set): Don't use match_dup on the
4725         entire operator; replicate that and match_dup the operands.
4726         (cmp_ccx_arith_op_set): Likewise.
4727         (cmp_cc_arith_op_not_set): Likewise.
4728         (cmp_ccx_arith_op_not_set): Likewise.
4730 2001-02-12  Jakub Jelinek  <jakub@redhat.com>
4732         * c-common.c (constant_fits_type_p): New function.
4733         (convert_and_check): Use it.
4735 2001-02-11  Mark Mitchell  <mark@codesourcery.com>
4737         * Makefile.in (GXX_ABI_FLAG): Don't define.
4738         * configure.in (--enable-new-gxx-abi): Remove option.
4739         * config.in: Regenerated.
4740         * configure: Likewise.
4742 2001-02-12  Alexandre Oliva  <aoliva@redhat.com>
4744         * lcm.c (compute_earliest): Let EXIT_BLOCK be handled as a regular
4745         basic block.
4746         (optimize_mode_switching) [NORMAL_MODE]: Set up EXIT_BLOCK as a
4747         regular basic block, and arrange for all edges into it to switch
4748         to normal mode.
4750 2001-02-11  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
4752         * Makefile.in (distclean): Do not remove .gdbinit.
4754 2001-02-11  Mark Mitchell  <mark@codesourcery.com>
4756         * Makefile.in (gcc.o): Fix typos.
4757         (protize.o): Likewise.
4758         (unprotoize.o): Likewise.
4760 2001-02-11  Richard Henderson  <rth@redhat.com>
4762         * tree.c (build1): Check for null operand in last change.
4764 2001-02-11  Richard Henderson  <rth@redhat.com>
4766         * fold-const.c (split_tree): Don't assume a constant isn't splittable.
4767         (fold): Don't assume a constant isn't foldable.
4768         * tree.c (build): Set TREE_CONSTANT for an expression with no
4769         side-effects and constant operands.
4770         (build1): Likewise.
4772 2001-02-10  Richard Henderson  <rth@redhat.com>
4774         * jump.c (squeeze_notes): Revert 2000-05-12 change.
4776 2001-02-10  Anthony Green  <green@redhat.com>
4778         * cpp.texi (Standard Predefined): Add documentation for
4779         __OPTIMIZE_SIZE__.
4781         * c-common.c (combine_strings): Improve warning message.
4783 2001-02-10  Geoffrey Keating  <geoffk@redhat.com>
4785         * config/rs6000/sysv4.h (LINK_TARGET_SPEC): Use two dashes for
4786         --oformat.
4787         * config/rs6000/sysv4le.h (LINK_TARGET_SPEC): Likewise.
4789 Fri Feb  9 15:05:27 2001  Christopher Faylor <cgf@cygnus.com>
4791         * config/i386/t-cygwin (T_CPPFLAGS): Use correct location for
4792         CYGWIN_CROSS_DIR.
4794 2001-02-09  Alexandre Oliva  <aoliva@redhat.com>
4796         * config/sh/sh.md (sibcalli, sibcalli_pcrel, sibcalli): Set
4797         fp_mode attribute.
4799 2001-02-09  Nick Clifton  <nickc@redhat.com>
4801         * config/arm/arm.md: Change output contraint on post inc
4802         load/store multiple patterns to be a read/write contraint.
4804 2001-02-09  Neil Booth  <neil@daikokuya.demon.co.uk>
4806         * gcc.c (cpp_options): Delete .d files on error.  Don't delete
4807         .o files when using the -M options.
4809 2001-02-08  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
4810             David Edelsohn  <edelsohn@gnu.org>
4812         * config/rs6000/rs6000.c (output_toc): Allow 32-bit targets to
4813         handle DImode constants.  Use one TOC entry for SImode and smaller
4814         constants, aligned properly.
4816 2001-02-08  Jason Merrill  <jason@redhat.com>
4818         * config/arm/arm.c (arm_expand_prologue): Do tell the dwarf2 backend
4819         about the SP adjustment for saving the static chain pointer.
4820         * dwarf2out.c (dwarf2out_frame_debug_expr): Use the specified
4821         offset when setting a temporary CFA register.
4823 2001-02-08  Chandrakala Chavva  <cchavva@redhat.com>
4825         * config.gcc : New targets, i386-*-chorusos*, sparc-*-chorusos*,
4826         powerpc-*-chorusos* .
4827         * config/rs6000/chorus.h : New file.
4828         * config/i386/chorus.h : New file.
4829         * config/sparc/chorus.h : New file.
4830         * config/sparc/t-chorus-elf : New file.
4832 2001-02-08  David Edelsohn  <edelsohn@gnu.org>
4834         * config/rs6000/rs6000.h (ASM_OUTPUT_SYMBOL_REF): Move from here ...
4835         * config/rs6000/aix.h (ASM_OUTPUT_SYMBOL_REF): ... to here.
4836         * config/rs6000/aix51.h (CPLUSCPLUS_CPP_SPEC): Define it.
4837         (__WCHAR_TYPE__): Correct macro name.
4839 2001-02-08  Richard Henderson  <rth@redhat.com>
4841         * config/i386/i386.c (ix86_frame_pointer_required): New.
4842         (ix86_setup_frame_addresses): New.
4843         (struct machine_funciton): Add accesses_prev_frame.
4844         * config/i386/i386.h (FRAME_POINTER_REQUIRED): Call
4845         ix86_frame_pointer_required.
4846         (SUBTARGET_FRAME_POINTER_REQUIRED): New.
4847         (SETUP_FRAME_ADDRESSES): New.
4848         * config/i386/i386-protos.h: Update.
4849         * config/i386/sco5.h (SUBTARGET_FRAME_POINTER_REQUIRED): Rename
4850         from FRAME_POINTER_REQUIRED.
4851         * config/i386/svr3gas.h: Likewise.
4852         * config/i386/sysv3.h: Likewise.
4853         * config/i386/v3gas.h: Likewise.
4855 2001-02-08  Richard Henderson  <rth@redhat.com>
4857         * config/sparc/sparc.c (function_arg_record_value_3): Fix
4858         calculation of the number of integer registers required.
4859         (function_arg_record_value): Likewise.
4861 2001-02-08  Jason Merrill  <jason@redhat.com>
4863         * diagnostic.c (internal_error): Say "confused" after 1 error, not
4864         two.  Print file and line with "confused" message.
4866         * dwarf2out.c (dwarf2out_line): Include filename in -dA output.
4868 Thu Feb  8 11:21:28 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
4870         * rtlanal.c (remove_node_from_expr_list): Correctly update PREV.
4872 2001-02-08  Bernd Schmidt  <bernds@redhat.com>
4874         * final.c (cleanup_subreg_operands): The address of a MEM can
4875         contain SUBREGs.
4877         * config/ia64/ia64.c (ia64_variable_issue): Call group_barrier_needed_p
4878         for asms, too.
4880 2001-02-08  Joseph S. Myers  <jsm28@cam.ac.uk>
4882         * gcc.texi (Incompatibilities): Update documentation of
4883         preprocessing numbers.
4885 2001-02-07  Jakub Jelinek  <jakub@redhat.com>
4887         * c-decl.c (finish_enum): Revert part of 2000-01-05 change.
4889 2001-02-07  Mark Mitchell  <mark@codesourcery.com>
4891         * config/rs6000/aix43.h (CPLUSCPLUS_CPP_SPEC): Define it.
4893         * defaults.h (CPLUSPLUS_CPP_SPEC): New macro.
4894         * gcc.c (struct compiler): Add cpp_spec field.
4895         (input_file_compiler): New variable.
4896         (do_spec_1): Allow a particular compiler to handle `%C'
4897         specially.
4898         (main): Store the current compiler in input_file_compiler.
4899         * tm.texi (CPLUSPLUS_CPP_SPEC): Document.
4901 2001-02-07  Zack Weinberg  <zack@wolery.stanford.edu>
4903         * cpphash.h (struct spec_nodes): Add n_true and n_false.
4904         * cppinit.c (cpp_create_reader): Initialize them.
4905         (append_include_chain): cxx_aware arg might be unused.
4906         * cppexp.c (lex): In C++ mode, recognize 'true' and 'false'
4907         keywords and give them their phase 7 meaning.  Pedwarn about
4908         this unless '__bool_true_false_are_defined' is defined.
4910 2001-02-07  Alexandre Oliva  <aoliva@redhat.com>
4912         * lcm.c (optimize_mode_switching): Emit mode_set before the
4913         JUMP_INSN of an abnormal edge.
4915 2001-02-07  Bernd Schmidt  <bernds@redhat.com>
4917         * builtins.c (expand_builtin_setjmp_receiver): Emit an ASM_INPUT as
4918         a scheduling barrier at the end.
4920         * tm.texi (MD_INIT_BUILTINS, MD_EXPAND_BUILTIN): Document.
4922 2001-02-07  Alexandre Oliva  <aoliva@redhat.com>
4924         * config/sh/sh.md (reload_outsf): Removed.
4925         (movsf_ie): Introduce constraints for FPUL loads and stores.
4926         (reload_insf): Broaden the output constraint.
4928         * config/elfos.h (INT_ASM_OP): Don't define it if it's already
4929         defined.
4930         * config/sh/sh.h (INT_ASM_OP, ASM_OUTPUT_CONSTRUCTOR,
4931         ASM_OUTPUT_DESTRUCTOR): Copy definitions from config/elfos.h.
4933 2001-02-06  Chandrakala Chavva  <cchavva@redhat.com>
4935         * final.c: Revert my previous changes.
4936         * output.h: Make profile_label_no extern.
4937         * config/rs6000/rs6000.c (output_profile_hook): Use standard functions
4938         for generating label.
4940 2001-02-06  Laurynas Biveinis  <lauras@softhome.net>
4942         * config/i386/djgpp.h: Add comments about standard paths.
4943         (MD_EXEC_PREFIX): Undefine before defining.
4944         (MD_STARTFILE_PREFIX): New.
4946 2001-01-30  Bruce Korb  <bkorb@gnu.org>
4948         fixinc/fixincl.c(process):  Emit error message only if appropriate :)
4949         (load_file): do not rely on load_file_data() to close file pointer
4950         fixinc/fixlib.c(load_file_data): do not close passed in file pointer
4951         fixinc/inclhack.def(irix_limits_const): add test_text
4953 2001-02-06  Neil Booth  <neil@daikokuya.demon.co.uk>
4955         * cppexp.c (parse_defined): Improve diagnostics for invalid
4956         syntax.
4958 2001-02-06  Neil Booth  <neil@daikokuya.demon.co.uk>
4960         * cppmacro.c (cpp_get_token): Avoid pasting after a builtin.
4962 2001-02-06  Mark Mitchell  <mark@codesourcery.com>
4964         * config/rs6000/rs6000.h (ASM_OUTPUT_SYMBOL_REF): Define.
4965         * config/rs6000/rs6000-protos.h (rs6000_output_symbol_ref): Declare.
4966         * config/rs6000/rs6000.c (VTABLE_NAME_P): New macro.
4967         (rs6000_output_symbol_ref): New function.
4968         (output_toc): Use VTABLE_NAME_P.
4970 Tue Feb  6 07:54:51 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
4972         * print-tree.c (print_node, case PARM_DECL):
4973         Print DECL_ARG_TYPE and DECL_ARG_TYPE_AS_WRITTEN.
4975         * stor-layout.c (reference_types_internal): New variable.
4976         (internal_reference_types): New function.
4977         (layout_type, case REFERENCE_TYPE): Make Pmode if internal.
4978         * tree.h (internal_reference_types): New declaration.
4980         * cse.c (find_best_addr): Fix typo in computing cost.
4982 Mon Feb  5 21:56:16 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
4984         * combine.c (nonzero_bits, case PLUS): If pointers extend unsigned
4985         and this is the sum of a pointer and a constant, we know the result
4986         did not overflow.
4987         (num_sign_bit_copies, case PLUS): Likewise.
4988         * explow.c (convert_memory_address): Remove opposite SUBREG.
4989         * function.c (instantiate_new_reg): New function (from common code).
4990         (instantiate_virtual_regs_1): Call it.
4991         For PLUS, handle if (plus (subreg (virt-reg) (const_int))
4992         if pointers sign- or zero-extend.
4993         * simplify-rtx.c (simplify_unary_operation, case ZERO_EXTEND):
4994         If pointers extend unsigned, use inside of SUBREG.
4995         (simplify_unary_operation, case SIGN_EXTEND): Likewise, if sign extend.
4997 2001-02-05  Benjamin Kosnik  <bkoz@redhat.com>
4999         * Makefile.in (-DGPLUSPLUS_TOOL_INCLUDE_DIR): Change to target
5000         subdir of gcc_gxx_include_dir.
5001         (gcc_gxx_target_include_dir): Remove.
5003 2001-02-05  Jeffrey Oldham  <oldham@codesourcery.com>
5005         * dwarf2out.c: Revise DWARF2 Abbreviation Glossary comments.
5006         (dwarf2out_frame_debug_expr): Revise introductory comments to add
5007         a high-level description.
5009 2001-02-05  Chandrakala Chavva  <cchavva@redhat.com>
5011         * final.c: Move the declaration of profile_label_no to ...
5012         * output.h: ... here.
5013         * function.c (expand_function_start): Call PROFILE_HOOK.
5014         * config/rs6000/aix.h: Define PROFILE_HOOK.
5015         * config/rs6000/rs6000-protos.h: output_profile_hook new.
5016         * config/rs6000/rs6000.c (output_profile_hook): Define.
5017         (output_prolog): Do nothing for ABI_AIX as it is taken care by
5018         output_profile_hook.
5019         tm.texi : Explain new macro PROFILE_HOOK.
5021 2001-02-06  Hans-Peter Nilsson  <hp@axis.com>
5023         * extend.texi (Extended Asm): Do not say that semicolon is always
5024         a valid line-breaking character for GNU assemblers.  Use
5025         newline-tab as the most commonly supported syntax.  Use
5026         newline-tab rather than semicolon in multi-insn examples.
5028 2001-02-05  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
5030         * Makefile.in (gcc_gxx_target_include_dir): Use $(target_alias).
5032 2001-02-05  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
5033             David Edelsohn  <edelsohn@gnu.org>
5035         * config/rs6000/rs6000.c (rs6000_return_addr): Use PIC
5036         code for AIX, even without flag_pic.
5038 2001-02-05  Jakub Jelinek  <jakub@redhat.com>
5040         * c-typeck.c (common_type): push and pop binding level around
5041         calling common_type on function parameters.
5043 Mon Feb  5 14:30:37 2001  Christopher Faylor <cgf@cygnus.com>
5045         * config/i386/cygwin.h (CPP_SPEC): Add missing space after -idirafter.
5047 Mon Feb  5 11:23:16 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
5049         * config/mips/mips.c (override_options): Fix typo in last change.
5050         (mips_make_temp_file): Call fatal_io_error, not pfatal_with_name.
5051         (mips_asm_file_end): Likewise; also pass more args to fatal_io_error.
5053 2001-02-05  Nathan Sidwell  <nathan@codesourcery.com>
5055         * invoke.texi (-fdump-class-layout): Document.
5056         (-fdump-translation-unit): Use `=' as filename separator.
5058 2001-02-05  Mark Mitchell  <mark@codesourcery.com>
5060         * Makefile.in (s-mlib): Don't build multilibs if
5061         --disable-multilib.
5062         (DRIVER_DEFINES): Adjust accordingly.
5063         (gcc.o): Likewise.
5064         (protoize.o): Likewise.
5065         (unprotoize.o): Likewise.
5066         * configure.in: Recognize --enable-multilib.
5068 2001-02-04  Mark Mitchell  <mark@codesourcery.com>
5070         * Makefile.in (DRIVER_DEFINES): Fix quoting.
5072         * Makefile.in (site.exp): Always set HAVE_LIBSTDCXX_V3.
5073         * configure.in: Remove --enable-libstdcxx_v3 support.
5074         * configure: Regenerated.
5076 Sun Feb  4 15:52:44 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
5078         * config/avr/avr.h (ASM_OUTPUT_REG_PUSH, ASM_OUTPUT_REG_POP):
5079         Call abort instead of fatal.
5080         (TRAMPOLINE_TEMPLATE): Call internal_error instead of fatal.
5081         * config/dsp16xx/dsp16xx.h (FUNCTION_PROFILER): Likewise.
5082         (FUNCTION_BLOCK_PROFILER, BLOCK_PROFILER): Likewise.
5083         (TRAMPOLINE_TEMPLATE, INITIALIZE_TRAMPOLINE): Likewise.
5084         (ASM_OUTPUT_REG_PUSH, ASM_OUTPUT_REG_POP): Likewise.
5085         * config/rs6000/rs6000.h (RETURN_ADDRESS_OFFSET): Likewise.
5087         * diagnostic.h (set_internal_error_function): Renamed.
5088         * toplev.h (internal_error): Renamed from fatal.
5089         (pfatal_with_name): Deleted.
5090         (fatal_io_error): Now has printf-style arguments.
5091         * diagnostic.c (pfatal_with_name): Deleted.
5092         (fatal_io_error): Rework to have args in printf-style.
5093         (set_internal_error_function): Renamed from set_fatal_function.
5094         (internal_error): Renamed from fatal.
5095         (error_recursion, fancy_abort): Call internal_error instead of fatal.
5096         * dwarf2out.c (get_cfa_from_loc_descr): Likewise.
5097         * emit-rtl.c (gen_realpart, gen_imagpart): Likewise.
5098         * expr.c (check_max_integer_computation_mode, expand_expr): Likewise.
5099         * flow.c (verify_flow_info): Likewise.
5100         * config/arm/arm.c (thumb_unexpanded_epilogue): Likewise.
5101         * config/mips/mips.c (save_restore_insns): Likewise.
5103         * except.c (duplicate_eh_handlers): Call abort instead of fatal.
5104         * flow.c (verify_flow_info): Likewise.
5105         * config/arm/arm.c (thumb_load_double_from_address): Likewise.
5106         * config/avr/avr.c (pttreg_to_str, unique_section): Likewise.
5107         (avr_normalize_condition): Likewise.
5108         * config/c4x/c4x.c (c4x_emit_libcall, c4x_valid_operands): Likewise.
5109         * config/dsp16xx/dsp16xx.c (dsp16xx_reg_class_from_letter): Likewise.
5110         (limit_reload_class, double_reg_to_memory): Likewise.
5111         (print_operand_address, emit_1600_code_shift): Likewise.
5112         (gen_tst_reg, gen_compare_reg): Likewise.
5113         * config/m68hc11/m68hc11.c (m68hc11_emit_libcall): Likewise.
5114         * config/dsp16xx/dsp16xx.c (dsp16xx_invalid_register_for_compare):
5115         Deleted.
5116         * config/dsp16xx/dsp16xx.md (unnamed cmphi): Call abort instead of it.
5118         * c-parse.in (methoddef): Call fatal_error instead of fatal.
5119         * objc/objc-act.c (build_ivar_chain): Likewise.
5120         * dwarfout.c (dwarfout_init): Call fatal_io_error instead of
5121         pfatal_with_name.
5122         * graph.c (clean_graph_dump_file): Likewise.
5123         * profile.c (init_branch_prob): Likewise.
5124         * objc/objc-act.c (objc_init): Likewise.
5126         * config/arm/arm.c (arm_override_options): Make errors non-fatal.
5127         * config/avr/avr.c (avr_override_options): Likewise.
5128         * config/c4x/c4x.c (c4x_expand_prologue): Likewise.
5129         * config/dsp16xx/dsp16xx.c (function_prologue): Likewise.
5130         * config/h8300/h8300.c (h8300_init_once): Likewise.
5131         * config/mips/mips.c (override_options): Likewise.
5132         * config/i386/i386.c (override_options): Likewise, rework.
5133         * config/m68k/m68k.c (override_options): Likewise.
5135         * config/dsp16xx/dsp16xx.c (print_operand): Call output_operand_lossage
5136         instead of fatal.
5137         * config/mips/mips.c (print_operand): Likewise.
5138         * hash.c (hash_allocate): Don't check for failure returns from
5139         obstack functions that can't fail.
5140         (hash_table_init_n, hash_table_init): Likewise; also now return void.
5141         * hash.h (hash_table_init_n, hash_table_init): Now return void.
5142         * objc/objc_act.c (objc_check_decl): Remove unneeded fatal call.
5143         (get_object_reference): Likewise.
5145 2001-02-04  Nick Clifton  <nickc@redhat.com>
5147         * config/arm/arm.c (all_cores): Add 710T, 720T, 740T, 940T, 9e,
5148         StrongARM1110, 10TDMI, and 1020T.
5150 2001-02-04  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
5152         * mips.h (MULTILIB_ISA_DEFAULT): Don't use #elif.
5154 2001-02-04  Alexandre Oliva  <aoliva@redhat.com>
5156         * config/sh/sh.md (movdf load split): Pass register number to
5157         FP_OR_XD_REGISTER_P.
5159 2001-02-04  Mark Mitchell  <mark@codesourcery.com>
5161         * cppinit.c (BC): New macro.
5162         (builtin_array): Add __GXX_WEAK__.
5163         * cpplib.h (builtin_type): Add BT_WEAK.
5164         * cppmacro.c (builtin_macro): Handle BT_WEAK.
5165         * defaults.h (SUPPORTS_ONE_ONLY): Define.
5166         * varasm.c (SUPPORTS_ONE_ONLY): Do not define.
5168 2001-02-03  Jakub Jelinek  <jakub@redhat.com>
5170         * cppinit.c (append_include_chain): Honor NO_IMPLICIT_EXTERN_C.
5172 2001-02-03  Neil Booth  <neil@daikokuya.demon.co.uk>
5174         * cpphash.h: Rename _ALIGN POOL_ALIGN.
5175         * cpplex.c (new_chunk, _cpp_pool_reserve): Update.
5177 2001-02-03  Neil Booth  <neil@daikokuya.demon.co.uk>
5179         * cpphash.h: Rename ALIGN _ALIGN.
5180         * cpplex.c (new_chunk, _cpp_pool_reserve): Update.
5182 Fri Feb  2 23:15:29 2001  Christopher Faylor <cgf@cygnus.com>
5184         * config/i386/cygwin.h (CPP_SPEC): Reorganize YA to better handle cross
5185         compilation environment.
5186         * config/i386/t-cygwin (T_CPPFLAGS): Define CYGWIN_CROSS_DIR to allow
5187         control over location of cygwin includes and libs.
5189 2001-02-03  Michael Hayes  <m.hayes@elec.canterbury.ac.nz)
5191         * c4x.h (HARD_REGNO_CALL_PART_CLOBBERED): Fix typo.
5193 2001-02-02  lars brinkhoff  <lars@nocrew.org>
5195         * md.texi (Standard Names): remove reference to spur.md.
5197 2001-02-03  Michael Hayes  <m.hayes@elec.canterbury.ac.nz)
5199         * c4x.h (IS_INT_CALL_SAVED_REG, IS_FLOAT_CALL_SAVED_REG): Define.
5200         (HARD_REGNO_CALL_PART_CLOBBERED): Use IS_FLOAT_CALL_SAVED_REG.
5201         (INITIAL_FRAME_POINTER_OFFSET, INITIAL_ELIMINATION_OFFSET): Likewise.
5202         * c4x.c (c4x_hard_regno_rename_ok): Use IS_XXX_CALL_SAVED_REG.
5203         (c4x_expand_prologue, c4x_expand_epilogue): Likewise.
5205 2001-02-03  Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
5207         * c4x.c (group1_reg_operand, group1_mem_operand, arx_reg_operand,
5208         c4x_arn_reg_operand, c4x_arn_mem_operand): Do not check register
5209         number before reload.
5210         (c4x_adjust_cost): Return zero before reload.
5211         * c4x.md (load_immed_address+1, load_immed_address+2): Do not
5212         split before reload.
5214 2001-02-03  Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
5216         * c4x.c (c4x_hard_regno_rename_ok): New.
5217         * c4x-protos.h (c4x_hard_regno_rename_ok): New.
5218         * c4x.h (HARD_REGNO_RENAME_OK): Define.
5220 Fri Feb  2 20:03:50 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
5222         * diagnostic.h: Add missing "extern" in all declarations.
5224 2001-02-02  Alex Samuel  <samuel@codesourcery.com>
5226         * Makefile.in (gcc_gxx_target_include_dir): Generate dynamically
5227         as for gcc_gxx_include_dir.
5229 2001-02-02  Neil Booth  <neil@daikokuya.demon.co.uk>
5231         * cpp.texi, invoke.texi: Update -Wtraditional documentation.
5233 2001-02-02  Alexandre Oliva  <aoliva@redhat.com>
5235         * config/sh/sh.c (output_far_jump): Don't use braf on SH1.  Emit
5236         label before alignment to be used as the braf base address.
5237         * config/sh/sh.md (length): Use longer lengths for SH1 PIC far
5238         branches.
5239         (casesi_jump_2): Require at least TARGET_SH2.
5241         * config/float-sh.h (LDBL_EPSILON, LDBL_MIN, LDBL_MAX): Prevent
5242         truncation to 32-bit doubles on -m3e and -m4-single-only.
5244 2001-02-02  Mark Mitchell  <mark@codesourcery.com>
5246         * gcc.c (init_gcc_specs): New function.  Make -shared-libgcc
5247         the default when building a shared object.
5248         (init_spec): Use it.
5249         * testsuite/lib/g++.exp: Include the directory where libgcc
5250         is located to the LD_LIBRARY_PATH list.
5251         * invoke.texi (-shared-libgcc): Document the cases in which
5252         GCC defaults to using the shared libgcc.
5254 2001-02-02  Alexandre Oliva  <aoliva@redhat.com>
5256         * config/fp-bit.h (MAX_USI_INT, MAX_SI_INT): Don't assume
5257         unsigned is wide enough.
5258         (BITS_PER_SI): New.
5259         * config/fp-bit.c (_fpmul_parts): Don't assume 32-bits SI.
5260         (si_to_float): Likewise.
5261         (float_to_si, float_to_usi): Use BITS_PER_SI.
5263 2001-02-01  Jeffrey Oldham  <oldham@codesourcery.com>
5265         * dwarf2out.c: Added explanation of abbreviations.
5266         (def_cfa_1): Added comments listing DWARF2 instructions.
5267         (cfa_temp_reg): Removed in favor of cfa_temp.
5268         (cfa_temp_value): Removed in favor of cfa_temp.
5269         (cfa_temp): New global variable.
5270         (dwarf2out_frame_debug_expr): Added extensive introductory
5271         comments explaining the function's transformations.  Revised to
5272         use cfa_temp.  Added some rtx checking.  Generalize IOR case.
5273         (dwarf2out_frame_debug): Revised to use cfa_temp.
5274         (output_aranges): Cast as "unsigned" to avoid warning.
5275         * rtl.texi (RTX_FRAME_RELATED_P): Revise entry to emphasize better
5276         explain which instructions must be marked.
5278 2001-02-01  Richard Henderson  <rth@redhat.com>
5280         * local-alloc.c (update_equiv_regs): Copy INSN_CODE to the
5281         new instruction.
5283 2001-02-01  Alexandre Oliva  <aoliva@redhat.com>
5285         * config/sh/crt1.asm (main_k): Modified so that start calls
5286         ___setup_argv_and_call_main.
5288 2001-02-01  Neil Booth  <neil@daikokuya.demon.co.uk>
5290         * cpphash.h (struct cpp_buffer): Move saved_flags from cpp_reader.
5291         * cpplex.c (_cpp_lex_token): New token picks up the saved flags,
5292         and AVOID_LPASTE is cleared on meeting an unescaped newline.
5293         * cppmacro.c (builtin_macro): Set builtin flags here.
5294         (paste_all_tokens): Preserve AVOID_LPASTE on pasted token.
5295         (replace_args): Clarify intent.
5296         (cpp_get_token): Macro expansion tokens get the saved flags.
5297         Update.
5298         * cppmain.c (scan_buffer): Remove now-redundant print.printed
5299         check.
5301 2001-02-01  Jeffrey Oldham  <oldham@codesourcery.com>
5303         * config/mips/iris6.h (SUPPORTS_INIT_PRIORITY): Reverse change of
5304         2001-Jan-29.
5306 Thu Feb  1 07:22:41 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
5308         * builtins.c (expand_builtin_alloca): allocate_dynamic_stack_space
5309         returns Pmode pseudo, but we need ptr_mode.
5310         * explow.c (allocate_dynamic_stack_space): Use plus_constant.
5311         Remove bogus conversions; use HOST_WIDE_INT for size.
5312         Don't use TARGET if wrong mode.
5314         * config/i386/i386.c (ix86_compute_frame_size): Allow
5315         stack_alignment_needed to be non-default even if size is zero.
5317 2001-01-31  Alan Modra <alan@linuxcare.com.au>
5319         * (hppa_init_pic_save): Emit the pic offset table
5320         reg save after last_parm_insn.
5321         * pa.c (hppa_init_pic_save): New function.
5322         * pa.h (hppa_init_pic_save): Declare.
5323         * pa.md (call, call_value, sibcall, sibcall_value): Use
5324         the above instead of duplicated code.
5326         * pa.c (hppa_encode_label): Correct size of alloca buffer
5327         so we don't overrun it.  Correct leading `*' case.
5328         * pa.h (STRIP_NAME_ENCODING): Simplify now that we don't
5329         need to handle `*@'.
5330         (FUNCTION_NAME_P): Likewise.
5332 2001-01-31  Richard Henderson  <rth@redhat.com>
5334         * config.gcc (alpha-osf5): Use float-i128.h.
5336         * config/float-i128.h (FLT_EVAL_METHOD, DECIMAL_DIG): Define.
5337         * config/float-i32.h: Likewise.
5338         * config/float-i64.h: Likewise.
5339         * config/float-sh.h: Likewise.
5340         * config/float-sparc.h: Likewise.
5342 2001-01-31  DJ Delorie  <dj@redhat.com>
5344         * expmed.c (extract_bit_field): allow non-integral modes if we
5345         want to extract a whole register from itself.
5347 2001-01-31  Jakub Jelinek  <jakub@redhat.com>
5349         * c-typeck.c (set_init_index): If first is equal to last, assume as
5350         if it was not a range at all.
5352 2001-01-31  Alexandre Oliva  <aoliva@redhat.com>
5354         * config/fp-bit.c: Include tm.h.
5355         (float_to_si): Don't assume SImode is 32-bits wide.
5356         (float_to_usi): Likewise.
5358 2001-01-31  Joseph S. Myers  <jsm28@cam.ac.uk>
5360         * c-parse.in (structsp): Pedwarn when "enum foo" refers to an
5361         incomplete type.
5362         (typename): Call pending_xref_error after parsing typed_typespecs.
5363         * c-decl.c (lookup_tag): Give error immediately rather than
5364         leaving it pending if the tag of the wrong type is in the same
5365         binding level.
5366         (xref_tag): Don't pedwarn for forward declarations of enum types
5367         here.
5368         * gcc.texi (Actual Bugs): Remove entry for misuse of struct, union
5369         and enum tags.
5371 2001-01-31  Alexandre Oliva  <aoliva@redhat.com>
5373         * config/float-sparc.h (LDBL_MAX) [sparc32]: Fix typo.
5375 2001-01-31  Neil Booth  <neil@daikokuya.demon.co.uk>
5377         * cpplib.c (T_ELIF): Move to STDC89, not that it matters.
5378         (_cpp_handle_directive): Suggest not using #elif with -Wtraditional.
5380 2001-01-31  Neil Booth  <neil@daikokuya.demon.co.uk>
5382         * cpphash.h (struct cpp_reader): New saved_flags.
5383         * cppmacro.c (cpp_get_token): Use saved_flags to remember
5384         to avoid a paste after a pasted token.
5386 2001-01-31  Alexandre Oliva  <aoliva@redhat.com>
5388         * libgcc2.h (Wtype_MAX, Wtype_MIN): Define.
5389         * libgcc2.c (__fixunssfSI, __fixunsdfSI, __fixunsxfSI): Use
5390         Wtype_MIN instead of LONG_MIN.
5392 2001-01-30  Jeffrey Oldham  <oldham@codesourcery.com>
5394         * fixinc/fixincl.tpl: Add 2001 to copyright.  Change name of
5395         README file.
5396         * fixinc/fixincl.x: Regenerated.
5397         * fixinc/inclhack.def (irix_limits_const): New definition to
5398         convert "const" to "__const" in limits.h.
5400 2001-01-30  Jeffrey Oldham  <oldham@codesourcery.com>
5402         * fixinc/genfixes (AG): Fix "autogen4" thinko.
5404 2001-01-30  Herman A.J. ten Brugge  <Haj.Ten.Brugge@net.HCC.nl>
5406         * regmove.c (try_auto_increment): Change REG_DEAD into REG_UNUSED
5407         when register dies in the insn.
5409 2001-01-30  Neil Booth  <neil@daikokuya.demon.co.uk>
5411         * diagnostic.c (fatal): Fix word wrap.
5413 2001-01-30  Alexandre Oliva  <aoliva@redhat.com>
5415         * combine.c (try_combine): Fix SUBREG setting for
5416         HOST_BITS_PER_WIDE_INT >= 2 * BITS_PER_WORD.
5418 2001-01-30  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
5420         * jump.c (comparison_dominates_p): Don't try to handle UNKNOWN
5421         comparison codes.
5423 2001-01-30  Neil Booth  <neil@daikokuya.demon.co.uk>
5425         * c-decl.c (c_expand_body): Check TYPE_SIZE_UNIT (ret_type)
5426         is not NULL.
5427         * toplev.c (decode_W_option): Update warn_larger_than
5428         unconditionally for each processed switch.
5430 2001-01-30  John David Anglin  <dave@hiauly1.hia.nrc.ca>
5432         * pa.c (pa_init_machine_status): Initialize pic_offset_table_save_rtx
5433         to NULL_RTX.
5434         (hppa_expand_prologue): Delete code to save pic offset table register
5435         in the function prologue.
5436         * pa.h (PIC_OFFSET_TABLE_SAVE_RTX): Correct type in comment.
5437         * pa.md (call, call_value, sibcall, sibcall_value): Save the pic offset
5438         table register at the beginning of the function after the prologue.
5440 2001-01-29  lars brinkhoff  <lars@nocrew.org>
5442         * tm.texi (PUSH_ROUNDING): Remove duplicate lines.
5444 2001-01-29  John David Anglin  <dave@hiauly1.hia.nrc.ca>
5445             Jeff Law <law@redhat.com>
5447         * pa.md (return): Revise comment for trivial return.
5448         (return_internal): Non-trivial return pattern for non-PIC code.
5449         (return_internal_pic): Non-trivial return pattern for PIC code.
5450         It uses the PIC register to ensure it is restored after
5451         function calls.
5452         (epilogue): Generate appropriate return for PIC and non-PIC code.
5454 Mon Jan 29 23:53:14 2001  Christopher Faylor <cgf@cygnus.com>
5456         * config/i386/cygwin.h: Fix -mno-cygwin search path for link.
5458 2001-01-29  DJ Delorie  <dj@redhat.com>
5460         * combine.c (if_then_else_cond): Pass the correct mode to
5461         operand_subword() for constants.
5463 Mon Jan 29 20:38:19 2001  Christopher Faylor <cgf@cygnus.com>
5465         * config/i386/cygwin.h: Add w32api to include search.  Search different
5466         directories in a cross-build environment.
5468 2001-11-29  Tim Josling  <tej@melbpc.org.au>
5470         * tree.h (TYPE_STUB_DECL): Add documentation.
5472 2001-11-29  Laurynas Biveinis  <lauras@softhome.net>
5474         * sdbout.c (sdbout_one_type): Skip types with indeterminate size.
5475         (sdbout_field_types): Likwise.  Fix use of host_integerp.
5477 2001-01-29  Thomas Pfaff  <tpfaff@gmx.net>
5479         * mingw32.h: Override STARTFILE_SPEC and LINK_SPEC declared in
5480         cygwin.h.
5482 2001-01-29  Jeffrey Oldham  <oldham@codesourcery.com>
5484         * config/mips/iris6.h (SUPPORTS_INIT_PRIORITY): Revise definition
5485         to use flag_gnu_linker.
5487 2001-01-29  Neil Booth  <neil@daikokuya.demon.co.uk>
5489         * cpplib.c (T_BAD_DIRECTIVE): Remove.
5490         (_cpp_init_stacks): Loop from 0 to N_DIRECTIVES - 1.
5492 2001-01-29  Joseph S. Myers  <jsm28@cam.ac.uk>
5494         * tree.c, tree.h (build_parse_node): Remove; was identical to
5495         build_nt.
5496         * c-lang.c (start_cdtor), objc/objc-act.c
5497         (build_module_descriptor): Use build_nt instead of
5498         build_parse_node.
5500 2001-01-29  Jakub Jelinek  <jakub@redhat.com>
5502         * config/i386/i386.md (addqi_1_lea): Fix mode (QI instead of HI).
5503         (testqi_1, andqi_2): If widening to SImode, make sure CONST_INT does
5504         not have any upper bits set.
5506 2001-01-29  Phil Edwards  <pme@sources.redhat.com>
5508         * COPYING.LIB:  Update to LGPL 2.1 from the FSF.
5510 2001-01-28  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
5512         * stmt.c (estimate_case_costs): Use integer_minus_one_node.
5514         * tree.c (build_common_tree_nodes_2): Set integer_minus_one_node.
5516         * tree.h (tree_index): Add new element TI_INTEGER_MINUS_ONE.
5517         (integer_minus_one_node): Define.
5519 2001-01-28  Alexandre Oliva  <aoliva@redhat.com>
5521         * Makefile.in (bootstrap2-lean): Fix typo.
5523 2001-01-28  Neil Booth  <neil@daikokuya.demon.co.uk>
5525         * cpphash.c (_cpp_cleanup_hashtable, _cpp_lookup_with_hash)
5526         : Don't set fe_value.
5527         * cpplib.h (AVOID_LPASTE): New flag.
5528         (struct cpp_hashnode): Remove fe_value.
5529         * cpplex.c (cpp_avoid_paste): Don't paste '.' with a number.
5530         * cppmacro.c (builtin_macro): Don't set flags here.
5531         (replace_args): Set AVOID_LPASTE flag on first token of an
5532         argument, and the token following it.
5533         (cpp_get_token): Set AVOID_LPASTE flag on first token of a
5534         macro expansion, and on the token following it.  Do it for
5535         builtins too.
5536         * cppmain.c (scan_buffer): Avoid pasting only flagged tokens.
5538 2001-01-27  Richard Henderson  <rth@redhat.com>
5540         * config/alpha/t-ieee: Remove multilibbing.
5541         (TARGET_LIBGCC2_CFLAGS): Add -mieee.
5543 2001-01-27  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
5545         * configure.in: Arrange to include defaults.h in [ht]config.h/tm.h.
5547         * Makefile.in: Remove all dependencies on defaults.h.
5548         * builtins.c: Don't include defaults.h.
5549         * c-common.c: Likewise.
5550         * c-decl.c: Likewise.
5551         * c-pragma.c: Likewise.
5552         * c-typeck.c: Likewise.
5553         * combine.c: Likewise.
5554         * i386.c: Likewise.
5555         * frame-ia64.c: Likewise.
5556         * cppexp.c: Likewise.
5557         * crtstuff.c: Likewise.
5558         * dbxout.c: Likewise.
5559         * dwarf2out.c: Likewise.
5560         * dwarfout.c: Likewise.
5561         * emit-rtl.c: Likewise.
5562         * except.c: Likewise.
5563         * expr.c: Likewise.
5564         * final.c: Likewise.
5565         * frame-dwarf2.c: Likewise.
5566         * libgcc2.c: Likewise.
5567         * optabs.c: Likewise.
5568         * profile.c: Likewise.
5569         * sdbout.c: Likewise.
5570         * toplev.c: Likewise.
5571         * tradcif.y: Likewise.
5572         * tree.c: Likewise.
5573         * varasm.c: Likewise.
5575 2001-01-27  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
5577         * builtins.c (expand_builtin_fputs): Use size_one_node when
5578         transforming into fwrite.
5580 2001-01-27  Joseph S. Myers  <jsm28@cam.ac.uk>
5582         * extend.texi (Attribute Syntax): New section.
5584 2001-01-27  Michael Sokolov  <msokolov@ivan.Harhan.ORG>
5586         * fixproto: Correctly install synthesised unistd.h and stdlib.h when
5587         they didn't need fixing.
5589 2001-01-27  Janis Johnson <janis@us.ibm.com>
5591         * config.gcc (i[34567]86-sequent-{ptx4*,sysv4*}): Use usegas.h
5592         if appropriate.
5593         * config/ptx4.h: Several fixes to build on DYNIX/ptx v4.[456], and
5594         to remove macro definitions that are duplicated from elfos.h.
5596 2001-01-27  Richard Henderson  <rth@redhat.com>
5598         * config/i386/sco5gas.h: Move ...
5599         * config/usegas.h: ... here.
5600         * config.gcc (i[34567]86-*-sco3.2v5) [tm_file]: Update.
5602 2001-01-27  Jakub Jelinek  <jakub@redhat.com>
5604         * c-typeck.c (struct constructor_stack): Add range_stack member.
5605         (really_start_incremental_init): Clear it.
5606         (push_init_level): Save constructor_range_stack and clear it if
5607         pushing explicit braces.
5608         (pop_init_level): abort if constructor_range_stack is non-zero at
5609         explicit closing brace.  Restore saved constructor_range_stack if
5610         not implicit.
5612 2001-01-27  Alexandre Oliva  <aoliva@redhat.com>
5614         * expr.c (emit_move_insn): Add REG_EQUAL note when constant loaded
5615         into register was forced into memory.
5617 2001-01-27  Alexandre Oliva  <aoliva@redhat.com>
5619         * Makefile.in: Remove uses of + before $(MAKE).
5621 2001-01-26  Richard Henderson  <rth@redhat.com>
5623         * stmt.c (cost_table): Remove.
5624         (COST_TABLE, cost_table_initialized): New.
5625         (estimate_case_costs): Use the later instead of the former.
5626         (balance_case_nodes): Likewise.
5628 2001-01-26  Richard Henderson  <rth@redhat.com>
5630         * alias.c (objects_must_conflict_p): Read-only slots may not
5631         conflict despite having the same type.
5633 2001-01-27  Michael Hayes  <mhayes@redhat.com>
5635         * loop.c (loop_giv_reduce_benefit): Copy mode size into
5636         int variable.
5637         (check_ext_dependant_givs): Initialise u_start_val and
5638         u_end_val.
5639         (load_mems): Make last_max_reg unsigned.
5640         (try_swap_copy_prop): Use INSN_P and initialise set.
5642 Fri Jan 26 23:22:58 2001  Denis Chertykov  <denisc@overta.ru>
5644         * README.AVR : Removed.
5646 Fri Jan 26 11:37:26 2001  Jeffrey A Law  (law@cygnus.com)
5648         * pa-64.h (text_section): Remove declaration.
5650         * pa.md (return_internal): Remove mode on PIC register use.
5652 2001-01-25  lars brinkhoff  <lars@nocrew.org>
5654         * tm.texi (DATA_ALIGNMENT, LOCAL_ALIGNMENT, ASM_OPEN_PAREN,
5655         ASM_CLOSE_PAREN): fix typos.
5657 2001-01-25  Mark Mitchell  <mark@codesourcery.com>
5659         * acconfig.h: Define `const' to the empty string if neither
5660         __STDC__ nor __cplusplus is defined.
5661         * config.in: Regenerated.
5663 2001-01-25  David Edelsohn  <edelsohn@gnu.org>
5665         * config.gcc (rs6000-ibm-aix[5-9]*): Change to aix51.h.
5666         * collect2.c (main): Delete importf.  Add ".obj" file extension.
5667         (GCC_CHECK_HDR): Handle AIX V5 new magic number.
5668         (aix_std_libs): Add additional AIX libraries to skip.
5669         * config/rs6000/aix.h (MY_ISCOFF): Add AIX V5 new magic number.
5670         * config/rs6000/aix51.h: New file.
5672 2001-01-25  Michael Hayes  <mhayes@redhat.com>
5674         * loop.c (loop_call_insn_emit_before, loop_call_insn_hoist): New.
5675         (loop_insn_emit_before): No longer static.
5676         (move_movables): Replace emit_insn_after with loop_insn_emit_after.
5677         (loop_givs_rescan, load_mems): Likewise.
5678         (check_dbra_loop): Replace emit_insn_before with loop_insn_emit_before.
5679         (maybe_eliminate_biv_1):
5680         (move_movables): Replace emit_call_insn_before with
5681         loop_call_insn_hoist.
5682         * loop.h (loop_insn_emit_before): Add.
5683         * unroll.c (copy_loop_body): Replace emit_insn_before with
5684         loop_insn_emit_before.
5686 2001-01-25  Neil Booth  <neil@daikokuya.demon.co.uk>
5688         * diagnostic.c (fatal): Request preprocessed source.
5690 Thu Jan 25 02:01:16 2001  J"orn Rennecke <amylaar@redhat.com>
5692         * c-decl.c (duplicate_decls): If different_binding_level is nonzero,
5693         olddecl has argument types and newdecl has none, use the argument
5694         types from olddecl.
5696 2001-01-24  Ulrich Drepper  <drepper@redhat.com>
5698         * dwarf2out.c (prefix_of): New function.  Determine longest common
5699         prefix of the two arguments.  The units are whole path components.
5700         (output_file_names): When adding a new directory find the one entry
5701         with the longest common prefix already in the list.  Artificially
5702         generate entry if there is none for this prefix.
5703         Fix test to check whether the zeroth directory entry is used.
5705 Wed Jan 24 23:51:55 2001  J"orn Rennecke <amylaar@redhat.com>
5707         * reload1.c (reload_reg_free_for_value_p): New parameter start_regno.
5708         Changed all callers.  Take it into account when deciding if a
5709         previously loaded value matches.
5711 2001-01-24  Richard Henderson  <rth@redhat.com>
5713         * reload.c (find_reloads_subreg_address): Fail the substitution
5714         if the resulting address is insufficiently aligned.
5716 2001-01-24  DJ Delorie  <dj@redhat.com>
5718         * combine.c (combine_simplify_rtx): If the modes are all VOIDmode,
5719         check the original operand's mode also.
5720         * simplify-rtx.c (simplify_ternary_operation): Ditto.
5722 2001-01-24  Joseph S. Myers  <jsm28@cam.ac.uk>
5724         * c-parse.in (cast_expr): Move compound literals from here ...
5725         (primary): ... to here.  Use standard terminology "compound
5726         literal" instead of "constructor expression".
5728 2001-01-24  Joseph S. Myers  <jsm28@cam.ac.uk>
5730         * gcc.1, cpp.1: Regenerate.
5732 2001-01-24  Alexandre Oliva  <aoliva@redhat.com>
5734         * calls.c (emit_library_call_value_1): Memory slot for
5735         pass-by-reference argument should have the mode of the argument,
5736         not of the pointer to it.
5738 2001-01-24  Tom Tromey  <tromey@redhat.com>
5740         * gcc.texi (G++ and GCC): Mention gcj manual.
5741         (Standards): Link to section of manual mentioning gcj/Java
5742         compatibility.
5744 2001-01-24  Jakub Jelinek  <jakub@redhat.com>
5746         * cppfiles.c (_cpp_read_file): Add to dependencies if requested.
5747         * cppinit.c (cpp_start_read): Remove deps_add_dep call.
5748         * tradcpp.c (main): Add -imacros or -include'd dependencies
5749         for -M*.
5750         * cpp.texi (-M, -MM): Document -M -include behaviour.
5752 2001-01-24  Roger Collins <roger@ProProject.com>
5754         * config/i386/xm-i386.h: Make __i386__ a boolean macro.
5756 2001-01-24  Will Cohen  <wcohen@redhat.com>
5758         * config/mips/abi64.h (RETURN_IN_MEMORY): Always take into account
5759         whether registers are 32 bits or 64 bits in size.
5761 2001-01-24  Ben Elliston  <bje@redhat.com>
5763         * config/m32r/m32r.h (PREDICATE_CODES): Remove m32r_not_same_reg.
5765 2001-01-24  Richard Henderson  <rth@redhat.com>
5767         * config/alpha/alpha.md (builtin_longjmp_internal): New.
5768         (builtin_longjmp): Use it instead of emit_indirect_jump.
5770 2001-01-23  John David Anglin  <dave@hiauly1.hia.nrc.ca>
5772         * bb-reorder.c (make_reorder_chain_1): Handle case where
5773         jump edge goes to the same block as the fallthru edge.
5775 2001-01-23  Jim Wilson  <wilson@redhat.com>
5777         * dwarf2out.c (dwarf2out_line): Make last_file_num be unsigned.
5778         * frame.h (__ia64_personality_v1): Add prototype.
5779         * libgcc2.c (ia64_throw_helper): Change personality declaration to
5780         prototype form.  Add void * cast to first argument to personality
5781         call.
5782         * real.c (e113toe): Surround with INTEL_EXTENDED_IEEE_FORMAT ifdefs.
5783         (asctoe113): Likewise.
5784         * config/ia64/frame-ia64.c: Include eh-common.h.
5785         * config/ia64/ia64-protos.h (sdata_section, sbbs_section): Add
5786         prototypes.
5787         * config/ia64/ia64.c (emit_insn_group_barriers): Add ATTRIBUTE_UNUSED
5788         to dump parameter.
5789         (itanium_split_issue): Add prototype.
5790         (gen_nop_type): Ifdef out.
5791         (find_best_packet): Initialize best_packet.
5792         (ia64_encode_section_info): New local string.  Use for ggc_alloc_string
5793         result.
5794         * config/ia64/ia64.h (ASM_OUTPUT_LONG_DOUBLE): Use 0L not 0.
5795         * config/ia64/ia64.md (bsp_value): Add explicit stop bit at start.
5796         (flushrs): Add explicit stop bit at end.
5797         * config/ia64/lib1funcs.asm (__ia64_restore_stack_nonlocal): Change
5798         trailing \ to >.
5800 2001-01-23  Chris Demetriou  <cgd@broadcom.com>
5802         * libgcc-std.ver (GCC_3.0): Add __terminate_func_set to list
5803         of EH symbols.
5804         * libgcc2.c (__terminate_func): Make variable static.
5805         (__terminate_set_func): New function to set __terminate_func.
5806         * libgcc2.h (__terminate_func_ptr): New typedef.
5807         (__terminate_set_func): New function.
5809 2001-01-23  Richard Henderson  <rth@redhat.com>
5811         * flow.c (init_propagate_block_info): Don't consider unchanging
5812         memories for dead frame store elimination.
5814 2001-01-23  Richard Henderson  <rth@redhat.com>
5816         * varasm.c (UNIQUE_SECTION): Move default implementation ...
5817         * defaults.h: ... here.
5819 2001-01-24  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
5821         * c4x.h (TARGET_LOAD_DIRECT_MEMS): Define.
5823 2001-01-23  Neil Booth  <neil@daikokuya.demon.co.uk>
5825         * c-lex.c (lex_charconst): Fix typo: s/p/str.
5827 2001-01-23  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
5829         * rs6000.h (rs6000_return_addr): Move prototype from here...
5830         * rs6000-protos.h (rs6000_return_addr): ...to here.
5831         (rs6000_init_expanders): Delete prototype.
5833 2001-01-23  Nick Clifton  <nickc@redhat.com>
5835         * invoke.texi: Replace , with \, inside @gccoptlist macros.
5836         (Spec Files): Document %B and %j and %. and %v3 and %M and
5837         %{S*&T} spec switches.
5839 2001-01-24  Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
5841         * c4x.c (c4x_r11_set_p): Calculate rtx code correctly.
5843 2001-01-23  Chris Demetriou  <cgd@sibyte.com>
5844         Neil Booth  <neil@daikokuya.demon.co.uk>
5846         * cpperror.c: Merge handlers of PEDWARN and WARNING.
5847         Have -Werror make pedantic warnings errors, like the
5848         rest of GCC.
5850 2001-01-23  Phil Edwards  <pme@sources.redhat.com>
5852         * c-tree.texi (IDENTIFIER_LENGTH):  Fix typo.
5854 2001-01-23  Jakub Jelinek  <jakub@redhat.com>
5856         * integrate.h (struct inline_remap): Add compare_src, compare_mode.
5857         * integrate.c (expand_inline_function): Initialize them.
5858         (subst_constants): If changing COMPARE so that both its arguments
5859         will be VOIDmode and the comparison mode will be lost, note
5860         compare_mode.  Use the recorded compare_mode to optimize
5861         IF_THEN_ELSE.
5863 2001-01-23  Jason Merrill  <jason@redhat.com>
5865         * dwarf2out.c (new_die): Use xcalloc.
5866         (output_die): Abort rather than emit a local reference to offset 0.
5868 2001-01-17  Andrew Haley  <aph@redhat.com>
5870         * libgcc2.c (get_reg_addr): Don't abort if we haven't got a copy
5871         of a saved register; return NULL instead.
5872         (copy_reg): Take a pointer to a source register rather than a
5873         frame_state.
5874         (next_stack_level): Remember the address in the stack frame of all
5875         saved registers.
5876         Use the saved register pointer array as the source of the CFA.
5877         (throw_helper): Rewrite.  Unwind once rather than twice and keep
5878         track of saved registers as we go.
5880 2001-01-23  Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
5882         * c4x-protos.h (c4x_legitimize_reload_address): Remove.
5883         * c4x.c (c4x_legitimize_reload_address): Remove.
5884         * c4x.h (LEGITIMIZE_RELOAD_ADDRESS): Rewrite to generate correct
5885         reload address for ldp(k) insn.
5887 Mon Jan 22 20:53:47 2001  Jeffrey A Law  (law@cygnus.com)
5889         * pa.md (return_internal): Add a USE of the PIC register to ensure
5890         it is restored after each call.
5891         (return expander): Corresponding changes.
5893 2001-01-22  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
5895         * rs6000.h (INIT_EXPANDERS): Delete.
5896         (RETURN_ADDR_RTX): Call rs6000_return_addr().
5897         * rs6000.c (rs6000_override_options): Call *_machine_status from
5898         here...
5899         (rs6000_init_expanders): ...instead of here. Delete.
5900         (rs6000_mark_machine_status): New function.
5901         (rs6000_init_machine_status): Use xcalloc.
5902         (rs6000_return_addr): Generate RTX for the return address.
5903         (rs6000_ra_ever_killed): New, check if LR was ever destroyed.
5904         (rs6000_stack_info): Use it.
5906 2001-01-22  Thomas Pfaff  <tpfaff@gmx.net>
5908         * gthr-win32.h: Include errno.h to get a declaration for
5909         EINVAL and _mingw.h if the target is mingw32.
5911 2001-01-22  Andres Felipe Vargas <avargas@teletulua.com.co>
5913         * cpp.texi: Correct typos.
5915 Mon Jan 22 13:59:09 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
5917         * explow.c (probe_stack_range): Ensure value passed to
5918         stack_check_libfunc is ptr_mode, not Pmode.
5920 Mon Jan 22 16:53:06 2001  J"orn Rennecke <amylaar@redhat.com>
5922         * recog.c (validate_replace_rtx_1): In ZERO_EXTEND / SIGN_EXTEND
5923         case, don't use operand_subword to calculate a SUBREG that is
5924         wider than a word.
5926         * rtl.texi: Comparisons yield 0 or STORE_FLAG_VALUE.
5928 2001-01-22 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
5930         * c4x.c (c4x_valid_rptb_p, c4x_label_ref_used_p): New functions.
5931         (c4x_rptb_insert): Call c4x_valid_rptb_p to check if repeat block is
5932         valid.  If not replace it by equivalent insns.
5934 2001-01-22 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
5936         * c4x.c (c4x_check_legit_addr): Only check CONST.  Not if CONST
5937         contains SYMBOL_REF, LABEL_REF and CONST_INT.
5938         (c4x_U_constraint, symbolic_address_operand): Likewise.
5939         (c4x_immed_float_constant): Do not check if CONST_DOUBLE is in
5940         memory.
5941         (c4x_r11_set_p, c4x_check_laj_p): New functions.
5942         * c4x-protos.h (c4x_check_laj_p): Add prototype.
5943         * c4x.md (in_annul_slot_3): Do not allow auto-increment in last
5944         anulling slot because of silicon bug.
5945         (laj, lajv): Call c4x_check_laj_p to check for silicon bug.
5947 2001-01-22  Alan Modra <alan@linuxcare.com.au>
5949         * cppexp.c (parse_charconst):  Change `mask' type to agree
5950         with parse_escape.
5952 2001-01-21  Richard Henderson  <rth@redhat.com>
5954         * config/i386/i386.c (ix86_asm_file_end): Disable putting
5955         pic_label_name in a linkonce section.
5957 2001-01-17  Philipp Thomas  <pthomas@suse.de>
5959         * aclocal.m4 (AM_WITH_NLS): Add -lintl to LIBS if gettext was
5960         found in libintl.
5961         * configure: Regenerate.
5963 Sun Jan 21 02:38:56 2001  J"orn Rennecke <amylaar@redhat.com>
5965         * expmed.c (synth_mult, expand_mult_highpart, expand_divmod): Guard
5966         uses of shift_cost, shiftadd_cost and shiftsub_cost with bound checks.
5968 Sun Jan 21 09:44:17 2001  Denis Chertykov  <denisc@overta.ru>
5970         * config/avr/avr.c (ret_cond_branch): New argument (reverse) added.
5971         If REVERSE nonzero then condition code in X must be reversed.
5972         (encode_section_info): Optimise if/else.
5973         (avr_function_value): Fix formatting.
5975         * config/avr/avr.md (branch): Call to ret_cond_branch changed.
5976         (difficult_branch): Likewise.
5977         (rvbranch): Likewise.
5978         (difficult_rvbranch): Likewise.
5980         * config/avr/avr-protos.h (ret_cond_branch): Prototype changed.
5982         * config/avr/libgcc.S: Fix comment.
5984 2001-01-20  Michael Sokolov  <msokolov@ivan.Harhan.ORG>
5986         * sdbout.c (PUT_SDB_DEF): Fix after last bogus change.
5988 2001-01-20  Michael Sokolov  <msokolov@ivan.Harhan.ORG>
5990         * cppinit.c (INO_T_EQ): Don't use #elif, fix formatting.
5992 2001-01-20  Michael Sokolov  <msokolov@ivan.Harhan.ORG>
5994         * aclocal.m4 (gcc_AC_FUNC_STRSTR): New macro.
5995         * configure.in (gcc_AC_FUNC_STRSTR): Add invokation.
5996         * configure, config.in: Regenerate.
5997         * Makefile.in (STRSTR, HOST_STRSTR, USE_HOST_STRSTR): New variables.
5998         (LIBDEPS, HOST_LIBDEPS, LIBS, HOST_LIBS): Add strstr handling.
5999         (strstr.o, $(HOST_PREFIX_1)strstr.o): New rules.
6000         (doprint.o): New rule.
6002 2001-01-20  Joseph S. Myers  <jsm28@cam.ac.uk>
6004         * c-typeck.c (digest_init): Handle boolean types as scalars.
6006 Sat Jan 20 12:46:57 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
6008         * stmt.c (expand_return): Don't return anything if size is zero.
6009         Delete redundant assignment to BYTES.
6010         * expr.c (move_block_from_reg): Do nothing if NREGS is zero.
6012 2001-01-20  Marek Michalkiewicz  <marekm@linux.org.pl>
6014         * config/avr/avr.h (INIT_TARGET_OPTABS): Remove most of it, was
6015         the same as the default library function names.
6016         * config/avr/avr.md: Document special characters after '%'.
6017         (mulqi3, mulhi3, mulsi3): Call libgcc.S functions ourselves,
6018         knowing which of the call-used registers are really clobbered.
6019         (divmodqi4, udivmodqi4, divmodhi4, udivmodhi4, divmodsi4, udivmodsi4):
6020         New.  Both quotient and remainder from one libgcc.S call.
6021         * config/avr/libgcc.S: Optimize mul/divmod for the new insns above,
6022         clobber as few registers as possible.
6023         * config/avr/t-avr (LIB1ASMFUNCS): Adjust for the above changes.
6025 2001-01-20  Neil Booth  <neil@daikokuya.demon.co.uk>
6027         * cppmacro.c (funlike_invocation_p): Don't move back up to the
6028         context of the top of the stack.
6030 2001-01-20  Jakub Jelinek  <jakub@redhat.com>
6032         * function.c (fixup_var_refs): Move CALL_PLACEHOLDER handling...
6033         (fixup_var_refs_insns): ...here.
6035 2001-01-20  Zack Weinberg  <zack@wolery.stanford.edu>
6037         * function.c (fixup_var_refs_insns): Break up into
6038         fixup_var_refs_insn [body of loop], fixup_var_refs_insns
6039         [loop over entire insn list], and fixup_var_refs_insns_with_hash
6040         [loop over hash table entries].
6041         (fixup_var_refs): Adjust calls to fixup_var_refs_insns and/or
6042         fixup_var_refs_insns_with_hash, to match above changes.
6044 2001-01-19  John David Anglin  <dave@hiauly1.hia.nrc.ca>
6046         * Makefile.in (ORDINARY_FLAGS_TO_PASS): Add MAKEOVERRIDES variable.
6047         (libgcc.a): Likewise.
6048         (stmp-multilib): Likewise.
6049         (STAGE2_FLAGS_TO_PASS): Likewise.
6051 2001-01-19  Alexandre Oliva  <aoliva@redhat.com>
6053         * config/sh/sh.c (prepare_move_operands) [PIC]: Use operands[0] as
6054         temporary if no_new_pseudos.
6056 2001-01-19  Neil Booth  <neil@daikokuya.demon.co.uk>
6058         * cppinternals.texi: Update.
6060 2001-01-19  Richard Earnshaw  <rearnsha@arm.com>
6062         * arm.c (arm_init_builtins): Re-enable builtins.
6064 Fri Jan 19 13:02:56 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
6066         * rtl.texi (SET, CLOBBER): Document PARALLEL as SET_DEST possibility.
6067         * flow.c (mark_set_1, case PARALLEL): Don't require BLKmode, allow
6068         element to be null, and always expect an EXPR_LIST.
6069         * rtlanal.c (reg_overlap_mentioned_p, note_stores): Likewise.
6070         * sched-deps.c (sched_analyze_1): Likewise.
6071         * sched-rgn.c (check_live_1, update_live_1): Likewise.
6073         * regclass.c (max_set_parallel): New variable.
6074         (reg_scan): Take it into account in computation of max_parallel.
6075         (reg_scan_mark_refs, case SET): Compute it.
6077         * alias.c (rtx_equal_for_memref_p, case ADDRESSOF): Don't assume
6078         args are REG.
6079         * expr.c (store_constructor): Don't look at MEM_ALIAS_SET unless MEM.
6080         * function.c (assign_parms): Use INTVAL for a CONST_INT.
6082 2001-01-19  Jason Merrill  <jason@redhat.com>
6084         * dwarf2out.c (gen_subprogram_die): Don't reuse the in-class decl
6085         for the abstract instance of an inline function.
6087 Fri Jan 19 14:31:35 2001  Alexandre Oliva  <aoliva@redhat.com>
6088                           J"orn Rennecke <amylaar@redhat.com>
6090         * reload1.c (move2add_note_store): Treat all registers directly or
6091         indirectly derived from a base register as members of the same set
6092         of values.
6093         (reload_cse_move2add): Adjust accordingly.  Take mode and offset
6094         of base register into account.
6096 Fri Jan 19 09:18:42 2001  J"orn Rennecke <amylaar@redhat.com>
6098         * alias.c (find_base_value): Recognize TRUNCATE.
6099         (record_set): In PLUS case, invalidate if other summand is also a
6100         base value.
6102 Thu Jan 18 06:43:04 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
6104         * flow.c (mark_set_1, case PARALLEL): New case; rework to allow
6105         entry to be EXPR_LIST.
6106         * rtlanal.c (reg_overlap_mentioned_p): Allow PARALLEL in SET to
6107         be an EXPR_LIST (but not null, which other code doesn't allow).
6108         (note_stores): Properly handle PARALLEL in SET.
6109         Recursively call for top-level PARALLEL.
6110         * sched-deps.c (sched_analyze_1): Handle EXPR_LIST in PARALLEL in SET.
6111         * sched-rgn.c (check_live_1, update_live_1): Likewise.
6113         * config.gcc (rs6000-ibm-aix*, rs6000-bull-bosx): Add rs6000/aix.h.
6115 2001-01-18  Neil Booth  <neil@daikokuya.demon.co.uk>
6117         * cpplib.c (_cpp_handle_directive): Use buffer->was_skipping,
6118         not pfile->skipping (== 0).
6120 2001-01-17  Nick Clifton  <nickc@redhat.com>
6122         * config/rs6000/rs6000.c: Add prototypes for {init|free}_
6123         machine_status.
6125 2001-01-17  Jim Wilson  <wilson@redhat.com>
6127         * invoke.texi (IA-64 options): Improve.
6129 2001-01-17  Tom Tromey  <tromey@redhat.com>
6131         * invoke.texi (Optimize Options): Use `{}' to around @samp
6132         argument.
6134 2001-01-17  Aldy Hernandez  <aldyh@redhat.com>
6136         * invoke.texi (-fno-guess-branch-probability): New option.
6138 Wed Jan 17 13:26:34 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
6140         * combine.c (try_combine): Don't set i3_subst_into_i2 for
6141         case of making new double-word constant.
6142         Revert last change: instead just test i3_subst_into_i2.
6144 2001-01-17  Jakub Jelinek  <jakub@redhat.com>
6146         * config/i386/i386.md (cmpqi_minus_1): Use {b} for QImode operation.
6147         Use q constraints instead of r.
6149 Tue Jan 16 22:23:04 2001  Alan Modra (alan@linuxcare.com.au)
6151         * config/pa/pa.h (PIC_OFFSET_TABLE_REGNUM_SAVED): Remove.
6152         (machine_function): Define.
6153         (PIC_OFFSET_TABLE_SAVE_RTX) : Define.
6154         * config/pa/pa.c (pa_init_machine_status, pa_mark_machine_status,
6155         pa_free_machine_status): New functions.
6156         (override_options): Set {init,mark,free}_machine_status to above.
6157         (hppa_expand_prologue): Use PIC_OFFSET_TABLE_SAVE_RTX instead of
6158         PIC_OFFSET_TABLE_REGNUM_SAVED.
6159         * config/pa/pa.md: Use PIC_OFFSET_TABLE_SAVE_RTX instead of
6160         PIC_OFFSET_TABLE_REGNUM_SAVED throughout.
6161         * config/pa/pa32-regs.h (CONDITIONAL_REGISTER_USAGE): Remove
6162         references to PIC_OFFSET_TABLE_REGNUM_SAVED.
6163         * config/pa/pa64-regs.h (CONDITIONAL_REGISTER_USAGE): Likewise.
6165 2001-01-15  DJ Delorie  <dj@redhat.com>
6167         * Makefile.in (gcov.1): Protect against texi2pod/pod2man failing.
6168         (cpp.1): Ditto.
6169         (gcc.1): Ditto.
6171 Tue Jan 16 17:20:43 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
6173         * flow.c (propagate_on_insn): Make trying to delete a prologue
6174         or epilogue insn an ICE, not a warning.  Allow doing this if
6175         the current function returns with stack pointer depressed.
6177         * combine.c (try_combine): If i3_subst_into_i2, properly check for
6178         I3 having more than one SET.
6180 2001-01-16  Jim Wilson  <wilson@redhat.com>
6182         * invoke.texi: Document IA-64 options.
6184         * config/ia64/ia64.c (ia64_print_operand_address): Delete 'B' support.
6185         (fixup_errata): Delete TARGET_A_STEP use.
6186         * config/ia64/ia64.h (MASK_A_STEP, TARGET_A_STEP): Delete.
6187         (TARGET_SWITCHES): Delete -ma-step option.
6188         * config/ia64/ia64.md (all FP patterns): Delete %B0.
6189         (movqicc_astep, movqi_internal_astep, movhicc_astep,
6190         movhi_internal_astep, movsicc_astep, movsi_internal_astep, movdi+1,
6191         movdi_internal_astep, movsfcc_astep, movsf_internal_astep,
6192         movdfcc_astep, movdf_internal_astep, movtfcc_astep,
6193         movtf_internal_astep, cmovdi_internal_astep, cmovsi_internal_astep):
6194         Delete.
6195         (movqi_internal, movhi_internal, movsi_internal, movdi_internal,
6196         movsf_internal, movdf_internal, movtf_internal, cmovdi_internal,
6197         cmovsi_internal): Delete ! TARGET_A_STEP check.
6199 2001-01-16  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
6201         * gcc.texi (Bug Lists): Do not mention newsgroups nor the
6202         possibility to report bugs via postal mail. Change a URL and
6203         merge in a nearly duplicate statement...
6204         (Bug Reporting): ...from here.
6205         (Service): Refer to the Bug Reporting section instead of
6206         duplicating an URL.
6207         (Contributing): Remove trivial explanations concerning snapshots.
6209 2001-01-16  Alan Modra <alan@linuxcare.com.au>
6211         * cppmain.c (general_init): Don't use ANSI prototype.
6213 2001-01-16  Tom Tromey  <tromey@redhat.com>
6215         * gcc.c (cpp_options): Added `*' to specs for -MF, -MQ, and -MT.
6217 2001-01-16  Richard Henderson  <rth@redhat.com>
6219         * config/i386/i386.h: Fix comment typo.
6220         * config/i386/i386.md (shift+compare pattern names): s/cmpno/cmp/
6221         (ashr+compare patterns): Match CCGOCmode not CCNOmode.
6223 2001-01-16  Phil Edwards  <pme@sources.redhat.com>
6225         * gcc.c:  Revert previous -fsyntax-only-related change; move
6226           to cp/g++spec.c.
6228 2001-01-16  Jakub Jelinek  <jakub@redhat.com>
6230         * config/i386/i386.c (fcmov_comparison_operator): Only initialize
6231         inmode after checking GET_CODE (op).
6233 2001-01-16  Richard Henderson  <rth@redhat.com>
6235         * flow.c (struct propagate_block_info): Add mem_set_list_len.
6236         (MAX_MEM_SET_LIST_LEN): New.
6237         (propagate_one_insn): Update mem_set_list_len.
6238         (invalidate_mems_from_autoinc): Likewise.
6239         (invalidate_mems_from_set): Likewise.
6240         (mark_used_regs): Likewise.
6241         (init_propagate_block_info): Likewise.  Stop collecting memories
6242         when we reach MAX_MEM_SET_LIST_LEN.
6243         (mark_set_1): Likewise.
6245 2001-01-16  Richard Henderson  <rth@redhat.com>
6247         * unroll.c (precondition_loop_p): Fail if no iteration
6248         variable found.
6250 2001-01-16  Phil Edwards  <pme@sources.redhat.com>
6252         * gcc.c:  When -fsyntax-only is given, do not complain about
6253           unused libraries.
6255 2001-01-15  Richard Henderson  <rth@redhat.com>
6257         * config/i386/i386.c (asm_output_function_prefix): Remove.
6258         (ix86_asm_file_end): New.
6259         (load_pic_register): Generate pic_label_name into a
6260         staticly allocated buffer.
6261         * config/i386/i386-protos.h: Update.
6262         * config/i386/i386.h (ASM_OUTPUT_FUNCTION_PREFIX): Remove.
6263         (ASM_FILE_END): New.
6264         * config/i386/i386afe.h: New file.
6265         * config.gcc (i?86-*-elf) [tm_file]: Use it.
6266         (i?86-*-{freebsd,linux*,moss*}): Likewise.
6267         * config/elfos.h (ASM_FILE_END): Undef before redefinition.
6268         * config/i386/cygwin.h (ASM_FILE_END): Likewise.
6269         * config/i386/osfrose.h (ASM_FILE_END): Invoke ix86_asm_file_end.
6270         * config/i386/sco5.h (ASM_FILE_END): Likewise.
6271         * config/i386/winnt.c (i386_pe_asm_file_end): Likewise.
6273 2001-01-15  Joseph S. Myers  <jsm28@cam.ac.uk>
6275         * Makefile.in (install-man): Remove explicit dependency on
6276         $(srcdir)/gcc.1.
6278         * configure.in, configure: Revert previous patch requiring perl
6279         5.6.0.
6281 2001-01-12  Aldy Hernandez  <aldyh@redhat.com>
6283         * toplev.c (flag_guess_branch_prob): New.
6284         (f_options): Add guess-branch-probability option.
6285         (rest_of_decl_compilation): Only estimate branch probability if
6286         flag set.
6287         (main): set flag_guess_branch_prob.
6289         * flags.h (flag_guess_branch_prob): New.
6291 2001-01-15  DJ Delorie  <dj@redhat.com>
6293         * gcc.texi (Makefile): Add documentation for Makefile targets.
6295 2001-01-15  Philip Blundell  <philb@gnu.org>
6297         * config/arm/arm.c (arm_finalize_pic): New arg "prologue".
6298         (is_pic): Delete.
6299         * config/arm/arm-protos.h (arm_finalize_pic): Update prototype.
6300         (is_pic): Delete declaration.
6301         * config/arm/arm.h (FINALIZE_PIC): Update call to arm_finalize_pic.
6302         (OUTPUT_INT_ADDR_CONST): Remove special handling of PIC address.
6303         * config/arm/arm.md (builtin_setjmp_receiver): New.
6305 2001-01-15  Richard Earnshaw  <rearnsha@arm.com>
6307         * arm.c (use_return_insn): Don't try to determine the function type
6308         until after reload has completed.
6309         (arm_output_epilogue): Don't adjust the sp value recovered from the
6310         stack.
6311         (emit_multi_reg_push): Don't record dwarf information for the pc.
6312         * arm.md (eh_epilogue): The function type may have changed, so it
6313         needs to be recalculated.
6314         * arm/netbsd.h (DWARF2_UNWIND_INFO): Delete.  Can now use dwarf2
6315         unwind tables on arm/netbsd.
6317 2001-01-15  Richard Earnshaw  <rearnsha@arm.com>
6319         * arm.md (cbranchsi4): Correct calculation of branch ranges.
6320         (negated_cbranchsi4): Likewise.
6322 2001-01-15  Richard Earnshaw  <rearnsha@arm.com>
6324         * config/arm/semi.h (SUBTARGET_EXTRA_SPECS): Define.
6325         (SUBTARGET_EXTRA_ASM_SPEC): Define to empty string.
6326         (ASM_SPEC): Call subtarget_extra_asm_spec.  Don't
6327         pass -mapcs-* options to assembler.
6328         * config/arm/elf.h (SUBTARGET_EXTRA_SPECS): Define.
6329         (SUBTARGET_EXTRA_ASM_SPEC): Define to empty string.
6330         (ASM_SPEC): Call subtarget_extra_asm_spec.
6332 2001-01-15  Andreas Jaeger  <aj@suse.de>
6334         * config/i386/i386.c (ix86_init_builtins): Make i size_t to remove
6335         warnings.
6336         (ix86_expand_builtin): Likewise.
6338         * gencodes.c (output_predicate_decls): Make i size_t to avoid
6339         warning about comparison between signed and unsigned.
6341 2001-01-14  Geoffrey Keating  <geoffk@redhat.com>
6343         * expr.c (do_jump): Treat VOIDmode CONST_DOUBLEs like CONST_INTs.
6345 2001-01-14  Ralf Baechle <ralf@gnu.org>
6347         * config/mips/linux.h (SUBTARGET_CPP_SPEC): Default ABI is 32; change
6348         SUBTARGET_CPP_SPEC apropriatly.
6350 2001-01-12  Mark Mitchell  <mark@codesourcery.com>
6352         * varasm.c (make_decl_rtl): Fix typo in last change.
6354 2001-01-14  Jeffrey Oldham  <oldham@codesourcery.com>
6356         * defaults.h (SUPPORTS_INIT_PRIORITY): New macro to indicate the
6357         linker supports the init_priority C++ attribute.
6358         * tm.texi (SUPPORTS_INIT_PRIORITY): Documentation for new macro.
6359         * config/mips/iris6.h (SUPPORTS_INIT_PRIORITY): Indicate Irix
6360         linker does not support init_priority C++ attribute.
6362 Sun Jan 14 22:31:30 2001  J"orn Rennecke <amylaar@redhat.com>
6364         * Makefile.in (libgcc1-test.o): Depends on stmp-int-hdrs.
6366 2001-01-14  Neil Booth  <neil@daikokuya.demon.co.uk>
6368         * c-parse.in (finish_parse): Add comment about cpp_destroy.
6369         * cp/lex.c (finish_parse): Similarly.
6370         * cppinit.c (cpp_cleanup): Rename cpp_destroy for clarity.
6371         Return the number of errors encountered.
6372         * cpplib.h (cpp_cleanup): Rename cpp_destroy, return int.
6373         * cppmain.c (main): Don't call cpp_destroy.
6375 2001-01-14  Joseph S. Myers  <jsm28@cam.ac.uk>
6377         * configure.in: Require at least perl 5.6.0 to regenerate
6378         manpages.
6379         * configure: Regenerate.
6381 2001-01-14  Richard Henderson  <rth@redhat.com>
6383         * genrecog.c (DT_veclen_ge): New.
6384         (add_to_sequence) [MATCH_PARALLEL]: Generate one.
6385         (maybe_both_true_2): Simplify DT_veclen vs DT_veclen_ge.
6386         (nodes_identical_1): Handle DT_veclen_ge.
6387         (write_cond, debug_decision_2): Likewise.
6389 2001-01-14  Richard Earnshaw  <rearnsha@arm.com>
6391         * arm.md (ldmsi_postinc, ldmsi, stmsi_postinc, smsi): Delete.  Replace
6392         with ...
6393         (ldmsi_postinc[432], ldmsi[432], stmsi_postinc[432], stmsi[432]): New.
6395 2001-01-14  Neil Booth  <neil@daikokuya.demon.co.uk>
6397         * cppmain.c (do_preprocessing): New function; most of the old
6398         main.
6399         (main): Call it to do most of the work.
6400         (cb): Move from global scope to set_callbacks ().
6401         (setup_callbacks): Get the callback pointer.
6402         (general_init, printer_init): Clean up code and comments.
6404 2001-01-14  Richard Earnshaw  <rearnsha@arm.com>
6406         * config/arm/semi.h (ASM_SPEC): Pass -k to the assembler when
6407         compiling PIC.
6409 2001-01-14  Kazu Hirata  <kazu@hxi.com>
6411         * config/h8300/h8300.c (get_shift_alg): Update comments.
6413 Sun Jan 14 06:20:49 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
6415         * ggc-page.c (alloc_annon): Call perror and correctly call exit.
6416         (alloc_page, ggc_alloc): Add casts to remove warnings.
6418 2001-01-14  Geoffrey Keating  <geoffk@redhat.com>
6420         * combine.c (simplify_comparison): Don't change `code' when
6421         can't reverse comparison.
6423 2001-01-14  Richard Henderson  <rth@redhat.com>
6425         * rtlanal.c (computed_jump_p_1): Rename from jmp_uses_reg_or_mem;
6426         update all call sites.  Return true for all non-label constants.
6428 Sun Jan 14 10:09:48 MET 2001  Jan hubicka  <jh@suse.cz>
6430         * i386.c (ix86_expand_compare): Add bypass_test and second_test
6431         parameters.
6432         (ix86_expand_branch): Update.
6433         (ix86_expand_setcc): Update to handle multiple test conditions.
6434         (expand_int_movcc): Likewise.
6435         (expand_fp_movcc): Likewise.
6436         * i386-protos.h (ix86_expand_compare): New.
6437         * i386.md (andqi_?_slp, orqi_?_slp): New.
6438         (conditional trap expander): Update call to ix86_expand_compare.
6440 2001-01-14  Richard Henderson  <rth@redhat.com>
6442         * config/vax/vax.md: Use nonimmediate_operand instead of
6443         general_operand in destinations.
6445         * config/vax/vax.md (indirect_jump): Use register_operand.
6447         * config/vax/vax.h (RETURN_POPS_ARGS): Max at 255 arguments.
6448         * config/vax/vax.md (call_pop): Turn into an expander.
6449         (call_value_pop): Likewise.
6450         (call, call_value): New.
6452 2001-01-14  Andreas Jaeger  <aj@suse.de>
6454         * config/i386/i386.c (ix86_split_fp_branch): Remove unused
6455         variables.
6456         (ix86_fp_compare_mode): Add unused attribute.
6457         (ix86_expand_fp_movcc): Remove unused variable.
6458         (ix86_expand_builtin): Make fcode unsigned.
6460         * expr.c (MOVE_BY_PIECES_P): Cast MOVE_RATIO to unsigned.
6461         (expand_expr): Add cast to avoid signed warning.
6462         (store_field): Likewise.
6463         (store_constructor_field): Likewise.
6464         (store_constructor): Likewise.
6465         (store_expr): Likewise.
6466         (clear_storage): Likewise.
6467         (emit_group_store): Likewise.
6468         (emit_group_load): Likewise.
6470 2001-01-13  Joseph S. Myers  <jsm28@cam.ac.uk>
6472         * c-common.c: Move format checking code to ...
6473         * c-format.c: ... here.  New file.  Reorder some functions and
6474         declarations.
6475         (decl_handle_format_attribute, decl_handle_format_arg_attribute):
6476         New functions.
6477         * c-common.h (decl_handle_format_attribute,
6478         decl_handle_format_arg_attribute): Declare.
6479         * Makefile.in (C_AND_OBJC_OBJS): Add c-format.o.
6480         (c-common.o): Adjust dependencies.
6481         (c-format.o): New list of dependencies.
6483 2001-01-13  Jakub Jelinek  <jakub@redhat.com>
6485         * unroll.c (loop_iterations): If we cannot prove iteration variable
6486         is set once in each iteration, punt.
6488 Sun Jan 14 00:23:15 2001  Denis Chertykov  <denisc@overta.ru>
6490         * config/avr/avr.md ("strlenhi"): Remove clobber of input address.
6491         (*strlenhi): Remove clobber (which was buggy) of output address.
6493 2001-01-13  Joseph S. Myers  <jsm28@cam.ac.uk>
6495         * Makefile.in (generated-manpages): Add gcc.1
6496         ($(srcdir)/gcc.1): New target.
6497         (maintainer-clean): Delete $(srcdir)/gcc.1.
6498         * gcc.texi: Add macros @gccoptlist and @gol.
6499         * invoke.texi: Include option summary in manpage.  Mark up option
6500         summary with @gccoptlist and @gol.  Use @r in one place where
6501         appropriate.
6502         * texinfo.tex: Update to version 2000-12-11.07 from ftp.gnu.org.
6503         * gcc.1: Generate from invoke.texi.
6505 2001-01-13  Richard Henderson  <rth@redhat.com>
6507         * ggc-page.c (USING_MALLOC_PAGE_GROUPS): New; set if not using mmap.
6508         (struct page_entry): Add group member.
6509         (struct page_group): New.
6510         (struct globals): Add page_groups member.
6511         (alloc_anon): Only define for using mmap; remove valloc call.
6512         (page_group_index): New.
6513         (set_page_group_in_use): New.
6514         (clear_page_group_in_use): New.
6515         (alloc_page): Implement USING_MALLOC_PAGE_GROUPS.
6516         (free_page, release_pages): Likewise.
6517         * configure.in (with-gc): Default to ggc-page always.
6519 2001-01-13  Alexandre Oliva  <aoliva@redhat.com>
6521         * reload1.c (replace_pseudos_in_call_usage): Use
6522         reg_equiv_constant and reg_equiv_address, and don't try
6523         regno_reg_rtx first.
6525 2001-01-13  Richard Henderson  <rth@redhat.com>
6527         * ggc-page.c (alloc_page): Round up allocation size to one page.
6528         Set e->order on extra pages.
6530 2001-01-13  Richard Henderson  <rth@redhat.com>
6532         * genrecog.c (nodes_identical): Expand commentary.
6533         (write_switch): Watch out for identical nodes.
6535 2001-01-13  Neil Booth  <neil@daikokuya.demon.co.uk>
6537         * cppfiles.c (_cpp_fake_include): New function.
6538         * cpphash.h (_cpp_fake_include): New.
6539         * cpplib.c (do_line): Call _cpp_fake_include when entering
6540         header files in preprocessed input.
6541         * cppmain.c (cb_pragma_implementation): Remove handling.
6542         (setup_callbacks): Don't register pragmas.
6544 2001-01-13  Neil Booth  <neil@daikokuya.demon.co.uk>
6546         * extend.texi: Udate for CPP.
6548 2001-01-13  Andreas Jaeger  <aj@suse.de>
6550         * reload1.c: Add prototype for replace_pseudos_in_call_usage.
6552         * regmove.c: Add prototype for replace_in_call_usage.
6554 2001-01-13  Neil Booth  <neil@daikokuya.demon.co.uk>
6556         * cpplib.h (cpp_pool, mi_state, mi_ind, struct cpp_macro,
6557         struct cpp_chunk, struct htab, struct toklist,
6558         struct cpp_context, CPP_STACK_MAX, struct lexer_state,
6559         struct spec_nodes, struct cpp_reader, CPP_OPTION, CPP_BUFFER,
6560         CPP_BUF_LINE, CPP_BUF_COL, CPP_BUF_COLUMN, U, ustrcmp, ustrncmp,
6561         ustrlen, uxstrdup, ustrchr, ufputs): Move to cpphash.h.
6562         (struct macro_args): Delete.
6563         * cpphash.h: See above.
6565 2001-01-13  Neil Booth  <neil@daikokuya.demon.co.uk>
6567         * cppmain.c (struct printer): Remove no_line_dirs.
6568         (options, cb): New.
6569         (main, setup_callbacks, scan_buffer, printer_init, cb_define)
6570         : Use options rather than CPP_OPTION.
6571         (setup_callbacks): Use cb rather than pfile->cb.
6572         (main): No need to check for a buffer.  Use cpp_errors.
6573         (printer_init): Don't set no_line_dirs.
6574         (maybe_print_line): Use options not no_line_dirs.
6575         (cb_file_change): Don't call print_line if -P.
6577 2001-01-13  Neil Booth  <neil@daikokuya.demon.co.uk>
6579         * c-lex.c (init_c_lex): Use cpp_get_callbacks to set
6580         callbacks.
6581         * c-parse.in (finish_parse): Use cpp_errors.
6582         (__yylex): Use return value of cpp_pop_buffer.
6583         * cp/lex.c (finish_parse): Use cpp_errors.
6584         * cp/spew.c (read_token): Use return value of cpp_pop_buffer.
6586 Sat Jan 13 16:57:40 2001  Denis Chertykov  <denisc@overta.ru>
6588         * README.AVR: URLs corrected.
6590 Sat Jan 13 07:30:02 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
6592         * c-decl.c (start_function): Don't warn if old prototype is builtin
6593         that's not in C's namespace.
6594         * libgcc2.c (_varargs): Update definition of __builtin_saveregs.
6595         (_bb): Add prototype for ctime.
6596         * config/alpha/osf.h (TRANSFER_FROM_TRAMPOLINE): Add missing protos.
6598 Sat Jan 13 09:53:32 MET 2001  Jan Hubicka  <jh@suse.cz>
6600         * i386.c (ix86_fp_comparison_arithmetics_cost,
6601         ix86_fp_comparison_fcomi_cost, ix86_fp_comparison_sahf_cost,
6602         ix86_fp_comparison_cost): New functions.
6603         (ix86_expand_fp_compare): Use the costs to choose best bethod; add
6604         two new parameters SECOND_TEST and BYPASS_TEST; allow generating
6605         two-branch sequences; make static.
6606         (ix86_use_fcomi_compare): Do decision according to the costs.
6607         (split_fp_branch): New.
6608         * i386.md (compare-and-branch patterns): Use split_fp_branch.
6609         * i386-protos.h (ix86_expand_fp_compare): Remove
6610         (ix86_split_fp_branch): Declare.
6612         * i386.h (PREDICATE_CODES): Update codes from fcmov_comparison_operand
6613         and ix86_comparison_operator.
6615         * i386.c (ix86_prepare_fp_compare_args): Try to rearange the comparison
6616         to make it cheaper.
6618         * i386.c (put_condition_code): Output properly the unordered/ordered
6619         compares in fp case.
6620         (ix86_expand_fp_movcc): Use ix86_expand_compare infrastructure.
6622         * tm.texi (REVERSE_CONDITION): Document.
6623         * i386.c (ix86_fp_compare_mode): Simplify; return always CCFPmode
6624         in -ffast-math mode.
6625         * i386.h (REVERSE_CONDITION, REVERSIBLE_CC_MODE): New macro.
6627 2001-01-13  Alexandre Oliva  <aoliva@redhat.com>
6629         * config/sh/sh.c (sh_expand_epilogue): Use PR explicitly.
6631         * config/sh/sh.c (sh_expand_prologue): Let the second toggle_sz be
6632         optimized away.
6634         * config/sh/sh.c (mova_p): Fix test for mova_const.
6636 2001-01-13  Neil Booth  <neil@daikokuya.demon.co.uk>
6638         * fix-header.c (read_scan_file): Use cpp_get_callbacks and
6639         cpp_get_options rather than dereferencing pfile and using
6640         CPP_OPTION.
6641         * scan-decls.c (scan_decls): Use return value of
6642         cpp_pop_buffer rather than CPP_BUFFER.
6644 2001-01-13  Neil Booth  <neil@daikokuya.demon.co.uk>
6646         * cppinit.c (cpp_handle_option): help_only is now part of the
6647         cpp_options structure.
6648         * cpplib.c (cpp_errors, cpp_get_options, cpp_get_callbacks,
6649         cpp_set_callbacks): New functions.
6650         * cpplib.h (cpp_callbacks): Break out as a named structure.
6651         (cpp_options): Move help_only here from cpp_reader.
6652         (CPP_FATAL_ERRORS): Update to use cpp_errors.
6653         (cpp_errors, cpp_get_options, cpp_get_callbacks,
6654         cpp_set_callbacks): New prototypes.
6655         * cppmain.c (main): Update for help_only.
6657 2001-01-13  Joseph S. Myers  <jsm28@cam.ac.uk>
6659         * Makefile.in (info, maintainer-clean, install-info, uninstall):
6660         Also build and remove and install and uninstall c-tree.info and
6661         cppinternals.info.
6662         ($(srcdir)/gcc.info): Add dependency on contrib.texi.
6663         ($(srcdir)/cppinternals.info): New target.
6664         * c-tree.texi: Change file name used when makeinfo used without -o
6665         from ir.info to c-tree.info.  Add info directory entry.
6666         * cppinternals.texi: Add info directory entry.
6667         * .cvsignore: Update.
6669 2001-01-12  Jakub Jelinek  <jakub@redhat.com>
6671         * c-typeck.c (store_init_value): Don't require constant initializer
6672         elements with -pedantic -std=c99.
6673         (digest_init): Change error about non-constant initializer elements
6674         into pedwarn.
6675         (constructor_range_end): Remove.
6676         (constructor_incremental, designator_depth,
6677         designator_errorneous): New variables.
6678         (struct constructor_stack): Remove range_end, add incremental.
6679         (struct constructor_range_stack, constructor_range_stack): New.
6680         (struct initializer_stack): Add constructor_range_stack.
6681         (finish_init): Set it.
6682         (start_init): Likewise.  require_constant_elements for non-static
6683         trees only if not flag_isoc99.
6684         (really_start_incremental_init): Remove constructor_range_end, add
6685         constructor_incremental.
6686         (pop_init_level): Likewise.
6687         (push_init_level): Likewise.  If implicit and the subobject had some
6688         value set already, preinitialize the level with it.
6689         Warn about missing braces only if not pushing due to designators.
6690         (set_designator, push_range_stack): New functions.
6691         (set_init_label): Use them.
6692         (set_init_index): Likewise.  Remove constructor_range_end.
6693         Error if designator index is outside of array bounds.
6694         (add_pending_init): Compare values of purpose index trees, not the
6695         trees themselves.  Allow overwriting of already initialized element.
6696         Issue a warning if it had side-effects.
6697         (set_nonincremental_init, set_nonincremental_init_from_string): New
6698         functions.
6699         (pending_init_member): Rename to...
6700         (find_init_member): ...this function.  Call set_nonincremental_init
6701         if necessary.  Compare values of purpose index trees, not the trees
6702         themselves.  Return the actual value, not just non-zero if something
6703         is found.
6704         (output_init_element): Remove checks for duplicates.
6705         If field has zero size, only check the initializer for correctness.
6706         Call set_nonincremental_init if necessary.  Push RECORD/ARRAY into AVL
6707         if constructor_incremental is zero.  Change error about initializers
6708         not computable at load time into pedwarn.
6709         (output_pending_init_elements): Compare bit positions, not
6710         FIELD_DECLs to take into account zero-sized fields.
6711         (process_init_element): Use constructor_range_stack to fill all
6712         ranges in the designator lists from current level up.
6713         * extend.texi: Update documentation for labeled elements.
6715 2001-01-12  Alexandre Oliva  <aoliva@redhat.com>
6717         * calls.c (emit_library_call_value_1): Add USEs and CLOBBERs
6718         to function usage for arguments passed by reference.  Optimize
6719         callee-copied arguments.
6720         * regmove.c (replace_in_call_usage): New function.
6721         (fixup_match_1): Call it.
6722         * cse.c (cse_insn): Canonicalize registers in function usage.
6723         * reload1.c (replace_pseudos_in_call_usage): New function.
6724         (reload): Call it.
6726         * Makefile.in: Reverted yesterday's wrong patch.  Installed the
6727         right version.
6729 2001-01-12  Jakub Jelinek  <jakub@redhat.com>
6731         * config/alpha/alpha.c (alpha_expand_block_move): GET_MODE of tmp,
6732         not XEXP (tmp, 0).
6734 2001-01-12  DJ Delorie  <dj@redhat.com>
6736         * Makefile.in (bootstrap): rename stages to be mnemonic.  Add
6737         restageN, unstageN, bubblestrap, quickstrap, and cleanstrap
6738         targets.
6740 2001-01-12  Joseph S. Myers  <jsm28@cam.ac.uk>
6742         * cpp.texi, extend.texi, gcc.texi, install.texi, invoke.texi,
6743         tm.texi: Consistently refer to ISO C instead of ANSI C.  Refer to
6744         -std options alongside references to -ansi.  Update some
6745         documentation for C99.
6746         * cpp.1: Regenerate.
6748 2001-01-12  Andreas Jaeger  <aj@suse.de>
6750         * haifa-sched.c (restore_line_notes): Remove argument block B
6751         since it's unused.
6752         * sched-ebb.c (schedule_ebb): Change caller.
6753         * sched-rgn.c (schedule_region): Likewise.
6754         * sched-int.h (restore_line_notes): Adjust prototype.
6756         * loop.h: Remove wrong declaration of doloop_condition_get.
6758 2001-01-12  Phil Edwards  <pme@sources.redhat.com>
6760         * extend.texi:  Move C++-extension-related node from the C section
6761           into the C++ section.
6763 2001-01-12  Joseph S. Myers  <jsm28@cam.ac.uk>
6765         * extend.texi: Refer to an array of pointers to functions instead
6766         of one of functions.
6768 Fri Jan 12 12:08:12 MET 2001  Andreas Jaeger  <aj@suse.de>
6769                               Jan Hubicka  <jh@suse.cz>
6771         * combine.c (reversed_comparison): Fix typo in last patch.
6772         Check X for NULL.
6773         (combine_reversed_comparison_code): Make static to follow
6774         prototype declaration.
6776 2001-01-12  Phil Edwards  <pme@sources.redhat.com>
6778         * install.texi:  Remove misplaced duplicate entry.
6780 2001-01-11  Ulrich Drepper  <drepper@redhat.com>
6782         * config/float-i386.h: Define FLT_EVAL_METHOD and DECIMAL_DIG for C99.
6784 Thu Jan 11 17:06:30 EST 2001  John Wehle  (john@feith.com)
6786         * final.c: (leaf_function_p): Fix typo.
6788 2001-01-11  Zack Weinberg  <zack@wolery.stanford.edu>
6790         * aclocal.m4 (AC_FUNC_MMAP_ANYWHERE): Completely rewritten.
6791         Now defines HAVE_MMAP_DEV_ZERO and/or HAVE_MMAP_ANON depending
6792         which you have.
6793         (AC_FUNC_MMAP_FILE): Don't AC_REQUIRE AC_FUNC_MMAP_ANYWHERE.
6794         * configure.in: Set GGC to ggc-page if any of mmap_dev_zero,
6795         mmap_anon, and valloc is available.
6796         * ggc-page.c: Restructure ifdef logic to match new autoconf
6797         spec.  Don't throw away the test page in init_ggc.
6799         * configure, config.in: Regenerate.
6801 2001-01-12  Michael Hayes  <mhayes@redhat.com>
6803         * loop.h (total_biv_increment): Constify iv_class pointer.
6804         (struct induction): Replace `mem_mode' with `mem' rtx.
6805         * unroll.c (total_biv_increment): Constify iv_class pointer.
6806         * loop.c (loop_giv_reduce_benefit): Derive mem mode from mem rtx.
6807         (find_mem_givs, combine_givs_p): Likewise.
6808         (debug_ivs, debug_iv_class, loop_ivs_dump, loop_iv_class_dump): New.
6810 2001-01-10  Thomas Pfaff <tpfaff@gmx.net>
6812         * gthr-win32.h (__gthread_objc_thread_get_data): Save and restore Win32
6813         LastError.
6814         (__gthread_getspecific): Ditto.
6816 Fri Jan 12 00:04:00 MET 2001  Jan Hubicka  <jh@suse.cz>
6818         * i386.c (ix86_comparison_operator, fcmov_comparison_operator,
6819         put_condition_code): Convert fp comparison codes to integer
6820         before handling.
6821         (ix86_expand_fp_compare): Postnote the fp comparison code converison
6822         to final.
6824         * i386.c (unsigned_comparison, no_comparison_operator): Kill.
6825         * i386-protos.h (no_comparison_operator): Kill.
6827         * i386.c (ix86_expand_fp_compare): Fix ordered/unordered confussion.
6829         * combine.c (REVERSIBLE_CC_MODE): Remove.
6830         (reversible_comparison_p): Remove.
6831         (combine_reversed_comparison_code): New.
6832         (reversed_comparison): New.
6833         (combine_simplify_rtx): Use
6834         combine_reversed_comparison_code/reversed_comparison instead
6835         of reversible_comparison_p.
6836         (simplify_if_then_else): Likewise.
6837         (simplify_set): Likewise.
6838         (simplify_logical): Likewise.
6839         (if_then_else_cond): Likewise.
6840         (known_cond): Likewise.
6841         (simplify_comparison): Likewise.
6843 2001-01-11  Alan Lehotsky  <lehotsky@tiac.net>
6845         * builtins.c (std_expand_builtin_va_start): Handle varargs when
6846         sizeof (int) is larger than sizeof(__word__).
6848 2001-01-11  Neil Booth  <neil@daikokuya.demon.co.uk>
6850         * cppinit.c (do_includes): Fix typo.
6852 2001-01-11  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
6854         * config/m68hc11/m68hc11.md (cmphi_1): Make sure reloading
6855         in S_REGS does not occur because not all sources are possible
6856         when a S_REGS is a destination (sometimes needs a clobber).
6857         (movqi_const0, zero_extendhisi2, zero_extendqisi2): Likewise.
6858         (zero_extendhidi2, extendqisi2, extendqihi2, extendhisi2): Likewise.
6859         (anddi3, iordi3, xordi3, negqi2, one_cmplhi2, one_cmplqi2: Likewise.
6860         (ashldi3_const32, ashldi3_const1, ashlsi3_const16): Likewise.
6861         (ashlsi3_const1, ashlhi3_2, ashlqi3_const1, ashrhi3): Likewise.
6862         (ashrqi3_const1, lshrdi3_const32, lshrdi3_const63): Likewise.
6863         (lshrdi_const1, lshrsi3_const16): Likewise.
6864         (*addhi3, lshrsi3_const1, lshrqi3_const1): Likewise.
6865         (*movhi_68hc12, *movqi_68hc12): Likewise.
6866         (movstrictqi): Make sure reloading in D_REGS as a destination
6867         does not happen.
6869 2001-01-11  Neil Booth  <neil@daikokuya.demon.co.uk>
6871         * cppspec.c (DEFAULT_WORD_SWITCH_TAKES_ARG): Add -MQ.
6873 2001-01-11  Neil Booth  <neil@daikokuya.demon.co.uk>
6875         * cppinit.c (cpp_start_read): If -fpreprocessed, ignore
6876         -D, -U and -A, and don't initialize the builtins.
6877         (do_includes): Error if -include or -imacros with -fpreprocessed.
6878         * cppmain.c (cb_define, cb_undef): Unconditionally process
6879         the callback.
6880         * tradcpp.c (main): Fix typo.
6882 2000-01-11  Mark Elbrecht  <snowball3@bigfoot.com>
6884          * cppfiles.c (cpp_included, find_include_file, _cpp_execute_include)
6885            (read_name_map): Use IS_ABSOLUTE_PATH.
6886          * tradcpp.c (get_filename): Likewise.
6888 2001-01-11  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
6890         * config/m68hc11/m68hc11.md (*adcq, *subcq): Fix operand numbers.
6891         (*ashlsi3_const16_zexthi, *ashlsi3_const1): Likewise.
6892         (*lshrsi3_const, *lshrsi3_const1, *lshrsi3_const16): Likewise.
6893         (*ashrsi3, *ashrsi3_const, *ashlsi3, *ashlsi3_const): Likewise.
6894         (*ashlsi3_const1, *lshrsi3, *ashlsi3_const16): Likewise.
6895         (cmphi_z_used): Don't use '@' for the output.
6896         (tstqi_z_used): Likewise.
6897         (cmpqi_z_used): Likewise.
6898         (one_cmplsi2): Likewise.
6900 2001-01-11  Alexandre Oliva  <aoliva@redhat.com>
6902         * config/sh/sh.c (barrier_align): Recognize branch around far
6903         branch and redundant insn.
6905 2001-01-11  Neil Booth  <neil@daikokuya.demon.co.uk>
6907         * invoke.texi: Restore documentation of the drivers' switches -MD
6908         and -MMD.
6910 2001-01-11  Alexandre Oliva  <aoliva@redhat.com>
6912         * config/sh/sh.h (LABEL_ALIGN): Use UNSPECV_ALIGN instead of 1.
6914         * Makefile.in (check-gcc//%, check-g++//%, check-g77//%,
6915         check-objc//%): Support parallel testing of multilibs.
6916         (TESTSUITEDIR): Set to testsuite by default, but override for
6917         parallel testing.
6918         (check-gcc, check-g++, check-g77, check-objc): Enter
6919         $(TESTSUITEDIR).
6921 2001-01-11  Bernd Schmidt  <bernds@redhat.com>
6923         * alias.c (throughout): Use REGNO, rather than ORIGINAL_REGNO.
6924         * sched-deps.c (deps_may_trap_p): Likewise.
6925         * basic-block.h: Remove a comment.
6926         * flow.c (PROP_POSTRELOAD): Remove.
6927         (update_life_info): Don't add it to prop_flags.
6928         (mark_set_1): Lose the code that was enabled by it.
6930 2001-01-11  Michael Hayes  <mhayes@redhat.com>
6932         * flow.c (flow_call_edges_add): New.
6933         * basic_block.h (flow_call_edges_add): New.
6935 2001-01-11  J"orn Rennecke <amylaar@redhat.com>
6937         * reload1.c (move2add_note_store): Update reg_set_luid even if
6938         base reg remains the same.
6940 2001-01-10  Nick Clifton  <nickc@redhat.com>
6942         * config/d30v/d30v.c (d30v_init_machine_status): Initialise
6943         machine_function structure to zero.
6944         Add prototypes for machine_status functions.
6946 2001-01-10  Mark Mitchell  <mark@codesourcery.com>
6948         * c-common.h (CTI_VOID_LIST): Remove.
6949         (void_list_node): Likewise.
6950         * tree.h (TI_VOID_LIST_NODE): New enumeral.
6951         (void_list_node): New macro.
6952         * config/arm/arm.c (arm_init_builtins): Use void_list_node.
6953         * config/i386/i386.c (ix86_init_builtins): Likewise.
6954         * config/ia64a/ia64.c (ia64_init_builtins): Likewise.
6956 2001-01-10  Neil Booth  <neil@daikokuya.demon.co.uk>
6958         * Makefile.in (tradcpp0): Depend on mkdeps.h.  Link mkdeps.o
6959         * cppinit.c (cpp_start_read): Update comment, remove unneeded
6960         if statement.
6961         * tradcpp.c: Include mkdeps.h.
6962         (deps, print_deps_phony_targets, deps_append, output_deps,
6963         init_dependency_output, output_deps): New.
6964         (deps_buffer, deps_allocated_size, deps_size, deps_column,
6965         deps_output): Delete.
6966         (print_deps_missing_files): Rename deps_missing_files.
6967         (inhibit_output): Make global.
6968         (main): Delete inhibit_output, deps_stream, deps_target.
6969         Use mkdeps functionality in the same way as cpplib.  Remove
6970         -g3 handling.  Handle -MF, -MP, -MQ, -MT.  Update handling of
6971         -M and -MM.  Remove old handling of deps via deps_out, and
6972         old reading of environment variables.
6973         (get_filename): Update to use deps_add_dep.
6975 2001-01-10  Mark Mitchell  <mark@codesourcery.com>
6977         * output.h (make_function_rtl): Remove prototype.
6978         (make_decl_rtl): Likewise.
6979         * varasm.c (make_function_rtl): Remove.
6980         (make_decl_rtl): Determine top-levelness from DECL_CONTEXT, rather
6981         than from a third parameter.
6982         * tree.h (make_decl_rtl): Remove last parameter.
6983         * c-decl.c (builtin_function): Remove last argument in call to
6984         make_decl_rtl; use make_function_rtl instead of make_decl_rtl.
6985         (start_function): Likewise.
6986         * except.c (call_get_eh_context): Likewise.
6987         * expr.c (emit_block_move): Likewise.
6988         (clear_storage): Likewise.
6989         * profile.c (output_func_start_profiler): Likewise.
6990         * toplev.c (rest_of_decl_compilation): Likewise.
6991         * objc/objc-act.c (create_builtin_decl): Likewise.
6992         (synth_module_prologue): Likewise.
6993         (generate_static_reference): Likewise.
6994         (build_selector_reference_decl): Likewise.
6995         (build_class_reference_decl): Likewise.
6996         (build_objc_string_decl): Likewise.
6997         (build_protocol_reference): Likewise.
6999 2001-01-10  Richard Henderson  <rth@redhat.com>
7001         * hwint.h: Revert yesterday's change.
7003 2001-01-10  Nick Clifton  <nickc@redhat.com>
7005         * function.h (save_machine_status): Delete.
7006         (restore_machine_status): Delete.
7007         Amend comment describing {init|mark|free}_machine_status.
7009         * function.c (save_machine_status): Delete.
7010         (restore_machine_status): Delete.
7011         Amend comment describing {init|mark|free}_machine_status.
7012         (push_function_context_to): Remove invocation of
7013         save_machine_status.
7014         (pop_function_context_from): Remove invocation of
7015         restore_machine_status.
7017         * emit-rtl.c (init_emit_once): Amend comment describing
7018         {init|mark|free}_machine_status.
7020         * tm.texi (Per-Function Data): New node.  Describe the
7021         INIT_EXPANDERS macro and the {init|mark|free}_machine_status
7022         function pointers.
7024 2001-01-10  Neil Booth  <neil@daikokuya.demon.co.uk>
7026         * cppinit.c (OPT_g): Remove.
7027         (cpp_handle_option): Update for removed -g3.
7028         (print_help): Update.
7029         * cpplib.h (struct cpp_options): Remove debug_output.
7030         * cppmain.c (setup_callbacks, cb_define): Update.
7031         * gcc.c (cpp_options): Translate -g3 to -dD.
7033 2001-01-10  Aldy Hernandez  <aldyh@redhat.com>
7035         * config/i960/i960.md: Change modifier to + on the zero_extract
7036         pattern after the (rotate -2 reg) canonicalization pattern.
7038 2001-01-10  Richard Henderson  <rth@redhat.com>
7040         * config/alpha/alpha.c (alpha_free_machine_status): New.
7041         (override_options): Install it.
7042         (alpha_mark_machine_status): Verify machine non-null.
7043         * config/i386/i386.c (ix86_free_machine_status): New.
7044         (override_options): Install it.
7045         (ix86_init_machine_status): Use xcalloc.
7046         (ix86_mark_machine_status): Verify machine non-null.
7047         * config/ia64/ia64.c (ia64_free_machine_status): New.
7048         (ia64_override_options): Install it.
7049         (ia64_mark_machine_status): Verify machine non-null.
7051 Wed Jan 10 11:34:39 2001  Jeffrey A Law  (law@cygnus.com)
7053         * function.c (instantiate_virtual_regs): Instantiate virtual
7054         registers found in CALL_INSN_FUNCTION_USAGE.
7056 2001-01-10  Joseph S. Myers  <jsm28@cam.ac.uk>
7058         * i386.h (CPP_CPU_SPEC): Allow for -std=c* and -std=i* as
7059         equivalent to -ansi in disabling -Di386.
7061 Wed Jan 10 16:38:31 MET 2001  Jan Hubicka  <jh@suse.cz>
7063         * i386.c (ix86_fp_compare_code_to_integer, ix86_fp_comparison_codes):
7064         new functions.
7065         (ix86_expand_fp_compare): Make trivial use of new infrastructure.
7067 2001-01-10  Richard Earnshaw  <rearnsha@arm.com>
7069         * arm.c (arm_init_builtins): Temporarily disable xscale builtins.
7071 2001-01-10  Joseph S. Myers  <jsm28@cam.ac.uk>
7073         * invoke.texi: Document that -fcond-mismatch isn't supported for
7074         C++.
7076 2001-01-10  Joseph S. Myers  <jsm28@cam.ac.uk>
7078         * gcc.texi: Define macro gcctabopt.
7079         * invoke.texi: Add manpage sections BUGS and AUTHOR.  Use
7080         @command, @env and @option in some places where appropriate.  Use
7081         @gcctabopt where appropriate.  Put URLs and email addresses inside
7082         @w.
7084 2001-01-10  Nathan Sidwell  <nathan@codesourcery.com>
7086         * gcc.c (cpp_options): Set MD file name from output
7087         filename, if specified.
7088         (suffix_subst): New static variable.
7089         (do_spec): Clear it.
7090         (do_spec_1, case '.'): Handle new `%.suffix' spec.
7091         Clear it.
7092         (give_switch): Handle suffix_subst.
7094 2001-01-10  Phil Edwards  <pme@sources.redhat.com>
7096         * invoke.texi:  Fix another typo.
7098 2001-01-10  Phil Edwards  <pme@sources.redhat.com>
7100         * invoke.texi:  Fix typo.
7102 2001-01-10  Neil Booth  <neil@daikokuya.demon.co.uk>
7104         * c-lang.c (lang_hooks): Update.
7105         (lang_decode_option): Remove.
7106         (lang_init_options): Rename c_init_options.
7107         * toplev.c (main): Use lang_hooks for lang_init_options
7108         and lang_decode_option.
7109         * toplev.h (lang_hooks): Add 2 new hooks.
7110         * tree.h: Remove lang_init_options and lang_decode_option.
7111         * cp/cp-tree.h (lang_decode_option): Rename cxx_decode_option.
7112         * cp/decl2.c: Similarly.
7113         * cp/lex.c (lang_init_options): Rename cxx_init_options.
7114         (lang_hooks): Update.
7115         * f/com.c (f_init, f_finish): Rename ffe_init, ffe_finish
7116         for consistency.
7117         (lang_init_options): Rename ffe_init_options.
7118         (lang_hooks): Update.
7119         (lang_decode_option): Remove.
7120         * java/lang.c (lang_init_options): Rename java_init_options.
7121         (lang_decode_option): Rename java_decode_option.
7122         (lang_hooks): Update.
7123         * objc/objc-act.c (lang_init_options): Rename objc_init_options.
7124         (lang_decode_option): Rename objc_decode_option.
7125         (lang_hooks): Update.
7127 2001-01-09  Nick Clifton  <nickc@redhat.com>
7129         * config/d30v/d30v.c (d30v_eh_epilogue_sp_ofs): Delete.
7130         (d30v_return_addr_rtx): Delete.
7131         (d30v_expand_epilogue): Use eh_epilogue_sp_ofs field in the
7132         cfun->machine structure.
7133         (struct machine_function): Move to d30v.h
7134         (d30v_save_machine_status): Delete.
7135         (d30v_restore_machine_status): Delete.
7136         (d30v_init_machine_status): New Function.
7137         (d30v_mark_machine_status): New Function.
7138         (d30v_free_machine_status): New Function.
7139         (d30v_init_expanders): Use new functions.
7140         (d30v_return_addr): Use ra_rtx field in cfun->machine.
7141         (d30v_add_gc_roots): Remove d30v_eh_epilogue_sp_ofs and
7142         d30v_return_addr_rtx.
7144         * config/d30v/d30v.h (struct_machine): Move here.
7145         Add eh_epilogue_sp_ofs field.
7147         *config/d30v/d30v.md (epilogue): Initialise eh_epilogue_sp_ofs
7148         field in cfun->machine structure.
7150 Tue Jan  9 21:34:57 2001  John David Anglin  <dave@hiauly1.hia.nrc.ca>
7152         * pa32-regs.h (CONDITIONAL_REGISTER_USAGE): When generating pic code,
7153         PIC_OFFSET_TABLE_REGNUM_SAVED is a call_used register.
7154         * pa64-regs.h (CONDITIONAL_REGISTER_USAGE): Likewise.
7156 Tue Jan  9 21:25:19 2001  Jeffrey A Law  (law@cygnus.com)
7158         * objc/lang-options.h: Remove bogus reference to
7159         Java trademark.
7161 2001-01-09  Kazu Hirata  <kazu@hxi.com>
7163         * config/h8300/h8300.c (get_shift_alg): Use a struct shift_info to
7164         return the result.
7166 2001-01-09  Alan Lehotsky  <lehotsky@tiac.net>
7168         * reload.c (find_reloads_address): Check for eliminable registers
7169                   when substituting a constant expression for a pseudo.
7171 2001-01-09  Joseph S. Myers  <jsm28@cam.ac.uk>
7173         * c-common.c (enum format_type): Add format_type_error.
7174         (decode_format_type): New function.
7175         (decl_attributes): Use it.
7176         (format_kind_info): Adjust comment.
7178 2001-01-09  David O'Brien  <obrien@BSDi.com>
7180         * config.gcc (*-*-gnu*, i[34567]86-*-elf*, i[34567]86-*-linux*libc1,
7181         i[34567]86-*-linux*, i[34567]86-*-moss*): Specify needed platform specific
7182         files in tm_file.
7183         * config/i386/gnu.h: Don't include required platform specific .h files,
7184         tm.h will do it instead.
7185         * config/i386/i386elf.h: Likewise.
7186         * config/i386/linux.h: Likewise.
7187         * config/i386/moss.h: Likewise.
7188         * config/mips/gnu.h: Likewise.
7190 2001-01-09  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
7192         * config.gcc (powerpc-*-beos*): Include ${tm_file} and rs6000/aix.h.
7193         (rs6000-ibm-aix3.[01]*): Likewise.
7194         (rs6000-ibm-aix3.2.[456789]*, powerpc-ibm-aix3.2.[456789]*): Likewise.
7195         (rs6000-ibm-aix4.[12]*, powerpc-ibm-aix4.[12]*): Likewise.
7196         (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Likewise.
7197         (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
7198         (powerpc-*-sysv*): Include {tm_file}. svr4.h and rs6000/sysv4.h.
7199         (powerpc-*-eabiaix*): Likewise.
7200         (powerpc-*-eabisim*): Likewise.
7201         (powerpc-*-elf*): Likewise.
7202         (powerpc-*-eabi*): Likewise.
7203         (powerpc-*-rtems*): Likewise.
7204         (powerpc-*-linux*libc1): Likewise.
7205         (powerpc-*-linux*): Likewise.
7206         (powerpc-wrs-vxworks*): Likewise.
7207         (powerpcle-wrs-vxworks*): Likewise.
7208         (powerpcle-*-sysv*): Likewise.
7209         (powerpcle-*-elf*): Likewise.
7210         (powerpcle-*-eabisim*): Likewise.
7211         (powerpcle-*-eabi*): Likewise.
7212         (powerpcle-*-solaris2*): Likewise.
7213         * config/rs6000/aix31.h: Delete includes.
7214         * config/rs6000/aix3newas.h: Likewise.
7215         * config/rs6000/aix41.h: Likewise.
7216         * config/rs6000/aix43.h: Likewise.
7217         * config/rs6000/beos.h: Likewise.
7218         * config/rs6000/rtems.h: Likewise.
7219         * config/rs6000/sysv4.h: Likewise.
7221 2001-01-09  Kazu Hirata  <kazu@hxi.com>
7223         * config/h8300/h8300.c (get_shift_alg): Remove an argument cpu.
7224         Change an argument mode of machine_mode to shift_mode of
7225         shift_mode.  Remove an extra error check.
7226         (emit_a_shift): Adopt to the new calling prototype of
7227         get_shift_alg.
7228         (function_prologue): Fix code for a monitor
7229         function.  Support H8/S.
7230         (function_epilogue): Do not output pop for a monitor function.
7232 2001-01-09  Nick Clifton  <nickc@redhat.com>
7234         * config/rs6000/rs6000.c (rs6000_sysv_varargs_p): Delete.
7235         (setup_incoming_varargs): Use sysv_varargs_p field of the
7236         cfun->machine structure.
7237         (struct machine_function): Move to rs6000.h
7238         (rs6000_save_machine_status): Delete.
7239         (rs6000_restore_machine_status): Delete.
7240         (rs6000_init_machine_status): New Function.
7241         (rs6000_free_machine_status): New Function.
7242         (rs6000_init_expanders): Use new functions.
7244         * config/rs6000/rs6000.h (rs6000_sysv_varargs_p): Delete
7245         export.
7246         (struct machine_function): Move here.
7248         * config/rs6000/sysv4.h (RS6000_VARARGS_AREA): Use
7249         sysv_varargs_p field of the cfun->machine structure.
7251         * config/rs6000/rs6000-protos.h (rs6000_save_machine_status):
7252         Remove prototype.
7253         (rs6000_restore_machine_status): Remove prototype.
7255 2001-01-09  Richard Henderson  <rth@redhat.com>
7257         * sched-int.h (struct deps): Add max_reg, reg_last_in_use; merge
7258         reg_last_uses, reg_last_sets, reg_last_clobbers into struct deps_reg.
7259         * sched-deps.c (sched_analyze_1): Update uses of struct deps.
7260         (sched_analyze_2, sched_analyze_insn): Likewise.
7261         (sched_analyze, init_deps): Likewise.
7262         (free_deps): Likewise.  Iterate with EXECUTE_IF_SET_IN_REG_SET.
7263         * sched-rgn.c (propagate_deps): Likewise.  Remove max_reg argument.
7264         (compute_block_backward_dependences): Update propagate_deps call.
7266 2001-01-09  Mark Elbrecht  <snowball3@bigfoot.com>
7268         * gcc.c (process_command): Set switches[n_switches].ordering to 0.
7270 2001-01-09  Neil Booth  <neil@daikokuya.demon.co.uk>
7272         * cppinit.c (OPT_MD, OPT_MMD): Restore.
7273         (cpp_handle_option): Handle them.
7274         (cpp_post_options): Ensure one of -M or -MM is specified with
7275         any other -M? option.
7276         (init_dependency_output): Suppress output with -MG.
7278 2001-01-09  Neil Booth  <neil@daikokuya.demon.co.uk>
7280         * cpp.texi: Update.
7281         * invoke.texi: Update.
7283 2001-01-09  Bernd Schmidt  <bernds@redhat.com>
7285         * sh.md (reload_outsf): Generate recognizable patterns for
7286         TARGET_SH3E.
7288 2001-01-09  Neil Booth  <neil@daikokuya.demon.co.uk>
7290         * c-lang.c (lang_hooks): Update.
7291         (lang_init): Rename c_init.
7292         (lang_finish): Remove.
7293         * toplev.c (compile_file): Use lang_hooks for lang_init ()
7294         and lang_finish ().
7295         * toplev.h (lang_hooks): Add init () and finish ().
7296         * tree.h (lang_init, lang_finish): Remove.
7297         * cp/tree.h (lang_init, lang_finish): Remove.
7298         * cp/decl2.c (cxx_post_options, lang_hooks): Move to cp/lex.c.
7299         * cp/lex.c (cxx_init, cxx_finish, cxx_post_options,
7300         lang_hooks): New.
7301         (lang_init, lang_finish): Remove.
7302         * f/com.c (lang_init, lang_finish): Rename f_init, f_finish.
7303         (lang_hooks): Update.
7304         * java/lang.c (lang_init): Rename java_init.
7305         (lang_finish): Remove.
7306         (lang_hooks): Update.
7307         * objc/objc-act.c (lang_init): Rename objc_init.
7308         (lang_finish): Remove.
7309         (lang_hoooks): Update.
7311 20001-01-09  Graham Stott  <grahams@redhat.com>
7313         * cppfiles.c (_cpp_execute_include): Move `len` initialisation
7314         after `ptr` is initialised.
7316 2001-01-09  Alexandre Oliva  <aoliva@redhat.com>
7318         * config/sh/sh.h (STATIC_CHAIN_REGNUM): Change from r13 to r3.
7319         (INITIALIZE_TRAMPOLINE): Adjust accordingly.
7320         * config/sh/sh.c (sh_expand_prologue): Use r1 as temporary for
7321         stack adjusts, instead of r3.
7323 2001-01-09  Michael Hayes  <mhayes@redhat.com>
7325         * flow.c (flow_loop_scan): Break out of ...
7326         (flow_loops_find) ... here.
7327         * basic-block.h (flow_loop_scan): New.
7328         (LOOP_ENTRY_EDGES, LOOP_EXIT_EDGES): Add.
7329         (LOOP_EDGES, LOOP_EXITS_DOMS, LOOP_ALL): Redefine.
7331 2001-01-09  Alexandre Oliva  <aoliva@redhat.com>
7333         * cppinit.c (cpp_cleanup): NULLify macro_buffer and zero
7334         macro_buffer_len.
7335         * cppmacro.c (cpp_macro_definition): Reset macro_buffer_len when
7336         realloc()ing macro_buffer.
7338         * hwint.h (HOST_BITS_PER_WIDE_INT, HOST_WIDE_INT): Use long long
7339         if it's wider than long and the target's long is wider than the
7340         host's.
7342 2001-01-09  Mark Mitchell  <mark@codesourcery.com>
7344         Remove support for using UWIN as a host machine.
7345         * configure.in: Issue an error message.
7346         * configure: Regenerated.
7347         * config.gcc: Remove xm_* UWIN configury.
7348         * config/i386/xm-uwin.h: Remove.
7350 2001-01-08  Nick Clifton  <nickc@redhat.com>
7352         * config/v850/v850.c (ra_rtx): Delete.
7353         (v850_save_machine_status): Delete.
7354         (v850_restore_machine_status): Delete.
7355         (v850_init_machine_status): New function.
7356         (v850_mark_machine_status): New function.
7357         (v850_free_machine_status): New function.
7358         (v850_return_addr): Use ra_rtx field in machine structure.
7359         (v850_init_expanders): Use new functions.
7361         * config/v850/v850-protos.h: Fix prototypes for v850_output_*
7362         * config/v850/v850.c: Change arguments to v850_output+* functions
7363         to take a const char *, to avoid compile time warning.
7364         * config/v850/v850.h (ASM_OUTPUT_LABELREF): Undefine, not needed.
7365         (USER_LABEL_PREFIX): Redefine.
7367 2000-01-08  Jim Wilson  <wilson@redhat.com>
7369         * sched-rgn.c (BITSET_ADD, BITSET_REMOVE, bitset_member): Cast
7370         1 to unsigned HOST_WIDE_INT before left shift.
7372 2001-01-08  Nick Clifton  <nickc@redhat.com>
7374         * config/arm/arm.c (arm_mark_machine_status): Check to see if
7375         the machine structure has been allocated.
7376         (arm_free_machine_status): New function: Free the machine
7377         specific function structure.
7379 2001-01-08  Richard Henderson  <rth@redhat.com>
7381         * jump.c (simplejump_p): Revert last change.
7383 2001-01-08  Neil Booth  <neil@daikokuya.demon.co.uk>
7385         * cppinit.c (init): Rename init_library.
7386         (cpp_create_reader): Update.
7387         * gcc.c (cpp_options): If -o given, use it as the target of
7388         any -M options.
7390 2001-01-08  Richard Earnshaw  <rearnsha@arm.com>
7392         * arm.c (arm_arch5e): New variable.
7393         (all_cores): XScale is a 5TE device.
7394         (arm_override_options): Set arm_arch5e.
7395         (arm_init_builtins): __builtin_prefetch is in arch5e.
7396         * arm.h (arm_arch5e): Declare it.
7398         * arm.h (PREDICATE_CODES): Add arm_hard_register_operand.
7400         * arm.md (define_constants): Add defines for UNSPEC and
7401         UNSPEC_VOLATILE insns.  Update all users.
7402         (define_constants): Add constants for IP_REGNUM, SP_REGNUM, PC_REGNUM.
7403         * arm.c (multi_register_push, note_invalid_constants)
7404         (emit_multi_reg_push, emit_sfm, expand_prologue): Use constants.
7405         * arm.h (SP_REGNUM, IP_REGNUM, PC_REGNUM): Delete defines.
7406         (STACK_POINTER_REGNUM): Define in terms of SP_REGNUM.
7408 Mon Jan  8 16:14:56 MET 2001  Jan Hubicka  <jh@suse.cz>
7410         * jump.c (jump_optimize_1): Use reversed_comparison_code
7411         instead of can_reverse_comparison_p.
7412         (jump_back_p): Likewise.
7413         (invert_exp_1): Likewise.
7414         (thread_jumps): Likewise.
7415         * simplify-rtx.c (simplify_unary_operation): Likewise.
7416         (simplify_ternary_operation): Likewise.
7417         * cse.c (find_comparison_args): Convert to use
7418         can_reverse_comparison_p.
7419         (record_jump_equiv): Likewise.
7421 2001-01-08  Richard Earnshaw  <rearnsha@arm.com>
7423         * arm.h (HARD_REGNO_RENAME_OK): Delete.
7424         (EPILOGUE_USES): Define.
7425         (INITIAL_ELIMINATION_OFFSET): Current prologue code does not
7426         automatically stack the LR if it isn't live.
7428 Mon Jan  8 13:46:02 MET 2001  Jan Hubicka  <jh@suse.cz>
7430         * i386.c (ix86_expand_int_movcc): Take care to reverse fp conditions
7431         properly.
7433 Sun Jan  7 18:37:43 2001  Mark P Mitchell  <mark@codesourcery.com>
7435         * ggc-page.c (max_alignment): New structure.
7436         (MAX_ALIGNMENT): New macro.
7437         (init_ggc): Use it to round up the sizes in the
7438         extra_order_size_table.
7440 2001-01-07  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
7442         * config/rs6000/rs6000.h (EPILOGUE_USES): New, mark link register
7443         after reload.
7445 2001-01-07  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7447         * builtins.def (BUILT_IN_FPRINTF): New entry.
7449         * c-common.c (c_expand_builtin_fprintf): New function.
7450         (init_function_format_info): Handle __builtin_fprintf.
7451         (c_common_nodes_and_builtins): Declare fprintf/__builtin_fprintf.
7452         (c_expand_builtin): Handle BUILT_IN_FPRINTF.
7454         * c-decl.c (duplicate_decls): Adjust comment.
7456         * extend.texi (fprintf): Document new builtin.
7458 2001-01-07  Richard Henderson  <rth@redhat.com>
7460         * jump.c (simplejump_p): Recognize any single_set jump
7461         of the proper form.
7463 2001-01-07  Richard Henderson  <rth@redhat.com>
7465         * configure.in (slibdir): Accept an --with-slibdir option.
7466         Use "test" not "[" in configure.  Default to $(libdir).
7468         * config/t-linux (SHLIB_INSTALL): Double quote slibdir;
7469         fix typo in rm -f.
7470         * config/t-aix43 (SHLIB_INSTALL): Likewise.
7471         * config/alpha/t-osf4 (SHLIB_INSTALL): Likewise.
7472         (SHLIB_LINK): Create links for the soname.
7473         * config/mips/t-iris6: Likewise.
7474         * config/sparc/t-slibgcc: Likewise.
7475         * config/sparc/t-slibgcc-sld: Likewise.
7477 2001-01-07  Jakub Jelinek  <jakub@redhat.com>
7479         * config/i386/i386.c (constant_call_address_operand): Accept
7480         (const (plus (symbol_ref) (const_int))).
7481         * config/i386/i386.h (PREDICATE_CODES): Add CONST for
7482         constant_call_address_operand.
7484 2001-01-08  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
7486         * libgcc2.h (W_TYPE_SIZE): Fix case where MIN_UNITS_PER_WORD == 1
7487         and LONG_LONG_TYPE_SIZE > 32.
7489 2001-01-07  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
7491         * jump.c (reversed_comparison_code_parts): Fix typo introduced by
7492         the previous change.
7494 Sun Jan  7 19:37:48 MET 2001  Jan Hubicka  <jh@suse.cz>
7496         * jump.c (reversed_comparison_code_parts, reversed_comparison_code):
7497         New.
7498         (can_reverse_comparison_p): Rewrite to use reversed_comparison_code.
7499         (reverse_condition_maybe_unordered): Abort on unsigned comparisons.
7500         * rtl.h (reversed_comparison_code_parts, reversed_comparison_code):
7501         Declare.
7503 2001-01-07  Neil Booth  <neil@daikokuya.demon.co.uk>
7505         * fix-header.c (read_scan_file): s/pfile/scan_in/.
7507 2001-01-07  Neil Booth  <neil@daikokuya.demon.co.uk>
7509         * c-lang.c (c_post_options): Call cpp_post_options.
7510         * objc/objc-act.c (objc_post_options): Similarly.
7511         * cppmain.c (main): Similarly.
7512         * fix-header.c (read_scan_file): Similarly.
7513         * cppinit.c (cpp_start_read): Move option consistency checks
7514         to cpp_post_options.  Don't call init_dependency_output.
7515         If needed, add default target and main file dependency.
7516         (OPT_MD, OPT_MMD): Remove.
7517         (OPT_MF): New.
7518         (cpp_handle_option): Update for OPT_* changes.
7519         (cpp_post_options): New.
7520         (init_dependency_output): Command line -MF overrides environment
7521         variables.  Don't set default target etc.  Suppress output
7522         if dependencies are going to stdout.
7523         (print_help): Update.
7524         * cpplib.h (cpp_post_options): New.
7525         * gcc.c (cpp_options): Update for -MD, -MMD, -MF.
7527 Sun Jan  7 14:44:19 MET 2001  Jan Hubicka  <jh@suse.cz>
7529         * jump.c (comparison_dominates_p): Support unordered compares.
7531 Sun Jan  7 14:39:07 MET 2001  Jan Hubicka  <jh@suse.cz>
7533         * simplify-rtx.c (simplify_relational_operation): Always simplify
7534         ORDERED and UNORDERED when FLAG_FAST_MATH.  Handle properly UNLE
7535         and UNGE.
7537 Sun Jan  7 14:35:13 MET 2001  Jan Hubicka  <jh@suse.cz>
7539         * combine.c (combine_simplify_rtx): Recognize the unordered compares.
7540         (nonzero_bits): Likewise.
7541         (simplify_comparison): Likewise.
7542         (num_sign_bit_copies): Likewise; return more sane value depending
7543         on STORE_FLAG_VALUE.
7544         (known_cond): Do not assume EQ to be always true for equivalent
7545         operands.
7547 Sun Jan  7 14:31:57 MET 2001  Jan Hubicka  <jh@suse.cz>
7549         * cse.c (fold_rtx): Handle unordered comparisons.
7551 Sun Jan  7 13:49:19 MET 2001  Jan Hubicka  <jh@suse.cz>
7553         * rtlanal.c (set_of_1): New static function.
7554         (reg_set_last_1, reg_set_p_1, reg_set_reg, reg_set_flag,
7555          reg_set_last_unknown, reg_set_last_value, reg_set_last_first_regno,
7556          reg_set_last_last_regno): Remove.
7557         (set_of): New global function.
7558         (set_of_data): New structure.
7559         (reg_set_p, reg_set_last): Revamp for set_of.
7560         * rtl.h (set_of): New.
7562 2001-01-07  Joseph S. Myers  <jsm28@cam.ac.uk>
7564         * c-common.c (c_common_nodes_and_builtins): Add _Exit builtin.
7565         * extend.texi: Document _Exit builtin.
7567 2001-01-07  Neil Booth  <neil@daikokuya.demon.co.uk>
7569         * (initialize, initialize_builtins,
7570         initialize_dependency_output, initialize_standard_includes):
7571         Rename s/initialize/init. Update.
7572         (init_dependency_output): Move to after
7573         cpp_handle_options, the correct location temporally at least.
7574         (opt_comp): Move next to init (), its caller.  Fix prototype.
7575         (init): Make "initialized" local scope.
7576         (cpp_create_reader): Always call init ().
7577         (cpp_start_read): Update.
7578         (output_deps): New function, broken out of cpp_finish.
7579         (cpp_finish): Break out output_deps.
7581 2001-01-07  Richard Henderson  <rth@redhat.com>
7583         * collect2.c (COFF specific stuff): Revert 12-06 patch
7584         to prototype system functions.
7586 2001-01-07  Michael Hayes  <mhayes@redhat.com>
7588         * hard-reg-set.h: Add multiple include guard.
7589         * basic-block.h (struct loop): Add `sink' field.
7590         * loop.h: Include sbitmap.h, hard-reg-set.h, and basic-block.h.
7591         (emit_iv_add_mult): Delete.
7592         (loop_iv_add_mult_hoist, loop_iv_add_mult_sink): Define.
7593         (loop_iv_add_mult_emit_before, loop_insn_sink): Define.
7594         (unroll_loop): Remove end_insert_before argument.
7595         * loop.c (loop_givs_rescan): Remove end_insert_before argument.
7596         (maybe_eliminate_biv_1): Likewise.
7597         (emit_iv_add_mult): Delete.
7598         (gen_add_mult, loop_regs_update): New.
7599         (loop_insn_emit_after, loop_insn_emit_before): New.
7600         (loop_insn_sink, loop_insn_sink_or_swim): New.
7601         (emit_iv_add_mult): Delete.
7602         (scan_loop): Set loop->sink.
7603         (loop_givs_reduce): Use loop_insn_sink and its ilk.
7604         (loop_givs_rescan, strength_reduce, check_dbra_loop): Likewise.
7605         (maybe_eliminate_biv_1): Likewise.
7606         (maybe_eliminate_biv_1): Add basic block argument.
7607         * unroll.c (unroll_loop): Remove end_insert_before argument.
7608         (find_splittable_regs): Likewise.
7609         (find_splittable_regs): Use loop_insn_sink and its ilk.
7610         (find_splittable_givs, final_biv_value, final_giv_value): Likewise.
7612 2001-01-07  Michael Hayes  <mhayes@redhat.com>
7614         * loop.h (loop_insn_hoist): New prototype.
7615         * loop.c (loop_insn_hoist, loop_insn_emit_before): New.
7616         (move_movables, loop_givs_rescan): Use loop_insn_hoist.
7617         (check_dbra_loop, load_mems): Likewise.
7618         * unroll.c (unroll_loop, find_splittable_regs): Likewise.
7619         (find_splittable_givs): Likewise.
7621 2001-01-07  Michael Hayes  <mhayes@redhat.com>
7623         * loop.c (emit_iv_add_mult): Use single_set to examine new insn.
7625 2001-01-07  Richard Henderson  <rth@redhat.com>
7627         * sched-rgn.c (is_cfg_nonregular): Fix thinko's last change.
7629 2001-01-07  Richard Henderson  <rth@redhat.com>
7631         * Makefile.in (DRIVER_DEFINES): Define ENABLE_SHARED_LIBGCC and
7632         NO_SHARED_LIBGCC_MULTILIB as required for the target.
7633         * gcc.c (init_spec): Massage the existing libgcc_spec into a
7634         variant that handles a shared libgcc.
7635         (process_command): Always validate -{static,shared}-libgcc.
7636         (do_spec_1): New 'M' case.
7637         * invoke.text (Link Options): Document -{static,shared}-libgcc.
7639 2001-01-07  Richard Henderson  <rth@redhat.com>
7641         * Makefile.in (slibdir): New variable.
7642         (libgcc.mk): Pass SHLIB_INSTALL to mklibgcc.
7643         (installdirs): Create slibdir.
7644         (install-libgcc, install-multilib): Defer to libgcc.mk.
7645         * configure.in (slibdir): Substitute.
7646         * mklibgcc.in (install): New target.
7648         * config/t-linux (SHLIB_LINK): Create links for the soname.
7649         (SHLIB_INSTALL): New.
7650         * config/alpha/t-osf4 (SHLIB_INSTALL): New.
7651         * config/mips/t-iris6 (SHLIB_INSTALL): New.
7652         * config/rs6000/t-aix43 (SHLIB_INSTALL): New.
7653         * config/sparc/t-slibgcc (SHLIB_INSTALL): New.
7654         * config/sparc/t-slibgcc-sld (SHLIB_INSTALL): New.
7656 2001-01-07  Richard Henderson  <rth@redhat.com>
7658         * config/rs6000/aix.h (LINK_LIBGCC_SPECIAL_1): New.
7659         * config/rs6000/rs6000.h (LIBGCC_SPEC): Remove.
7660         * config/rs6000/sysv4.h (LIBGCC_SPEC): Remove.
7662 2001-01-07  Michael Hayes  <mhayes@redhat.com>
7664         * loop.c (count_loop_regs_set): Delete.
7665         (load_mems_and_recount_loop_regs_set): Delete.
7666         (loop_regs_scan): Merge common code from count_loop_regs_set,
7667         scan_loop, and load_mems_and_recount_loop_regs_set.
7668         (scan_loop): Call load_mems directly and loop_regs_scan
7669         again if new registers created.
7671 2001-01-07  Neil Booth  <neil@daikokuya.demon.co.uk>
7673         * toplev.c (main): Call the front-end specific post_options
7674         hook if one is given.
7675         * toplev.h (struct_lang_hooks, lang_hooks): New.
7676         * c-lang.c (c_post_options, lang_hooks): Implement lang_hooks
7677         for the C front end.
7678         * cp/decl2.c (cxx_post_options, lang_hooks): Implement
7679         lang_hooks for the C++ front end.
7680         * objc/objc-act.c (objc_post_options, lang_hooks): Implement
7681         lang_hooks for the ObjC front end.
7682         * f/com.c (lang_hooks): Hooks for the Fortran front end.
7683         * java/lang.c (lang_hooks): Hooks for the Java front end.
7685 2001-01-07  Neil Booth  <neil@daikokuya.demon.co.uk>
7687         * c-lex.c (init_c_lex): Request #define / #undef callbacks
7688         for verbose DWARF[2] debugging.
7689         (cb_define, cb_undef): The new callbacks.
7690         * toplev.h (debug_define, debug_undef): Make const correct.
7691         * toplev.c (debug_define, debug_undef): Similarly.  Do not
7692         perform the verbosity tests here anymore.
7694 2001-01-07  Alexandre Oliva  <aoliva@redhat.com>
7696         * reload.c (subst_reloads): Take INSN argument.  When
7697         replacing a LABEL_REF in a JUMP_INSN, add a REG_LABEL note.
7698         * reload.h (subst_reloads): Adjust prototype.
7699         * reload1.c (reload_as_needed): Pass INSN to subst_reloads.
7700         * jump.c (mark_all_labels): Canonicalize any REG_LABEL notes
7701         present in JUMP_INSNs and copy them to JUMP_LABEL.
7702         * flow.c (find_label_refs, find_basic_blocks_1): Skip
7703         JUMP_INSNs and insns with REG_LABELs that are followed by
7704         JUMP_INSNs with the same REG_LABEL.
7705         * sched-rgn.c (is_cfg_nonregular): Likewise.
7706         * rtlanal.c (computed_jump_p): Make it false if a REG_LABEL
7707         note is available.
7708         * unroll.c (unroll_loop): Look for REG_LABEL notes in
7709         JUMP_INSNs too.
7710         * rtl.texi (REG_LABEL): Document usage in JUMP_INSNs.
7712 2001-01-06  Richard Henderson  <rth@redhat.com>
7714         * loop.c (scan_loop): Use xcalloc for the regs array.
7715         (load_mems_and_recount_loop_regs_set): Zero the new memory
7716         received from xrealloc.
7718 2001-01-06  Neil Booth  <neil@daikokuya.demon.co.uk>
7720         * mkdeps.c (deps_add_dep): Fix vector re-allocation.
7722 Sat Jan  6 00:09:34 2001  J"orn Rennecke <amylaar@redhat.com>
7724         * integrate.c (copy_rtx_and_substitute): When copying
7725         an ignored return value, strip REG_FUNCTION_VALUE_P.
7727 2001-01-06  Michael Hayes  <mhayes@redhat.com>
7729         * loop.c (debug_biv, debug_giv): New.
7730         (loop_biv_dump): Break out from ...
7731         (record_biv): ... here.
7732         (loop_giv_dump): Break out from ...
7733         (record_giv): ... here.
7734         (loop_bivs_check): Use print_simple_rtl.
7735         * unroll.c (loop_iterations): Use print_simple_rtl.
7737 2000-01-05  John David Anglin  <dave@hiauly1.hia.nrc.ca>
7739         * pa.md (return, return_internal): Modify patterns to prevent regrename
7740         mucking with the return pointer.
7742 2001-01-05  Richard Henderson  <rth@redhat.com>
7744         * dwarf2out.c (mem_loc_descriptor) [case MEM]: Revert 10-31 change.
7746 Fri Jan  5 16:34:18 2001  Nick Clifton  <nickc@redhat.com>
7748         * config/v850/lib1funcs.asm: Replace __mulsi3 routine with faster
7749         version supplied by Matteo Frigo.
7751 2001-01-05  Neil Booth  <neil@daikokuya.demon.co.uk>
7753         * cpp.texi: Update for -MQ.
7754         * cppinit.c (cpp_create_reader): Always create pfile->deps.
7755         (cpp_cleanup): Always free pfile->deps.
7756         (initialize_dependency_output): Don't create pfile->deps.
7757         (cpp_handle_option): Similarly.
7758         (OPT_MQ): New.
7759         * gcc.c (cpp_options): Handle -MQ.
7760         (DEFAULT_WORD_SWITCH_TAKES_ARG): Add -MQ.
7761         * mkdeps.c (base_name): Remove.
7762         (deps_init): Don't allocate vector space until it's needed.
7763         (deps_free): Only free vectors if allocated.
7764         (deps_add_target, deps_add_dep): Update for initial allocation.
7765         (deps_add_default_target): Don't strip to the base_name.
7767 2001-01-05  DJ Delorie <dj@redhat.com>
7769         * config/v850/v850.h (RETURN_ADDR_RTX): Define.
7770         (INIT_EXPANDERS): Define.
7772         * config/v850/v850.c (struct machine_function): Define.
7773         (v850_save_machine_status): New function.
7774         (v850_restore_machine_status): New function.
7775         (v850_return_addr): New function.
7776         (v850_init_expanders): New function.
7778         * config/v850/v850-protos.h: Add prototypes for v850_return_addr
7779         and v850_init_expanders.
7781 2001-01-05  Zack Weinberg  <zack@wolery.stanford.edu>
7783         * cpplib.h (struct cpp_reader): Add help_only field.
7784         * cppinit.c (COMMAND_LINE_OPTIONS): Add OPT_version.
7785         (cpp_handle_option): Set pfile->help_only if we see -h,
7786         --help, -target-help, or --version.  Print version string but
7787         do not set help_only if we see -v or -version.  Make text
7788         printed by -v match that printed by (-)-version.
7790         * cppmain.c (main): Exit after option parsing if
7791         pfile->help_only is true.
7793         * toplev.c (independent_decode_option): Call print_version,
7794         then exit, if we see --version (but not -version).
7795         (print_version): Split lengthy message into two lines.
7797 2001-01-05  Nick Clifton  <nickc@redhat.com>
7799         * config/v850/v850.c (v850_encode_data_area): Use alloca to create
7800         temporary string for initialisation before calling ggc_alloc_string.
7802 2001-01-06  Michael Hayes  <mhayes@redhat.com>
7804         * rtl.h (print_simple_rtl): New.
7805         * print-rtl.c (print_simple_rtl): New.
7806         (flag_simple): New.
7807         (print_rtx): Disable printing of flags and modes, etc.,
7808         if `flag_simple` nonzero.
7810 2001-01-05  Zack Weinberg  <zack@wolery.stanford.edu>
7812         * function.c (fixup_var_refs): Use push_to_full_sequence where
7813         possible.
7815 2001-01-05  Michael Meissner  <meissner@redhat.com>
7817         * flags.h (flag_reorder_blocks): Add declaration.
7818         (flag_rename_block): Ditto.
7820 2001-01-05  DJ Delorie  <dj@redhat.com>
7822         * function.c (reorder_blocks): Make sure the flags are all reset
7823         before using them to mark blocks, else a second invocation will
7824         corrupt the block chain.
7825         (reorder_blocks_0): New, resets the flags.
7827 Fri Jan  5 20:34:06 2001  J"orn Rennecke <amylaar@redhat.com>
7829         * cse.c (find_comparison_args): Stop if the argument is known to
7830         be constant.
7832 2001-01-05  Alexandre Oliva  <aoliva@redhat.com>
7834         * config/sh/sh.md (movdf): When splitting load into pair of
7835         registers, don't clobber the register used in the address too
7836         early.
7838 2001-01-05  Jeffrey Oldham  <oldham@codesourcery.com>
7840         * varasm.c (mark_constant_pool): Improve initial comments.
7841         (mark_constants): Move marking of constants to mark_constant.
7842         (mark_constant): New function to recursively mark all constants
7843         referred to by a constant.
7845 2001-01-05  Catherine Moore  <clm@redhat.com>
7847         * dbxout.c ((dbxout_parms): Handle invisible ref where decl is a REG.
7849 2001-01-05  Phil Edwards  <pme@sources.redhat.com>
7851         * cp/lang-options.h:  Bring comment in line with reality.
7852         * f/lang-options.h:  Likewise.
7853         * java/lang-options.h:  Likewise.
7854         * objc/lang-options.h:  Likewise.
7855         * ch/lang-options.h:  Likewise.
7856         * f/g77.texi:  And update the manual.
7858 2001-01-05  Marek Michalkiewicz  <marekm@linux.org.pl>
7859             Denis Chertykov  <denisc@overta.ru>
7861         * config/avr/avr-protos.h (avr_peep2_scratch_safe): Prototype.
7862         * config/avr/avr.c (avr_peep2_scratch_safe): New function.
7863         * config/avr/avr.md (all peepholes that request a scratch register):
7864         Call it, FAIL the peephole if not safe (in interrupt functions).
7866 2001-01-05  Mark Mitchell  <mark@codesourcery.com>
7868         * ggc-page.c (NUM_EXTRA_ORDERS): Hardwire to zero for now.
7870 2001-01-05  Joseph S. Myers  <jsm28@cam.ac.uk>
7872         * builtins.def (BUILT_IN_CONJ, BUILT_IN_CREAL, BUILT_IN_CIMAG):
7873         Define.
7874         * builtins.c (expand_builtin): Abort on BUILT_IN_CONJ,
7875         BUILT_IN_CREAL and BUILT_IN_CIMAG.
7876         * c-common.c (c_common_nodes_and_builtins): Create builtin conjf,
7877         conj, conjl, crealf, creal, creall, cimagf, cimag and cimagl.
7878         (expand_tree_builtin): Handle BUILT_IN_CONJ, BUILT_IN_CREAL and
7879         BUILT_IN_CIMAG.
7880         * extend.texi: Document these builtins.
7882 2001-01-05  Daniel Berlin  <dberlin@redhat.com>
7884         * c-common.c (lang_get_alias_set): Say we know nothing of
7885         VECTOR_TYPE aliasing.
7887         * dwarf2out.c (is_base_type): Handle VECTOR_TYPE properly.
7889 2001-01-05  Bruce Korb  <bkorb@gnu.org>
7891         * fixinc/mkfixinc.sh(vax-*-bsd): convert exit and atexit calls to
7892         their x* equivalent versions for atexit-less systems
7893         * fixinc/fixincl.c(main): do not return from main() on atexit-less
7894         systems (or any other system any more).
7896 2001-01-05  Richard Earnshaw  <rearnsha@arm.com>
7898         * arm.md (ldmsi_postinc): Avoid use of match_dup between input and
7899         output operands.  Use arm_hard_register_operand for operand 4.
7900         (stmsi_postinc): Similarly.
7901         (ldmsi): Use arm_hard_register_operand for opernand 2.
7902         (stmsi): Similarly.
7903         * arm.c (arm_hard_register_operand): New function.
7904         * arm-protos.h (arm_hard_register_operand): Prototype it.
7906         * arm.h (HARD_REGNO_RENAME_OK): Define.
7908 Fri Jan  5 16:29:49 MET 2001  Jan Hubicka  <jh@suse.cz>
7910         * simplify-rtx.c (cfc_args): add "unordered" field.
7911         (check_fold_consts): Set unordered field.
7912         (simplify_relational_operation): Simplify the unordered
7913         comparisons.
7915         * reg-stack.c (swap_rtx_condition): Ensure that the transformation
7916         is valid.
7918         * emit-rtl.c (try_split): Fix code to mark labels.
7919         * jump.c (mark_jump_label): Make global.
7920         * rtl.h (mark_jump_label): Declare.
7922         * predict.c (estimate_probability): Handle unordred comparisons.
7924 2001-01-05  Neil Booth  <neil@daikokuya.demon.co.uk>
7926         * cpp.texi: Update for -MP.  Clarify behaviour of -MT.
7927         * cppinit.c (initialize_dependency_output):  Update.
7928         (cpp_finish): Output dummy targets for -MP.
7929         (OPT_MP): New.
7930         (cpp_handle_option): Handle -MP.  Don't quote -MT options.
7931         * cpplib.h (struct cpp_options): Add deps_phony_targets.
7932         * gcc.c (cpp_options): Update to handle -MP.
7933         * mkdeps.c (deps_add_target, deps_add_default_target): Update
7934         to quote only the default target.
7935         (deps_phony_targets): Insert a preceding newline.  Rename from
7936         deps_dummy_targets for consistency.
7937         * mkdeps.h: Update
7939 2001-01-05  Alexandre Oliva  <aoliva@redhat.com>
7941         * calls.c (emit_library_call_value_1): Support
7942         INIT_CUMULATIVE_LIBCALL_ARGS.
7943         * tm.texi (INIT_CUMULATIVE_LIBCALL_ARGS): Document it.
7945 2001-01-04  Richard Henderson  <rth@redhat.com>
7947         * c-decl.c (finish_struct): Detect flexible array members
7948         used in an inappropriate context.
7949         * c-typeck.c (really_start_incremental_init): Special case
7950         constructor_max_index for zero length arrays.
7951         (pop_init_level): Allow initialization of flexible array
7952         members.  Deprecate initialization of zero length arrays.
7953         Don't issue missing initializer warning for flexible array
7954         members or zero length arrays.
7955         (process_init_element): Don't dereference null DECL_SIZE.
7956         * varasm.c (array_size_for_constructor): Return a HOST_WIDE_INT.
7957         Don't abort for empty constructors.  Use size_binop
7958         (output_constructor): Add commentary regarding zero length
7959         array futures.  Abort if we try to initialize an array of
7960         unspecified length with a non-empty constructor in the middle
7961         of a structure.
7963         * extend.texi (Zero Length): Update and clarify documentation
7964         on static initialization.
7966 2001-01-05  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
7968         * config/c4x/c4x.c (c4x_expand_prologue): Don't compile an ISR
7969         with more than 32767 words of local storage.
7971 2001-01-05  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
7973         * config/c4x/c4x.c (c4x_init_builtins): Remove builtin support
7974         for 'abs', 'labs', and 'fabs'.
7975         (c4x_expand_builtin): Likewise.
7976         * config/c4x/c4x.h (enum c4x_builtins): Likewise.
7978 2001-01-05  Alexandre Oliva  <aoliva@redhat.com>
7980         * config/sh/sh.md (prget, prset): New insn types.
7981         (return delay slot): Dont' allow prset.
7982         (call, sfunc delay slot): Don't allow prget.
7983         (movsi_i, movsi_ie, movsi_i_lowpart): Create separate alternatives
7984         for prset and prget.
7986 2001-01-05  Michael Hayes  <mhayes@redhat.com>
7988         * loop.h (struct loop_reg): New.
7989         (struct loop_regs): Change to use array of `struct loop_reg'.
7990         * loop.c: Replace assortment of varrays with single regs array.
7991         (count_one_set): Delete may_not_move array argument
7992         and use regs array instead.  All caller's changed.
7993         (count_loop_regs_set): Delete may_not_move and single_usage
7994         arguments and use regs array instead.  All caller's changed.
7995         (find_single_use_in_loop): Replace usage array argument with pointer
7996         to regs structure.  All caller's changed.
7997         (loop_optimize): Delete `moved_once' array.
7999 2001-01-05  Michael Hayes  <mhayes@redhat.com>
8001         * loop.c (prescan_loop): Set loop_info->has_nonconst_call.
8002         Use it instead of loop_info->has_call for scanning loop mems.
8003         (check_dbra_loop): Replace loop_info->has_call test with
8004         loop_info->has_nonconst_call.
8006 2000-01-04  Matthew Hiller  <hiller@redhat.com>
8008         * config/sh/sh.h (EPILOGUE_USES): Recognize fpscr as epilogue-used
8009         for TARGET_SH3E.
8011 2001-01-04  Joseph S. Myers  <jsm28@cam.ac.uk>
8013         * fold-const.c (fold): When folding a CONJ_EXPR of a COMPLEX_CST,
8014         use TREE_REALPART and TREE_IMAGPART instead of TREE_OPERAND.
8016 2001-01-04  Joseph S. Myers  <jsm28@cam.ac.uk>
8018         * c-common.c (SIZE_TYPE, WCHAR_TYPE): Define.
8019         (flag_short_double, flag_short_wchar): Define.
8020         (c_common_nodes_and_builtins): Create many tree nodes shared
8021         between C and C++ here instead of in cp/decl.c and ...
8022         * c-decl.c (init_decl_processing): ... here.
8023         (SIZE_TYPE, WCHAR_TYPE): Don't define.
8024         (flag_short_double, flag_short_wchar): Don't define.
8025         (record_builtin_type): New function.
8026         (build_void_list_node): New function.
8027         * c-common.h (flag_short_double, flag_short_wchar,
8028         record_builtin_type, build_void_list_node): Declare.
8030 Thu Jan  4 21:09:47 2001  J"orn Rennecke <amylaar@redhat.com>
8032         * integrate.c (expand_inline_function): Don't put a virtual
8033         register into the reg map.
8035         * function.c (fixup_var_refs_1): If force_operand didn't put
8036         the address into the target, move it there.
8038 2001-01-04  Mark Mitchell  <mark@codesourcery.com>
8040         Special-case tree_decl/tree_list allocations.
8041         * ggc-page.c (OBJECT_PER_PAGE): Reimplement.
8042         (OBJECT_SIZE): New macro.
8043         (NUM_EXTRA_ORDER): Likewise.
8044         (extra_order_size_table): New variable.
8045         (NUM_ORDERS): New macro.
8046         (objects_per_page_table): New variable.
8047         (object_size_table): New variable.
8048         (G.pages): Use NUM_ORDERS to bound the array.
8049         (G.page_tails): Likewise.
8050         (DIV_ROUND_UP): Remove.
8051         (BITMAP_SIZE): Use CEIL, instead of DIV_ROUND_UP.
8052         (alloc_page): Use OBJECT_SIZE.
8053         (size_lookup): Don't make it const.
8054         (ggc_alloc): Use OBJECT_SIZE.
8055         (ggc_set_mark): Likewise.
8056         (ggc_get_size): Likewise.
8057         (init_ggc): Set up the object_size_table, objects_per_page_table,
8058         and adjust size_lookup.
8059         (ggc_recalculate_in_use_p): Use CEIL, not DIV_ROUND_UP.
8060         (ggc_pop_context): Use NUM_ORDERS.
8061         (clear_marks): Likewise.
8062         (sweep_pages): Likewise.
8063         (poison_pages): Likewise.
8064         (ggc_print_statistics): Use OBJECT_SIZE.
8066 Thu Jan  4 15:54:05 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
8068         * varasm.c (output_constructor): Use HOST_WIDE_INT for sizes.
8069         Only call array_size_for_constructor if last field and array type
8070         with no upper bound.
8072 2001-01-04  Philip Blundell  <philb@gnu.org>
8074         * config/arm/arm.c (arm_gen_constant): Prefer to emit constants
8075         from bit 31 downwards, if this requires no more insns.
8076         (count_insns_for_constant): New helper function for above.
8078 2001-01-04  Alexandre Oliva  <aoliva@redhat.com>
8080         * gencodes.c (output_predicate_decls): Remove empty initializer.
8082 2001-01-04  Mark Mitchell  <mark@codesourcery.com>
8084         * tree.c (copy_node): Remove documentation about obstacks.
8085         (buidl1): Check that nobody tries to build 2-argument nodes this
8086         way.
8088 2001-01-04  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
8090         * sparc.h (PREDICATE_CODES): Delete fp_sethi_p, fp_mov_p and
8091         fp_high_losum_p.
8093         * gencodes.c (output_predicate_decls): Fill empty initializer
8094         braces.
8096 2001-01-04  Jakub Jelinek  <jakub@redhat.com>
8098         * tradcpp.c (deps_file, print_deps_missing_files): New variables.
8099         (main): Handle -MG, -MD, -MMD.  Bail out if -MG is given without -M
8100         or -MM.
8101         (do_include): Handle missing headers like cpp0.
8102         * cppfiles.c (_cpp_execute_include): Don't prefix absolute header
8103         paths with first include pathname.  Don't strcat to uninitialized
8104         string.
8106 2001-01-04  Bernd Schmidt  <bernds@redhat.com>
8108         * regrename.c (regrename_optimize): Don't rename from frame pointer
8109         if frame_pointer_needed.
8110         (do_replace): Don't set ORIGINAL_REGNO to a hard register number.
8111         * config/ia64/ia64.c (emit_all_group_insn_barriers): New function.
8112         (ia64_reorg): Use it instead of scheduling if ! optimize.
8113         (errata_emit_nops): Properly call asm_noperands.
8114         (ia64_sched_reorder): Finish cycle if we see an asm.
8115         (ia64_variable_issue): Clear scheduling state after asms.
8117 2001-01-04  Neil Booth  <neil@daikokuya.demon.co.uk>
8119         * cpp.texi: Update for -MT.
8120         * cppinit.c (initialize_dependency_output): Add a default
8121         target if none has been given already.
8122         (no_tgt, OPT_MT): New.
8123         (cpp_handle_option): Handle -MT.  Update -M etc.
8124         * cpplib.h (struct cpp_options): Remove deps_target.
8125         * gcc.c (cpp_options): Handle -MT.
8126         * mkdeps.c (struct deps): Move from mkdeps.h.
8127         (deps_calc_target): Rename deps_add_default_target.  Add a
8128         default target if none has been specified already.
8129         * mkdeps.h (struct deps): Move to mkdeps.c.
8130         (deps_calc_target): Rename deps_add_default_target.
8132 2000-01-03  Richard Henderson  <rth@redhat.com>
8134         * c-decl.c (grokdeclarator): Give zero-length arrays size zero.
8135         Remove dead code.
8136         * c-typeck.c (push_init_level): Move checks for flexible array
8137         members and zero length arrays ...
8138         (pop_init_level): ... here.  Silently discard empty initializations.
8139         Remove dead code.
8140         * varasm.c (output_constructor): Update for sizeof change to
8141         zero-length arrays.
8143         * extend.texi (Zero Length): Clarify semantics.
8145 2001-01-03  Alexandre Oliva  <aoliva@redhat.com>
8147         * configure.in (tm.h): Include isns-codes.h last.
8148         * configure: Rebuilt.
8150 2001-01-03  Richard Henderson  <rth@redhat.com>
8152         * config/alpha/alpha.md (addvsi3, addvdi3): New.
8153         (negvsi2, negvdi2, subvsi3, subvdi3, mulvsi3, mulvdi3): New.
8155 2001-01-03  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
8157         * tradcpp.c (main): Make sure finclude() is called with a valid
8158         indepth value while handling -include.
8160 2001-01-03  Alexandre Oliva  <aoliva@redhat.com>
8162         * gencodes.c (output_predicate_decls): New function.
8163         (main): Call it.
8164         * machmode.h (GET_MODE_MASK): Arrange for it to be defined
8165         even if it is not the first time machmode.h is #included.
8166         * config/sh/sh.c (fpul_operand): Declare MODE argument.
8167         * tm.texi (PREDICATE_CODES): Document predicate declarations.
8168         * gcc.texi (Copyright): Added 2001.
8170 2001-01-03  Joseph S. Myers  <jsm28@cam.ac.uk>
8172         * c-common.c (c_common_lang_init): New function.  Warn if format
8173         warning options which only have effects when used with -Wformat
8174         are used without -Wformat.
8175         * c-common.h (c_common_lang_init): Declare.
8176         * c-lang.c (lang_init): Call c_common_lang_init.
8177         * objc/objc-act.c (lang_init): Call c_common_lang_init.
8179 2001-01-03  Joseph S. Myers  <jsm28@cam.ac.uk>
8181         * configure.in: Check for the mktemp command.
8182         * configure: Regenerate.
8183         * gccbug.in: Use a separate temporary file $TEMP0 for one use of
8184         $TEMP.  Create temporary files with mktemp, if available at
8185         configure time; otherwise use set -C.  Remove temporary files
8186         before exit.
8188 2001-01-03  Joseph S. Myers  <jsm28@cam.ac.uk>
8190         * configure.in: Require at least texinfo 4.0.  Check for whether
8191         Pod::Man is sufficiently recent to regenerate GCC manpages.
8192         * configure:  Regenerate.
8193         * Makefile.in (TEXI2POD): Call perl explicitly rather than relying
8194         on #!.
8195         (GENERATED_MANPAGES): Define.
8196         (generated-manpages): New target.  Depend on cpp.1 as well as
8197         gcov.1.
8198         (install-man): Depend on $(GENERATED_MANPAGES) (defined by
8199         configure to generated-manpages or empty) rather than on the
8200         manpages directly.  Remove execute permission from installed
8201         gcov.1 as well as cpp.1.
8202         * cpp.1, gcov.1: Regenerate.
8204 2001-01-03  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
8206         * builtins.c (expand_builtin_strncmp): Use host_integerp and
8207         tree_low_cst.  Allow using cmpstrsi in more cases.
8209 Wed Jan  3 10:48:43 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
8211         * config/sparc/sparc.h (RETURN_IN_MEMORY): Return 0 for variable
8212         sized types.
8214 Wed Jan  3 12:22:32 2001  Alexandre Oliva  <aoliva@redhat.com>
8216         * build-make (HOST_CFLAGS): Added `-DGENERATOR_FILE'.
8217         * Makefile.in (HOST_CFLAGS): Mention build-make.
8219 Wed Jan  3 08:53:50 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
8221         * config/sparc/sparc.md (nonlocal_goto): Emit goto_handler_and_restore
8222         as JUMP_INSN.
8224 2001-01-01  Bernd Schmidt  <bernds@redhat.com>
8226         * builtins.c (expand_builtin_return_addr): Don't use MEM_ALIAS_SET on
8227         a REG rtx.
8229         * cse.c (cse_rtx_varies_p): Accept additional FROM_ALIAS arg.  All
8230         callers changed.
8232         * alias.c (throughout): Use ORIGINAL_REGNO when accessing
8233         reg_base_value and reg_known_value arrays.
8234         (init_alias_analysis): Add more cases to detect known values.
8235         * sched-deps.c (deps_may_trap_p): New function.
8236         (sched_analyze_2): Use it.
8238 2001-01-03  Alexandre Oliva  <aoliva@redhat.com>
8240         * combine.c (simplify_shift_const): Even if we're sign-extracting,
8241         don't discard an ASHIFTRT if we're shifting in a wider mode.
8243 2000-01-02  John David Anglin  <dave@hiauly1.hia.nrc.ca>
8245         * toplev.c (rest_of_compilation): Don't print basic block information
8246         when CFG isn't up to date.
8248 2001-01-02  Mark Elbrecht  <snowball3@bigfoot.com>
8250         * config/i386/djgpp.h (DWARF2_DEBUGGING_INFO): Define.
8251         (UNALIGNED_INT_ASM_OP, UNALIGNED_DOUBLE_ASM_OP): Define.
8252         (UNALIGNED_SHORT_ASM_OP): Define.
8253         (CPP_PREDEFINES): Remove defines for GO32 and DJGPP.
8255 2001-01-02  Mark Mitchell  <mark@codesourcery.com>
8257         * fold-const.c (fold_convert): Fix typo.
8259 2001-01-02  Richard Henderson  <rth@redhat.com>
8261         * c-common.h (ASM_INPUT_P): New.
8262         * c-parse.in (asm): Set it when needed.
8263         * c-semantics.c (genrtl_asm_stmt): Test it instead of the
8264         existance of an operand.
8266 Tue Jan  2 20:27:07 MET 2001  Jan Hubicka  <jh@suse.cz>
8268         * dwarf2out.c (stack_adjust_offset): Handle PRE_MODIFY.
8269         (dwarf2out_frame_debug_expr): Likewise.
8270         (mem_loc_descriptor): Handle PRE and POST_MODIFY.
8272 Tue Jan  2 20:21:31 MET 2001  Jan Hubicka  <jh@suse.cz>
8274         * i386.c (ix86_split_to_parts): Return number of part required;
8275         handle TFmodes.
8276         (print_operand, ix86_expand_branch, ix86_expand_fp_movcc): Handle
8277         TFmodes.
8278         (ix86_split_long_move): Use number of part returned
8279         by ix86_split_to_parts
8280         * i386.h (MASK_128BIT_LONG_DOUBLE, TARGET_128BIT_LONG_DOUBLE):
8281         New macros.
8282         (TARGET_SWITCHES): Add 128bit-long-double and 96bit-long-double
8283         (LONG_DOUBLE_TYPE_SIZE): Change from constant.
8284         (MAX_LONG_DOUBLE_TYPE_SIZE): New macro.
8285         (INTEL_EXTENDED_IEEE_FORMAT): Likewise.
8286         (ALIGN_MODE_128): Add TFmode.
8287         (IS_STACK_MODE): Likewise.
8288         (HARD_REGNO_NREGS): TFmode needs 3 registers.
8289         (HARD_REGNO_OK): Support TFmodes.
8290         (ASM_OUTPUT_LONG_DOUBLE): Handle TFmodes.
8291         * i386.md (scheduler definitions): Use memory operand to determine
8292         fst/fld instructions; use mode attribute to determine real mode of
8293         the instruction.
8294         (*tf): New patterns, expanders and splitters; based on XFmode patterns.
8295         * invoke.texi (128bit-long-double, 96bit-long-double): Document.
8297 2001-01-02  Mark Mitchell  <mark@codesourcery.com>
8299         * tree.def (TRUTH_NOT_EXPR): Improve documentation.
8301 Tue Jan  2 10:47:38 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.
8303         * expr.c (store_constructor_field): Update ALIGN before calling
8304         store_constructor.
8306 2001-01-02  Jeffrey Oldham  <oldham@codesourcery.com>
8308         * config/mips/mips.c (function_arg): Don't pass NULL_TREE to
8309         host_integerp.
8311 2001-01-02  Jeffrey Oldham  <oldham@codesourcery.com>
8313         * tm.texi (FUNCTION_ARG): Document that @var{type} can be an
8314         incomplete type.
8316 Tue Jan  2 10:47:38 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.
8318         * c-decl.c (start_function): Don't warn on third parameter to main.
8320 2001-01-02  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
8322         * tsystem.h: Define HAVE_DECL_GETOPT.
8324 2001-01-02  Philip Blundell  <pb@futuretv.com>
8326         * config/arm/linux-gas.h (CLEAR_INSN_CACHE): Avoid illegal clobber
8327         of input operand.
8329 2001-01-02  Richard Henderson  <rth@redhat.com>
8331         * alpha.md (*ze_and_ne): Duplicate insn condition to split.
8333 2001-01-02  Andreas Jaeger  <aj@suse.de>
8335         * c-decl.c (c_decode_option): Remove support of
8336         -Wmissing-noreturn.
8338         * toplev.c (documented_lang_options): Remove -Wmissing-noreturn.
8339         (W_options): Add -Wmissing-noreturn here.
8341         * flow.c: Define lang_missing_noreturn_ok_p.
8342         (check_function_return_warnings): Use it.
8344         * c-common.h: Declare lang_missing_noreturn_ok_p.
8346         * c-lang.c (c_missing_noreturn_ok_p): New function.
8347         (lang_init): Set lang_missing_noreturn_ok_p.
8349         * invoke.texi (Warning Options): Document this.
8351 2000-12-27  Phil Edwards  <pme@sources.redhat.com>
8353         * extend.texi (C++ Extensions):  New node for C++ attributes;
8354           describe init_priority and com_interface.
8355         * invoke.texi:  Remove -finit-priority as it now has zero effect.
8356         * install.texi:  Fix xref syntax.
8357         * md.texi:  Likewise.
8359 Mon Jan  1 21:28:29 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
8361         * config.gcc (sparc64-wrs-vxworks*): New case.
8362         * config/sparc/vxsparc64.h, config/sparc/t-vxsparc64: New files.
8364         * config/sparc/sparc.c (sparc_override_options): Do support different
8365         pointer and architecture size.
8366         * config/sparc/sparc.h (MIN_UNITS_PER_WORD): Always 4.
8367         (POINTERS_EXTEND_UNSIGNED): Define.
8368         (Pmode): Test TARGET_ARCH64, not TARGET_PTR64.
8369         (FUNCTION_MODE): Define to be Pmode.
8370         * config/sparc/sparc.md (64-bit call patterns): FUNCTION_MODE now DI.
8372         * function.c (expand_function_end): Properly handle DECL_RESULT
8373         and copy when ptr_mode != Pmode.
8374         * expmed.c (make_tree): Convert X from Pmode to ptr_mode, if needed.
8376 2001-01-01  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
8378         * c-common.c (c_common_nodes_and_builtins): Set prototype
8379         parameters for __builtin_fputs, __builtin_fputc and
8380         __builtin_fwrite.  Don't declare plain fputc as a builtin.
8382 2001-01-01  John David Anglin  <dave@hiauly1.hia.nrc.ca>
8384         * loop.c (add_label_notes): Increment the label usage count when
8385         a note is added to an insn which refers to a CODE_LABEL.
8386         * gcse.c (add_label_notes): Likewise.
8388 2001-01-01  Andreas Jaeger  <aj@suse.de>
8390         * loop.c (scan_loop): Use xmalloc to allocate movables.
8392 2001-01-01  Alexandre Oliva  <aoliva@redhat.com>
8394         * tm.texi (REGISTER_MOVE_COST): Add a mode argument.
8395         * reload.c (REGISTER_MOVE_COST): Likewise.  Adjust all callers.
8396         * reload1.c (REGISTER_MOVE_COST): Likewise.
8397         * regclass.c (REGISTER_MOVE_COST): Likewise.
8398         (move_cost, may_move_in_cost, may_move_out_cost): Add mode
8399         dimension.  Adjust all users.
8400         (init_reg_sets_1): Iterate on all modes.
8401         * config/1750a/1750a.h (REGISTER_MOVE_COST): Adjust.
8402         * config/a29k/a29k.h (REGISTER_MOVE_COST): Adjust.
8403         * config/alpha/alpha.h (REGISTER_MOVE_COST): Adjust.
8404         * config/arc/arc.h (REGISTER_MOVE_COST): Adjust.
8405         * config/arm/arm.h (REGISTER_MOVE_COST): Adjust.
8406         * config/avr/avr.h (REGISTER_MOVE_COST): Adjust.
8407         * config/c4x/c4x.h (REGISTER_MOVE_COST): Adjust.
8408         * config/d30v/d30v.h (REGISTER_MOVE_COST): Adjust.
8409         * config/dsp16xx/dsp16xx.h (REGISTER_MOVE_COST): Adjust.
8410         * config/h8300/h8300.h (REGISTER_MOVE_COST): Adjust.
8411         * config/i386/i386.h (REGISTER_MOVE_COST): Adjust.
8412         * config/ia64/ia64.h (REGISTER_MOVE_COST): Adjust.
8413         * config/m32r/m32r.h (REGISTER_MOVE_COST): Adjust.
8414         * config/m68hc11/m68hc11.h (REGISTER_MOVE_COST): Adjust.
8415         * config/m68k/m68k.h (REGISTER_MOVE_COST): Adjust.
8416         * config/mcore/mcore.h (REGISTER_MOVE_COST): Adjust.
8417         * config/mips/mips.h (REGISTER_MOVE_COST): Adjust.
8418         * config/mn10200/mn10200.h (REGISTER_MOVE_COST): Adjust.
8419         * config/mn10300/mn10300.h (REGISTER_MOVE_COST): Adjust.
8420         * config/ns32k/ns32k.h (REGISTER_MOVE_COST): Adjust.
8421         * config/pa/pa.h (REGISTER_MOVE_COST): Adjust.
8422         * config/pdp11/pdp11.h (REGISTER_MOVE_COST): Adjust.
8423         * config/pj/pj.h (REGISTER_MOVE_COST): Adjust.
8424         * config/romp/romp.h (REGISTER_MOVE_COST): Adjust.
8425         * config/rs6000/rs6000.h (REGISTER_MOVE_COST): Adjust.
8426         * config/sh/sh.h (REGISTER_MOVE_COST): Adjust.
8427         * config/sparc/sparc.h (REGISTER_MOVE_COST): Adjust.
8429 2001-01-01  Bernd Schmidt  <bernds@redhat.com>
8431         * alias.c (fixed_scalar_and_varying_struct): Adjust prototype of
8432         arg VARIES_P.  Call it with extra arg.
8433         (true_dependence): Likewise.
8434         * rtl.h (rtx_addr_can_trap_p): Declare.
8435         (rtx_varies_p, rtx_addr_varies_p, true_dependence): Update
8436         prototypes.
8437         * rtlanal.c (rtx_addr_can_trap_p): No longer static.
8438         (rtx_varies_p): Accept extra arg FOR_ALIAS; only disallow
8439         pic offset table register if it's zero.  All callers changed.
8440         (rtx_addr_varies_p): Accept extra arg FOR_ALIAS; all callers changed.
8442 Mon Jan  1 07:38:33 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
8444         * explow.c (convert_memory_address, case SYMBOL_REF): Copy
8445         STRING_POOL_ADDRESS_P.
8447         * config/sparc/sparc.c (input_operand): Properly test for short op.
8449         * config.gcc (sparc-*-elf): Include sparc/sol2.h.
8450         (sparc-*-rtems*): Include sparc/sol2.h and sparc/elf.h.
8451         (sparclite-*-elf*, sparc86x-*-elf*): Likewise.
8452         * config/sparc/elf.h: No longer include sol2.h.
8453         * config/sparc/lifeelf.h: No longer include sparc/elf.h.
8454         * config/sparc/rtemself.h, config/sparc/sp86x-elf.h: Likewise.
8456         * config/sparc/sparc.md: Test TARGET_ARCH64 instead of TARGET_PTR64.
8458 2001-01-01  Michael Hayes  <mhayes@redhat.com>
8460         * loop.c (check_insn_for_bivs): Use ivs->n_regs to check array bounds.
8461         (find_mem_givs, record_biv, maybe_eliminate_biv): Likewise.
8462         (record_initial): Likewise.
8463         * unroll.c (copy_loop_body, loop_iterations): Likewise.
8464         (remap_split_bivs): Likewise.
8466 2001-01-01  Michael Hayes  <mhayes@redhat.com>
8468         * loop.c (loop_ivs_free): New function.
8469         (strength_reduce): Break out from...
8471 2001-01-01  Michael Hayes  <mhayes@redhat.com>
8473         * loop.h (struct iv): New.
8474         (REG_IV_TYPE, REG_IV_CLASS, REG_INFO): Modify to use 'struct iv'.
8475         (struct loop_ivs): Replace 'reg_iv_type', 'reg_iv_info',
8476         'reg_biv_class' fields with 'regs' and 'n_regs'.
8477         (struct ivs): Rename 'loop_iv_list' field to 'list'.
8478         * loop.c (loop_bivs_find, strength_reduce): Use ivs->regs array.
8479         * unroll.c (loop_iterations): Check array bounds with ivs->n_regs.
8481 2000-12-31  Alexandre Oliva  <aoliva@redhat.com>
8483         * resource.c (mark_referenced_resources): Abort() before
8484         attempting to mark a pseudo register.
8485         (mark_set_resources): Likewise.
8487 2001-01-01  Michael Hayes  <mhayes@redhat.com>
8489         * loop.h (REG_IV_CLASS): New accessor macro.
8490         * loop.c (REG_IV_CLASS): Use it instead of reg_iv_class array.
8491         * unroll.c (REG_IV_CLASS): Likewise.
8493 See ChangeLog.4 for earlier changes.