gcc.git
22 years ago20010915-1.c: Correct typo in abort call.
Frank Ch. Eigler [Tue, 10 Sep 2002 12:22:02 +0000 (12:22 +0000)]
20010915-1.c: Correct typo in abort call.

2002-09-10  Frank Ch. Eigler  <fche@redhat.com>

* gcc.c-torture/execute/20010915-1.c: Correct typo in abort call.

From-SVN: r57003

22 years ago* approved by rth
Frank Ch. Eigler [Tue, 10 Sep 2002 12:21:34 +0000 (12:21 +0000)]
* approved by rth

2002-09-10  Frank Ch. Eigler  <fche@redhat.com>

* gcc.c-torture/execute/20010915-1.c: Correct typo in abort call.

From-SVN: r57002

22 years agonil_method.c (nil_method): No longer varardic.
Jan Hubicka [Tue, 10 Sep 2002 12:14:38 +0000 (14:14 +0200)]
nil_method.c (nil_method): No longer varardic.

2002-09-10  Jan Hubicka  <jh@suse.cz>

* nil_method.c (nil_method): No longer varardic.

From-SVN: r57001

22 years agoDaily bump.
GCC Administrator [Tue, 10 Sep 2002 07:17:15 +0000 (07:17 +0000)]
Daily bump.

From-SVN: r57000

22 years agoDaily bump.
GCC Administrator [Tue, 10 Sep 2002 07:17:14 +0000 (07:17 +0000)]
Daily bump.

[[Split portion of a mixed commit.]]

From-SVN: r56999.3

22 years agoprint-tree.c (print_node): In a STRING_CST...
Per Bothner [Tue, 10 Sep 2002 07:02:28 +0000 (00:02 -0700)]
print-tree.c (print_node): In a STRING_CST...

* print-tree.c (print_node):  In a STRING_CST, escape non-ascii
characters, and only print TREE_STRING_LENGTH chars.

From-SVN: r56994

22 years ago* gcc.dg/20020312-2.c: Adjust for x86-64.
Andreas Jaeger [Tue, 10 Sep 2002 06:10:24 +0000 (08:10 +0200)]
* gcc.dg/20020312-2.c: Adjust for x86-64.

From-SVN: r56993

22 years agolocale_facets.tcc (__convert_from_v): Replace strdup with ISO malloc and strcpy.
Danny Smith [Tue, 10 Sep 2002 02:41:55 +0000 (02:41 +0000)]
locale_facets.tcc (__convert_from_v): Replace strdup with ISO malloc and strcpy.

* include/bits/locale_facets.tcc (__convert_from_v):
Replace strdup with ISO malloc and strcpy.

From-SVN: r56991

22 years agohpux.h (TARGET_HPUX_LD): New, define true.
Steve Ellcey [Mon, 9 Sep 2002 22:03:31 +0000 (22:03 +0000)]
hpux.h (TARGET_HPUX_LD): New, define true.

* config/ia64/hpux.h (TARGET_HPUX_LD): New, define true.
(ASM_FILE_END) New.
* config/ia64/ia64.h (TARGET_HPUX_LD): New, define false.
* config/ia64/ia64-protos.h (ia64_hpux_asm_file_end): New.
* config/ia64/ia64.c (ia64_asm_output_external): Create list
of external functions if TARGET_HPUX_LD is true.
(ia64_hpux_add_extern_decl): New, routine to put names on
list of external functions.
(ia64_hpux_asm_file_end): Put out declarations for external
functions if and only if they are used.

From-SVN: r56986

22 years agopa.md (exception_receiver, [...]): Add blockage on TARGET_64BIT before pic register...
John David Anglin [Mon, 9 Sep 2002 21:34:48 +0000 (21:34 +0000)]
pa.md (exception_receiver, [...]): Add blockage on TARGET_64BIT before pic register restore.

* pa.md (exception_receiver, builtin_setjmp_receiver): Add blockage
on TARGET_64BIT before pic register restore.

From-SVN: r56985

22 years agojartool.c (mkdir): Define.
Tom Tromey [Mon, 9 Sep 2002 21:19:16 +0000 (21:19 +0000)]
jartool.c (mkdir): Define.

* jartool.c (mkdir): Define.
* config.h.in: Rebuilt.
* aclocal.m4, configure: Rebuilt.
* acinclude.m4: New file.  Copied gcc_AC_COMPILE_CHECK_SIZEOF,
gcc_AC_EXAMINE_OBJECT, and fastjar_AC_COMPILE_C_BIGENDIAN from
aclocal.m4.

From-SVN: r56983

22 years agoFix for recent treelang build failure due to changes to C.
Tim Josling [Mon, 9 Sep 2002 20:52:30 +0000 (20:52 +0000)]
Fix for recent treelang build failure due to changes to C.

From-SVN: r56981

