Commit Graph

45271 Commits

Author SHA1 Message Date
Tim Josling
e5bc58d3d0 Fix for recent treelang build failure due to changes to C.
From-SVN: r56981
2002-09-09 20:52:30 +00:00
Gerald Pfeifer
51ab55d40d re PR web/7596 (Broken links on g77 web page)
Fix PR web/7596:
	* ffe.texi (Front End): Fix broken links.
	* bugs.texi (Known Bugs): Refer to gcc.gnu.org instead of
	www.gnu.org for onlinedocs.
	* news.texi (News): Ditto.

From-SVN: r56980
2002-09-09 20:37:09 +00:00
Benjamin Kosnik
f7be254940 configopts.html: Change grouping.
2002-09-09  Benjamin Kosnik  <bkoz@redhat.com>

	* docs/html/configopts.html: Change grouping. Note ABI impacts.
	Update information for locale model defaults.
	* docs/html/install.html: Update include directory
	information.
	Update testing information.
	Update linux issues for named locales.
	* docs/html/abi.txt: Fix typos.
	Add more info.

	* src/misc-inst.cc: Add missing instantiations.

	* testsuite/abi_check.cc: Make output results more verbose.

	* config/os/gnu-linux/ctype_base.h: Remove shadow headers injections.

From-SVN: r56979
2002-09-09 20:26:42 +00:00
David Edelsohn
e2a6476ec7 tm.texi (TARGET_HAVE_SRODATA_SECTION): New description.
* doc/tm.texi (TARGET_HAVE_SRODATA_SECTION): New description.
        (TARGET_HAVE_TLS): New description.

From-SVN: r56978
2002-09-09 16:04:32 -04:00
Janis Johnson
b73b1546e6 extend.texi (Statement Exprs): Fix broken link.
2002-09-09  Janis Johnson  <janis187@us.ibm.com>

	* doc/extend.texi (Statement Exprs): Fix broken link.

From-SVN: r56976
2002-09-09 18:26:40 +00:00
Denis Chertykov
a973864338 avr.md (movstrhi, clrstrhi): Use gen_int_mode for right conversion of operands[1].
* config/avr/avr.md (movstrhi, clrstrhi): Use gen_int_mode for
	right conversion of operands[1].

From-SVN: r56975
2002-09-09 22:20:45 +04:00
Ulrich Weigand
05b9aaaa89 s390.md ("*tmdi_reg", [...]): Do not mark as commutative.
* config/s390/s390.md ("*tmdi_reg", "*tmsi_reg"): Do not mark as
	commutative.  Use "nonimmediate_operand" instead of "register_operand"
	as predicate for operand 0.  Move to after the "*tmXX_mem" insns.

	("*tmdi_mem", "*tmsi_mem", "*tmhi_mem", "*tmqi_mem"): Do not mark
	as commutative.

	("*anddi3_ni", "*andsi3_ni", "*iordi3_ni", "*iorsi3_ni"): Do not
	mark as commutative.  Use "nonimmediate_operand" instead of
	"register_operand" as predicate for operand 1.

	("movstrictsi"): Fix typo in insn name.

From-SVN: r56974
2002-09-09 18:02:01 +00:00
Ranjit Mathew
f724acb8aa parse.y (DIR_SEPARATOR): Don't define.
2002-09-09  Ranjit Mathew  <rmathew@hotmail.com>

	* parse.y (DIR_SEPARATOR): Don't define.
	(check_class_interface_creation): Use IS_DIR_SEPARATOR.

From-SVN: r56973
2002-09-09 17:56:37 +00:00
Jan Hubicka
7ec70495ea i386.c (index_register_operand): New.
2002-09-09  Jan Hubicka  <jh@suse.cz>

	* i386.c (index_register_operand): New.
	* i386.h (predicate_codes): Add new predicate.
	* i386.md (lea_general_*): Use index_regsiter_operand
	(ashift to lea splitter): Do not produce invalid leas
	(ashift to mov+ashift split): New.

From-SVN: r56970
2002-09-09 13:00:55 +02:00
Nick Clifton
b2fc915b74 (output.h): Move after inclusion of tree.h. Fix folding marks.
From-SVN: r56969
2002-09-09 10:58:52 +00:00
Toshiyasu Morita
0b0ad147f5 sh.h (OVERRIDE_OPTIONS): align_functions is in bytes, not bits.
2002-09-09  Toshiyasu Morita  <toshiyasu.morita@hsa.hitachi.com>
            J"orn Rennecke <joern.rennecke@superh.com>

	* sh/sh.h (OVERRIDE_OPTIONS): align_functions is in bytes, not bits.

Co-Authored-By: J"orn Rennecke <joern.rennecke@superh.com>

