Commit Graph

37078 Commits

Author SHA1 Message Date
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
Ulrich Weigand
d9b761a9a1 Define __s390__ also on 64-bit S/390 targets.
From-SVN: r44909
2001-08-14 23:28:00 +00:00
Ulrich Weigand
241a88aac5 Don't define FFETARGET_32bit_longs for 64-bit S/390.
From-SVN: r44908
2001-08-14 23:19:27 +00:00
Ulrich Weigand
354953125e Added atomicity.h header for s390.
From-SVN: r44907
2001-08-14 23:16:57 +00:00
Gabriel Dos Reis
8e0bcac8f3 * include/bits/std_limits.h: Fix thinko.
From-SVN: r44901
2001-08-14 21:06:48 +00:00
Nick Clifton
095bb2765d Handle nested functions which take variable arguments
From-SVN: r44898
2001-08-14 20:49:22 +00:00
Gerald Pfeifer
98999d8b49 install.texi (Specific, avr): Fix markup.
* doc/install.texi (Specific, avr): Fix markup.
	(Specific, c4x): Ditto.

From-SVN: r44896
2001-08-14 20:18:14 +00:00
Matt Kraai
b213a5ca6d * predict.c (dump_prediction): Change bool' parameter to int'.
From-SVN: r44895
2001-08-14 20:03:03 +00:00
Gabriel Dos Reis
c895acf211 Makefile.in (OBJS): Add rtl-error.o
* Makefile.in (OBJS): Add rtl-error.o
	(rtl-error.o): New rule.
	(diagnostic.o): Adjust dependency.
	diagnostic.c (file_and_line_for_asm, diagnostic_for_asm,
	error_for_asm, _fatal_insn, _fatal_insn_not_found,
	warning_for_asm): Move to...
	rtl-error.c: ...here.  New file.

From-SVN: r44894
2001-08-14 19:22:48 +00:00
Richard Henderson
ddee9e8d0d dwarf2out.c (dwarf2out_frame_finish): Never emit .eh_frame if USING_SJLJ_EXCEPTIONS.
* dwarf2out.c (dwarf2out_frame_finish): Never emit .eh_frame
        if USING_SJLJ_EXCEPTIONS.

From-SVN: r44893
2001-08-14 12:12:34 -07:00
Steve Ellcey
eb20f66836 tlink.c (scan_linker_output): Check string for unsatisfied in addition to undefined and unresolved.
* tlink.c (scan_linker_output): Check string for unsatisfied in
        addition to undefined and unresolved.

From-SVN: r44892
2001-08-14 11:01:48 -04:00
Graham Stott
540ceb67e0 * libgcc2.c (*): Replace EH_FRAME_SECTION with EH_FRAME_SECTION_NAME.
From-SVN: r44891
2001-08-14 14:06:10 +00:00
Jan Hubicka
2d515d60b3 genattrtab.c (simplify_test_exp_in_temp): New function.
* genattrtab.c (simplify_test_exp_in_temp): New function.
        (simplify_test_exp): Avoid explicit use of temporary obstack.
        (simplify_cond, insert_right_side, evaluate_eq_attr,
        simplify_and_tree, simplify_or_tree, eliminate_known_true):
        Use simplify_test_exp_in_temp.
        (optimize_attrs): Iterate until expression stabilizes.

From-SVN: r44890
2001-08-14 13:01:20 +00:00
Benjamin Kosnik
3119bd48cc Makefile.am: Consolidate target rules.
2001-08-14  Benjamin Kosnik  <bkoz@redhat.com>

	* include/Makefile.am: Consolidate target rules. Don't clean stamp
	files. Tweak target build directory stamp.
	* include/Makefile.in: Regenerate.

From-SVN: r44889
2001-08-14 08:46:37 +00:00
Benjamin Kosnik
843312be57 Makefile.am: Consolidate target rules.
2001-08-14  Benjamin Kosnik  <bkoz@redhat.com>

	* include/Makefile.am: Consolidate target rules. Don't clean stamp
	files. Tweak target build directory stamp.
	* include/Makefile.in: Regenerate.

2

From-SVN: r44888
2001-08-14 08:42:19 +00:00
GCC Administrator
c104edca38 Daily bump.
From-SVN: r44886
2001-08-14 07:16:18 +00:00
Peter Schmid
abfc6eb13b stubs.c: Fix PR/3988, replace _GBLICPP_HAVE_LOGL with HAVE_LOGL
2001-08-14  Peter Schmid  <schmid@snake.iap.physik.tu-darmstadt.de>

	* libstdc++-v3/libmath/stubs.c: Fix PR/3988, replace
	_GBLICPP_HAVE_LOGL with HAVE_LOGL

From-SVN: r44884
2001-08-14 06:50:58 +00:00