22 years agore PR web/7596 (Broken links on g77 web page)
Gerald Pfeifer [Mon, 9 Sep 2002 20:37:09 +0000 (22:37 +0200)]
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

22 years agoconfigopts.html: Change grouping.
Benjamin Kosnik [Mon, 9 Sep 2002 20:26:42 +0000 (20:26 +0000)]
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

22 years agotm.texi (TARGET_HAVE_SRODATA_SECTION): New description.
David Edelsohn [Mon, 9 Sep 2002 20:04:32 +0000 (20:04 +0000)]
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

22 years agoextend.texi (Statement Exprs): Fix broken link.
Janis Johnson [Mon, 9 Sep 2002 18:26:40 +0000 (18:26 +0000)]
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

22 years agoavr.md (movstrhi, clrstrhi): Use gen_int_mode for right conversion of operands[1].
Denis Chertykov [Mon, 9 Sep 2002 18:20:45 +0000 (18:20 +0000)]
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

22 years agos390.md ("*tmdi_reg", [...]): Do not mark as commutative.
Ulrich Weigand [Mon, 9 Sep 2002 18:02:01 +0000 (18:02 +0000)]
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

22 years agoparse.y (DIR_SEPARATOR): Don't define.
Ranjit Mathew [Mon, 9 Sep 2002 17:56:37 +0000 (17:56 +0000)]
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

22 years agoi386.c (index_register_operand): New.
Jan Hubicka [Mon, 9 Sep 2002 11:00:55 +0000 (13:00 +0200)]
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

22 years ago(output.h): Move after inclusion of tree.h. Fix folding marks.
Nick Clifton [Mon, 9 Sep 2002 10:58:52 +0000 (10:58 +0000)]
(output.h): Move after inclusion of tree.h.  Fix folding marks.

From-SVN: r56969

22 years agosh.h (OVERRIDE_OPTIONS): align_functions is in bytes, not bits.
Toshiyasu Morita [Mon, 9 Sep 2002 08:10:46 +0000 (08:10 +0000)]
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

22 years agoDaily bump.
GCC Administrator [Mon, 9 Sep 2002 07:17:10 +0000 (07:17 +0000)]
Daily bump.

From-SVN: r56967

22 years agoDaily bump.
GCC Administrator [Mon, 9 Sep 2002 07:17:09 +0000 (07:17 +0000)]
Daily bump.

[[Split portion of a mixed commit.]]

From-SVN: r56966.3

22 years agors6000.c (rs6000_binds_local_p): Return bool.
Alan Modra [Mon, 9 Sep 2002 02:25:42 +0000 (02:25 +0000)]
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

22 years ago* cp-tree.h (require_complete_eh_spec_types): Add prototype.
Kaveh R. Ghazi [Mon, 9 Sep 2002 01:53:23 +0000 (01:53 +0000)]
* cp-tree.h (require_complete_eh_spec_types): Add prototype.

From-SVN: r56960

22 years ago* fr30.c (fr30_print_operand): Fix bug in output of CONST_DOUBLE.
Kaveh R. Ghazi [Mon, 9 Sep 2002 01:51:45 +0000 (01:51 +0000)]
* fr30.c (fr30_print_operand): Fix bug in output of CONST_DOUBLE.

From-SVN: r56959

22 years agodwarf2.h (DW_OP_call_ref): Rename from DW_OP_calli.
Richard Henderson [Sun, 8 Sep 2002 18:36:54 +0000 (11:36 -0700)]
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

22 years agore PR rtl-optimization/6405 (Loop-unrolling related performance regressions)
Roger Sayle [Sun, 8 Sep 2002 18:32:31 +0000 (18:32 +0000)]
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

22 years agocombine.c (try_combine): Handle the case that undobuf.other_insn has been turned...
Roger Sayle [Sun, 8 Sep 2002 18:07:54 +0000 (18:07 +0000)]
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

22 years agonetbsd.h (INITIALIZE_TRAMPOLINE): Redefine.
Krister Walfridsson [Sun, 8 Sep 2002 16:06:18 +0000 (18:06 +0200)]
netbsd.h (INITIALIZE_TRAMPOLINE): Redefine.

* config/arm/netbsd.h (INITIALIZE_TRAMPOLINE): Redefine.
(CLEAR_INSN_CACHE): Define.

From-SVN: r56954

22 years agore PR fortran/7388 (Incorrect output with 0 based array of characters.)
Toon Moene [Sun, 8 Sep 2002 13:03:43 +0000 (15:03 +0200)]
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

22 years agobasic-block.h: Fix comment formatting.
Kazu Hirata [Sun, 8 Sep 2002 12:47:27 +0000 (12:47 +0000)]
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

22 years agoemit-rtl.c (set_mem_attributes_minus_bitpos): Fix array_ref handling.
Jan Hubicka [Sun, 8 Sep 2002 10:41:20 +0000 (12:41 +0200)]
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

