Commit Graph

43248 Commits

Author SHA1 Message Date
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
Zack Weinberg 8abbd76ae1 Fix omission in log for earlier change
From-SVN: r54061
2002-05-30 17:38:11 +00:00
Jason Thorpe 348f0869b6 netbsd-elf.h (LONG_DOUBLE_TYPE_SIZE): Compute at run-time.
* config/m68k/netbsd-elf.h (LONG_DOUBLE_TYPE_SIZE): Compute
at run-time.
(LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Set to 96 if not __mc68010__.

From-SVN: r54059
2002-05-30 17:14:24 +00:00
Jeff Law ae02eae82c * pa.h (ASM_OUTPUT_MI_THUNK): Remove unwanted semi-colon.
From-SVN: r54058
2002-05-30 10:15:25 -06:00
Marek Michalkiewicz e7d82ce2d0 * config/avr/avr.c (avr_mcu_types): Fix typo in previous patch.
From-SVN: r54057
2002-05-30 13:35:23 +00:00
Aldy Hernandez e3277ffb32 fix typo in last commit
From-SVN: r54055
2002-05-30 12:14:33 +00:00
Aldy Hernandez 9a171fcd88 rs6000.c (rs6000_expand_unop_builtin): Return const0_rtx instead of NULL_RTX when in error.
2002-05-30  Aldy Hernandez  <aldyh@redhat.com>

        * config/rs6000/rs6000.c (rs6000_expand_unop_builtin): Return
        const0_rtx instead of NULL_RTX when in error.
        (altivec_expand_abs_builtin): Same.
        (rs6000_expand_binop_builtin): Same.
        (altivec_expand_predicate_builtin): Same.
        (altivec_expand_stv_builtin): Same.
        (rs6000_expand_ternop_builtin): Same.
        (altivec_expand_builtin): Same.

From-SVN: r54054
2002-05-30 12:07:10 +00:00
David S. Miller 62a35e6088 rtl.h (clear_emit_caches): Delete.
2002-05-29  David S. Miller  <davem@redhat.com>

	* rtl.h (clear_emit_caches): Delete.
	* integrate.c (output_inline_function): Don't call it.
	* emit-rtl.c (restore_emit_status, init_emit): Likewise.
	(clear_emit_caches): Delete definition.
	(SEQUENCE_RESULT_SIZE, sequence_result, free_insn): Likewise.

From-SVN: r54053
2002-05-30 03:23:30 -07:00