Commit Graph

36070 Commits

Author SHA1 Message Date
GCC Administrator
ce0e8f03d9 Daily bump.
From-SVN: r43775
2001-07-05 07:16:17 +00:00
Andreas Jaeger
6c7f693ebb gcc.texi (GNU/Linux): Remove accidental re-add of GPL section.
* doc/gcc.texi (GNU/Linux): Remove accidental re-add of GPL
	section.

From-SVN: r43774
2001-07-05 08:53:56 +02:00
Daniel Berlin
cc260610fa dwarf2out.c (dwarf2out_define): Update comment.
2001-07-04  Daniel Berlin  <dan@cgsoftware.com>

	* dwarf2out.c (dwarf2out_define): Update comment.
	(dwarf2out_undef): Ditto.
	(dwarf2out_start_source_file): Ditto.
	(dwarf2out_end_source_file): Ditto.
	(dwarf2out_finish): Output DW_MACINFO_end_file for primary file,
	since we never call the start/end debug hook for the primary file.

From-SVN: r43773
2001-07-05 02:08:16 +00:00
Kazu Hirata
cc32b876fe h8300.c (get_shift_alg): Remove an extra operand from shll.
2001-07-04  Kazu Hirata  <kazu@hxi.com>

	* config/h8300/h8300.c (get_shift_alg): Remove an extra operand
	from shll.

From-SVN: r43771
2001-07-04 21:58:04 +00:00
Nathan Sidwell
dbead49c0a cppinit.c (remove_dup_dirs): Inform if a system include directory is being reordered.
* cppinit.c (remove_dup_dirs): Inform if a system include
        directory is being reordered.
	* doc/invoke.texi (Directory Options): GCC warns if you hide a
	system include.
	* doc/cpp.texi (Search Paths): Likewise.
	* doc/gcc.texi (Interoperation): Remove information about
	-I/usr/include.

From-SVN: r43769
2001-07-04 20:06:27 +00:00
Nathan Sidwell
0cf97c8b4b varray.h (VARRAY_TOP_GENERIC_PTR): Remove spurious parameter.
* 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 19:40:02 +00:00
Kaveh R. Ghazi
bbed13b1d5 * gcc.c (process_command): Don't assign elements of a const char*.
From-SVN: r43767
2001-07-04 19:35:30 +00:00
Tom Tromey
72ea889aa5 Modified from patch by Julian Hall <jules@acris.co.uk>:
* 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-04 18:33:53 +00:00
Richard Kenner
2b1b6bf903 emit-rtl.c (change_address): Don't abort if invalid address while reload is in progress.
* emit-rtl.c (change_address): Don't abort if invalid address while
	reload is in progress.

From-SVN: r43765
2001-07-04 14:20:21 -04:00
Jeffrey Oldham
98aff0b52e ropeimpl.h (_Rope_RopeRep::_M_free_c_string): Replace destroy by _Destroy.
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-04 18:12:08 +00:00
Daniel Berlin
84a5b4f858 c-lex.c (cb_file_change): Pass line number to debug_start_source_file.
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-04 17:55:20 +00:00
Richard Kenner
792760b9e9 emit-rtl.c (replace_equiv_address): New function.
* 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 13:43:18 -04:00
Zack Weinberg
861c44d0c9 * Makefile.in: Take PICFLAG and RUNTESTFLAGS out of FLAGS_TO_PASS.
From-SVN: r43761
2001-07-04 17:31:36 +00:00
Kaveh R. Ghazi
266aae9b3b bitmap.c (bitmap_union_of_diff): Don't use BITMAP_ALLOCA.
* 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-04 17:25:58 +00:00
Joseph Myers
0671eaf68f include: New directory.
* 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-04 17:16:43 +01:00
Anthony Green
77b6797a5e Fix dependencies for parallel builds.
From-SVN: r43756
2001-07-04 14:11:55 +00:00
Gerald Pfeifer
e9d21442ce * doc/install.texi (sparc64-*-*): Remove garbage.
From-SVN: r43755
2001-07-04 14:04:45 +00:00
Jan van Male
d2037d01d7 i386.c (ix86_expand_builtin, [...]): Fix typo in last change to use 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 09:07:57 -04:00
Gerald Pfeifer
37324a54c5 * doc/install.texi (Specific): Update information for *-*-solaris*.
From-SVN: r43751
2001-07-04 09:06:51 +00:00
GCC Administrator
e24a5cb1f3 Daily bump.
From-SVN: r43749
2001-07-04 07:16:47 +00:00
Benjamin Kosnik
1f46fc8e90 localefwd.h: Format.
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-04 02:39:02 +00:00
Richard Kenner
ec97333e09 Install correct hunks
From-SVN: r43746
2001-07-03 22:32:25 -04:00
Richard Kenner
17ab7c59ba * explow.c (plus_constant_wide): Reinitialize Y for restart.
From-SVN: r43745
2001-07-03 22:29:46 -04:00
Jeff Sturm
38733dbb29 II.java: New file.
* libjava.lang/II.java: New file.
* libjava.lang/II.out: New file.