From-SVN: r56968
2002-09-09 09:10:46 +01:00
GCC Administrator
628c57653c Daily bump.
From-SVN: r56967
2002-09-09 07:17:10 +00:00
GCC Administrator
4625d672ed Daily bump.
[[Split portion of a mixed commit.]]

From-SVN: r56966.3
2002-09-09 07:17:09 +00:00
Alan Modra
2bcc50d0ea rs6000.c (rs6000_binds_local_p): Return bool.
* config/rs6000/rs6000.c (rs6000_binds_local_p): Return bool.
	(function_ok_for_sibcall): Use binds_local_p.  Respect longcall
	attributes.

From-SVN: r56961
2002-09-09 11:55:42 +09:30
Kaveh R. Ghazi
2515a7ea11 * cp-tree.h (require_complete_eh_spec_types): Add prototype.
From-SVN: r56960
2002-09-09 01:53:23 +00:00
Kaveh R. Ghazi
c1b4f089aa * fr30.c (fr30_print_operand): Fix bug in output of CONST_DOUBLE.
From-SVN: r56959
2002-09-09 01:51:45 +00:00
Richard Henderson
b920346356 dwarf2.h (DW_OP_call_ref): Rename from DW_OP_calli.
* dwarf2.h (DW_OP_call_ref): Rename from DW_OP_calli.
        (DW_OP_GNU_push_tls_address): New.
        (DW_OP_lo_user): Fix.
        * dwarf2out.c (INTERNAL_DW_OP_tls_addr): New.
        (dwarf_stack_op_name): Handle it, plus other dwarf3 opcodes.
        (size_of_loc_descr): Likewise.
        (output_loc_operands): Handle INTERNAL_DW_OP_tls_addr.
        (add_AT_location_description): Take a dw_loc_descr_ref not an rtx.
        (loc_descriptor_from_tree): Handle TLS variables.
        (rtl_for_decl_location): Do avoid_constant_pool_reference here ...
        (add_location_or_const_value_attribute): ... not here.  Defer
        to loc_descriptor_from_tree for TLS variables.

        * config/i386/i386.h (ASM_OUTPUT_DWARF_DTPREL): New.
        * config/i386/i386.c (i386_output_dwarf_dtprel): New.
        * config/i386/i386-protos.h: Update.

From-SVN: r56957
2002-09-08 11:36:54 -07:00
Roger Sayle
7df988780b re PR rtl-optimization/6405 (Loop-unrolling related performance regressions)
PR optimization/6405
	* unroll.c (loop_iterations): last_loop_insn should be the previous
	non-note instruction before loop->end.
	* loop.c (strength_reduce): The conditional jump is the last
	non-note instruction before loop->end (as above).

From-SVN: r56956
2002-09-08 18:32:31 +00:00
Roger Sayle
f40f4c8ed1 combine.c (try_combine): Handle the case that undobuf.other_insn has been turned into a return or...
* combine.c (try_combine): Handle the case that undobuf.other_insn
	has been turned into a return or unconditional jump, by inserting
	a BARRIER if necessary.
	(simplify_set):  Test if a condition code setter has a constant
	comparison at compile time, if so convert this insn to a no-op move
	and update/simplify the condition code user (undobuf.other_insn).

From-SVN: r56955
2002-09-08 18:07:54 +00:00
Krister Walfridsson
e2f97e264e netbsd.h (INITIALIZE_TRAMPOLINE): Redefine.
* config/arm/netbsd.h (INITIALIZE_TRAMPOLINE): Redefine.
	(CLEAR_INSN_CACHE): Define.

From-SVN: r56954
2002-09-08 16:06:18 +00:00
Toon Moene
f69257d6af re PR fortran/7388 (Incorrect output with 0 based array of characters.)
2002-09-08  Toon Moene  <toon@moene.indiv.nluug.nl>

	* g77.dg/7388.f: New test case for PR 7388.

From-SVN: r56953
2002-09-08 13:03:43 +00:00
Kazu Hirata
4b7e68e7d2 basic-block.h: Fix comment formatting.
* basic-block.h: Fix comment formatting.
	* c-common.c: Likewise.
	* c-common.h: Likewise.
	* c-lex.c: Likewise.
	* c-pretty-print.c: Likewise.
	* cfglayout.c: Likewise.
	* cfgloop.c: Likewise.
	* defaults.h: Likewise.
	* et-forest.c: Likewise.
	* explow.c: Likewise.
	* function.h: Likewise.
	* gcov.c: Likewise.
	* genattrtab.c: Likewise.
	* gengtype.c: Likewise.
	* ifcvt.c: Likewise.
	* libgcc2.c: Likewise.
	* loop.c: Likewise.
	* profile.c: Likewise.
	* ra-build.c: Likewise.
	* real.c: Likewise.
	* rtl.h: Likewise.
	* tracer.c: Likewise.
	* tree-inline.c: Likewise.
	* varasm.c: Likewise.