22 years agogcc_release: Make snapshots come from the mainline.
Joseph Myers [Sun, 8 Sep 2002 09:34:55 +0000 (10:34 +0100)]
gcc_release: Make snapshots come from the mainline.

* gcc_release: Make snapshots come from the mainline.
* snapshot-README: Update.

From-SVN: r56949

22 years agovarasm.c (default_assemble_visibility): Rename from assemble_visibility.
Alan Modra [Sun, 8 Sep 2002 09:30:21 +0000 (09:30 +0000)]
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

22 years agoreload.c (find_reloads <p constraint>): Pass operand_mode to find_reloads_address.
Alan Modra [Sun, 8 Sep 2002 08:57:24 +0000 (08:57 +0000)]
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

22 years agoh8300.md (udivmodqi4): Enable on H8/300.
Kazu Hirata [Sun, 8 Sep 2002 08:20:44 +0000 (08:20 +0000)]
h8300.md (udivmodqi4): Enable on H8/300.

* config/h8300/h8300.md (udivmodqi4): Enable on H8/300.
(anonymous pattern): Likewise.

From-SVN: r56945

22 years agoDaily bump.
GCC Administrator [Sun, 8 Sep 2002 07:17:11 +0000 (07:17 +0000)]
Daily bump.

From-SVN: r56944

22 years agoDaily bump.
GCC Administrator [Sun, 8 Sep 2002 07:17:09 +0000 (07:17 +0000)]
Daily bump.

[[Split portion of a mixed commit.]]

From-SVN: r56943.3

22 years agore PR target/7374 (__builtin_fabsl broken on alpha)
Scott Snyder [Sun, 8 Sep 2002 05:22:53 +0000 (05:22 +0000)]
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

22 years ago* basic-block.h (struct loop): Remove unused cont_dominator field.
Roger Sayle [Sun, 8 Sep 2002 05:06:38 +0000 (05:06 +0000)]
* basic-block.h (struct loop): Remove unused cont_dominator field.

From-SVN: r56935

22 years agovarasm.c (decode_rtx_const): Don't check undefined field for CONST_VECTOR.
Igor Shevlyakov [Sun, 8 Sep 2002 04:08:11 +0000 (04:08 +0000)]
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

22 years agoMark PR.
Richard Henderson [Sun, 8 Sep 2002 03:45:44 +0000 (20:45 -0700)]
Mark PR.

From-SVN: r56932

22 years agosched-deps.c (sched_analyze_insn): Make sure to add insn to reg_last->sets after...
Glen Nakamura [Sun, 8 Sep 2002 03:42:46 +0000 (03:42 +0000)]
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

22 years agocombine.c (simplify_shift_const): Calculate rotate count correctly for vector operands.
Igor Shevlyakov [Sun, 8 Sep 2002 03:34:16 +0000 (03:34 +0000)]
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

22 years agoc-typeck.c (c_tree_expr_nonnegative_p): New function.
Ansgar Esztermann [Sun, 8 Sep 2002 03:20:35 +0000 (20:20 -0700)]
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

22 years agobuiltins.def (inf, inff, infl): Mark const.
Richard Henderson [Sun, 8 Sep 2002 03:16:46 +0000 (20:16 -0700)]
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

22 years ago* real.c (ereal_inf): Clear E before use.
Richard Henderson [Sun, 8 Sep 2002 02:17:26 +0000 (19:17 -0700)]
* real.c (ereal_inf): Clear E before use.

From-SVN: r56925

22 years agoNew tests.
Richard Henderson [Sun, 8 Sep 2002 02:15:27 +0000 (19:15 -0700)]
New tests.

From-SVN: r56924

22 years agoh8300.md (udivmodqi4): Split the pattern into an expander and an anonymous pattern.
Kazu Hirata [Sat, 7 Sep 2002 20:21:43 +0000 (20:21 +0000)]
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

22 years agocom.c (ffe_type_for_mode): Handle long double.
Jan Hubicka [Sat, 7 Sep 2002 19:18:16 +0000 (21:18 +0200)]
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

22 years agomessages_members.cc: Add specialization for messages<wchar_t>.
Jakub Jelinek [Sat, 7 Sep 2002 19:06:57 +0000 (21:06 +0200)]
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

22 years agonatPlainDatagramSocket.cc: include ws2tcpip.h for definition of IP_TOS.
Adam Megacz [Sat, 7 Sep 2002 19:01:16 +0000 (19:01 +0000)]
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

22 years agoh8300.c: Fix formatting.
Kazu Hirata [Sat, 7 Sep 2002 14:14:55 +0000 (14:14 +0000)]
h8300.c: Fix formatting.

* config/h8300/h8300.c: Fix formatting.
* config/h8300/h8300.h: Likewise.
* config/h8300/h8300.md: Likewise.

From-SVN: r56917

