]> gcc.gnu.org Git - gcc.git/log
gcc.git
23 years agoMakefile.am: Added entries for new java.sql modules.
Warren Levy [Fri, 1 Dec 2000 18:34:28 +0000 (18:34 +0000)]
Makefile.am: Added entries for new java.sql modules.

* Makefile.am: Added entries for new java.sql modules.
* Makefile.in: Rebuilt.

From-SVN: r37919

23 years agobuiltins.c (target_char_cast): New function.
Jakub Jelinek [Fri, 1 Dec 2000 17:53:07 +0000 (18:53 +0100)]
builtins.c (target_char_cast): New function.

* builtins.c (target_char_cast): New function.
(expand_builtin_strchr): Use it.
(expand_builtin_strrchr): Use it.
(builtin_memset_read_str): New function.
(expand_builtin_memset): Use target_char_cast.
Try to optimize memset with second argument non-zero using
store_by_pieces.

* gcc.c-torture/execute/string-opt-5.c: Add some memset tests.

From-SVN: r37918

23 years agoinstall.texi (avr): Replace incomplete list of supported MCU types with a link to...
Marek Michalkiewicz [Fri, 1 Dec 2000 17:49:05 +0000 (18:49 +0100)]
install.texi (avr): Replace incomplete list of supported MCU types with a link to the current one ...

* install.texi (avr): Replace incomplete list of supported MCU
types with a link to the current one ...
* invoke.texi (AVR Options): ... here.  Update -mmcu= to list
all supported MCU types.  Document -minit-stack= default.
Document new options -mno-tablejump, -mtiny-stack.
* md.texi (AVR family):  Fix typo in 'w' constraint letter
description.  Document 'q'.  Update 'O'.

From-SVN: r37917

23 years agoAdd a frontend function for reload_reg_free_for_value_p; need to check all
Bernd Schmidt [Fri, 1 Dec 2000 16:34:09 +0000 (16:34 +0000)]
Add a frontend function for reload_reg_free_for_value_p; need to check all
registers in a multi-reg value.

From-SVN: r37916

23 years agoFurther tweak cant_combine_insn_p
Bernd Schmidt [Fri, 1 Dec 2000 12:45:00 +0000 (12:45 +0000)]
Further tweak cant_combine_insn_p

From-SVN: r37915

23 years agocall.c (standard_conversion): Reject pointer to member conversions from ambiguous...
Nathan Sidwell [Fri, 1 Dec 2000 11:52:33 +0000 (11:52 +0000)]
call.c (standard_conversion): Reject pointer to member conversions from ambiguous, inaccessible or virtual bases.

cp:
* call.c (standard_conversion): Reject pointer to member
conversions from ambiguous, inaccessible or virtual bases.
* typeck.c (build_static_cast): Don't check pointers to members
specially.
testsuite:
* g++.old-deja/g++.other/cast6.C: New test.

From-SVN: r37914

23 years agomauve-libgcj: Turned on JDK1.2 and turned off tests for classes that aren't quite...
Warren Levy [Fri, 1 Dec 2000 10:04:02 +0000 (10:04 +0000)]
mauve-libgcj: Turned on JDK1.2 and turned off tests for classes that aren't quite 1.2...

* mauve-libgcj: Turned on JDK1.2 and turned off tests for classes
that aren't quite 1.2 compatible yet.

From-SVN: r37913

23 years agoDaily bump.
Jeff Law [Fri, 1 Dec 2000 08:45:07 +0000 (01:45 -0700)]
Daily bump.

From-SVN: r37912

23 years agosh.c (shiftcosts): Don't get INTVAL before testing whether X is a CONST_INT.
Alexandre Oliva [Fri, 1 Dec 2000 03:29:02 +0000 (03:29 +0000)]
sh.c (shiftcosts): Don't get INTVAL before testing whether X is a CONST_INT.

* config/sh/sh.c (shiftcosts): Don't get INTVAL before testing
whether X is a CONST_INT.
(addsubcosts): Likewise.

From-SVN: r37911

23 years agoAlign value of UNSPECV_ALIGN
Alexandre Oliva [Fri, 1 Dec 2000 03:22:26 +0000 (03:22 +0000)]
Align value of UNSPECV_ALIGN

From-SVN: r37910

23 years agosh.h (OUTPUT_ADDR_CONST_EXTRA): Use INTVAL instead of mis-used XINT.
Alexandre Oliva [Fri, 1 Dec 2000 02:29:34 +0000 (02:29 +0000)]
sh.h (OUTPUT_ADDR_CONST_EXTRA): Use INTVAL instead of mis-used XINT.

* config/sh/sh.h (OUTPUT_ADDR_CONST_EXTRA): Use INTVAL instead of
mis-used XINT.
(ARG_POINTER_REGNUM): Set to AP_REG.

From-SVN: r37909

23 years agoFixed ChangeLog entry to be path specific.
Warren Levy [Fri, 1 Dec 2000 02:04:23 +0000 (02:04 +0000)]
Fixed ChangeLog entry to be path specific.

From-SVN: r37908

23 years agosh.md (fpu_switch0, [...]): Only match on TARGET_SH4.
Alexandre Oliva [Fri, 1 Dec 2000 02:03:24 +0000 (02:03 +0000)]
sh.md (fpu_switch0, [...]): Only match on TARGET_SH4.

* config/sh/sh.md (fpu_switch0, fpu_switch1, movpsi, fpu_switch,
splits): Only match on TARGET_SH4.

From-SVN: r37907

23 years agoArray.java: New file from classpath.
Warren Levy [Fri, 1 Dec 2000 01:48:34 +0000 (01:48 +0000)]
Array.java: New file from classpath.

* Array.java: New file from classpath.
* BatchUpdateException.java: Ditto.
* Blob.java: Ditto.
* Clob.java: Ditto.
* Ref.java: Ditto.
* SQLData.java: Ditto.
* SQLInput.java: Ditto.
* SQLOutput.java: Ditto.
* Struct.java: Ditto.
* CallableStatement.java: Merged file from claspath.
* Connection.java: Ditto.
* DataTruncation.java: Ditto.
* DatabaseMetaData.java: Ditto.
* DriverManager.java: Ditto.
* PreparedStatement.java: Ditto.
* ResultSet.java: Ditto.
* ResultSetMetaData.java: Ditto.
* SQLException.java: Ditto.
* SQLWarning.java: Ditto.
* Statement.java: Ditto.
* Types.java: Ditto.

From-SVN: r37906

23 years agocombine.c (try_combine): Disregard USEs when updating LOG_LINKS of subsequent insns.
Alexandre Oliva [Fri, 1 Dec 2000 01:08:40 +0000 (01:08 +0000)]
combine.c (try_combine): Disregard USEs when updating LOG_LINKS of subsequent insns.