From-SVN: r56952
2002-09-08 12:47:27 +00:00
Jan Hubicka
2567406a17 emit-rtl.c (set_mem_attributes_minus_bitpos): Fix array_ref handling.
2002-09-08  Jan Hubicka  <jh@suse.cz>

	* emit-rtl.c (set_mem_attributes_minus_bitpos): Fix array_ref
	handling.

	* loop.c (loop_gics_reduce):  Emit addition after.

From-SVN: r56950
2002-09-08 12:41:20 +02:00
Joseph Myers
6bb72ea0be gcc_release: Make snapshots come from the mainline.
* gcc_release: Make snapshots come from the mainline.
	* snapshot-README: Update.

From-SVN: r56949
2002-09-08 10:34:55 +01:00
Alan Modra
bd79540a03 varasm.c (default_assemble_visibility): Rename from assemble_visibility.
* varasm.c (default_assemble_visibility): Rename from
	assemble_visibility.
	* output.h: Here too.
	* target-def.h (TARGET_ASM_ASSEMBLE_VISIBILITY): And here.
	* config/rs6000/rs6000.c (rs6000_assemble_visibility): And here.

From-SVN: r56948
2002-09-08 19:00:21 +09:30
Alan Modra
32ff9c742f reload.c (find_reloads <p constraint>): Pass operand_mode to find_reloads_address.
* reload.c (find_reloads <p constraint>): Pass operand_mode to
	find_reloads_address.

From-SVN: r56946
2002-09-08 18:27:24 +09:30
Kazu Hirata
6588987e8b h8300.md (udivmodqi4): Enable on H8/300.
* config/h8300/h8300.md (udivmodqi4): Enable on H8/300.
	(anonymous pattern): Likewise.

From-SVN: r56945
2002-09-08 08:20:44 +00:00
GCC Administrator
26df57208b Daily bump.
From-SVN: r56944
2002-09-08 07:17:11 +00:00
GCC Administrator
baf694b89c Daily bump.
[[Split portion of a mixed commit.]]

From-SVN: r56943.3
2002-09-08 07:17:09 +00:00
Scott Snyder
0100732eb9 re PR target/7374 (__builtin_fabsl broken on alpha)
2002-09-07  Scott Snyder  <snyder@fnal.gov>

	PR target/7374
	* config/alpha/alpha.md (abstf2): Fix typo: 'neg' for 'abs'.

From-SVN: r56936
2002-09-08 05:22:53 +00:00
Roger Sayle
77043c7ce1 * basic-block.h (struct loop): Remove unused cont_dominator field.
From-SVN: r56935
2002-09-08 05:06:38 +00:00
Igor Shevlyakov
5dd7822000 varasm.c (decode_rtx_const): Don't check undefined field for CONST_VECTOR.
* varasm.c (decode_rtx_const): Don't check undefined field for
	CONST_VECTOR.

From-SVN: r56934
2002-09-07 21:08:11 -07:00
Richard Henderson
7fa86a10d6 Mark PR.
From-SVN: r56932
2002-09-07 20:45:44 -07:00
Glen Nakamura
b96a3fa397 sched-deps.c (sched_analyze_insn): Make sure to add insn to reg_last->sets after flushing the dependency lists to...
* sched-deps.c (sched_analyze_insn): Make sure to add insn
        to reg_last->sets after flushing the dependency lists to guarantee
        that subsequent clobbers will be dependent on it.

From-SVN: r56929
2002-09-07 20:42:46 -07:00
Igor Shevlyakov
ad9df12ff5 combine.c (simplify_shift_const): Calculate rotate count correctly for vector operands.
* combine.c (simplify_shift_const): Calculate rotate count
        correctly for vector operands.

From-SVN: r56928
2002-09-07 20:34:16 -07:00
Ansgar Esztermann
54c93c3019 c-typeck.c (c_tree_expr_nonnegative_p): New function.
* c-typeck.c (c_tree_expr_nonnegative_p): New function.
	(build_binary_op): Call c_tree_expr_nonnegative_p rather than
	tree_expr_nonnegative_p.
	(build_conditional_expr): Likewise.
        * c-tree.h (c_tree_expr_nonnegative_p): Declare.

        * gcc.dg/compare2.c: Remove xfail from cases 10 and 12.