From-SVN: r43744
2001-07-03 23:52:27 +00:00
Jeff Sturm
9be7529dbb parse.y (fix_constructors): Test if a CALL_EXPR invokes `this'.
* java/parse.y (fix_constructors): Test if a CALL_EXPR invokes
	`this'.  If so, don't build instance initializers.

From-SVN: r43743
2001-07-03 23:44:07 +00:00
Tom Tromey
1abd48ad23 configure: Rebuilt.
* configure: Rebuilt.
	* configure.in: Added aux-dir hacks to satisfy automake and
	in-tree builds.

From-SVN: r43740
2001-07-03 22:33:24 +00:00
Tom Tromey
fe3dac3d3c re PR bootstrap/3281 (Installation failure (mkinstalldirs))
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-03 22:31:43 +00:00
Tom Tromey
57b74bf98f re PR bootstrap/3281 (Installation failure (mkinstalldirs))
Fix for PR bootstrap/3281:
	* aclocal.m4, configure, Makefile.in: Rebuilt.
	* acinclude.m4: Set mkinstalldirs for in-tree build.

From-SVN: r43738
2001-07-03 22:30:01 +00:00
Tom Tromey
8b55628e81 re PR bootstrap/3281 (Installation failure (mkinstalldirs))
Fix for PR bootstrap/3281:
	* configure, Makefile.in: Rebuilt.
	* configure.in: Set mkinstalldirs, for in-tree build.

From-SVN: r43736
2001-07-03 22:29:32 +00:00
Stan Shebs
70fb545378 darwin.h (SECTION_FUNCTION): Remove WAS_TEXT argument, remove case for 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-03 20:38:37 +00:00
Richard Kenner
b72f00afa4 explow.c (plus_constant_wide, case PLUS): Call find_constant_term and avoid 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-03 15:44:20 -04:00
Zack Weinberg
3b32434036 rtl.c (copy_rtx): Handle 'T' format letter.
* 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-03 19:23:35 +00:00
Nick Clifton
bf4eebe0c1 Specifiy range for <N> in -B option.
Use 'dir' not 'foo' as example directory name.

From-SVN: r43731
2001-07-03 14:03:14 +00:00
Rainer Orth
c19113468c sol2.h (ASM_PREFERRED_EH_DATA_FORMAT): Define.
* config/i386/sol2.h (ASM_PREFERRED_EH_DATA_FORMAT): Define.
	Fixes PRs bootstrap/3067, bootstrap/3249, bootstrap/3275.

From-SVN: r43729
2001-07-03 12:35:01 +00:00
Joseph Myers
f89dec5721 * doc/cppinternals.texi: Improve formatting and logical markup.
From-SVN: r43726
2001-07-03 09:49:10 +01:00
GCC Administrator
ff9c9107d8 Daily bump.
From-SVN: r43723
2001-07-03 07:16:12 +00:00
Andreas Jaeger
5b7c704627 Makefile.in (insn-recog.o): Add dependency on reload.h.
* 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-03 08:22:01 +02:00
Neil Booth
f5f4be4280 cygwin.h (VALID_MACHINE_DECL_ATTRIBUTE, [...]): Remove.
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-03 05:56:32 +00:00
Richard Kenner
ed8908e739 explow.c (plus_constant_wide, [...]): New case.
* 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-02 21:58:35 -04:00
Joseph Myers
aee96fe99b extend.texi, [...]: Improve formatting.
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-03 01:46:05 +01:00
Loren J. Rittle
1ce847cf95 acinclude.m4 (GLIBCPP_ENABLE_THREADS): Protect variable from shell expansion (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-02 23:30:01 +00:00
Geoffrey Keating
8bf4dfc24f cse.c (canon_hash): Don't register registers in very small register classes...
* 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-02 23:24:02 +00:00
Benjamin Kosnik
213c2316b6 locale.cc (locale::locale(const char*)): Make sure global locales are 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-02 23:08:28 +00:00
Loren J. Rittle
30b3a033af acinclude.m4 (GLIBCPP_ENABLE_THREADS): Portability enhancement.
libstdc++/3284
	* acinclude.m4 (GLIBCPP_ENABLE_THREADS): Portability enhancement.
	* aclocal.m4: Regenerate.
	* configure: Regenerate.

From-SVN: r43711
2001-07-02 22:24:57 +00:00
Loren J. Rittle
3a5e0e62b0 acinclude.m4 (GLIBCPP_ENABLE_THREADS): Add relative path to staged/installed 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-02 21:30:30 +00:00
Jan Hubicka
f8d1529b85 flow.c (try_redirect_by_replacing_jump): Remove cc0 setter.
* 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-02 21:16:50 +00:00
Loren J. Rittle
861d4e70e8 ios.cc (ios_base::Init::_S_ios_create): Rename __bufsize to __out_bufsize.
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-02 20:50:40 +00:00
Jeff Law
528aeb4896 Rotate ChangeLog.
From-SVN: r43706
2001-07-02 14:23:53 -06:00
Jeffrey A Law
0826f1d89f toplev.c (dump_file_index): Move SSA dumps just after first jump dump.
* 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 14:21:15 -06:00
Geoffrey Keating
918a61248d [multiple changes]
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-02 20:02:54 +00:00