Commit Graph

43255 Commits

Author SHA1 Message Date
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
Richard Henderson
a794338112 defaults.h (TARGET_ALLOWS_PROFILING_WITHOUT_FRAME_POINTER): Kill.
* defaults.h (TARGET_ALLOWS_PROFILING_WITHOUT_FRAME_POINTER): Kill.
        * toplev.c (process_options): Don't check it.
        * doc/tm.texi: Don't document it.
        * config/i386/linux.h (SUBTARGET_FRAME_POINTER_REQUIRED): New.
        (TARGET_ALLOWS_PROFILING_WITHOUT_FRAME_POINTER): Kill.
        * config/i386/i386.c (ix86_frame_pointer_required): Suppress leaf
        frame pointer optimization if current_function_profile.

From-SVN: r54072
2002-05-30 14:01:20 -07:00
Marc Espie
de215bc6c5 configure.in: Always check for sys/types.h
2002-05-30	Marc Espie <espie@openbsd.org>
	* configure.in:  Always check for sys/types.h
	* configure:  Regenerate.

From-SVN: r54071
2002-05-30 21:00:28 +00:00
Kazu Hirata
e11e816ec7 langhooks.c: Fix formatting.
* langhooks.c: Fix formatting.
	* langhooks.h: Likewise.
	* lcm.c: Likewise.
	* libgcc2.c: Likewise.
	* lists.c: Likewise.
	* local-alloc.c: Likewise.
	* loop.c: Likewise.
	* loop.h: Likewise.

From-SVN: r54070
2002-05-30 20:55:11 +00:00
H.J. Lu
76ae32d753 open.c (_XOPEN_SOURCE): Removed.
2002-05-30  H.J. Lu  (hjl@gnu.org)

	* libI77/open.c (_XOPEN_SOURCE): Removed.

From-SVN: r54069
2002-05-30 13:46:53 -07:00
Marc Espie
91f0fcee22 config.gcc (sparc64-*-openbsd*): New.
2002-05-30	Marc Espie <espie@openbsd.org>
	* config.gcc (sparc64-*-openbsd*):  New.
	* config/sparc/openbsd1-64.h:  New.
	* config/sparc/openbsd64.h:  New.

From-SVN: r54066
2002-05-30 20:35:58 +00:00
Jeff Law
d35dfca9e6 flow.c (propagate_one_insn): Revise yesterday's patch.
* flow.c (propagate_one_insn): Revise yesterday's patch.  Delete
        a dead insn with a REG_RETVAL note when the entire libcall is not
        dead and remove the associated REG_LIBCALL note at the same time.

From-SVN: r54065
2002-05-30 14:20:28 -06:00
J"orn Rennecke
81b40b72d1 lcm.c (output.h): #include.
* lcm.c (output.h): #include.
	(compute_earliest): Remove hack to treat renumbered EXIT_BLOCK
	as an ordinary block.
	(optimize_mode_switching): Don't pretend that the exit block is
	an ordinary block, or handle sucessors of entry block specially.
	Instead, split edges from entry block and to exit block, and
	put a computing definition on the thus gained post-entry-block,
	and a need on the pre-exit-block.

From-SVN: r54064
2002-05-30 19:58:31 +01:00
Zack Weinberg
b1c12c4ba1 ada.h: Add MI guard macro.
* ada.h: Add MI guard macro.
	(SUBTYPE): Define constants with an anonymous enum, not static
	const variables.
	(IN): Cast constants to appropriate type before use.

From-SVN: r54063
2002-05-30 18:39:02 +00:00
Jan Hubicka
c8ea9a0f1d gengenrtl.c (type_from_format, [...]): Support 'B'.
* gengenrtl.c (type_from_format, accessor_from_format): Support 'B'.
	* rtl.texi: Document 'B'

From-SVN: r54062
2002-05-30 18:28:56 +00:00