From-SVN: r56927
2002-09-07 20:20:35 -07:00
Richard Henderson
3aa4cad77f builtins.def (inf, inff, infl): Mark const.
* builtins.def (inf, inff, infl): Mark const.
        (huge_val, huge_valf, huge_vall): Likewise.
        (BUILT_IN_GETEXP, BUILT_IN_GETMAN): Remove.

From-SVN: r56926
2002-09-07 20:16:46 -07:00
Richard Henderson
36eea25f2b * real.c (ereal_inf): Clear E before use.
From-SVN: r56925
2002-09-07 19:17:26 -07:00
Richard Henderson
ff6c6aa895 New tests.
From-SVN: r56924
2002-09-07 19:15:27 -07:00
Kazu Hirata
5c102b484a h8300.md (udivmodqi4): Split the pattern into an expander and an anonymous pattern.
* config/h8300/h8300.md (udivmodqi4): Split the pattern into
	an expander and an anonymous pattern.  Zero out the upper half
	of the dividend in the expander.
	(udivmodqi4): Likewise.

From-SVN: r56923
2002-09-07 20:21:43 +00:00
Jan Hubicka
902c7fdf7c com.c (ffe_type_for_mode): Handle long double.
2002-09-07  Jan Hubicka  <jh@suse.cz>

        * com.c (ffe_type_for_mode): Handle long double.

From-SVN: r56921
2002-09-07 21:18:16 +02:00
Jakub Jelinek
7d9857fde0 messages_members.cc: Add specialization for messages<wchar_t>.
* config/locale/generic/messages_members.cc: Add specialization for
	messages<wchar_t>.
	* config/locale/ieee_1003.1-20021/messages_members.cc: Likewise.

From-SVN: r56920
2002-09-07 21:06:57 +02:00
Adam Megacz
3a357ad127 natPlainDatagramSocket.cc: include ws2tcpip.h for definition of IP_TOS.
2002-09-07  Adam Megacz <adam@xwt.org>

        * java/net/natPlainDatagramSocket.cc: include ws2tcpip.h for
        definition of IP_TOS.

From-SVN: r56918
2002-09-07 19:01:16 +00:00
Kazu Hirata
8bd06267cf h8300.c: Fix formatting.
* config/h8300/h8300.c: Fix formatting.
	* config/h8300/h8300.h: Likewise.
	* config/h8300/h8300.md: Likewise.

From-SVN: r56917
2002-09-07 14:14:55 +00:00
Zdenek Dvorak
39587bb9f3 cfgcleanup.c (try_crossjump_to_edge): Fix updating of liveness information.
* cfgcleanup.c (try_crossjump_to_edge): Fix updating of liveness
	information.

From-SVN: r56916
2002-09-07 14:02:55 +00:00
Graham Stott
92d9256d25 * rtlanal.c (dead_or_set_regno_p): Fix typo.
From-SVN: r56915
2002-09-07 09:59:16 +00:00
GCC Administrator
62d8c4f11c Daily bump.
From-SVN: r56914
2002-09-07 07:17:37 +00:00
Alan Modra
fea76d8251 * config/rs6000/linux64.h (ASM_PREFERRED_EH_DATA_FORMAT): Define.
From-SVN: r56907
2002-09-07 10:07:49 +09:30
Alan Modra
93638d7a89 tm.texi (TARGET_ASM_ASSEMBLE_VISIBILITY): Describe.
* doc/tm.texi (TARGET_ASM_ASSEMBLE_VISIBILITY): Describe.
	* target-def.h (TARGET_ASM_ASSEMBLE_VISIBILITY): Define.
	(TARGET_ASM_OUT): Add the above here.
	* target.h (struct gcc_target): Add "visibility" field.
	* varasm.c (maybe_assemble_visibility): Call targetm visibility func.
	* config/rs6000/rs6000.c (rs6000_assemble_visibility): New function.
	(TARGET_ASM_ASSEMBLE_VISIBILITY): Define.
	(rs6000_legitimize_reload_address, first_reg_to_save): Formatting.

From-SVN: r56906
2002-09-07 09:49:27 +09:30
Ziemowit Laski
370ce32a02 c-lang.c (objc_is_id): New stub.
[gcc/ChangeLog]
2002-09-06  Ziemowit Laski <zlaski@apple.com>
        * c-lang.c (objc_is_id): New stub.
        * c-tree.h (objc_is_id): New forward declaration.
        * c-typeck.c (build_c_cast): Do not strip protocol
        qualifiers from 'id' type.
        * objc/objc-act.c (objc_comptypes): Correct handling
        of protocol qualifiers.
        (objc_is_id): New.

[gcc/testsuite/ChangeLog]
2002-09-05  Ziemowit Laski <zlaski@apple.com>

        * objc.dg/proto-lossage-1.m: New test.

From-SVN: r56905
2002-09-06 23:32:13 +00:00