22 years agocfgcleanup.c (try_crossjump_to_edge): Fix updating of liveness information.
Zdenek Dvorak [Sat, 7 Sep 2002 14:02:55 +0000 (16:02 +0200)]
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

22 years ago* rtlanal.c (dead_or_set_regno_p): Fix typo.
Graham Stott [Sat, 7 Sep 2002 09:59:16 +0000 (09:59 +0000)]
* rtlanal.c (dead_or_set_regno_p): Fix typo.

From-SVN: r56915

22 years agoDaily bump.
GCC Administrator [Sat, 7 Sep 2002 07:17:37 +0000 (07:17 +0000)]
Daily bump.

From-SVN: r56914

22 years ago* config/rs6000/linux64.h (ASM_PREFERRED_EH_DATA_FORMAT): Define.
Alan Modra [Sat, 7 Sep 2002 00:37:49 +0000 (00:37 +0000)]
* config/rs6000/linux64.h (ASM_PREFERRED_EH_DATA_FORMAT): Define.

From-SVN: r56907

22 years agotm.texi (TARGET_ASM_ASSEMBLE_VISIBILITY): Describe.
Alan Modra [Sat, 7 Sep 2002 00:19:27 +0000 (00:19 +0000)]
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

22 years agoc-lang.c (objc_is_id): New stub.
Ziemowit Laski [Fri, 6 Sep 2002 23:32:13 +0000 (23:32 +0000)]
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

22 years agoi386.h (GOT_SYMBOL_NAME): Define.
Krister Walfridsson [Fri, 6 Sep 2002 20:34:41 +0000 (22:34 +0200)]
i386.h (GOT_SYMBOL_NAME): Define.

* config/i386/i386.h (GOT_SYMBOL_NAME): Define.
* config/i386/i386.c (output_set_got): Use GOT_SYMBOL_NAME.
(ix86_output_addr_diff_elt) Likewise.
(x86_output_mi_thunk) Likewise.
* config/i386/netbsd.h (GOT_SYMBOL_NAME): Redefine.

From-SVN: r56904

22 years agolocalefwd.h: Tweak formatting.
Benjamin Kosnik [Fri, 6 Sep 2002 19:52:38 +0000 (19:52 +0000)]
localefwd.h: Tweak formatting.

2002-09-06  Benjamin Kosnik  <bkoz@redhat.com>

* include/bits/localefwd.h: Tweak formatting.
* docs/html/abi.txt: Add.

From-SVN: r56903

22 years ago* pentium.md (pentium-firstvboth): Fix typo.
Jeff Law [Fri, 6 Sep 2002 19:07:48 +0000 (13:07 -0600)]
* pentium.md (pentium-firstvboth): Fix typo.

From-SVN: r56901

22 years agoconfigure.target: Use cpu_include_dir="config/cpu/sparc" for all sparc targets.
Jakub Jelinek [Fri, 6 Sep 2002 18:32:08 +0000 (20:32 +0200)]
configure.target: Use cpu_include_dir="config/cpu/sparc" for all sparc targets.

* configure.target: Use cpu_include_dir="config/cpu/sparc" for all
sparc targets.
* config/cpu/sparc/bits/atomicity.h: New file.
* config/cpu/sparc/sparc32/bits/atomicity.h: Removed.
* config/cpu/sparc/sparc64/bits/atomicity.h: Removed.

[[Split portion of a mixed commit.]]

From-SVN: r56897.2

22 years agoconfigure.target: Use cpu_include_dir="config/cpu/sparc" for all sparc targets.
Jakub Jelinek [Fri, 6 Sep 2002 18:30:36 +0000 (20:30 +0200)]
configure.target: Use cpu_include_dir="config/cpu/sparc" for all sparc targets.

* configure.target: Use cpu_include_dir="config/cpu/sparc" for all
sparc targets.
* config/cpu/sparc/atomicity.h: New file.
* config/cpu/sparc/sparc32/atomicity.h: Removed.
* config/cpu/sparc/sparc64/atomicity.h: Removed.

From-SVN: r56896

22 years agoctype_noninline.h [...]: Remove using _C_legacy::__ctype_*.
Jakub Jelinek [Fri, 6 Sep 2002 17:58:27 +0000 (19:58 +0200)]
ctype_noninline.h [...]: Remove using _C_legacy::__ctype_*.

* config/os/gnu-linux/ctype_noninline.h
[_GLIBCPP_USE_SHADOW_HEADERS]: Remove using _C_legacy::__ctype_*.
(ctype<char>::classic_table): If _GLIBCPP_C_LOCALE_GNU, return
_S_c_locale->__ctype_b, otherwise temporarily switch to "C" locale
and return __ctype_b.
(ctype<char>::ctype(__c_locale, const mask*, bool, size_t)): If not
_GLIBCPP_C_LOCALE_GNU, temporarily switch to "C" locale and
initialize using __ctype_{b,tolower,toupper}.
(ctype<char>::ctype(const mask*, bool, size_t)): If
_GLIBCPP_C_LOCALE_GNU, initialize using
_S_c_locale->__ctype_{b,tolower,toupper}, otherwise temporarily
switch to "C" locale and initialize using __ctype_{b,tolower,toupper}.

