Commit Graph

37094 Commits

Author SHA1 Message Date
Christopher Faylor
91625004b2 configure.in: Always set HAVE_SYS_ERRLIST when targetting cygwin.
* configure.in: Always set HAVE_SYS_ERRLIST when targetting cygwin.
* configure: Regenerate.

From-SVN: r44979
2001-08-17 20:17:23 +00:00
Richard Henderson
0ed5305d8d Add commentary.
From-SVN: r44978
2001-08-17 12:58:05 -07:00
Richard Henderson
32fa4d4a5d elf.h, [...]: Fix typos last change.
* config/mips/elf.h, config/mips/elf64.h, config/mips/netbsd.h,
        config/mips/openbsd.h: Fix typos last change.

From-SVN: r44977
2001-08-17 12:40:03 -07:00
Gerald Pfeifer
93ee12c4cf invoke.texi (Optimize Options): The default for -finline-limit is 600.
* doc/invoke.texi (Optimize Options): The default for
	-finline-limit is 600.

From-SVN: r44975
2001-08-17 19:15:47 +00:00
Richard Henderson
33c09f2f10 * doc/tm.texi (Sections): Document TEXT_SECTION.
From-SVN: r44974
2001-08-17 12:07:46 -07:00
Richard Henderson
f99ffb608b varasm.c (text_section): Allow TEXT_SECTION to override the printing of TEXT_SECTION_ASM_OP.
* varasm.c (text_section): Allow TEXT_SECTION to override the
        printing of TEXT_SECTION_ASM_OP.
        * dwarf2out.c (TEXT_SECTION_NAME): Rename from TEXT_SECTION.
        (DATA_SECTION, BSS_SECTION): Remove.
        * dwarfout.c (TEXT_SECTION_NAME, DATA_SECTION_NAME, DATA1_SECTION_NAME,
        RODATA_SECTION_NAME, RODATA1_SECTION_NAME, BSS_SECTION_NAME):
        Rename from s/_NAME//.
        * config/mips/mips.h (TARGET_FILE_SWITCHING): Add !TARGET_MIPS16.
        (ASM_DECLARE_FUNCTION_NAME): Move file switching ...
        (TEXT_SECTION): ... here.  New.
        * config/mips/elf.h (TEXT_SECTION): New; no file switching.
        * config/mips/elf64.h, config/mips/netbsd.h: Likewise.
        * config/mips/openbsd.h: Likewise.
        * config/mips/mips.c (mips_asm_file_start): Tidy file switching test.
        (mips_asm_file_end): Likewise test.
        (mips_output_function_epilogue): Likewise.  Switch back to data
        section after emitting the function.

From-SVN: r44973
2001-08-17 11:57:51 -07:00
Tom Tromey
61f38a77a0 Initial revision
From-SVN: r44969
2001-08-17 18:39:15 +00:00
Richard Henderson
b38a75e57d dwarf2out.c (dwarf2out_init): Don't emit .debug_loc label here.
* dwarf2out.c (dwarf2out_init): Don't emit .debug_loc label here.
        (dwarf2out_finish): Do it here.  Emit .debug_loc before .debug_info.

From-SVN: r44968
2001-08-17 11:34:56 -07:00
Richard Henderson
51084e13c0 varasm.c (assemble_variable): Don't overalign if DECL_USER_ALIGN.
* varasm.c (assemble_variable): Don't overalign if DECL_USER_ALIGN.
        * crtstuff.c (__CTOR_LIST__, __DTOR_LIST__, __EH_FRAME_BEGIN__,
        __JCR_LIST__, __CTOR_END__, __DTOR_END__, __FRAME_END__,__JCR_END__):
        Add aligned attribute.

