Commit Graph

43264 Commits

Author SHA1 Message Date
Kaveh R. Ghazi
407c72cb29 *: Fix formatting.
* libF77/*: Fix formatting.
	* libI77/*: Likewise.
	* libU77/*: Likewise.

From-SVN: r54145
2002-06-01 12:38:32 +00:00
Joseph Myers
113dc14387 gnat_ug.texi: Use @ifnottex instead of @ifinfo.
* gnat_ug.texi: Use @ifnottex instead of @ifinfo.
	* gnat_ug_unx.texi, gnat_ug_vms.texi, gnat_ug_vxw.texi,
	gnat_ug_wnt.texi: Regenerate.

From-SVN: r54144
2002-06-01 12:17:19 +01:00
Kazu Hirata
be1e06df35 h8300-protos.h: Add a prototype for h8300_shift_needs_scratch_p.
* config/h8300/h8300-protos.h: Add a prototype for
	h8300_shift_needs_scratch_p.
	* config/h8300/h8300.c (h8300_shift_needs_scratch_p): New.
	* config/h8300/h8300.h (OK_FOR_R): New.
	(OK_FOR_S): Likewise.
	(OK_FOR_T): Likewise.
	(EXTRA_CONSTRAINT): Call OK_FOR_R, OK_FOR_S, and OK_FOR_T.
	* config/h8300/h8300.md (anonymous shift patterns): Use
	constraints R, S, and T.

From-SVN: r54143
2002-06-01 10:38:58 +00:00
Zdenek Dvorak
2ecfd709c2 basic-block.h (struct basic_block_def): New field loop_father.
* basic-block.h (struct basic_block_def): New field loop_father.
	(BB_VISITED): New flag.
	(struct loop): New field pred, removed field shared.
	(struct loops): New field parray.
	(LOOP_EXITS_DOMS): Removed.
	(flow_loop_tree_node_add, flow_loop_tree_node_remove,
	flow_loop_nested_p, flow_bb_inside_loop_p, get_loop_body,
	dfs_enumerate_from, loop_preheader_edge, loop_latch_edge,
	add_bb_to_loop, remove_bb_from_loops, find_common_loop,
	verify_loop_structure): Declare.
	* cfg.c (entry_exit_blocks): Initialize loop_father field.
	* cfganal.c (dfs_enumerate_from): New function.
	* cfgloop.c (HEAVY_EDGE_RATIO): New constant.
	(flow_loop_entry_edges_find, flow_loop_exit_edges_find,
	flow_loop_nodes_find, flow_loop_level_compute, flow_loop_nested_p,
	flow_loop_dump, flow_loops_dump, flow_loops_free,
	flow_loop_tree_node_add, flow_loop_level_compute,
	flow_loops_level_compute, flow_loop_scan, flow_loops_update,
	flow_loop_outside_edge_p): Modified for new infrastructure.
	(make_forwarder_block, canonicalize_loop_headers, glb_enum_p,
	redirect_edge_with_latch_update, flow_loop_free): New static functions.
	(flow_loop_tree_node_remove, flow_bb_inside_loop_p,
	get_loop_body, add_bb_to_loop, remove_bb_from_loops,
	find_common_loop, verify_loop_structure, loop_latch_edge,
	loop_preheader_edge): New functions.
	(flow_loops_cfg_dump): Do not show dominators, as this information
	does not remain up to date long.
	(flow_loops_find): Store results in new format.
	* predict.c (propagate_freq, estimate_probability,
	estimate_loops_at_level, estimate_bb_frequencies): Use new loop
	infrastructure.

From-SVN: r54142
2002-06-01 09:24:41 +00:00
GCC Administrator
d6ee5ebf93 Daily bump.
From-SVN: r54141
2002-06-01 07:17:00 +00:00
Alan Lehotsky
d9763749a5 *** empty log message ***
From-SVN: r54136
2002-05-31 22:23:38 -04:00
David Edelsohn
f6b1cfea91 - Sigh, always use default text section name.
From-SVN: r54135
2002-05-31 22:01:11 -04:00
Kaveh R. Ghazi
9bb2ada61f g2c.hin, [...]: Kill VOID, Void and Int.
* g2c.hin, libF77/d_cnjg.c, libF77/main.c, libF77/r_cnjg.c,
	libF77/s_cat.c, libF77/s_paus.c, libF77/s_rnge.c, libF77/setarg.c,
	libF77/setsig.c, libF77/signal1.h0, libI77/dfe.c, libI77/due.c,
	libI77/err.c, libI77/fio.h, libI77/fmt.c, libI77/iio.c,
	libI77/ilnw.c, libI77/lread.c, libI77/lwrite.c, libI77/rsfe.c,
	libI77/rsli.c, libI77/rsne.c, libI77/sfe.c, libI77/sue.c,
	libI77/util.c, libI77/wrtfmt.c, libI77/wsfe.c, libI77/wsle.c,
	libI77/xwsne.c, libU77/date_.c: Kill VOID, Void and Int.

From-SVN: r54134
2002-06-01 01:58:10 +00:00
Kaveh R. Ghazi
9321813126 F77_aloc.c, [...]: Delete checks on __cplusplus.
* libF77/F77_aloc.c, libF77/exit_.c, libF77/main.c,
	libF77/s_paus.c, libF77/s_stop.c, libF77/setarg.c,
	libF77/setsig.c, libF77/sig_die.c, libF77/signal1.h0,
	libI77/close.c, libI77/dolio.c, libI77/fio.h, libI77/fmt.h,
	libI77/lio.h: Delete checks on __cplusplus.

From-SVN: r54133
2002-06-01 01:55:57 +00:00
Kaveh R. Ghazi
4d85a6fea6 *: Delete KR_headers cruft.
* libF77/*: Delete KR_headers cruft.
	* libI77/*: Likewise.
	* libU77/*: Likewise.

From-SVN: r54132
2002-06-01 01:53:53 +00:00
Zack Weinberg
1e730c5ca7 Makefile.in (INSTALL_CPP, [...]): Remove.
* Makefile.in (INSTALL_CPP, UNINSTALL_CPP): Remove.
	(install): Refer to install-cpp directly.
	(uninstall-cpp): Folded into uninstall rule.
	* configure.in: Delete all code relating to --disable-cpp.
	* configure: Regenerate.
	* config/t-install-cpp: Delete.

From-SVN: r54131
2002-06-01 01:53:28 +00:00
Phil Edwards
05d7f9ba6f Fix typo in my previous changelog commit. Again.
From-SVN: r54129
2002-06-01 00:50:40 +00:00
Marcus Meissner
6c8ce02fcd stl_bvector.h: Use UL suffix for unsigned longs.
2002-05-31  Marcus Meissner  <meissner@suse.de>

	* include/bits/stl_bvector.h:  Use UL suffix for unsigned longs.
	* testsuite/23_containers/vector_bool.cc (test02):  New test.

From-SVN: r54128
2002-06-01 00:48:21 +00:00
Richard Henderson
6f9b006de0 configure.in (HAVE_AS_TLS): Add alpha tests.
* configure.in (HAVE_AS_TLS): Add alpha tests.
	* configure: Rebuild.
	* config/alpha/alpha.c (TARGET_AS_TLS): New.
	(alpha_tls_size, alpha_tls_size_string): New.
	(overide_options): Set it.  Always install machine_status hooks.
	(input_operand): Accept got tls predicates.
	(local_symbol_p): Merge into ...
	(local_symbolic_operand): ... here.  Reject tls symbols.
	(global_symbolic_operand): Likewise.
	(tls_symbolic_operand_1, dtp16_symbolic_operand): New.
	(dtp32_symbolic_operand, gotdtp_symbolic_operand): New.
	(tp16_symbolic_operand, tp32_symbolic_operand): New.
	(gottp_symbolic_operand, tls_symbolic_operand_type): New.
	(alpha_encode_section_info): Handle TLS symbols.
	(alpha_strip_name_encoding): Likewise.
	(alpha_legitimate_address_p): Likewise.
	(alpha_legitimize_address): Likewise.
	(alpha_expand_mov): Early exit to avoid nop moves.
	(struct machine_function): Move from unicosmk.h.  Add some_ld_name.
	(alpha_init_machine_status, alpha_mark_machine_status,
	alpha_free_machine_status): Always define.
	(get_some_local_dynamic_name, get_some_local_dynamic_name_1): New.
	(print_operand, print_operand_address): Add TLS relocs.
	* config/alpha/alpha.h (HAVE_AS_TLS): Default 0.
	(MASK_TLS_KERNEL, TARGET_TLS_KERNEL): New.
	(TARGET_SWITCHES): Add -mtls-kernel.
	(alpha_tls_size, alpha_tls_size_string): New.
	(TARGET_OPTIONS): Add -mtls-size=.
	(reg_class, REG_CLASS_NAMES, REG_CLASS_CONTENTS,
	REGNO_REG_CLASS, REG_CLASS_FROM_LETTER): Add R0_REG.
	(ASM_OUTPUT_LABELREF): Skip %.
	(PRINT_OPERAND_PUNCT_VALID_P): Add &.
	(PREDICATE_CODES): Update.
	* config/alpha/alpha.md (UNSPEC_TLSGD_CALL, UNSPEC_TLSLDM_CALL,
	UNSPEC_TLSGD, UNSPEC_TLSLDM, UNSPEC_DTPREL, UNSPEC_TPREL,
	UNSPEC_TP, UNSPECV_SET_TP): New.
	(adddi_er_lo16_dtp, adddi_er_hi32_dtp, adddi_er_lo32_dtp,
	adddi_er_lo16_tp, adddi_er_hi32_tp, adddi_er_lo32_tp, load_tp,
	set_tp, movdi_er_tlsgd, movdi_er_tlsldm, movdi_er_gotdtp,
	movdi_er_gottp, call_value_osf_tlsgd, call_value_osf_tlsldm): New.
	(call_value_osf_2_er): Accept anything as op4.
	* config/alpha/alpha-protos.h: Update.
	* config/alpha/unicosmk.h (struct machine_function): Move to alpha.c.

From-SVN: r54125
2002-05-31 17:19:10 -07:00
Zack Weinberg
39e5db1a7c cppinit.c (append_include_chain): Always pay attention to cxx_aware when setting new->sysp.
* cppinit.c (append_include_chain): Always pay attention to
	cxx_aware when setting new->sysp.  Remove ATTRIBUTE_UNUSED
	marker on argument.

From-SVN: r54124
2002-05-31 22:57:55 +00:00
Kazu Hirata
41077ce4b3 target.h: Fix formatting.
* target.h: Fix formatting.
	* timevar.h: Likewise.
	* tlink.c: Likewise.
	* toplev.c: Likewise.
	* toplev.h: Likewise.
	* tree.c: Likewise.
	* tree-dump.h: Likewise.
	* tree.h: Likewise.
	* tree-inline.h: Likewise.
	* unroll.c: Likewise.
	* unwind-dw2.c: Likewise.
	* unwind-dw2-fde.c: Likewise.
	* unwind-dw2-fde-glibc.c: Likewise.
	* unwind-dw2-fde.h: Likewise.
	* unwind.h: Likewise.
	* unwind-sjlj.c: Likewise.
	* varasm.c: Likewise.
	* varray.h: Likewise.
	* vmsdbg.h: Likewise.
	* vmsdbgout.c: Likewise.
	* xcoffout.h: Likewise.

From-SVN: r54123
2002-05-31 22:15:42 +00:00
Igor Shevlyakov
b2e426a0cc expr.c (compare_from_rtx): Generate comparison between op0 and op1 rather than cc0 and 0 in a case when...
* expr.c (compare_from_rtx): Generate comparison between op0 and op1
        rather than cc0 and 0 in a case when HAVE_cc0 is not defined.

From-SVN: r54122
2002-05-31 15:08:12 -07:00
Matthew Woodcraft
8b968bd155 gcc.c (cpp_unique_options): Remove "-d" options.
* gcc.c (cpp_unique_options): Remove "-d" options.
        (cpp_debug_options): New spec string.
        (default_compilers): Use it.
        * objc/lang-specs.h: Likewise.
        * cp/lang-specs.h: Likewise.
        * f/lang-specs.h: Likewise.

From-SVN: r54121
2002-05-31 14:01:28 -07:00
Nathanael Nerode
efe1f35795 Makefile.in: Replace HOST_PREFIX...
* Makefile.in: Replace HOST_PREFIX, HOST_PREFIX_1 with BUILD_PREFIX,
BUILD_PREFIX_1, to correct nomenclature.
* configure: Likewise.

From-SVN: r54119
2002-05-31 16:12:31 -04:00
Nathanael Nerode
5c35940cc1 Makefile.in: Replace HOST_PREFIX...
* gcc/Makefile.in: Replace HOST_PREFIX, HOST_PREFIX_1 with
BUILD_PREFIX, BUILD_PREFIX_1, to correct nomenclature.
* gcc/mklibgcc.in: Likewise.
* gcc/config/arc/t-arc: Likewise.
* gcc/configure.in: Likewise.
* gcc/configure: Regenerate.

From-SVN: r54118
2002-05-31 16:11:49 -04:00
Nathanael Nerode
e9667b3cce Makefile.in: Eliminate version-specific references to tcl8.1, tk8.1.
* Makefile.in: Eliminate version-specific references to tcl8.1, tk8.1.
* configure.in: Eliminate version-specific references to tcl8.1, tk8.1.

From-SVN: r54117
2002-05-31 15:42:41 -04:00
Stan Shebs
8b496ceb13 c-decl.c (struct binding_level): Change int field n_incomplete to tree list incomplete_list.
2002-05-31  Stan Shebs  <shebs@apple.com>
            Turly O'Connor  <turly@apple.com>

        * c-decl.c (struct binding_level): Change int field n_incomplete
        to tree list incomplete_list.
        (clear_binding_level): Init field with NULL.
        (pushdecl): Add incomplete type to list.
        (mark_binding_level): Mark the incomplete list.
        (finish_struct): Scan the incomplete list for types instead
        of all decls in the current binding level.

Co-Authored-By: Turly O'Connor <turly@apple.com>

From-SVN: r54116
2002-05-31 19:41:45 +00:00
Olaf Hering
fe2fe4972b * config-ml.in: Propogate DESTDIR also.
From-SVN: r54114
2002-05-31 15:30:52 -04:00
Florian Weimer
15e6136e1d 5ntaprop.adb (with System.OS_Primitives): Remove.
2002-05-31  Florian Weimer  <fw@deneb.enyo.de>

	* 5ntaprop.adb (with System.OS_Primitives): Remove.

From-SVN: r54113
2002-05-31 21:27:59 +02:00
Florian Weimer
019310acda cstreams.c (max_path_len): Move from here ...
2002-05-31  Florian Weimer  <fw@deneb.enyo.de>

	* cstreams.c (max_path_len): Move from here ...
	* adaint.c (__gnat_max_path_len): ... to here.
	* adaint.c (__gnat_max_path_len): Declare.
	* g-dirope.adb (Max_Path): Adjust.
	* g-os_lib.adb (Normalize_Pathname.Max_Path): Adjust.
	* i-cstrea.ads (max_path_len): Adjust.
	* osint.adb (Get_RTS_Search_Dir.Max_Path): Adjust.
	* xr_tabls.adb (Dir_Name.Max_Path: Adjust.

From-SVN: r54112
2002-05-31 20:08:23 +02:00
John David Anglin
4722213d33 pa.c (output_millicode_call): Add missing '%' characters.
2002-05-31  John David Anglin  <dave@hiauly1.hia.nrc.ca>

	* pa.c (output_millicode_call): Add missing '%' characters.
	(output_call): Likewise.

From-SVN: r54111
2002-05-31 18:01:13 +00:00
David Edelsohn
1086fcb112 xcoff.h (HOT_TEXT_SECTION_NAME): Define.
* config/rs6000/xcoff.h (HOT_TEXT_SECTION_NAME): Define.
        (UNLIKELY_EXECUTED_TEXT_SECTION_NAME): Define.

From-SVN: r54110
2002-05-31 13:45:58 -04:00
Florian Weimer
74c8dc7df9 update_web_docs (MANUALS): Include various flavours of the GNAT User Guide.
2002-05-31  Florian Weimer  <fw@deneb.enyo.de>

	* update_web_docs (MANUALS): Include various flavours of the GNAT
	User Guide.

From-SVN: r54109
2002-05-31 18:50:45 +02:00
Alan Lehotsky
afdfb380cd *** empty log message ***
From-SVN: r54108
2002-05-31 08:49:27 -04:00
J"orn Rennecke
f2df45f695 * config/sh/elf.h (ASM_SPEC): Use subtarget_endian_asm_spec.
From-SVN: r54107
2002-05-31 13:04:33 +01:00
Jan Hubicka
91ea38f971 i386.c (classify_argument): Properly handle base types.
* i386.c (classify_argument): Properly handle base types.

	* dwarf2out.c (expand_builin_init_dwarf_reg_sizes):
	Store first DWARF_FRAME_REGISTERS dwarf registers, not pseudo
	registers.

From-SVN: r54106
2002-05-31 11:54:11 +00:00
Jan Hubicka
10d1bb3675 gcse.c (gcse_emit_move_after): New.
* gcse.c (gcse_emit_move_after): New.
	(pre_delete, hoist_store): Use it.

	* reload1.c (emit_input_reload_insns): Use constrain_operands
	instead of constraint_accepts_reg_p to verify optimization.
	(constraint_accepts_reg_p): Kill

	* reload1.c (reload_cse_delete_noop_set): Kill.
	(reload_cse_simplify): use delte_insn_and_edges.

From-SVN: r54105
2002-05-31 11:43:18 +00:00
Zdenek Dvorak
8a72fb761e cfgloop.c (flow_loops_find): Initialize first and last fields correctly.
* cfgloop.c (flow_loops_find): Initialize first and last fields
	correctly.

From-SVN: r54104
2002-05-31 11:09:17 +00:00
Florian Weimer
ba9e1571a0 gcc_update (files_and_dependencies): Add generated Texinfo files for Ada.
2002-05-31  Florian Weimer  <fw@deneb.enyo.de>

	* gcc_update (files_and_dependencies): Add generated Texinfo files
	for Ada.

From-SVN: r54103
2002-05-31 13:08:38 +02:00
Florian Weimer
5321fb3e63 Makefile.in, [...]: Documentation is now built in Make-lang.in.
2002-05-31  Florian Weimer  <fw@deneb.enyo.de>

	* Makefile.in, Make-lang.in: Documentation is now built in
	Make-lang.in.  Store Info and generated Texinfo files in the
	source directory.
	* gnat_ug.texi: Remove CVS keywords, correct version number.
	Set file name correctly.

	* gnat_ug_*.texi: Add.
	* .cvsignore: Ignore generated Texinfo files.

From-SVN: r54100
2002-05-31 12:47:33 +02:00
GCC Administrator
dbc032c5cd Daily bump.
From-SVN: r54095
2002-05-31 07:18:14 +00:00
Neil Booth
a9da2e5b38 * c-common.c (builtin_define_std): Correct logic.
From-SVN: r54089
2002-05-31 06:01:18 +00:00
John David Anglin
6248c4ddc8 pa.c (output_millicode_call): Correct "be,l" insn for TARGET_PA_20.
* pa.c (output_millicode_call): Correct "be,l" insn for TARGET_PA_20.
	(output_call): Likewise.

From-SVN: r54088
2002-05-31 05:41:30 +00:00
John David Anglin
d499455b81 pa.c: Move output.h include after tree.h include.
* pa.c: Move output.h include after tree.h include.
	(pa_asm_output_mi_thunk): Constify identifier lab.

From-SVN: r54087
2002-05-31 04:32:41 +00:00
Jason Thorpe
2eb2901a50 ns32k.h: Define named constants for the bits in target_flags and use them.
* config/ns32k/ns32k.h: Define named constants for the
bits in target_flags and use them.
* config/ns32k/netbsd.h (TARGET_DEFAULT): Use named constants.

From-SVN: r54086
2002-05-31 04:23:14 +00:00
John David Anglin
806bf4137d config.gcc (tm_file): Prefix pa/pa-700.h to tm_file list for PA1.0 architecture and pa/pa-7100.h for...
2002-05-30  John David Anglin  <dave@hiauly1.hia.nrc.ca>

	* config.gcc (tm_file): Prefix pa/pa-700.h to tm_file list for PA1.0
	architecture and pa/pa-7100.h for PA1.1 architecture, respectively.
	* pa/pa.c (override_options): Use TARGET_SCHED_DEFAULT to select
	default scheduling model.
	* pa/pa.h (TARGET_SCHED_DEFAULT): Define if not defined to "8000".
	* pa/pa-700.h (TARGET_SCHED_DEFAULT): New file for "700" scheduling.
	* pa/pa-7100.h (TARGET_SCHED_DEFAULT): New file for "7100" scheduling.
	* doc/install.texi (hppa*-*-*): Document default scheduling.

From-SVN: r54085
2002-05-31 04:00:42 +00:00
John David Anglin
6d8d2bbc83 * pa.c (following_call): Check TARGET_JUMP_IN_DELAY.
From-SVN: r54084
2002-05-31 03:30:42 +00:00
Kaveh R. Ghazi
bbf0fcca54 Makefile.in (WARN_CFLAGS): New.
* Makefile.in (WARN_CFLAGS): New.
	(FLAGS_TO_PASS): Add WARN_CFLAGS.
	* libF77/Makefile.in (ALL_CFLAGS): Likewise.
	* libI77/Makefile.in (ALL_CFLAGS): Likewise.
	* libU77/Makefile.in (ALL_CFLAGS): Likewise.

From-SVN: r54083
2002-05-31 03:07:21 +00:00
Jason Thorpe
c8eb978520 config.gcc (ns32k-*-netbsd*): Set tm_file to "${tm_file} netbsd.h netbsd-aout.h ns32k/netbsd.h"
* config.gcc (ns32k-*-netbsd*): Set tm_file to
"${tm_file} netbsd.h netbsd-aout.h ns32k/netbsd.h"
* config/ns32k/netbsd.h: Don't include ns32k/ns32k.h,
netbsd.h, or netbsd-aout.h.

From-SVN: r54082
2002-05-31 02:51:23 +00:00
Jason Thorpe
6e2e5b6a7e longlong.h (count_trailing_zeros): Add missing \, and clean up whitespace in __ns32000__ case.
* longlong.h (count_trailing_zeros): Add missing \, and clean up
whitespace in __ns32000__ case.

From-SVN: r54081
2002-05-31 02:38:38 +00:00
Aldy Hernandez
00182e1edc expr.c (expand_expr): Output partially zeroed out vectors with output_constant_def.
2002-05-31  Aldy Hernandez  <aldyh@redhat.com>

        * expr.c (expand_expr): Output partially zeroed out vectors with
        output_constant_def.

From-SVN: r54080
2002-05-31 02:21:31 +00:00
Jason Thorpe
b4eb03fef0 config.gcc (sh[123456789l]*-*-*): Set cpu_type to sh.
* config.gcc (sh[123456789l]*-*-*): Set cpu_type to sh.
(sh-*-netbsdelf*)
(shl*-*-netbsdelf*): New targets.
* config/sh/netbsd-elf.h: New file.

From-SVN: r54079
2002-05-31 01:31:26 +00:00
Richard Henderson
261376e723 re PR rtl-optimization/6822 (GCC 3.1.1 - Internal compiler error in extract_insn, at recog.c:2132)
PR optimization/6822
        * config/i386/i386.c (ix86_expand_int_movcc): Don't cast INTVAL
        to unsigned int for op1 comparisons.  Use gen_int_mode.

	* gcc.c-torture/compile/20020530-1.c: New.

Co-Authored-By: Eric Botcazou <ebotcazou@multimania.com>

From-SVN: r54076
2002-05-30 16:08:27 -07:00
Eric Botcazou
ce60bf25b2 expmed.c (const_mult_add_overflow_p): New.
* expmed.c (const_mult_add_overflow_p): New.
        * expr.h: Declare it.
        * loop.c (maybe_eliminate_biv_1) [COMPARE]: Use it.
        Don't eliminate the biv if the giv has a constant multiplier and
        the rhs argument of the comparison does satisfy the predicate.
        Use expand_mult_add to compute the replacement constant.

From-SVN: r54075
2002-05-30 14:33:32 -07:00
Osku Salerma
d18b1ed89e c-common.c (c_common_attribute_table): Add "may_alias" entry.
* c-common.c (c_common_attribute_table): Add "may_alias" entry.
        (c_common_get_alias_set): Handle it.
        * doc/extend.texi: Document it.

        * gcc.c-torture/execute/mayalias-1.c: New file.

From-SVN: r54074
2002-05-30 14:28:17 -07:00