From-SVN: r56893

22 years ago* gcc.dg/cpp/_Pragma4.c: Fix typo.
Neil Booth [Fri, 6 Sep 2002 16:38:36 +0000 (16:38 +0000)]
* gcc.dg/cpp/_Pragma4.c: Fix typo.

From-SVN: r56891

22 years agoh8300.c (enum shift_alg): Move to earlier in h8300.c.
Dhananjay R. Deshpande [Fri, 6 Sep 2002 16:16:10 +0000 (10:16 -0600)]
h8300.c (enum shift_alg): Move to earlier in h8300.c.

        * h8300.c (enum shift_alg): Move to earlier in h8300.c.
        (enum shift_type, enum h8_cpu): Likewise.
        (INL, ROT, LOP, SPC macros): Likewise.
        (shift_alg_qi, shift_alg_hi, shift_alg_si): Likewise.  Lose
        const designator.
        (h8300_init_once): Update shift_alg_{qi,hi,si} to use more
        space efficient algorithms when optimize for codesize.

From-SVN: r56890

22 years agoRemoved objc/formal-protocol-6.x as this testcase is now supposed to pass
Nicola Pero [Fri, 6 Sep 2002 15:50:34 +0000 (15:50 +0000)]
Removed objc/formal-protocol-6.x as this testcase is now supposed to pass

From-SVN: r56889

22 years agoRemoved - the testcase should not pass
Nicola Pero [Fri, 6 Sep 2002 15:49:47 +0000 (15:49 +0000)]
Removed - the testcase should not pass

From-SVN: r56888

22 years agoCompile ObjC @protocols into list of ObjC statically allocated instances,
Nicola Pero [Fri, 6 Sep 2002 15:43:46 +0000 (17:43 +0200)]
Compile ObjC @protocols into list of ObjC statically allocated instances,

fixing long standing problems with standalone @protocols in ObjC files

From-SVN: r56887

22 years agoFixed indentantion of my last ChangeLog entry
Nicola Pero [Fri, 6 Sep 2002 15:26:36 +0000 (15:26 +0000)]
Fixed indentantion of my last ChangeLog entry

From-SVN: r56886

22 years agoFixed bugs in the ObjC -gen-decls option
Nicola Pero [Fri, 6 Sep 2002 15:25:35 +0000 (17:25 +0200)]
Fixed bugs in the ObjC -gen-decls option

From-SVN: r56884

22 years agoarm-protos.h (arm_gen_return_addr_mask): New prototype.
Jason Thorpe [Fri, 6 Sep 2002 14:54:48 +0000 (14:54 +0000)]
arm-protos.h (arm_gen_return_addr_mask): New prototype.

* config/arm/arm-protos.h (arm_gen_return_addr_mask): New
prototype.
* config/arm/arm.c (arm_gen_return_addr_mask): New function.
* config/arm/arm.h (MASK_RETURN_ADDR): Use arm_gen_return_addr_mask
if not APCS26 and not Thumb or ARMv4-or-higher.  Use gen_int_mode
rather than GEN_INT.
* config/arm/arm.md (UNSPEC_CHECK_ARCH): Define.
(return_addr_mask, *check_arch2): New.

From-SVN: r56883

22 years agoweak: New directory.
Stan Shebs [Fri, 6 Sep 2002 13:00:39 +0000 (13:00 +0000)]
weak: New directory.

2002-09-06  Stan Shebs  <shebs@apple.com>
            David Edelsohn  <edelsohn@gnu.org>

        * gcc.dg/weak: New directory.
        * gcc.dg/weak-[1-9].c: Move to new directory, remove all
        target-specific xfail bits.
        * gcc.dg/typeof-2.c: Move to new directory.
        * gcc.dg/weak.exp: New expect script.

Co-Authored-By: David Edelsohn <edelsohn@gnu.org>
From-SVN: r56882

22 years agos390.md ("*adddi3_cc", [...]): Use "nonimmediate_operand" instead of "register_operan...
Ulrich Weigand [Fri, 6 Sep 2002 12:39:17 +0000 (12:39 +0000)]
s390.md ("*adddi3_cc", [...]): Use "nonimmediate_operand" instead of "register_operand" as predicate for "%0"...