* combine.c (try_combine): Disregard USEs when updating LOG_LINKS
of subsequent insns.

From-SVN: r37905

23 years agoalpha.h (ASM_OUTPUT_MI_THUNK): Disable.
Richard Henderson [Fri, 1 Dec 2000 00:32:12 +0000 (16:32 -0800)]
alpha.h (ASM_OUTPUT_MI_THUNK): Disable.

        * config/alpha/alpha.h (ASM_OUTPUT_MI_THUNK): Disable.
        * config/alpha/alpha32.h (ASM_OUTPUT_MI_THUNK): Likewise.

From-SVN: r37904

23 years agoelf.h (ASM_OUTPUT_SECTION_NAME): Copy elfos.h defn.
Richard Henderson [Fri, 1 Dec 2000 00:29:57 +0000 (16:29 -0800)]
elf.h (ASM_OUTPUT_SECTION_NAME): Copy elfos.h defn.

        * config/alpha/elf.h (ASM_OUTPUT_SECTION_NAME): Copy elfos.h defn.
        (DO_SELECT_SECTION): New.
        (SELECT_SECTION): Use it.
        (UNIQUE_SECTION_P): New.
        (UNIQUE_SECTION): New.

From-SVN: r37903

23 years ago* gcc.c-torture/execute/20001130-2.c: New testcase.
Geoffrey Keating [Fri, 1 Dec 2000 00:15:29 +0000 (00:15 +0000)]
* gcc.c-torture/execute/20001130-2.c: New testcase.

From-SVN: r37902

23 years agocmath.cc: Remove.
Gabriel Dos Reis [Thu, 30 Nov 2000 23:44:32 +0000 (23:44 +0000)]
cmath.cc: Remove.

* src/cmath.cc: Remove.
* src/Makefile.am (c_base_headers): Add bits/cmath.tcc.
(sources): Remove cmath.cc
* src/Makefile.in: Regenerate.

* include/c/bits/std_cmath.h (__cmath_power<>): Declare.
(__cmath_abs<>): New function.
(abs, fabs): Use __cmath_abs when no direct support is available.
(__pow_helper<>): New function.
(pow): Define here.  Use __pow_helper<>.

* include/c/bits/cmath.tcc: New file.

From-SVN: r37901

23 years ago* c-common.c (status_warning) [! ANSI_PROTOTYPES]: Load status
Alexandre Oliva [Thu, 30 Nov 2000 23:00:57 +0000 (23:00 +0000)]
* c-common.c (status_warning) [! ANSI_PROTOTYPES]: Load status
from va_list before using it.

From-SVN: r37900