From-SVN: r44966
2001-08-17 11:28:06 -07:00
Tom Tromey
d1356866eb * gnu/gcj/convert/IOConverter.java: Add `646' alias.
From-SVN: r44965
2001-08-17 18:09:24 +00:00
Hans Boehm
c8e6d3a499 * BigInteger.java: fix right shifts by nonzero multiples of 32.
From-SVN: r44964
2001-08-17 16:33:49 +00:00
Hans Boehm
552bf3d6af * BigInteger.java: fix right shifts by nonzero multiples of 32.
From-SVN: r44963
2001-08-17 16:28:32 +00:00
Andrew Haley
ff0a63e8e4 sh.md: Add modes to unspecs in first insn to match those in the second.
2001-08-10  Andrew Haley  <aph@cambridge.redhat.com>

        * config/sh/sh.md: Add modes to unspecs in first insn to match
        those in the second.

        * Makefile.in: Fix collect2 copy for Cygwin.

From-SVN: r44962
2001-08-17 14:41:51 +00:00
Jan Hubicka
abde42f7c7 Install the proper patch.
* function.c (put_var_into_stack): Temporarily clear DECL_RTL.
	(assign_params): Avoid setting DECL_RTL to unfinished RTX.
	(expand_function_start): Likewise.
	* stmt.c (expand_decl): Likewise.
	* varasm.c (make_decl_rtx): Likewise.

From-SVN: r44961
2001-08-17 13:50:15 +00:00
Jan Hubicka
3446405d5e final.c: Undo my previous accidental checkin.
* final.c: Undo my previous accidental checkin.
	* output.h: Likewise.
	* tm.texi: Likewise.

From-SVN: r44960
2001-08-17 13:45:59 +00:00
GCC Administrator
823e2b91bb Daily bump.
From-SVN: r44959
2001-08-17 07:18:02 +00:00
Mark Mitchell
9a52d09b74 cvt.c (convert_to_void): Preserve TREE_SIDE_EFFECTS on COMPOUND_EXPRs.
* cvt.c (convert_to_void): Preserve TREE_SIDE_EFFECTS
	on COMPOUND_EXPRs.

From-SVN: r44956
2001-08-17 04:32:09 +00:00
Richard Henderson
715bdd29f3 varasm.c (named_section_flags): Remove align parameter.
* varasm.c (named_section_flags): Remove align parameter.
        * varasm.c, dwarf2out.c: Update all callers.
        * output.h: Update prototypes.

        * target.h (target.asm_out.named_section): Remove align parameter.
        * varasm.c, config/a29k/a29k.c, config/alpha/alpha.c,
        config/arm/arm.c, config/c4x/c4x.c, config/h8300/h8300.c,
        config/i386/i386.c, config/i386/winnt.c, config/m68k/m68k.c,
        config/mcore/mcore.c, config/mips/mips.c, config/rs6000/rs6000.c,
        config/sh/sh.c, config/sparc/sparc.c: Update implementations to match.

        * varasm.c (in_named_entry_eq, in_named_entry_hash): New.
        (get_named_section_flags, set_named_section_flags): New.
        (named_section_flags): Use them.
        (named_section): Do decl vs section flags check here...
        (default_section_type_flags): ... not here.
        (init_varasm_once): Create in_named_htab.
        (resolve_unique_section): Mark reloc unused.

From-SVN: r44953
2001-08-16 19:33:41 -07:00
Richard Henderson
09e07be6d7 varasm.c (force_const_mem): Keep pool alignment in bits.
* varasm.c (force_const_mem): Keep pool alignment in bits.
        (output_constant_pool): Use assemble_align.

From-SVN: r44952
2001-08-16 19:03:36 -07:00
Zack Weinberg
8daaf93ce1 * doc/tm.texi: Remove extra @table command.
From-SVN: r44951
2001-08-17 01:55:29 +00:00
Richard Henderson
9e0ba68596 * hashtab.c (htab_hash_string): New.
From-SVN: r44950
2001-08-16 18:54:43 -07:00
Richard Henderson
457f49df10 * hashtab.h (htab_hash_string): Declare.
From-SVN: r44949
2001-08-16 18:54:01 -07:00
Zack Weinberg
d9b6874b0c final.c (shorten_branches): Clear the end of the label_align array only if we made it larger.
* final.c (shorten_branches): Clear the end of the label_align
	array only if we made it larger.  Break up messy expressions
	for clarity.

	* diagnostic.c (internal_error): Check for error recursion
	before doing ICE suppression.

	* timevar.c: Timing variables now count in milliseconds.
	(init_timevar): Set up ticks_to_msec and clocks_to_msec here.
	(get_time): Not here.
	(timevar_print): Don't print any timer whose user, cpu, and
	wall times are all zero as displayed.
	* timevar.h: Update comment aboout units.  Make timevar
	counters unsigned.

From-SVN: r44948
2001-08-17 01:27:49 +00:00
Tom Tromey
4266d0b272 jcf-dump.c (main): Updated for change to jcf_path_seal.
* jcf-dump.c (main): Updated for change to jcf_path_seal.
	* gjavah.c (main): Updated for change to jcf_path_seal.
	* lang.c (version_flag): New global.
	(java_decode_option): Recognize `-version'.
	(java_init): Update for change to jcf_path_seal.
	* jcf.h (jcf_path_seal): Added `print' argument.
	* jcf-path.c (jcf_path_seal): Added `print' argument.