* config/s390/s390.md ("*adddi3_cc", "*adddi3_cconly",
"*adddi3_cconly2", "*adddi3_64", "*adddi3_31", "adddi3",
"*addsi3_carry1_cc", "*addsi3_carry1_cconly",
"*addsi3_carry2_cc", "*addsi3_carry2_cconly",
"*addsi3_cc", "*addsi3_cconly", "*addsi3_cconly2", "addsi3",
"adddf3", "*adddf3", "*adddf3_ibm",
"addsf3", "*addsf3", "*addsf3_ibm",
"muldi3", "mulsi3", "mulsidi3",
"muldf3", "*muldf3", "*muldf3_ibm",
"mulsf3", "*mulsf3", "*mulsf3_ibm",
"*anddi3_cc", "*anddi3_cconly", "anddi3",
"*andsi3_cc", "*andsi3_cconly", "andsi3",
"*iordi3_cc", "*iordi3_cconly", "iordi3",
"*iorsi3_cc", "*iorsi3_cconly", "iorsi3",
"*xordi3_cc", "*xordi3_cconly", "xordi3",
"*xorsi3_cc", "*xorsi3_cconly", "xorsi3"): Use "nonimmediate_operand"
instead of "register_operand" as predicate for "%0" operand.

From-SVN: r56881

22 years agoconfigure.in (HAVE_AS_OFFSETABLE_LO10): Use -xarch=v9 unconditionally when gcc_cv_as_...
Jakub Jelinek [Fri, 6 Sep 2002 12:00:11 +0000 (14:00 +0200)]
configure.in (HAVE_AS_OFFSETABLE_LO10): Use -xarch=v9 unconditionally when gcc_cv_as_flags64 checks are gone.

* configure.in (HAVE_AS_OFFSETABLE_LO10): Use -xarch=v9
unconditionally when gcc_cv_as_flags64 checks are gone.
* configure: Rebuilt.

From-SVN: r56880

22 years agoDaily bump.
GCC Administrator [Fri, 6 Sep 2002 07:17:10 +0000 (07:17 +0000)]
Daily bump.

From-SVN: r56878

22 years ago* regex.c: Only use "#pragma alloca" on AIX when not using gcc.
Roger Sayle [Thu, 5 Sep 2002 23:07:13 +0000 (23:07 +0000)]
* regex.c: Only use "#pragma alloca" on AIX when not using gcc.

From-SVN: r56871

22 years ago* gcc.c-torture/execute/extzvsi.c: New test.
Alan Modra [Thu, 5 Sep 2002 22:53:20 +0000 (22:53 +0000)]
* gcc.c-torture/execute/extzvsi.c: New test.

From-SVN: r56868

22 years agors6000.md (extzvsi_internal2): Revert most of 2002-07-26 change.
Alan Modra [Thu, 5 Sep 2002 22:48:53 +0000 (22:48 +0000)]
rs6000.md (extzvsi_internal2): Revert most of 2002-07-26 change.

* config/rs6000/rs6000.md (extzvsi_internal2): Revert most of
2002-07-26 change.  Comment.

From-SVN: r56867

22 years agore PR libstdc++/7811 (default locale not taken from environment)
Paolo Carlini [Thu, 5 Sep 2002 21:13:07 +0000 (23:13 +0200)]
re PR libstdc++/7811 (default locale not taken from environment)

2002-09-05  Paolo Carlini  <pcarlini@unitus.it>
    Roland McGrath  <roland@redhat.com>

PR libstdc++/7811
* src/locale.cc (locale::locale(__s)): Use getenv instead
of setenv for the environment locale.
* testsuite/22_locale/ctor_copy_dtor.cc (test03): New.

Co-Authored-By: Roland McGrath <roland@redhat.com>
From-SVN: r56865

22 years agofrv.c (frv_unique_section, [...]): Delete.
Kaveh R. Ghazi [Thu, 5 Sep 2002 20:58:49 +0000 (20:58 +0000)]
frv.c (frv_unique_section, [...]): Delete.

* frv.c (frv_unique_section, frv_select_section,
frv_select_rtx_section): Delete.
(frv_in_small_data_p): New.
(TARGET_ASM_UNIQUE_SECTION, TARGET_ASM_SELECT_SECTION,
TARGET_ASM_SELECT_RTX_SECTION): Delete.
(TARGET_IN_SMALL_DATA_P): Define.

From-SVN: r56864

22 years agoIn reload, retain only those clobbers added for variable-array handling.
Dale Johannesen [Thu, 5 Sep 2002 20:41:11 +0000 (20:41 +0000)]
In reload, retain only those clobbers added for variable-array handling.

From-SVN: r56863

22 years agoarm.c (arm_return_in_memory): Implement ATPCS return-in-memory rules.
Jason Thorpe [Thu, 5 Sep 2002 17:11:47 +0000 (17:11 +0000)]
arm.c (arm_return_in_memory): Implement ATPCS return-in-memory rules.

* config/arm/arm.c (arm_return_in_memory): Implement ATPCS
return-in-memory rules.
* config/arm/arm.h (ARM_FLAG_ATPCS, TARGET_ATPCS): Define.

From-SVN: r56858

