aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2001-07-04varray.h (VARRAY_TOP_GENERIC_PTR): Remove spurious parameter.Nathan Sidwell2-5/+10
* varray.h (VARRAY_TOP_GENERIC_PTR): Remove spurious parameter. (VARRAY_TOP_CHAR_PTR): Likewise. correct filenames for 2001-07-03 Stan Shebs <shebs@apple.com> From-SVN: r43768
2001-07-04* gcc.c (process_command): Don't assign elements of a const char*.Kaveh R. Ghazi2-3/+9
From-SVN: r43767
2001-07-04Modified from patch by Julian Hall <jules@acris.co.uk>:Tom Tromey2-7/+27
* jartool.c (errno): Conditionally declare. (O_BINARY): Conditionally define. (main): Use open, not creat. Use O_BINARY everywhere. (make_manifest): Use O_BINARY. (add_to_jar): Likewise. From-SVN: r43766
2001-07-04emit-rtl.c (change_address): Don't abort if invalid address while reload is ↵Richard Kenner2-5/+16
in progress. * emit-rtl.c (change_address): Don't abort if invalid address while reload is in progress. From-SVN: r43765
2001-07-04ropeimpl.h (_Rope_RopeRep::_M_free_c_string): Replace destroy by _Destroy.Jeffrey Oldham5-13/+30
2001-07-04 Jeffrey Oldham <oldham@codesourcery.com> * include/ext/ropeimpl.h (_Rope_RopeRep::_M_free_c_string): Replace destroy by _Destroy. (_Rope_RopeRep::_S_free_string): Likewise. (rope::c_str()): Likewise. * include/ext/slist (_Slist_base::_M_erase_after>): Likewise. (_Slist_base::_M_erase_after): Likewise. (slist::_M_create_node): Replace construct by _Construct. (slist::pop_front): Replace destroy by _Destroy. * include/ext/stl_hashtable.h (hashtable::_M_new_node): Replace construct by _Construct. (hashtable::_M_delete_node): Replace destroy by _Destroy. * include/ext/stl_rope.h (rope::rope): Replace construct by _Construct. (rope::copy): Replace destroy by _Destroy. From-SVN: r43764
2001-07-04c-lex.c (cb_file_change): Pass line number to debug_start_source_file.Daniel Berlin8-69/+156
2001-07-04 Daniel Berlin <dan@cgsoftware.com> * c-lex.c (cb_file_change): Pass line number to debug_start_source_file. (cb_undefine): Pass correct line number to debug_undef. * toplev.c (debug_start_source_file): Add line number to parameters. Pass it along to dwarf2out_start_source_file. (decode_g_option): Stop resetting debug level back to normal when we change debug formats, unless the current level is none. (Before, -g3 -gdwarf-2 would use debug level 2, rather than 3). * toplev.h (debug_start_source_file): Add line number to parameters. * dwarf2out.h (dwarf2out_start_source_file): Add line number to parameters. * dwarf2out.c (dwarf2out_start_source_file): Add line number to parameters. Output debug_macinfo data for starting file if requested. (dwarf2out_end_source_file): Output debug_macinfo data for ending file if requested. (dwarf2out_define): Output debug_macinfo data for defining a macro if requested. (dwarf2out_undef): Output debug_macinfo data for undefining a macro if requested. (DEBUG_MACINFO_SECTION): New. DWARF2 macro info section name. (DEBUG_MACINFO_SECTION_LABEL): New. DWARF2 macro info section label. (macinfo_section_label): New. DWARF2 macro info section label. (dwarf2out_init): If we want macro info, output the start label for the section. (dwarf2out_finish): If we want macro info, add a DW_AT_macro_info attribute to the compilation unit die pointing to the macro info. 2001-07-04 Daniel Berlin <dan@cgsoftware.com> * dwarf2out.c (new_loc_list): Move to inside #ifdef DWARF2_DEBUGGING_INFO. (add_loc_descr_to_loc_list): Ditto. (output_loc_list): Ditto. Also, fix thinko in curr not being initialized. (gen_internal_sym): Ditto. From-SVN: r43763
2001-07-04emit-rtl.c (replace_equiv_address): New function.Richard Kenner22-155/+170
* emit-rtl.c (replace_equiv_address): New function. * expr.h (replace_equiv_address): New declaration. * explow.c (validize_mem): Call it instead of change_address and also call if -fforce-addr and address is constant. * expr.c: Replace more calls to change_address with adjust_address and/or replace_equiv_address or to validize_mem. * function.c, regmove.c, config/alpha/alpha.c: Likewise. * config/arm/arm.md, config/clipper/clipper.md: Likewise. * config/dsp16xx/dsp16xx.md, config/fr30/fr30.c: Likewise. * config/i370/i370.md, config/i860/i860.md: Likewise. * config/i960/i960.md, config/mips/mips.c: Likewise. * config/mips/mips.md, config/pa/pa.md: Likewise. * config/pdp11/pdp11.md, config/rs6000/rs6000.c: Likewise. * config/rs6000/rs6000.md, config/sh/sh.md: Likewise. From-SVN: r43762
2001-07-04* Makefile.in: Take PICFLAG and RUNTESTFLAGS out of FLAGS_TO_PASS.Zack Weinberg2-3/+4
From-SVN: r43761
2001-07-04bitmap.c (bitmap_union_of_diff): Don't use BITMAP_ALLOCA.Kaveh R. Ghazi3-5/+21
* bitmap.c (bitmap_union_of_diff): Don't use BITMAP_ALLOCA. * bitmap.h (BITMAP_ALLOCA): Don't pass alloca as an argument to a function. From-SVN: r43760
2001-07-04include: New directory.Joseph Myers13-1307/+503
* doc/include: New directory. * doc/fdl.texi: Move to doc/include/fdl.texi. * doc/texinfo.tex: Move to doc/include/texinfo.tex. * doc/include/funding.texi, doc/include/gpl.texi: New files. * doc/gcc.texi: Use funding.texi and gpl.texi. * Makefile.in ($(docdir)/cpp.info, $(docdir)/gcc.info, $(docdir)/cppinternals.info, cpp.dvi. gcc.dvi. cppinternals.dvi): Update dependencies and use -I $(docdir)/include. f: * g77.texi: Use gpl.texi and funding.texi. Remove Look and Feel section. Add Funding Free Software to invariant sections. * Make-lang.in ($(srcdir)/f/g77.info, f/g77.dvi): Update dependencies and use doc/include in search path. java: * gcj.texi: Use gpl.texi. * Make-lang.in ($(srcdir)/java/gcj.info, java/gcj.dvi): Update dependencies and use doc/include in search path. From-SVN: r43757
2001-07-04Fix dependencies for parallel builds.Anthony Green2-1/+5
From-SVN: r43756
2001-07-04* doc/install.texi (sparc64-*-*): Remove garbage.Gerald Pfeifer2-1/+5
From-SVN: r43755
2001-07-04i386.c (ix86_expand_builtin, [...]): Fix typo in last change to use ↵Jan van Male2-4/+9
adjust_address. * i386.c (ix86_expand_builtin, case IX86_BUILTIN_SETPS): Fix typo in last change to use adjust_address. From-SVN: r43753
2001-07-04* doc/install.texi (Specific): Update information for *-*-solaris*.Gerald Pfeifer2-9/+9
From-SVN: r43751
2001-07-04Daily bump.GCC Administrator6-6/+6
From-SVN: r43749
2001-07-04localefwd.h: Format.Benjamin Kosnik6-54/+70
2001-07-03 Benjamin Kosnik <bkoz@redhat.com> * include/bits/localefwd.h: Format. * include/bits/locale_facts.tcc (locale::combine): Adjust. * src/locale.cc (locale::locale::(_Impl)): Don't call _M_add_reference. (locale::facet::_M_remove_reference): Simplify. * src/globals.cc (locale_impl_c): New. Format. (locale_c): New. * src/ios.cc (ios_base::Init::Init): Increment _S_ios_base_init last. From-SVN: r43747
2001-07-03Install correct hunksRichard Kenner1-4/+2
From-SVN: r43746
2001-07-03* explow.c (plus_constant_wide): Reinitialize Y for restart.Richard Kenner2-3/+11
From-SVN: r43745
2001-07-03II.java: New file.Jeff Sturm3-0/+22
* libjava.lang/II.java: New file. * libjava.lang/II.out: New file. From-SVN: r43744
2001-07-03parse.y (fix_constructors): Test if a CALL_EXPR invokes `this'.Jeff Sturm2-1/+9
* java/parse.y (fix_constructors): Test if a CALL_EXPR invokes `this'. If so, don't build instance initializers. From-SVN: r43743
2001-07-03configure: Rebuilt.Tom Tromey3-145/+172
* configure: Rebuilt. * configure.in: Added aux-dir hacks to satisfy automake and in-tree builds. From-SVN: r43740
2001-07-03re PR bootstrap/3281 (Installation failure (mkinstalldirs))Tom Tromey9-306/+352
Fix for PR bootstrap/3281: * aclocal.m4, configure: Rebuilt. * acinclude.m4 (LIBGCJ_CONFIGURE): Don't set libgcj_flagbasedir. Correctly compute libgcj_basedir. (mkinstalldirs): Define and subst. From-SVN: r43739
2001-07-03re PR bootstrap/3281 (Installation failure (mkinstalldirs))Tom Tromey5-74/+104
Fix for PR bootstrap/3281: * aclocal.m4, configure, Makefile.in: Rebuilt. * acinclude.m4: Set mkinstalldirs for in-tree build. From-SVN: r43738
2001-07-03re PR bootstrap/3281 (Installation failure (mkinstalldirs))Tom Tromey4-80/+106
Fix for PR bootstrap/3281: * configure, Makefile.in: Rebuilt. * configure.in: Set mkinstalldirs, for in-tree build. From-SVN: r43736
2001-07-03darwin.h (SECTION_FUNCTION): Remove WAS_TEXT argument, remove case for ↵Stan Shebs4-44/+43
flag_no_mach_text_sections. * darwin.h (SECTION_FUNCTION): Remove WAS_TEXT argument, remove case for flag_no_mach_text_sections. (EXTRA_SECTION_FUNCTIONS): Remove arg from uses of SECTION_FUNCTION. * darwin.c (flag_no_mach_text_sections): Remove. * darwin-protos.h (darwin_init_pragma): Remove decl. From-SVN: r43734
2001-07-03explow.c (plus_constant_wide, case PLUS): Call find_constant_term and avoid ↵Richard Kenner33-272/+254
checking for constant as first operand. * explow.c (plus_constant_wide, case PLUS): Call find_constant_term and avoid checking for constant as first operand. * recog.c (find_constant_term_loc): No longer static. (adj_offettable_operand): Delete. * rtl.h (adj_offsettable_operand): Delete declaration. (find_constant_term): Add declaration. * caller-save.c: Replace calls to adj_offsettable_operand with calls to adjust_address. * config/arm/arm.c, config/c4x/c4x.c: Likewise. * config/clipper/clipper.md, config/h8300/h8300.c: Likewise. * config/i386/i386.c, config/i386/i386.md: Likewise. * config/i860/i860.c, config/i960/i960.c: Likewise. * config/i960/i960.md, config/m68hc11/m68hc11.c: Likewise. * config/m68k/m68k.c, config/m68k/m68k.md: Likewise. * config/m88k/m88k.md, config/mcore/mcore.c: Likewise. * config/mips/mips.c, config/mips/mips.md: Likewise. * config/mn10200/mn10200.c, config/mn10300/mn10300.c: Likewise. * config/ns32k/ns32k.c, config/ns32k/ns32k.md: Likewise. * config/pa/pa.c, config/pdp11/pdp11.c: Likewise. * config/pdp11/pdp11.md, config/sh/sh.c, config/v850/v850.c: Likewise. * config/vax/vax.md, config/ns32k/ns32k.c: Likewise. * config/ns32k/ns32k.md: Likewise. From-SVN: r43733
2001-07-03rtl.c (copy_rtx): Handle 'T' format letter.Zack Weinberg4-4/+20
* rtl.c (copy_rtx): Handle 'T' format letter. * gensupport.c (collect_insn_data): Likewise. * print-rtl.c (print_rtx): Print 'T' slots like 's'. From-SVN: r43732
2001-07-03Specifiy range for <N> in -B option.Nick Clifton2-2/+8
Use 'dir' not 'foo' as example directory name. From-SVN: r43731
2001-07-03sol2.h (ASM_PREFERRED_EH_DATA_FORMAT): Define.Rainer Orth2-0/+13
* config/i386/sol2.h (ASM_PREFERRED_EH_DATA_FORMAT): Define. Fixes PRs bootstrap/3067, bootstrap/3249, bootstrap/3275. From-SVN: r43729
2001-07-03* doc/cppinternals.texi: Improve formatting and logical markup.Joseph Myers2-22/+26
From-SVN: r43726
2001-07-03Daily bump.GCC Administrator6-6/+6
From-SVN: r43723
2001-07-03Makefile.in (insn-recog.o): Add dependency on reload.h.Andreas Jaeger3-26/+34
* Makefile.in (insn-recog.o): Add dependency on reload.h. * genrecog.c (write_header): Include reload.h for prototypes in insn-recog.c. From-SVN: r43722
2001-07-03cygwin.h (VALID_MACHINE_DECL_ATTRIBUTE, [...]): Remove.Neil Booth5-25/+21
config: * i386/cygwin.h (VALID_MACHINE_DECL_ATTRIBUTE, VALID_MACHINE_TYPE_ATTRIBUTE): Remove. * i386/i386-protos.h (i386_pe_valid_decl_attribute_p, i386_pe_valid_type_attribute_p): Add. * i386/i386.c (TARGET_INITIALIZER): Override for cygwin targets. * i386/winnt.c (i386_valid_decl_attribute_p): Return directly. From-SVN: r43721
2001-07-02explow.c (plus_constant_wide, [...]): New case.Richard Kenner14-84/+58
* explow.c (plus_constant_wide, case LO_SUM): New case. (plus_constant_for_output_wide): Delete. * rtl.h (plus_constant_for_output): Delete. * alias.c (canon_rtx, init_alias_analysis): Call plus_constant instead of plus_constant_for_output. * recog.c (offsettable_address_p, adj_offsettable_operand): Likewise. * config/darwin.c, config/arm/arm.c, config/m68k/m68k.c: Likewise. * config/m88k/m88k.c, config/mips/mips.c, config/pa/pa.c: Likewise. * config/rs6000/rs6000.c, config/sparc/sparc.c: Likewise. * config/sparc/sparc.md: Likewise. Convert some change_address calls to adjust_address. From-SVN: r43720
2001-07-03extend.texi, [...]: Improve formatting.Joseph Myers9-195/+227
gcc: * doc/extend.texi, doc/gcc.texi, doc/invoke.texi, doc/md.texi, doc/rtl.texi, doc/tm.texi: Improve formatting. Improve documentation of -std and -Wwrite-strings. contrib: * texi2pod.pl: Handle @r inside @item. From-SVN: r43718
2001-07-02acinclude.m4 (GLIBCPP_ENABLE_THREADS): Protect variable from shell expansion ↵Loren J. Rittle4-12/+26
(thanks to Alexandre Oliva). * acinclude.m4 (GLIBCPP_ENABLE_THREADS): Protect variable from shell expansion (thanks to Alexandre Oliva). * aclocal.m4: Regenerate. * configure: Regenerate. Also, re-add last comment since Benjamin accidentally trashed it with his last check-in. From-SVN: r43715
2001-07-02cse.c (canon_hash): Don't register registers in very small register classes...Geoffrey Keating2-1/+10
* cse.c (canon_hash): Don't register registers in very small register classes, as extending their lifetime might cause reload to fail. From-SVN: r43714
2001-07-02locale.cc (locale::locale(const char*)): Make sure global locales are ↵Benjamin Kosnik6-11/+36
initialized. 2001-07-02 Benjamin Kosnik <bkoz@redhat.com> * src/locale.cc (locale::locale(const char*)): Make sure global locales are initialized. * include/bits/locale_facets.tcc (locale::combine): Refcout should be zero, not one as it's return-by-value. * testsuite/27_io/ios_base_callbacks.cc (test01): Don't check for named locales here. * testsuite/22_locale/ctor_copy_dtor.cc (test01): Instead, check for it here. (test02): Add test. * libsupc++/eh_alloc.cc: Use climits, not limits.h. From-SVN: r43713
2001-07-02acinclude.m4 (GLIBCPP_ENABLE_THREADS): Portability enhancement.Loren J. Rittle4-15/+22
libstdc++/3284 * acinclude.m4 (GLIBCPP_ENABLE_THREADS): Portability enhancement. * aclocal.m4: Regenerate. * configure: Regenerate. From-SVN: r43711
2001-07-02acinclude.m4 (GLIBCPP_ENABLE_THREADS): Add relative path to staged/installed ↵Loren J. Rittle4-5/+18
area to support -I-. libstdc++/3243 * acinclude.m4 (GLIBCPP_ENABLE_THREADS): Add relative path to staged/installed area to support -I-. Document. * aclocal.m4: Regenerate. * configure: Regenerate. From-SVN: r43709
2001-07-02flow.c (try_redirect_by_replacing_jump): Remove cc0 setter.Jan Hubicka2-9/+36
* flow.c (try_redirect_by_replacing_jump): Remove cc0 setter. * flow.c (forwarder_block_p): Fix for fallthru blocks. (try_redirect_by_replacing_jump): Update properly the count and frequency information. From-SVN: r43708
2001-07-02ios.cc (ios_base::Init::_S_ios_create): Rename __bufsize to __out_bufsize.Loren J. Rittle2-7/+22
libstdc++/2211 * src/ios.cc (ios_base::Init::_S_ios_create): Rename __bufsize to __out_bufsize. Add __in_bufsize, document it and use it. From-SVN: r43707
2001-07-02Rotate ChangeLog.Jeff Law2-14446/+14447
From-SVN: r43706
2001-07-02toplev.c (dump_file_index): Move SSA dumps just after first jump dump.Jeffrey A Law4-97/+117
* toplev.c (dump_file_index): Move SSA dumps just after first jump dump. (dump_file): Corresponding changes. (rest_of_compilation): Move SSA path to just after the first jump pass. * doc/gcc.texi (Passes): Update due to movement of SSA path. * doc/invoke.texi: Update dump file #s as they were completely out of date with reality. From-SVN: r43704
2001-07-02[multiple changes]Geoffrey Keating3-4/+66
2001-07-02 Geoffrey Keating <geoffk@redhat.com> * doc/tm.texi (Frame Layout): Document STACK_PUSH_CODE. * expr.c (emit_move_insn_1): Deal with non-default STACK_PUSH_CODE. * expr.c (emit_single_push_insn): Fix warning. 2001-07-02 Toshiyasu Morita <toshiyasu.morita@hsa.hitachi.com> * expr.c (emit_move_insn_1): Avoid modifying cfun->expr->x_stack_pointer when PUSH_ROUNDING is defined. From-SVN: r43703
2001-07-02emit-rtl.c (adjust_address): New function.Richard Kenner29-347/+236
* emit-rtl.c (adjust_address): New function. * expr.h (adjust_address): Add declaration. * builtins.c: Replace some calls to change_address with calls to it or to validize_mem. * caller-save.c, dwarf2out.c, except.c, expmed.c, expr.c: Likewise. * function.c, config/a29k/a29k.md, config/alpha/alpha.c: Likewise. * config/arm/arm.c, config/convex/convex.c: Likewise. * config/dsp16xx/dsp16xx.md, config/fr30/fr30.c: Likewise. * config/i386/i386.c, config/i386/i386.md: Likewise. * config/ia64/ia64.c, config/ia64/ia64.md: Likewise. * config/m32r/m32r.c, config/m68k/m68k.md: Likewise. * config/m88k/m88k.c, config/mips/mips.md: Likewise. * config/ns32k/ns32k.c, config/rs6000/rs6000.c: Likewise. * config/sh/sh.c, config/sparc/sparc.md: Likewise. From-SVN: r43702
2001-07-02stl_construct.h (construct): Remove.Stephen M. Webb7-271/+345
2001-07-01 Stephen M. Webb <stephen@bregmasoft.com> * include/bits/stl_construct.h (construct): Remove. (destroy): Remove. (__destroy): Replaced by use of iterator_traits. * include/bits/stl_deque.h: replaced HP iterator functions with iterator_traits. (construct): changed to _Construct. (destroy): changed to _Destroy. * include/bits/stl_tempbuf.h: Same. * include/bits/stl_tree.h: Same. * include/bits/stl_vector.h: Same. * include/backward/iterator.h (construct): moved definition to here. (destroy): Same. From-SVN: r43701
2001-07-02Fix HPUX libgcc_s.so linking problem.Jim Wilson4-28/+28
* config/ia64/ia64.h: Delete obsolete lib1funcs.asm comment. * config/ia64/t-ia64: Change LIB1ASMFUNCS to use single underscore. * config/ia64/lib1funcs.asm: Change macro names to match t-ia64. From-SVN: r43700
2001-07-02cppinit.c (lang_defaults): New table.Zack Weinberg2-72/+44
* cppinit.c (lang_defaults): New table. (set_lang): Just read from lang_defaults into the live options structure. From-SVN: r43699
2001-07-02Makefile.in (doc): Depend on $(GENERATED_MANPAGES).Zack Weinberg8-9218/+14
gcc: * Makefile.in (doc): Depend on $(GENERATED_MANPAGES). * doc/.cvsignore: Add gcc.1, cpp.1, gcov.1. * doc/gcc.1, doc/cpp.1, doc/gcov.1: Removed. contrib: * gcc_update: Remove entries for gcc.1, cpp.1, gcov.1. From-SVN: r43698