From-SVN: r44946
2001-08-16 21:52:14 +00:00
David Billinghurst
3c0a5af26c pr3743.x: Do not return 1 for xfail.
2001-08-16  David Billinghurst  <David.Billinghurst@riotinto.com>

	* g77.f-torture/compile/pr3743.x: Do not return 1 for xfail.
	Fix thinko.
	* g77.f-torture/execute/f90-intrinsic-bit.x: Do not return 1
	for xfail.

From-SVN: r44945
2001-08-16 20:18:00 +00:00
Franz Sirl
9567d32780 configure.target: Set LIMITSH for powerpc-*-*.
2001-08-16  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
	* configure.target: Set LIMITSH for powerpc-*-*.
	* config/cpu/powerpc/bits/limits.h: New file.

From-SVN: r44944
2001-08-16 19:19:09 +00:00
Jason Merrill
b4e49397cb tweak comment
From-SVN: r44942
2001-08-16 12:24:46 -04:00
Janis Johnson
5487f1ac2e Add myself to people who can write after approval
From-SVN: r44941
2001-08-16 16:23:09 +00:00
Jan Hubicka
25e22dc0cb Thu Aug 16 17:39:45 CEST 2001 Jan Hubicka <jh@suse.cz>
* function.c (put_var_into_stack): Temporarily clear DECL_RTL.
	(assign_params): Avoid setting DECL_RTL to unfinished RTX.
	(expand_function_start): Likewise.
	* stmt.c (expand_decl): Likewise.
	* varasm.c (make_decl_rtx): Likewise.

From-SVN: r44940
2001-08-16 15:41:05 +00:00
Jason Merrill
7256efa629 stor-layout.c (layout_decl): Don't set DECL_USER_ALIGN.
* stor-layout.c (layout_decl): Don't set DECL_USER_ALIGN.
        (finalize_record_size): Don't set TYPE_USER_ALIGN.

From-SVN: r44937
2001-08-16 09:46:37 -04:00
Matt Kraai
5972a1107c i386.c (ix86_init_mmx_sse_builtins): Remove unused variables.
* config/i386/i386.c (ix86_init_mmx_sse_builtins): Remove unused
	variables.

From-SVN: r44936
2001-08-16 13:32:22 +00:00
Marc Espie
c8f9b30251 configure.in: Check for <sys/types.h>.
2001-08-16  Marc Espie <espie@openbsd.org>
	* configure.in:  Check for <sys/types.h>.
	* configure:  Rebuild.
	* config.h.in:  Rebuild.
	* libmath/mathconf.h:  Include <sys/types.h> prior to
	<machine/endian.h> if available.

From-SVN: r44935
2001-08-16 12:49:19 +00:00
Andreas Jaeger
0d3c08b640 s390.c: Include "debug.h" for dwarf2out_do_frame prototype.
* config/s390/s390.c: Include "debug.h" for dwarf2out_do_frame
        prototype.

From-SVN: r44933
2001-08-16 12:09:28 +02:00
GCC Administrator
1cfe9d4012 Daily bump.
From-SVN: r44931
2001-08-16 07:16:09 +00:00
Tom Tromey
ac8d99218a jni.cc: Include IdentityHashMap.h, not Hashtable.h.
* jni.cc: Include IdentityHashMap.h, not Hashtable.h.
	(local_ref_table, global_ref_table): Now IdentityHashMap.
	(_Jv_JNI_Init): Updated for new types.
	(mark_for_gc): Likewise.
	(unmark_for_gc): Likewise.
	* gcj/javaprims.h: Rebuilt class list.
	* Makefile.in: Rebuilt.
	* Makefile.am (core_java_source_files): Added new file.
	* java/util/IdentityHashMap.java: New file.

From-SVN: r44929
2001-08-15 20:46:48 +00:00
Tom Tromey
369e1d74c6 natIconv.cc (read): Handle EINVAL and E2BIG correctly.
* gnu/gcj/convert/natIconv.cc (read): Handle EINVAL and E2BIG
	correctly.