23 years agoflow.c (make_edge): Early out, if no flags to set.
Michael Matz [Thu, 30 Nov 2000 21:40:33 +0000 (21:40 +0000)]
flow.c (make_edge): Early out, if no flags to set.

        * flow.c (make_edge): Early out, if no flags to set.
        (calculate_global_regs_live): Clear out garbage only when necessary.

        * simplify-rtx.c (varray_type used_regs): New.
        (clear_table): Use it to only clear necessary items.
        (cselib_lookup, cselib_record_set): Remember newly set items.
        (cselib_update_varray_sizes, cselib_init): Initialize and grow
        used_regs.

        * local-alloc.c (update_equiv_regs): New local `cleared_regs'.
        Move clearing of dead regs out of insn-loop.

From-SVN: r37899

23 years agocalls.c (expand_call): Emit queued insns before creating the tail recursion sequence.
Richard Henderson [Thu, 30 Nov 2000 20:15:13 +0000 (12:15 -0800)]
calls.c (expand_call): Emit queued insns before creating the tail recursion sequence.

        * calls.c (expand_call): Emit queued insns before creating
        the tail recursion sequence.

* gcc.c-torture/execute/20001130-1.c: New test.

From-SVN: r37898

23 years agomethod.c (do_build_copy_constructor): Preserve cv qualifications when accessing sourc...
Nathan Sidwell [Thu, 30 Nov 2000 16:51:54 +0000 (16:51 +0000)]
method.c (do_build_copy_constructor): Preserve cv qualifications when accessing source object members.

cp:
* method.c (do_build_copy_constructor): Preserve cv
qualifications when accessing source object members.
(do_build_assign_ref): Likewise. Remove separate diagnostics for
unnamed fields.
testsuite:
* g++.old-deja/g++.other/op3.C: New test.

From-SVN: r37896

23 years agoprevent dual double definition protection
J. David Anglin [Thu, 30 Nov 2000 16:43:00 +0000 (16:43 +0000)]
prevent dual double definition protection

Co-Authored-By: Bruce Korb <bkorb@gnu.org>
From-SVN: r37895

23 years agoExplicitly state srcdir for fixincl.x references - Loren J. Rittle
Loren J. Rittle [Thu, 30 Nov 2000 16:30:05 +0000 (16:30 +0000)]
Explicitly state srcdir for fixincl.x references - Loren J. Rittle

From-SVN: r37894

23 years agomethod.c (do_build_assign_ref): Construct appropriately CV-qualified base reference.
Nathan Sidwell [Thu, 30 Nov 2000 16:03:16 +0000 (16:03 +0000)]
method.c (do_build_assign_ref): Construct appropriately CV-qualified base reference.

cp:
* method.c (do_build_assign_ref): Construct appropriately
CV-qualified base reference. Don't allow const casts in base
conversion.
testsuite:
* g++.old-deja/g++.other/op2.C: New test.

From-SVN: r37893

23 years ago* README.FRESCO: Remove obsolete file.
Gerald Pfeifer [Thu, 30 Nov 2000 11:09:43 +0000 (12:09 +0100)]
* README.FRESCO: Remove obsolete file.

From-SVN: r37873

23 years agocall.c (build_over_call): Use VOID_TYPE_P.
Nathan Sidwell [Thu, 30 Nov 2000 09:36:29 +0000 (09:36 +0000)]
call.c (build_over_call): Use VOID_TYPE_P.

cp:
* call.c (build_over_call): Use VOID_TYPE_P. Don't die on
incomplete return type.
testsuite:
* g++.old-deja/g++.other/crash38.C: New test.

From-SVN: r37872

23 years agoDaily bump.
Jeff Law [Thu, 30 Nov 2000 08:45:07 +0000 (01:45 -0700)]
Daily bump.

From-SVN: r37871

23 years agoconfigure.in: Reorganize handling of *-*-gnu*, to share target specific make details...
Jeff Law [Thu, 30 Nov 2000 08:30:26 +0000 (01:30 -0700)]
configure.in: Reorganize handling of *-*-gnu*, to share target specific make details with Linux.

* configure.in: Reorganize handling of *-*-gnu*, to share target
specific make details with Linux.  Update comments to clarify
        the distinction between GNU/Linux and GNU/Hurd.
* config/t-gnu (LIBGCC1, CROSS_LIBGCC1, CRTSTUFF_T_CFLAGS,
TARGET_LIBGCC2_CFLAGS): Remove.  We now use the settings from
config/t-linux for the Hurd.

From-SVN: r37870

23 years agoPOTFILES.in: Move divmod routines from config/mn10200 to config/ Add dominance.c
Jeffrey A Law [Thu, 30 Nov 2000 08:27:09 +0000 (08:27 +0000)]
POTFILES.in: Move divmod routines from config/mn10200 to config/ Add dominance.c

        * POTFILES.in: Move divmod routines from config/mn10200 to config/
        Add dominance.c

From-SVN: r37869

23 years agoudivmod.c, [...]: Moved from here.
Stephane Carrez [Thu, 30 Nov 2000 08:25:59 +0000 (09:25 +0100)]
udivmod.c, [...]: Moved from here.

* config/mn10200/udivmod.c, config/mn10200/divmod.c,
config/mn10200/udivmodsi4.c: Moved from here.
* config/udivmod.c, config/divmod.c, config/udivmodsi4.c: To here.
* config/mn10200/t-mn10200 (LIB2FUNCS_EXTRA): Use the generic
C division functions.
* config/m68hc11/t-m68hc11-gas (LIB2FUNCS_EXTRA): Likewise.

From-SVN: r37868

23 years agopa.md (conditional moves): Avoid holes in operand list.
Jeffrey A Law [Thu, 30 Nov 2000 08:15:41 +0000 (08:15 +0000)]
pa.md (conditional moves): Avoid holes in operand list.

        * pa.md (conditional moves): Avoid holes in operand list.
        (mod, umod patterns): Similarly.
        (variable extract/shift patterns): Similarly.

From-SVN: r37867

23 years agoobjc-act.c (lang_init, [...]): Remove redundant code, assuming doing_objc_thang is...
Neil Booth [Thu, 30 Nov 2000 08:11:41 +0000 (08:11 +0000)]
objc-act.c (lang_init, [...]): Remove redundant code, assuming doing_objc_thang is true.

        * objc/objc-act.c (lang_init, finish_file, maybe_objc_comptypes,
        maybe_objc_check_decl, build_objc_string_object,
        objc_declare_alias, objc_declare_class, build_message_expr,
        build_protocol_expr, build_selector_expr, build_encode_expr,
        get_class_ivars, start_class, start_protocol): Remove
        redundant code, assuming doing_objc_thang is true.

From-SVN: r37866

23 years agopa.c (restore_unscaled_index_insn_codes): Delete procedure.
John David Anglin [Thu, 30 Nov 2000 06:41:29 +0000 (06:41 +0000)]
pa.c (restore_unscaled_index_insn_codes): Delete procedure.

* pa.c (restore_unscaled_index_insn_codes): Delete procedure.
(record_unscaled_index_insn_codes): Likewise.
(unscaled_index_insn_codes): Delete.
(max_unscaled_index_insn_codes_uid): Delete.
(output_function_prologue, output_function_epilogue, pa_reorg):
Don't use the unscaled index insn hack.

From-SVN: r37865

23 years agopa.md: Remove hack from all index insns to reverse the operand order of frame and...
John David Anglin [Thu, 30 Nov 2000 06:37:34 +0000 (06:37 +0000)]
pa.md: Remove hack from all index insns to reverse the operand order of frame and...

        * pa.md: Remove hack from all index insns to reverse the operand
        order of frame and stack pointer references incorrectly created
        in the reload pass.

From-SVN: r37864

23 years agofunction.h (emit_status): Delete member regno_pointer_flag and rename regno_pointer_f...
John David Anglin [Thu, 30 Nov 2000 06:31:19 +0000 (06:31 +0000)]
function.h (emit_status): Delete member regno_pointer_flag and rename regno_pointer_flag_length to...

* function.h (emit_status): Delete member regno_pointer_flag and
rename regno_pointer_flag_length to regno_pointer_align_length.
Delete define for REGNO_POINTER_FLAG.
* integrate.h (inline_remap): Delete member regno_pointer_flag.
Add member x_regno_reg_rtx.
* rtl.h (rtx_def): Use frame_related bit to indicate register is
a pointer in REG expressions.  Define REG_POINTER macro.
* alias.c (find_base_value, find_base_term): Use REG_POINTER
instead of REGNO_POINTER_FLAG.
* combine.c (nonzero_bits, num_sign_bit_copies): Likewise.
* emit-rtl.c (gen_reg_rtx): Use regno_pointer_align_length instead
of regno_pointer_flag_length.  Remove code which refers to
regno_pointer_flag.
(mark_reg_pointer): Use REG_POINTER.
(free_emit_status): Remove code which refers to regno_pointer_flag.
(init_emit, mark_emit_status): Likewise.
* flow.c (dump_flow_info): Likewise.
* function.c (preserve_temp_slots): Likewise.
* integrate.c (expand_inline_function, copy_rtx_and_substitute):
Use x_regno_reg_rtx instead of regno_pointer_flag for function
pointer determination in map.
* loop.c (strength_reduce, maybe_eliminate_biv_1): Use REG_POINTER.
* predict.c (estimate_probability): Likewise.
* regclass.c (record_address_regs, reg_scan_mark_refs): Likewise.
* unroll.c (unroll_loop): Use x_regno_reg_rtx instead of
regno_pointer_flag for function pointer determination in map.
* convex.h (RTX_COSTS): Don't test regno_pointer_flag and use
REG_POINTER.
* pa.c (hppa_legitimize_address, emit_move_sequence, basereg_operand):
Use REG_POINTER.
(restore_unscaled_index_insn_codes): Revise comment.

From-SVN: r37863

23 years ago* expr.c (do_compare_and_jump): Add missing TYPE_MODE in statement.
John David Anglin [Thu, 30 Nov 2000 05:49:49 +0000 (05:49 +0000)]
* expr.c (do_compare_and_jump): Add missing TYPE_MODE in statement.

From-SVN: r37862

23 years ago* extend.texi: Update documentation for attributes.
Joseph Myers [Thu, 30 Nov 2000 01:24:39 +0000 (01:24 +0000)]
* extend.texi: Update documentation for attributes.

From-SVN: r37861

23 years agoelf.h (IDENT_ASM_OP): Protect the #define.
David O'Brien [Thu, 30 Nov 2000 00:19:47 +0000 (00:19 +0000)]
elf.h (IDENT_ASM_OP): Protect the #define.

2000-11-29  David O'Brien  <obrien@FreeBSD.org>
* config/alpha/elf.h (IDENT_ASM_OP): Protect the #define.
(ASM_DECLARE_OBJECT_NAME): Same.
(ASM_FILE_END): Same.
(ASM_FINISH_DECLARE_OBJECT): Same.
(ASM_IDENTIFY_GCC): Same.
(ASM_IDENTIFY_LANGUAGE): Same.
(ASM_OUTPUT_CONSTRUCTOR): Same.
(ASM_OUTPUT_DEF): Same.
(ASM_OUTPUT_DESTRUCTOR): Same.
(ASM_OUTPUT_EXTERNAL_LIBCALL): Same.
(ASM_OUTPUT_SECTION_NAME): Same.
(ASM_WEAKEN_LABEL): Same.
(BSS_SECTION_ASM_OP): Same.
(COMMON_ASM_OP): Same.
(CONST_SECTION_ASM_OP): Same.
(CONST_SECTION_FUNCTION): Same.
(CTORS_SECTION_ASM_OP): Same.
(DTORS_SECTION_ASM_OP): Same.
(ESCAPES): Same.
(FINI_SECTION_ASM_OP): Same.
(IDENT_ASM_OP): Same.
(IDENT_ASM_OP): Same.
(INIT_SECTION_ASM_OP): Same.
(INT_ASM_OP): Same.
(MAX_OFILE_ALIGNMENT): Same.
(SBSS_SECTION_ASM_OP): Same.
(SDATA_SECTION_ASM_OP): Same.
(SECTION_FUNCTION_TEMPLATE): Same.
(SELECT_SECTION): Same.
(SE_CONST_SECTION): Same.
(SIZE_ASM_OP): Same.
(SKIP_ASM_OP): Same.
(STRING_ASM_OP): Same.
(STRING_LIMIT): Same.
(TYPE_ASM_OP): Same.
(TYPE_OPERAND_FMT): Same.

Approved by:  Richard Henderson <rth@redhat.com>
              Message-ID: <20001128205112.C9793@redhat.com>

From-SVN: r37860

23 years agoc-decl.c (c_decode_option): Don't handle -lang-objc.
Neil Booth [Wed, 29 Nov 2000 22:19:28 +0000 (22:19 +0000)]
c-decl.c (c_decode_option): Don't handle -lang-objc.

        * c-decl.c (c_decode_option): Don't handle -lang-objc.
        * objc/lang-options.h: Remove -lang-objc.
        * objc/lang-specs.h: Don't pass -lang-objc to cc1obj.
        * objc/objc-act.c (lang_init_options): Set c_language.

From-SVN: r37859

23 years agoFixes for build directories with colons, AIX build problems.
Benjamin Kosnik [Wed, 29 Nov 2000 21:30:30 +0000 (21:30 +0000)]
Fixes for build directories with colons, AIX build problems.

2000-11-29  Benjamin Kosnik  <bkoz@redhat.com>

Fixes for build directories with colons, AIX build problems.
* src/Makefile.am: Cleanups, add documentation.
(libstdc++.INC): Simplify rule.
(myinstallheaders): Consolidate install rules.
(myinstalldirs): New, make directores.
(base_headers): Subdivide based on install directory.
(ext_headers): New.
(backward_headers): New.
(headers): Remove.
(c_headers): Remove, unused.
(c_shadow_headers): Split up, deal with conditional usage in a
sane manner.
* src/Makefile.in: Regenerate.

From-SVN: r37858

23 years agoexpr.c (can_store_by_pieces): Reinitialize max_size for reverse tests.
Jakub Jelinek [Wed, 29 Nov 2000 21:03:33 +0000 (22:03 +0100)]
expr.c (can_store_by_pieces): Reinitialize max_size for reverse tests.

* expr.c (can_store_by_pieces): Reinitialize max_size for reverse
tests.

From-SVN: r37857

23 years ago20001111.x: Test fixed - remove XFAIL.
Toon Moene [Wed, 29 Nov 2000 20:57:55 +0000 (21:57 +0100)]
20001111.x: Test fixed - remove XFAIL.

2000-11-29  Toon Moene  <toon@moene.indiv.nluug.nl>

* g77.f-torture/execute/20001111.x: Test fixed - remove XFAIL.

From-SVN: r37856

23 years agoSync with the documentation from wwwdocs.
Phil Edwards [Wed, 29 Nov 2000 20:37:02 +0000 (20:37 +0000)]
Sync with the documentation from wwwdocs.

2000-11-29  Phil Edwards  <pme@sources.redhat.com>

Sync with the documentation from wwwdocs.
* docs/Makefile:  New file (rebuilds FAQ text version).
* docs/configopts.html:  Update.
* docs/documentation.html:  Update.
* docs/download.html:  Update.
* docs/index.html:  Update.
* docs/install.html:  Update.
* docs/links.html:  Update.
* docs/mail.html:  Update.
* docs/status.html:  Update.
* docs/thanks.html:  Update.
* docs/27_io/howto.html:  Update.
* docs/faq/index.html:  Update for 2.91.
* docs/faq/index.txt:  Update for 2.91.
* docs/footer.html:  Removed.
* docs/footer.ihtml:  New file.
* docs/gccrebuild.html:  Removed.
* docs/header.html:  Removed.
* docs/header.ihtml:  New file.

From-SVN: r37855

23 years ago* gcc.dg/20001117-1.c: Add main.
Jakub Jelinek [Wed, 29 Nov 2000 20:13:47 +0000 (21:13 +0100)]
* gcc.dg/20001117-1.c: Add main.

From-SVN: r37854

23 years ago* c-pragma.c (init_pragma): Update for parse_in type change.
Neil Booth [Wed, 29 Nov 2000 19:30:04 +0000 (19:30 +0000)]
* c-pragma.c (init_pragma): Update for parse_in type change.

From-SVN: r37853

23 years ago* configure.in: recognize DOS-style absolute paths.
Laurynas Biveinis [Wed, 29 Nov 2000 19:07:29 +0000 (19:07 +0000)]
* configure.in: recognize DOS-style absolute paths.

From-SVN: r37852

23 years agoexpr.h (store_by_pieces): Add prototype.
Jakub Jelinek [Wed, 29 Nov 2000 18:24:50 +0000 (19:24 +0100)]
expr.h (store_by_pieces): Add prototype.

* expr.h (store_by_pieces): Add prototype.
(can_store_by_pieces): Likewise.
* expr.c (struct store_by_pieces): Renamed from clear_by_pieces.
(can_store_by_pieces): New.
(store_by_pieces): New.
(clear_by_pieces): New.
(clear_by_pieces_1): New.
(store_by_pieces_1): Renamed from clear_by_pieces, handle storing
arbitrary compiler generated constants into memory block.
(store_by_pieces_2): Renamed from clear_by_pieces_1, likewise.
* builtins.c (c_readstr): New.
(builtin_memcpy_read_str): New.
(expand_builtin_memcpy): If src is string constant and
emit_block_move would move it by pieces, compute integer constants
from the string and store it into memory block instead.
(builtin_strncpy_read_str): New.
(expand_builtin_strncpy): If N is not constant zero and c_strlen does
not return INTEGER_CST, don't optimize.
If N is larger than strlen(src) + 1, try to copy the string
including padding with store_by_pieces.
(expand_builtin_strcmp): If both arguments have side effects, don't
optimize.
(expand_builtin_fputs): If STR has side effects, don't optimize.

* gcc.c-torture/execute/string-opt-5.c: Add some strcmp and strncpy
tests.
* gcc.c-torture/execute/string-opt-6.c: New test.

From-SVN: r37851

23 years agoFix copyright line
Mark Mitchell [Wed, 29 Nov 2000 17:53:18 +0000 (17:53 +0000)]
Fix copyright line

From-SVN: r37850

23 years agotabify
Jason Merrill [Wed, 29 Nov 2000 16:29:34 +0000 (11:29 -0500)]
tabify

From-SVN: r37849

23 years agoarm.md (sibcall, [...]): Add use of link register.
Richard Earnshaw [Wed, 29 Nov 2000 15:53:46 +0000 (15:53 +0000)]
arm.md (sibcall, [...]): Add use of link register.

* arm.md (sibcall, sibcall_value, sibcall_insn, sibcall_value_insn):
Add use of link register.

From-SVN: r37848

23 years agoCheck this.len, not len, when determining if there is no more input data.
Bryce McKinlay [Wed, 29 Nov 2000 10:37:40 +0000 (10:37 +0000)]
Check this.len, not len, when determining if there is no more input data.

From-SVN: r37847

23 years agoInflaterInputStream (read): Don't return -1 unless the infate() call didn't deliver...
Bryce McKinlay [Wed, 29 Nov 2000 10:06:03 +0000 (10:06 +0000)]
InflaterInputStream (read): Don't return -1 unless the infate() call didn't deliver any output.

* java/util/zip/InflaterInputStream (read): Don't return -1 unless
the infate() call didn't deliver any output. Throw a ZipException if
the needsDictionary() call returns true.
* java/io/ByteArrayInputStream (read): Remove redundant bounds checks.
* java/io/InputStreamReader: Use the default buffer size for the
contained BufferedInputStream.

From-SVN: r37846

23 years agoDaily bump.
Jeff Law [Wed, 29 Nov 2000 08:45:16 +0000 (01:45 -0700)]
Daily bump.

From-SVN: r37845

23 years ago* extend.texi: Update documentation for default format attributes.
Joseph Myers [Wed, 29 Nov 2000 07:38:20 +0000 (07:38 +0000)]
* extend.texi: Update documentation for default format attributes.

From-SVN: r37844

23 years agopa-64.h (ASM_OUTPUT_SECTION_NAME): Use a hash table, not a list, to keep track of...
Jeffrey A Law [Wed, 29 Nov 2000 04:57:21 +0000 (04:57 +0000)]
pa-64.h (ASM_OUTPUT_SECTION_NAME): Use a hash table, not a list, to keep track of the sections.

* pa/pa-64.h (ASM_OUTPUT_SECTION_NAME): Use a hash table, not
a list, to keep track of the sections.

From-SVN: r37843

23 years agonatSystem.cc (init_properties): Set user.language and user.region.
Bryce McKinlay [Wed, 29 Nov 2000 04:53:37 +0000 (04:53 +0000)]
natSystem.cc (init_properties): Set user.language and user.region.

2000-11-29  Bryce McKinlay  <bryce@albatross.co.nz>

* java/lang/natSystem.cc (init_properties): Set user.language and
user.region.
* configure.in: Check for setlocale.
* configure: Rebuilt.
* include/config.h.in: Rebuilt.

From-SVN: r37842

23 years agotests_flags.in: Correct typo.
Loren J. Rittle [Wed, 29 Nov 2000 03:57:35 +0000 (03:57 +0000)]
tests_flags.in: Correct typo.

2000-11-29  Loren J. Rittle  <ljrittle@acm.org>

        * tests_flags.in: Correct typo.

From-SVN: r37840

23 years agotests_flags (SH_FLAGS, ST_FLAGS): Move them back to ...
Gabriel Dos Reis [Wed, 29 Nov 2000 03:54:39 +0000 (03:54 +0000)]
tests_flags (SH_FLAGS, ST_FLAGS): Move them back to ...

* tests_flags (SH_FLAGS, ST_FLAGS): Move them back to ...
* mkcheck.in (SH_FLAGS, ST_FLAGS): ...here

From-SVN: r37839

23 years agoFix pic_l;oad_addr to work in Thumb mode.
Nick Clifton [Wed, 29 Nov 2000 01:45:13 +0000 (01:45 +0000)]
Fix pic_l;oad_addr to work in Thumb mode.

From-SVN: r37838

23 years agoMakefile.am (sources): Add bitset.cc
Gabriel Dos Reis [Wed, 29 Nov 2000 01:09:09 +0000 (01:09 +0000)]
Makefile.am (sources): Add bitset.cc

* src/Makefile.am (sources): Add bitset.cc
* src/Makefile.in: Regenrate.

* include/bits/std_bitset.h (_GLIBCPP_BITSET_BITS_PER_WORD): New
macro. Replace __BITS_PER_WORDS throughout.
(__BITS_PER_WORDS): Remove.
(bitset<>::_M_do_find_first, bitset<>::_M_do_find_next): Move
definitions to src/bitset.cc.

* src/bitset.cc (bitset<>::_M_do_find_first,
bitset<>::_M_do_find_next):  Define here.
(_Bit_count<>::_S_bit_count, _Find_one<>::_S_first_one): Define
here. Explicitly instantiate definitions.

From-SVN: r37837

23 years agocalls.c (expand_call): Defer const/pure NO_DEFER_POP until after sibcall do_pending_s...
Richard Henderson [Wed, 29 Nov 2000 00:27:54 +0000 (16:27 -0800)]
calls.c (expand_call): Defer const/pure NO_DEFER_POP until after sibcall do_pending_stack_adjust.

        * calls.c (expand_call): Defer const/pure NO_DEFER_POP until
        after sibcall do_pending_stack_adjust.

From-SVN: r37836

23 years agojump.c (delete_insn): Check that REG_LABEL note actually contains a CODE_LABEL.
J"orn Rennecke [Wed, 29 Nov 2000 00:25:08 +0000 (00:25 +0000)]
jump.c (delete_insn): Check that REG_LABEL note actually contains a CODE_LABEL.

* jump.c (delete_insn): Check that REG_LABEL note actually contains
a CODE_LABEL.

From-SVN: r37835

23 years agoc-common.h: Remove flag_digraphs.
Neil Booth [Tue, 28 Nov 2000 23:07:29 +0000 (23:07 +0000)]
c-common.h: Remove flag_digraphs.

        * c-common.h: Remove flag_digraphs.
        * c-decl.c: Remove flag_digraphs.
        (c_decode_option): Don't set it.
        * c-lex.c (init_c_lex): Don't do anything for digraphs.

From-SVN: r37834

23 years ago* com.c (ffecom_member_phase2_): Set TREE_USED on the debugging decl.
Richard Henderson [Tue, 28 Nov 2000 22:56:31 +0000 (14:56 -0800)]
* com.c (ffecom_member_phase2_): Set TREE_USED on the debugging decl.

From-SVN: r37833

23 years agoc-parse.in (finish_parse): Update for parse_in type change.
Richard Henderson [Tue, 28 Nov 2000 22:52:26 +0000 (14:52 -0800)]
c-parse.in (finish_parse): Update for parse_in type change.

        * c-parse.in (finish_parse): Update for parse_in type change.
        (_yylex): Likewise.

From-SVN: r37832

23 years agoatomicity.h (__exchange_and_add): Silence preprocessor multi-line string warnings.
Franz Sirl [Tue, 28 Nov 2000 22:28:49 +0000 (22:28 +0000)]
atomicity.h (__exchange_and_add): Silence preprocessor multi-line string warnings.

2000-11-28  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
* config/cpu/powerpc/bits/atomicity.h (__exchange_and_add): Silence
preprocessor multi-line string warnings.
(__atomic_add): Likewise.
(__compare_and_swap): Likewise.
(__always_swap): Likewise.
(__test_and_set): Likewise.
* config/cpu/arm/bits/atomicity.h (__exchange_and_add): Likewise.
(__atomic_add): Likewise.
(__compare_and_swap): Likewise.
(__always_swap): Likewise.
(__test_and_set): Likewise.

From-SVN: r37831

23 years ago940510-1.c: Update to test c89 functionality.
Geoffrey Keating [Tue, 28 Nov 2000 22:25:51 +0000 (22:25 +0000)]
940510-1.c: Update to test c89 functionality.

* gcc.dg/noncompile/940510-1.c: Update to test c89 functionality.
Move from here ...
* gcc.dg/940510-1.c: ... to here.

* gcc.dg/20000926-1.c: GNU C now allows initializations of
zero-size arrays in toplevel structures.

From-SVN: r37830

23 years agocppmacro.c (cpp_scan_buffer_nooutput): Take a boolean indicating whether to scan...
Neil Booth [Tue, 28 Nov 2000 21:34:30 +0000 (21:34 +0000)]
cppmacro.c (cpp_scan_buffer_nooutput): Take a boolean indicating whether to scan all buffers on the stack or just one.

        * cppmacro.c (cpp_scan_buffer_nooutput): Take a boolean
        indicating whether to scan all buffers on the stack or
        just one.
        * cppinit.c (do_includes): Update.
        * cppmain.c (main): Update.
        * cpplib.h: Update prototype.

From-SVN: r37829

23 years agogenoutput.c (validate_insn_operands): New.
Richard Henderson [Tue, 28 Nov 2000 21:31:47 +0000 (13:31 -0800)]
genoutput.c (validate_insn_operands): New.

        * genoutput.c (validate_insn_operands): New.
        (gen_insn): Call it.

        * config/alpha/alpha.md (divmodsi_internal): Renumber operands.
        (divmoddi_internal): Likewise.
        * config/arm/arm.md (andsi3_compare0_scratch): Likewise.
        * config/i960/i960.md (branch patterns): Likewise.
        * config/ia64/ia64.md (tbit_and_0): Likewise.
        (tbit_and_1, tbit_or_0, tbit_or_1): Likewise.
        * config/m68k/m68k.md (zero_extract memory patterns): Likewise.
        * config/mips/mips.md (divmodsi4_internal): Likewise.
        (divmoddi4_internal): Likewise.
        * config/rs6000/rs6000.md (call patterns): Likewise.
        * config/sh/sh.md (movsi_y): Likewise.
        * config/sparc/sparc.md: Comment out if 0 v8p shift pattern.

From-SVN: r37828

23 years ago* config.gcc: Kill residual pyramid support.
Richard Henderson [Tue, 28 Nov 2000 21:23:58 +0000 (13:23 -0800)]
* config.gcc: Kill residual pyramid support.

From-SVN: r37827

23 years agoc-lex.h (parse_in): Change parse_in to a cpp_reader *.
Neil Booth [Tue, 28 Nov 2000 21:13:35 +0000 (21:13 +0000)]
c-lex.h (parse_in): Change parse_in to a cpp_reader *.

* c-lex.h (parse_in): Change parse_in to a cpp_reader *.
* c-decl.c (c_decode_option): Update to match.
* c-lex.c (init_c_lex, yyparse): Update to match.
* c-lang.c (lang_init_options): Use cpp_create_reader.
* cppinit.c (cpp_init): Rename initialize.
(cpp_reader_init): Rename cpp_create_reader.  Create the
reader.  Initialize cpplib if appropriate.
* cpplib.h (cpp_create_reader) New prototype.
(cpp_init, cpp_reader_init): Delete prototypes.
* cppmain.c (general_init, setup_callbacks): New functions.
(main): Use them.
* fix-header.c (scan_in): Change type to cpp_reader *.
(read_scan_file): Update for new cpplib interface and scan_in type.

* cp/decl.c (parse_in): Change to cpp_reader *.
(lang_decode_option): Update.
* cp/lex.c (lang_init_options): Use new cpplib interface.
(init_cp_pragma, finish_parse, handle_pragma_implementation): Update.
* cp/spew.c (read_token): Update.
* objc/objc-act.c (lang_init_options): Update new cpplib interface.

From-SVN: r37826

23 years agoUpdate for 2.91 release.
Benjamin Kosnik [Tue, 28 Nov 2000 20:33:39 +0000 (20:33 +0000)]
Update for 2.91 release.

2000-11-28  Benjamin Kosnik  <bkoz@purist.soma.redhat.com>

Update for 2.91 release.
* include/bits/c++config (__GLIBCPP__): Update.
* docs/17_intro/RELEASE-NOTES: Update.
* docs/status.html: Update, remove bogus autotools disinformation.

From-SVN: r37825

23 years agoDateFormatSymbols.java (zoneStringsDefault): Added more time zone entries.
Warren Levy [Tue, 28 Nov 2000 20:11:46 +0000 (20:11 +0000)]
DateFormatSymbols.java (zoneStringsDefault): Added more time zone entries.

* java/text/DateFormatSymbols.java (zoneStringsDefault): Added
more time zone entries.
* java/text/SimpleDateFormat.java (format): Added case for
TIMEZONE_FIELD.

From-SVN: r37824

23 years agoloop.c (load_mems): Avoid using next_label to find end_label.
Jakub Jelinek [Tue, 28 Nov 2000 19:44:30 +0000 (20:44 +0100)]
loop.c (load_mems): Avoid using next_label to find end_label.

* loop.c (load_mems): Avoid using next_label to find end_label. If
jumping outside of the loop (other than loop end), don't hoist MEMs
out of loop.

* gcc.c-torture/execute/loop-8.c: New test.

From-SVN: r37823

23 years agocalls.c (expand_call): Don't disable tail recursion based on the loop nest.
Jan Hubicka [Tue, 28 Nov 2000 19:34:59 +0000 (20:34 +0100)]
calls.c (expand_call): Don't disable tail recursion based on the loop nest.

        * calls.c (expand_call): Don't disable tail recursion based
        on the loop nest.

From-SVN: r37822

23 years agogen-params: Put in cases for O_EXCL, O_APPEND not being defined.
Geoffrey Keating [Tue, 28 Nov 2000 19:31:16 +0000 (19:31 +0000)]
gen-params: Put in cases for O_EXCL, O_APPEND not being defined.

2000-11-28  Geoffrey Keating  <geoffk@redhat.com>
    Felix Lee  <flee@redhat.com>

* gen-params: Put in cases for O_EXCL, O_APPEND not being defined.

Co-Authored-By: Felix Lee <flee@redhat.com>
From-SVN: r37821

23 years agotradcpp.c (enum node_type): New hash types T_ASSERT, T_UNASSERT.
Neil Booth [Tue, 28 Nov 2000 19:14:16 +0000 (19:14 +0000)]
tradcpp.c (enum node_type): New hash types T_ASSERT, T_UNASSERT.

        * tradcpp.c (enum node_type): New hash types T_ASSERT, T_UNASSERT.
        (struct directive): Drop 4th argument from handlers.
        (do_define, do_line, do_include, do_undef, do_else, do_elif,
        do_endif): Similarly.
        (do_assert, do_unassert, do_ifdef, do_ifndef): New handlers.
        (do_ifxdef): Update as common handler of do_ifdef and do_ifndef.
        (make_definition, make_undef): Take a const char*.
        (make_assertion): New function.
        (struct directive_table): Update.
        (main): Handle -A command line argument.
        (handle_directive): Drop fourth handler argument.

From-SVN: r37820

23 years agoIgnore SETs that are anything except REG or MEM, but look inside STRICT_LOW_PART.
Bernd Schmidt [Tue, 28 Nov 2000 16:19:55 +0000 (16:19 +0000)]
Ignore SETs that are anything except REG or MEM, but look inside STRICT_LOW_PART.

From-SVN: r37819

23 years agosystem.h (IS_DIR_SEPARATOR): Use uppercase macro name.
Richard Kenner [Tue, 28 Nov 2000 14:58:08 +0000 (14:58 +0000)]
system.h (IS_DIR_SEPARATOR): Use uppercase macro name.

* system.h (IS_DIR_SEPARATOR): Use uppercase macro name.
(IS_ABSOLUTE_PATHNAME): New macro.
* gcc.c (find_a_file, process_command, do_spec_1, main): Use it.

From-SVN: r37818

23 years agoparse.y (base_class.1): Produce a _TYPE not a _DECL.
Nathan Sidwell [Tue, 28 Nov 2000 10:31:09 +0000 (10:31 +0000)]
parse.y (base_class.1): Produce a _TYPE not a _DECL.

cp:
* parse.y (base_class.1): Produce a _TYPE not a _DECL.
* semantics.c (finish_base_specifier): Accept a _TYPE not a
_DECL.
testsuite:
* g++.old-deja/g++.other/base1.C: New test.

From-SVN: r37817

23 years agospew.c (yyerror): Cope if yylval.ttype is NULL.
Nathan Sidwell [Tue, 28 Nov 2000 10:23:03 +0000 (10:23 +0000)]
spew.c (yyerror): Cope if yylval.ttype is NULL.

cp:
* spew.c (yyerror): Cope if yylval.ttype is NULL.
testsuite:
* g++.old-deja/g++.other/parse2.C: New test.

From-SVN: r37816

23 years agodecl.c (grokdeclarator): Diagnose undefined template contexts.
Nathan Sidwell [Tue, 28 Nov 2000 10:18:25 +0000 (10:18 +0000)]
decl.c (grokdeclarator): Diagnose undefined template contexts.

cp:
* decl.c (grokdeclarator): Diagnose undefined template contexts.
testsuite:
* g++.old-deja/g++.pt/incomplete1.C: New test.

From-SVN: r37815

23 years agodecl.c (grokdeclarator): Do type access control on friend class.
Nathan Sidwell [Tue, 28 Nov 2000 10:06:16 +0000 (10:06 +0000)]
decl.c (grokdeclarator): Do type access control on friend class.

cp:
* decl.c (grokdeclarator): Do type access control on friend
class.
testsuite:
* g++.old-deja/g++.other/friend9.C: New test.

From-SVN: r37814

23 years agotests_flags.in (LTCXX): Change CXX_FLAG to CXXFLAGS.
Benjamin Kosnik [Tue, 28 Nov 2000 09:34:08 +0000 (09:34 +0000)]
tests_flags.in (LTCXX): Change CXX_FLAG to CXXFLAGS.

2000-11-27  Benjamin Kosnik  <bkoz@redhat.com>

* tests_flags.in (LTCXX): Change CXX_FLAG to CXXFLAGS.

* testsuite/22_locale/ctor_copy_dtor.cc: Adjust formatting.
* testsuite/27_io/istream_extractor_arith.cc (test11): New
testcase, based on libstdc++/90.

From-SVN: r37813

23 years agoi386.md (truncxfsf2_2): Fix predicate.
Jakub Jelinek [Tue, 28 Nov 2000 09:04:27 +0000 (10:04 +0100)]
i386.md (truncxfsf2_2): Fix predicate.

* config/i386/i386.md (truncxfsf2_2): Fix predicate.

* gcc.dg/20001127-1.c: New test.

From-SVN: r37812

23 years agoDaily bump.
Jeff Law [Tue, 28 Nov 2000 08:45:07 +0000 (01:45 -0700)]
Daily bump.

From-SVN: r37811

23 years agoDataInputStream.java: Merge classpath docs.
Bryce McKinlay [Tue, 28 Nov 2000 04:50:51 +0000 (04:50 +0000)]
DataInputStream.java: Merge classpath docs.

2000-11-28  Bryce McKinlay  <bryce@abatross.co.nz>

* java/io/DataInputStream.java: Merge classpath docs. Call in.read()
directly rather than read() in all cases. Make primitive read
implementations more efficient, as defined in JDK online docs.
(skipBytes): Behave like the JDK's implementation.
* java/io/BufferedReader.java: Merge classpath docs. Check for a
closed stream with checkStatus() whenever an IOException can be
thrown.
(checkStatus): New private method.

From-SVN: r37810

23 years agoHandle frame sizes larger than int.
Jim Wilson [Tue, 28 Nov 2000 03:17:22 +0000 (03:17 +0000)]
Handle frame sizes larger than int.

* reload1.c (reload): Use HOST_WIDE_INT for old_frame_size.

From-SVN: r37809

23 years agoMakefile.am: Added natTimeZone.cc.
Warren Levy [Tue, 28 Nov 2000 03:09:22 +0000 (03:09 +0000)]
Makefile.am: Added natTimeZone.cc.

* Makefile.am: Added natTimeZone.cc.
* Makefile.in: Rebuilt.
* gnu/gcj/text/LocaleData_en.java: Added DateFormat entries.
* java/text/DateFormatSymbols.java (ampms): Made package private.
(eras): Made package private.
(months): Made package private.
(shortMonths): Made package private.
(shortWeekdays): Made package private.
(weekdays): Made package private.
(formatPrefixes): New private field.
(localPatternCharsDefault): Made private.
(dateFormats): New package private field.
(timeFormats): New package private field.
(formatsForKey): New private method.
(DateFormatSymbols(Locale)): Set dateFormats and timeFormats.
(DateFormatSymbols(DateFormatSymbols)): Ditto.
* java/text/SimpleDateFormat.java: Merged with Classpath.
* java/util/TimeZone.java: Merged with Classpath.
* java/util/natTimeZone.cc: New file.

From-SVN: r37808

23 years ago* extend.texi (Nested Functions): Update URL of Usenix paper.
Matthias Klose [Mon, 27 Nov 2000 23:58:36 +0000 (23:58 +0000)]
* extend.texi (Nested Functions): Update URL of Usenix paper.

From-SVN: r37807

23 years ago* function.c (free_after_compilation): Clear x_clobber_return_insn.
Mark Mitchell [Mon, 27 Nov 2000 20:14:21 +0000 (20:14 +0000)]
* function.c (free_after_compilation): Clear x_clobber_return_insn.

From-SVN: r37806

23 years agoatomicity.h (__exchange_and_add): Add __volatile__ to asm.
Franz Sirl [Mon, 27 Nov 2000 20:07:17 +0000 (20:07 +0000)]
atomicity.h (__exchange_and_add): Add __volatile__ to asm.

2000-11-27  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
* config/cpu/arm/bits/atomicity.h (__exchange_and_add): Add
__volatile__ to asm.
(__atomic_add): Likewise.
(__compare_and_swap): Likewise.
(__always_swap): Likewise.
(__test_and_set): Likewise.

From-SVN: r37805

23 years agocppinit.c (cpp_reader_init): Remove handling of warn_paste command line options.
Neil Booth [Mon, 27 Nov 2000 19:08:36 +0000 (19:08 +0000)]
cppinit.c (cpp_reader_init): Remove handling of warn_paste command line options.

        * cppinit.c (cpp_reader_init): Remove handling of warn_paste
        command line options.
        (cpp_handle_option): Similarly.
        * cpplib.h (struct cpp_options): Remove warn_paste.
        * cppmacro.c (paste_tokens): Apart from assembler, make
        unpasteable token warning mandatory.

From-SVN: r37804

23 years agotradcpp.c (enum pending_dir_t, [...]): New.
Neil Booth [Mon, 27 Nov 2000 19:04:54 +0000 (19:04 +0000)]
tradcpp.c (enum pending_dir_t, [...]): New.

        * tradcpp.c (enum pending_dir_t, struct pending_dir): New.
        (main): Allocate a pending directive set of these.  Use it.
        Merge handling of -D and -U.  Update handling of pending
        directives.  Free the memory after use.

From-SVN: r37803

23 years agoatomicity.h: Replace '__ATOMICITY_INLINE' with 'inline'.
Franz Sirl [Mon, 27 Nov 2000 18:17:40 +0000 (18:17 +0000)]
atomicity.h: Replace '__ATOMICITY_INLINE' with 'inline'.

2000-11-27  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>

        * config/cpu/powerpc/bits/atomicity.h: Replace '__ATOMICITY_INLINE'
        with 'inline'.
        (__ex__atomic_add): Add __volatile__ to asm.
        (__atomic_add): Likewise.
        (__compare_and_swap): Likewise.
        (__always_swap): Likewise.
        (__test_and_set): Likewise.

From-SVN: r37802

23 years agoWhile building global lifetime information, keep track of which registers are only...
Bernd Schmidt [Mon, 27 Nov 2000 17:50:11 +0000 (17:50 +0000)]
While building global lifetime information, keep track of which registers are only conditionally set.

While building global lifetime information, keep track of which registers are
only conditionally set.  Use this to force rescans in more cases where they
are needed.

From-SVN: r37801

23 years agosh.md (udivsi3_i4, [...]): Clobber T register.
Kaz Kojima [Mon, 27 Nov 2000 17:32:05 +0000 (17:32 +0000)]
sh.md (udivsi3_i4, [...]): Clobber T register.

* gcc/config/sh/sh.md (udivsi3_i4, udivsi3_i4_single): Clobber
T register.

From-SVN: r37800

23 years agoarm.c (select_dominance_cc_mode): Handle new way that combine canonicalizes condition...
Richard Earnshaw [Mon, 27 Nov 2000 16:40:08 +0000 (16:40 +0000)]
arm.c (select_dominance_cc_mode): Handle new way that combine canonicalizes conditional compares.

* arm.c (select_dominance_cc_mode): Handle new way that combine
canonicalizes conditional compares.
(arm_select_cc_mode): Likewise.
* arm.md: Garbage collect some dead code.
(cmp_and, cmp_ior): New patterns.
(splitter for conditional move with inverted false): Use cond_exec
and handle unordered comparisons.

From-SVN: r37799

This page took 0.177135 seconds and 5 git commands to generate.