22 years agoreal.c: Avoid parse error if FLOAT_WORDS_BIG_ENDIAN is not a compile-time constant...
Jason Thorpe [Thu, 5 Sep 2002 16:54:57 +0000 (16:54 +0000)]
real.c: Avoid parse error if FLOAT_WORDS_BIG_ENDIAN is not a compile-time constant for...

* real.c: Avoid parse error if FLOAT_WORDS_BIG_ENDIAN is
not a compile-time constant for the non-IBM case.
* config/arm/arm-protos.h (arm_float_words_big_endian): New
prototype.
* config/arm/arm.c (arm_float_words_big_endian): New function.
* config/arm/arm.h (TARGET_CPU_CPP_BUILTINS): Define __VFP_FP__
if TARGET_VFP  and not TARGET_HARD_FLOAT.
(ARM_FLAG_VFP, TARGET_VFP): Define.
(FLOAT_WORDS_BIG_ENDIAN): Use arm_float_words_big_endian.

[ Missed arm.h in previous checkin, and pasto'd ChangeLog entry, which
  is now corrected. ]

From-SVN: r56857

22 years agoxcoff.h (HOT_TEXT_SECTION_NAME): Delete.
David Edelsohn [Thu, 5 Sep 2002 16:51:00 +0000 (16:51 +0000)]
xcoff.h (HOT_TEXT_SECTION_NAME): Delete.

        * config/rs6000/xcoff.h (HOT_TEXT_SECTION_NAME): Delete.
        (UNLIKELY_EXECUTED_TEXT_SECTION_NAME): Delete.

From-SVN: r56856

22 years agoweak-1.c: xfail on Darwin.
Stan Shebs [Thu, 5 Sep 2002 16:49:02 +0000 (16:49 +0000)]
weak-1.c: xfail on Darwin.

        * gcc.dg/weak-1.c: xfail on Darwin.
        * gcc.dg/weak-2.c: Ditto.
        * gcc.dg/weak-3.c: Ditto.
        * gcc.dg/weak-4.c: Ditto.
        * gcc.dg/weak-5.c: Ditto.
        * gcc.dg/weak-6.c: Ditto.
        * gcc.dg/weak-7.c: Ditto.
        * gcc.dg/weak-8.c: Ditto.
        * gcc.dg/weak-9.c: Ditto.

From-SVN: r56855

22 years agoreal.c: Avoid parse error if FLOAT_WORDS_BIG_ENDIAN is not a compile-time constant...
Jason Thorpe [Thu, 5 Sep 2002 16:45:24 +0000 (16:45 +0000)]
real.c: Avoid parse error if FLOAT_WORDS_BIG_ENDIAN is not a compile-time constant for...

* real.c: Avoid parse error if FLOAT_WORDS_BIG_ENDIAN is
not a compile-time constant for the non-IBM case.
* config/arm/arm-protos.h (arm_float_words_big_endian): New
prototype.
* config/arm/arm.c (arm_float_words_big_endian): New function.
(TARGET_CPU_CPP_BUILTINS): Define __VFP_FP__ if TARGET_VFP
and not TARGET_HARD_FLOAT.
(ARM_FLAG_VFP, TARGET_VFP): Define.
(FLOAT_WORDS_BIG_ENDIAN): Use arm_float_words_big_endian.

From-SVN: r56854

22 years agoOops, typo in dir name.
Jakub Jelinek [Thu, 5 Sep 2002 16:32:28 +0000 (18:32 +0200)]
Oops, typo in dir name.

From-SVN: r56851

22 years agoinstall.texi: Correct text of s390-*-linux* and s390x-*-linux* URLs.
David Edelsohn [Thu, 5 Sep 2002 16:30:42 +0000 (16:30 +0000)]
install.texi: Correct text of s390-*-linux* and s390x-*-linux* URLs.

        * doc/install.texi: Correct text of s390-*-linux* and s390x-*-linux*
        URLs.  Fix AIX wording.

From-SVN: r56850

22 years agors6000.c (rs6000_override_options): Make -fpic and -fPIC equivalent on Darwin.
Stan Shebs [Thu, 5 Sep 2002 16:25:49 +0000 (16:25 +0000)]
rs6000.c (rs6000_override_options): Make -fpic and -fPIC equivalent on Darwin.

        * config/rs6000/rs6000.c (rs6000_override_options): Make -fpic and
        -fPIC equivalent on Darwin.

From-SVN: r56848

22 years agoia64-unknown-linux-gnu: Add.
Jakub Jelinek [Thu, 5 Sep 2002 16:21:55 +0000 (18:21 +0200)]
ia64-unknown-linux-gnu: Add.

* config/abi/ia64-unknown-linux-gnu: Add.
* config/abi/ia64-unknown-linux-gnu/baseline_symbols.txt: New file.
* config/abi/alphaev67-unknown-linux-gnu: Add.
* config/abi/alphaev67-unknown-linux-gnu/baseline_symbols.txt: New file.