From-SVN: r44928
2001-08-15 20:24:00 +00:00
John Wehle
44ce006366 rtl.h (only_sets_cc0_p): New prototype.
* rtl.h (only_sets_cc0_p): New prototype.
	* jump.c (sets_cc0_p): Handle INSN.
	(only_sets_cc0_p): New function.
	* flow.c (merge_blocks_nomove): Use only_sets_cc0_p.
	(tidy_fallthru_edge): Likewise.
	* integrate.c (copy_insn_list): Likewise.
	* unroll.c (unroll_loop): Likewise.
	(copy_loop_body): Likewise.

From-SVN: r44927
2001-08-15 19:25:43 +00:00
Jason Eckhardt
cff27f1d82 * config/i960/i960.md (trap): Change "faulteq.t" to "faulte.t".
From-SVN: r44926
2001-08-15 18:54:10 +00:00
Andreas Schwab
b8f73826af configure.target (cpu_include_dir): Set to `config/cpu/m68k' for m68k and m680[246]0.
* configure.target (cpu_include_dir): Set to `config/cpu/m68k' for
	m68k and m680[246]0.
	* config/cpu/m68k/bits/atomicity.h: New file.

From-SVN: r44925
2001-08-15 16:00:45 +00:00
Andreas Schwab
2e0aa8179f std_limits.h [...]: Define appropriate long double limits for m68k extended floating point.
* include/bits/std_limits.h [__glibcpp_long_double_bits == 96]:
	Define appropriate long double limits for m68k extended floating
	point.
	(__glibcpp_f32_digits10): Corrected, off by one.
	(__glibcpp_f80_digits10): Likewise.
	(__glibcpp_f128_digits10): Likewise.
	* config/os/gnu-linux/bits/os_defines.h
	(__glibcpp_long_double_bits) [__mc68000__]: Define to 96.

From-SVN: r44924
2001-08-15 15:57:41 +00:00
Jan Hubicka
6ad48e84df predict.c (struct block_info_def): Remove nvisited.
* predict.c (struct block_info_def): Remove nvisited.
	(propagate_freq): Use EDGE_DFS_BACK to detect irreducible regions.
	(estimate_bb_frequencies): Call mark_dfs_back_edges.

	* i386.c (ix86_agi_depdendant): Lea causes AGI only on the Pentium
	(ix86_adjust_cost): Teach scheduler that latency to load operand can
	be masked.

From-SVN: r44921
2001-08-15 12:28:46 +00:00
Jan Hubicka
cc10816d2d * predict.def: Update hitrates.
From-SVN: r44920
2001-08-15 11:24:17 +00:00
Richard Henderson
fd7e958f94 * except.c (TYPE_HASH): Cast to size_t, not HOST_WIDE_INT.
From-SVN: r44919
2001-08-15 00:23:08 -07:00
GCC Administrator
d0420460b5 Daily bump.
From-SVN: r44917
2001-08-15 07:16:16 +00:00
David Billinghurst
c384918318 g77-dg.exp: Use prune.exp for common procedures
2001-08-14  David Billinghurst <David.Billinghurst@riotinto.com>

	* lib/g77-dg.exp:  Use prune.exp for common procedures
	(g77-dg-prune): Replace prune_g77_output with prune_gcc_output
	* lib/g77.exp: (g77-dg-prune) Remove

From-SVN: r44916
2001-08-15 05:59:41 +00:00
Zack Weinberg
61688c33b0 Add cscope(1) databases
From-SVN: r44915
2001-08-15 04:52:54 +00:00
Zack Weinberg
f6084f99fc config.sub: Merge from master sources, rev 1.218.
* config.sub: Merge from master sources, rev 1.218.
	* config.guess: Merge from master sources, rev 1.209.

From-SVN: r44914
2001-08-15 04:27:14 +00:00
Richard Henderson
b5d1cbd2fa class.c, cp-tree.h (build_vfn_ref): Remove.
* class.c, cp-tree.h (build_vfn_ref): Remove.
        * call.c, rtti.c: Replace all refernces with build_vtbl_ref.

From-SVN: r44913
2001-08-14 16:51:27 -07:00
Gabriel Dos Reis
1489e3241e numeric_limits.cc: Add more tests.
* testsuite/18_support/numeric_limits.cc: Add more tests.
      * include/bits/std_limits.h (numeric_limits<char>::max): Fix
      typo.

From-SVN: r44911
2001-08-14 23:34:04 +00:00
Jeffrey A Law
abb788ba5b flow.c (commit_one_edge_insertion): Don't separate a LOOP_BEG note from its associated jump.
* flow.c (commit_one_edge_insertion): Don't separate a LOOP_BEG
	note from its associated jump.

From-SVN: r44910
2001-08-14 17:30:16 -06:00