Commit Graph

43384 Commits

Author SHA1 Message Date
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
GCC Administrator
128977c9d0 Daily bump.
From-SVN: r54047
2002-05-30 07:18:19 +00:00
Hans-Peter Nilsson
cbc39da880 mmix.c: Include real.h.
* config/mmix/mmix.c: Include real.h.
	(mmix_constant_address_p): Remove redundant test before switch.

From-SVN: r54042
2002-05-30 06:48:12 +00:00
Jason Thorpe
dcf7f0ddac configure.in (vax-*-netbsd*): Don't build gas for this platform.
* configure.in (vax-*-netbsd*): Don't build gas for this
platform.

From-SVN: r54040
2002-05-30 02:53:32 +00:00
Bryce McKinlay
5549d65dfb * libjava.compile/T20020529.java: New file.
From-SVN: r54039
2002-05-30 03:53:13 +01:00
Jason Thorpe
50efa73711 mips.h (READONLY_DATA_SECTION_ASM_OP): Define only if not already defined.
* config/mips/mips.h (READONLY_DATA_SECTION_ASM_OP): Define
only if not already defined.

From-SVN: r54038
2002-05-30 01:49:57 +00:00
Kazu Hirata
2e760b15f0 h8300-protos.h: Remove prototypes for ok_for_bclr and small_power_of_two.
* config/h8300/h8300-protos.h: Remove prototypes for
	ok_for_bclr and small_power_of_two.
	* config/h8300/h8300.c (small_power_of_two): Remove.
	(ok_for_blcr): Likewise.
	(fix_bit_operand): Make WHAT deal with an integer instead of a
	constraint character.
	* config/h8300/h8300.h (CONST_OK_FOR_O): Remove.
	(CONST_OK_FOR_P): Likewise.
	(CONST_OK_FOR_LETTER_P): Do not call CONST_OK_FOR_O or
	CONST_OK_FOR_P any more.
	* config/h8300/h8300.md (andqi3): Adjust to the new prototype
	of fix_bit_operand.
	(iorqi3): Likewise.
	(xorqi3): Likewise.

From-SVN: r54037
2002-05-30 01:35:12 +00:00
Jason Thorpe
e1c293ae20 netbsd.h (TARGET_OS_CPP_BUILTINS): Define.
* config/mips/netbsd.h (TARGET_OS_CPP_BUILTINS): Define.
(CPP_PREDEFINES): Make sure this is undefined.
(CPP_SPEC): Place -D__mips=1 at the beginning of the spec,
since it is no longer in CPP_PREDEFINES.  Don't -U__MIPSEL__
or -U__MIPSEB__ before defining one or the other.  Instead,
use %(subtarget_endian_default) if neither -EB nor -EL are
specified.
(SUBTARGET_EXTRA_SPECS): Define.
(SUBTARGET_CPP_SPEC): Remove __LONG64 handling.  Use
%(netbsd_cpp_spec).

From-SVN: r54036
2002-05-30 01:29:29 +00:00
Hans-Peter Nilsson
fde6d81fc0 md.texi (Patterns): Note pattern condition pitfall for unnamed insn.
* doc/md.texi (Patterns): Note pattern condition pitfall
	for unnamed insn.

From-SVN: r54035
2002-05-30 01:05:05 +00:00
Aldy Hernandez
92898235fc rs6000.c: (altivec_expand_builtin): Only expand altivec builtins when TARGET_ALTIVEC.
2002-05-29  Aldy Hernandez  <aldyh@redhat.com>

        * rs6000.c: (altivec_expand_builtin): Only expand altivec builtins
        when TARGET_ALTIVEC.  Move handling of generic unary, binary, and
        ternary operations from here...
        (rs6000_expand_builtin): ...to here.
        New argument expandedp.
        Change all instances of altivec_expand_binop_builtin to
        rs6000_expand_binop_builtin.
        (altivec_expand_unop_builtin): Rename to
        rs6000_expand_unop_builtin.
        (altivec_expand_binop_builtin): Rename to
        rs6000_expand_binop_builtin.
        (altivec_expand_ternop_builtin): Rename to
        rs6000_expand_ternop_builtin.

From-SVN: r54034
2002-05-30 00:54:18 +00:00
Richard Henderson
67adf6a9dc biarch64.h (TARGET_64BIT_DEFAULT): Define with value.
* config/i386/biarch64.h (TARGET_64BIT_DEFAULT): Define with value.
        (TARGET_BI_ARCH): Likewise.
        * config/i386/i386.h: Test TARGET_64BIT_DEFAULT by value.
        (TARGET_SWITCHES): Combine target defaults here not in TARGET_DEFAULT.
        (TARGET_64BIT_DEFAULT): Default to 0.
        (TARGET_DEFAULT): Default to MASK_OMIT_LEAF_FRAME_POINTER.

From-SVN: r54032
2002-05-29 17:38:36 -07:00
Richard Henderson
145aacc2e0 i386.c (USE_HIDDEN_LINKONCE): New.
* config/i386/i386.c (USE_HIDDEN_LINKONCE): New.
        (get_pc_thunk_name): New.
        (output_set_got): Use it.
        (ix86_asm_file_end): If USE_HIDDEN_LINKONCE, emit get_pc thunks
        into linkonce sections.

From-SVN: r54031
2002-05-29 17:28:14 -07:00
Jason Thorpe
a5b49bbc91 netbsd-elf.h (TARGET_OS_CPP_BUILTINS): Define.
* config/sparc/netbsd-elf.h (TARGET_OS_CPP_BUILTINS): Define.
(CPP_PREDEFINES): Make sure this is undefined.
(CPP_SUBTARGET_SPEC64, CPP_SUBTARGET_SPEC32): Remove.
(CPP_SUBTARGET_SPEC): Don't provide different versions for
default-32 and default-64.  Just always use %(netbsd_cpp_spec).
(SUBTARGET_EXTRA_SPECS): Remove cpp_subtarget_spec32 and
cpp_subtarget_spec64.  Add netbsd_cpp_spec.
* config/sparc/netbsd.h (TARGET_OS_CPP_BUILTINS): Define.
(CPP_PREDEFINES): Make sure this is undefined.
(SUBTARGET_EXTRA_SPECS): Define.
(CPP_SPEC): Use %(netbsd_cpp_spec).

From-SVN: r54030
2002-05-29 23:50:56 +00:00
Jeff Law
b862c2aaaf flow.c (propagate_one_insn): Do not remove a dead insn if it contains a REG_RETVAL note.
* flow.c (propagate_one_insn): Do not remove a dead insn if it
        contains a REG_RETVAL note.

From-SVN: r54028
2002-05-29 17:04:23 -06:00
Jeff Law
d10791bab7 haifa-sched (sched_analyze): Remove another useless clearing of SCHED_GROUP_P I missed yesterday.
* haifa-sched (sched_analyze): Remove another useless clearing
        of SCHED_GROUP_P I missed yesterday.

From-SVN: r54027
2002-05-29 16:56:13 -06:00