From-SVN: r56847

22 years agoMakefile: Use more portable shell wildcard.
Jonathan Wakely [Thu, 5 Sep 2002 15:47:54 +0000 (15:47 +0000)]
Makefile: Use more portable shell wildcard.

2002-09-05  Jonathan Wakely  <jw@kayari.org>

* docs/html/Makefile:  Use more portable shell wildcard.
* docs/html/makedoc.awk:  Nest elements correctly for XHTML conversion.
* docs/html/configopts.html, docs/html/documentation.html,
docs/html/explanations.html, docs/html/install.html,
docs/html/17_intro/contribute.html, docs/html/17_intro/howto.html,
docs/html/17_intro/license.html, docs/html/18_support/howto.html,
docs/html/19_diagnostics/howto.html, docs/html/20_util/howto.html,
docs/html/21_strings/howto.html, docs/html/22_locale/codecvt.html,
docs/html/22_locale/ctype.html, docs/html/22_locale/howto.html,
docs/html/22_locale/locale.html, docs/html/22_locale/messages.html,
docs/html/23_containers/howto.html, docs/html/24_iterators/howto.html,
docs/html/25_algorithms/howto.html, docs/html/26_numerics/howto.html,
docs/html/27_io/howto.html, docs/html/ext/howto.html,
docs/html/ext/sgiexts.html, docs/html/faq/index.html:  Convert
to XHTML.
* docs/html/faq/index.txt:  Regenerate.

From-SVN: r56845

22 years agosh.c (sh_expand_builtin): Return early if encountering an error_mark for a type.
J"orn Rennecke [Thu, 5 Sep 2002 15:31:24 +0000 (15:31 +0000)]
sh.c (sh_expand_builtin): Return early if encountering an error_mark for a type.

* sh.c (sh_expand_builtin): Return early if encountering an
error_mark for a type.

From-SVN: r56844

22 years agos390.c (s390_expand_plus_operand): Do not require double-word scratch register.
Ulrich Weigand [Thu, 5 Sep 2002 14:46:39 +0000 (14:46 +0000)]
s390.c (s390_expand_plus_operand): Do not require double-word scratch register.

* config/s390/s390.c (s390_expand_plus_operand): Do not require
double-word scratch register.
config/s390/s390.md ("reload_indi", "reload_insi"): Adapt.

("*tmqi_ext", "*tmdi_mem", "*tmsi_mem", "*tmhi_mem", "*tmqi_mem",
"*cli"): Replace s_operand by memory_operand.
("cmpstrdi", "cmpstrsi"): Replace s_operand by general_operand.

From-SVN: r56843

22 years agoverify.c (verify_jvm_instructions): Allow exception handler inside code that is being...
Andrew Haley [Thu, 5 Sep 2002 13:24:41 +0000 (13:24 +0000)]
verify.c (verify_jvm_instructions): Allow exception handler inside code that is being protected, but generate a warning.

2002-08-28  Andrew Haley  <aph@redhat.com>

* verify.c (verify_jvm_instructions): Allow exception handler
inside code that is being protected, but generate a warning.
* except.c (link_handler): Initialize `expanded' in new eh_range.
(binding_depth, is_class_level, current_pc): Declare extern.

From-SVN: r56842

22 years agoctype_members.cc (ctype<wchar_t>::do_widen(char)): Switch to _M_c_locale_ctype around...
Jakub Jelinek [Thu, 5 Sep 2002 07:54:26 +0000 (09:54 +0200)]
ctype_members.cc (ctype<wchar_t>::do_widen(char)): Switch to _M_c_locale_ctype around btowc call.

* config/locale/gnu/ctype_members.cc (ctype<wchar_t>::do_widen(char)):
Switch to _M_c_locale_ctype around btowc call.
(ctype<wchar_t>::do_widen(const char*, const char *, wchar_t*)):
Switch to _M_c_locale_ctype around mbsrtowcs call.
(ctype<wchar_t>::do_narrow(char)): Switch to _M_c_locale_ctype around
wctob call.
(ctype<wchar_t>::do_narrow(const char*, const char *, wchar_t*)):
Switch to _M_c_locale_ctype around wcsrtombs call.

From-SVN: r56841

22 years agomonetary_members.cc (moneypunct<wchar_t, [...]): Use __uselocale instead of setlocale...
Jakub Jelinek [Thu, 5 Sep 2002 07:51:16 +0000 (09:51 +0200)]
monetary_members.cc (moneypunct<wchar_t, [...]): Use __uselocale instead of setlocale for glibc 2.3.

* config/locale/gnu/monetary_members.cc
(moneypunct<wchar_t, true>::_M_initialize_moneypunct,
moneypunct<wchar_t, false>::_M_initialize_moneypunct): Use
__uselocale instead of setlocale for glibc 2.3.

From-SVN: r56839