]> gcc.gnu.org Git - gcc.git/log
gcc.git
23 years agoi386.c (ix86_expand_int_movcc): Take care to reverse fp conditions properly.
Jan Hubicka [Mon, 8 Jan 2001 12:47:15 +0000 (13:47 +0100)]
i386.c (ix86_expand_int_movcc): Take care to reverse fp conditions properly.

* i386.c (ix86_expand_int_movcc): Take care to reverse fp conditions
properly.

From-SVN: r38799

23 years agoclass.c (duplicate_tag_error): Adjust diagnostic.
Nathan Sidwell [Mon, 8 Jan 2001 11:45:22 +0000 (11:45 +0000)]
class.c (duplicate_tag_error): Adjust diagnostic.

cp:
* class.c (duplicate_tag_error): Adjust diagnostic.
(finish_struct): Locally set location to start of struct.
* decl.c (fixup_anonymous_aggr): Use cp_error_at.
testsuite:
* g++.old-deja/g++.benjamin/15309-1.C: Expect diagnostic at
start of structs.
* g++.old-deja/g++.benjamin/15309-2.C: Likewise.
* g++.old-deja/g++.brendan/crash17.C: Likewise.
* g++.old-deja/g++.brendan/crash29.C: Likewise.
* g++.old-deja/g++.brendan/crash48.C: Likewise.
* g++.old-deja/g++.brendan/ns1.C: Likewise.
* g++.old-deja/g++.brendan/warnings1.C: Likewise.
* g++.old-deja/g++.bugs/900205_04.C: Likewise.
* g++.old-deja/g++.bugs/900514_03.C: Likewise.
* g++.old-deja/g++.eh/spec6.C: Likewise.
* g++.old-deja/g++.jason/crash3.C: Likewise.
* g++.old-deja/g++.law/ctors11.C: Likewise.
* g++.old-deja/g++.law/ctors17.C: Likewise.
* g++.old-deja/g++.law/ctors5.C: Likewise.
* g++.old-deja/g++.law/ctors9.C: Likewise.
* g++.old-deja/g++.mike/ambig1.C: Likewise.
* g++.old-deja/g++.mike/net22.C: Likewise.
* g++.old-deja/g++.mike/p3538a.C: Likewise.
* g++.old-deja/g++.mike/p3538b.C: Likewise.
* g++.old-deja/g++.mike/virt3.C: Likewise.
* g++.old-deja/g++.niklas/t128.C: Likewise.
* g++.old-deja/g++.other/anon4.C: Likewise.
* g++.old-deja/g++.other/using1.C: Likewise.
* g++.old-deja/g++.other/warn3.C: Likewise.
* g++.old-deja/g++.pt/t37.C: Likewise.
* g++.old-deja/g++.robertl/eb69.C: Likewise.
* g++.old-deja/g++.robertl/eb71.C: Likewise.

From-SVN: r38798

23 years agoOops, wrong email on previous changelog
Nathan Sidwell [Mon, 8 Jan 2001 11:33:46 +0000 (11:33 +0000)]
Oops, wrong email on previous changelog

From-SVN: r38797

23 years agodecl.c (struct binding_level): Adjust class_shadowed comments to reflect reality.
Nathan Sidwell [Mon, 8 Jan 2001 11:30:22 +0000 (11:30 +0000)]
decl.c (struct binding_level): Adjust class_shadowed comments to reflect reality.

cp:
* decl.c (struct binding_level): Adjust class_shadowed comments
to reflect reality.
(push_class_level_binding): Ajust comments to reflect reality.
Set IDENTIFIER_CLASS_VALUE when replacing an existing binding.
Don't set TREE_VALUE on the class_shadowed list.
testsuite:
* g++.old-deja/g++.other/lookup16.C: Remove XFAIL.

From-SVN: r38796

23 years agoDaily bump.
Jeff Law [Mon, 8 Jan 2001 08:45:09 +0000 (01:45 -0700)]
Daily bump.

From-SVN: r38795

23 years agoMakefile.am: Use the new "-M -MF" option for generating dependencies from the c+...
Bryce McKinlay [Mon, 8 Jan 2001 07:55:25 +0000 (07:55 +0000)]
Makefile.am: Use the new "-M -MF" option for generating dependencies from the c++ compiler.

* Makefile.am: Use the new "-M -MF" option for generating dependencies
from the c++ compiler.
* Makefile.in: Rebuilt.

From-SVN: r38794

23 years ago* libjava.compile/SuperConstr.java: New test case.
Bryce McKinlay [Mon, 8 Jan 2001 02:13:32 +0000 (02:13 +0000)]
* libjava.compile/SuperConstr.java: New test case.

From-SVN: r38793

23 years agodecl2.c (grokfield): Don't accept `asm' specifiers for non-static data members.
Mark Mitchell [Mon, 8 Jan 2001 01:58:54 +0000 (01:58 +0000)]
decl2.c (grokfield): Don't accept `asm' specifiers for non-static data members.

* decl2.c (grokfield): Don't accept `asm' specifiers for
non-static data members.

From-SVN: r38792

23 years agoggc-page.c (max_alignment): New structure.
Mark Mitchell [Mon, 8 Jan 2001 01:38:53 +0000 (01:38 +0000)]
ggc-page.c (max_alignment): New structure.

* ggc-page.c (max_alignment): New structure.
(MAX_ALIGNMENT): New macro.
(init_ggc): Use it to round up the sizes in the
extra_order_size_table.

From-SVN: r38791

23 years agors6000.h (EPILOGUE_USES): New, mark link register after reload.
Franz Sirl [Mon, 8 Jan 2001 01:07:31 +0000 (01:07 +0000)]
rs6000.h (EPILOGUE_USES): New, mark link register after reload.

2001-01-07  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>

* config/rs6000/rs6000.h (EPILOGUE_USES): New, mark link register
after reload.

From-SVN: r38790

23 years ago001-01-07 Anthony Green <green@redhat.com>
Anthony Green [Mon, 8 Jan 2001 00:27:51 +0000 (00:27 +0000)]
001-01-07  Anthony Green  <green@redhat.com>

* Makefile.am (texinfo): Add texinfo target for generating texinfo
        documentation.
* Makefile.in: Rebuilt.

* scripts/TexinfoDoclet.java: New file.

* doc/java-applet.texi, doc/java-lang-reflect.texi,
doc/java-awt-color.texi, doc/java-lang.texi,
doc/java-awt-datatransfer.texi, doc/java-math.texi,
        doc/java-awt-event.texi, doc/java-net.texi,
doc/java-awt-geom.texi, doc/java-security-spec.texi,
doc/java-awt-image.texi, doc/java-security.texi,
doc/java-awt-peer.texi, doc/java-sql.texi, doc/java-awt.texi,
doc/java-text.texi, doc/java-beans-beancontext.texi,
        doc/java-util-jar.texi, doc/java-beans.texi,
doc/java-util-zip.texi, doc/java-io.texi, doc/java-util.texi,
doc/java-lang-ref.texi: New files.

From-SVN: r38789

23 years agobuiltins.def (BUILT_IN_FPRINTF): New entry.
Kaveh R. Ghazi [Sun, 7 Jan 2001 23:15:47 +0000 (23:15 +0000)]
builtins.def (BUILT_IN_FPRINTF): New entry.

* builtins.def (BUILT_IN_FPRINTF): New entry.

* c-common.c (c_expand_builtin_fprintf): New function.
(init_function_format_info): Handle __builtin_fprintf.
(c_common_nodes_and_builtins): Declare fprintf/__builtin_fprintf.
(c_expand_builtin): Handle BUILT_IN_FPRINTF.

* c-decl.c (duplicate_decls): Adjust comment.

* extend.texi (fprintf): Document new builtin.

testsuite:
* gcc.c-torture/execute/stdio-opt-3.c: New test.

From-SVN: r38788

23 years ago* expr.c (cplus_expand_expr): Don't reset `target'.
Kaveh R. Ghazi [Sun, 7 Jan 2001 23:03:53 +0000 (23:03 +0000)]
* expr.c (cplus_expand_expr): Don't reset `target'.

From-SVN: r38787

23 years agojump.c (simplejump_p): Recognize any single_set jump of the proper form.
Richard Henderson [Sun, 7 Jan 2001 22:50:50 +0000 (14:50 -0800)]
jump.c (simplejump_p): Recognize any single_set jump of the proper form.

        * jump.c (simplejump_p): Recognize any single_set jump
        of the proper form.

From-SVN: r38786

23 years agot-linux (SHLIB_INSTALL): Double quote slibdir; fix typo in rm -f.
Richard Henderson [Sun, 7 Jan 2001 21:55:10 +0000 (13:55 -0800)]
t-linux (SHLIB_INSTALL): Double quote slibdir; fix typo in rm -f.

        * config/t-linux (SHLIB_INSTALL): Double quote slibdir;
        fix typo in rm -f.
        * config/t-aix43 (SHLIB_INSTALL): Likewise.
        * config/alpha/t-osf4 (SHLIB_INSTALL): Likewise.
        (SHLIB_LINK): Create links for the soname.
        * config/mips/t-iris6: Likewise.
        * config/sparc/t-slibgcc: Likewise.
        * config/sparc/t-slibgcc-sld: Likewise.

From-SVN: r38785

23 years agoconfigure.in (slibdir): Accept an --with-slibdir option.
Richard Henderson [Sun, 7 Jan 2001 21:48:30 +0000 (13:48 -0800)]
configure.in (slibdir): Accept an --with-slibdir option.

        * configure.in (slibdir): Accept an --with-slibdir option.
        Use "test" not "[" in configure.  Default to $(libdir).

From-SVN: r38784

23 years agoi386.c (constant_call_address_operand): Accept (const (plus (symbol_ref) (const_int))).
Jakub Jelinek [Sun, 7 Jan 2001 21:30:22 +0000 (22:30 +0100)]
i386.c (constant_call_address_operand): Accept (const (plus (symbol_ref) (const_int))).

* config/i386/i386.c (constant_call_address_operand): Accept
(const (plus (symbol_ref) (const_int))).
* config/i386/i386.h (PREDICATE_CODES): Add CONST for
constant_call_address_operand.

* gcc.c-torture/compile/20010107-1.c: New test.

From-SVN: r38783

23 years agolibgcc2.h (W_TYPE_SIZE): Fix case where MIN_UNITS_PER_WORD == 1 and LONG_LONG_TYPE_SI...
Michael Hayes [Sun, 7 Jan 2001 20:54:35 +0000 (20:54 +0000)]
libgcc2.h (W_TYPE_SIZE): Fix case where MIN_UNITS_PER_WORD == 1 and LONG_LONG_TYPE_SIZE > 32.

* libgcc2.h (W_TYPE_SIZE): Fix case where MIN_UNITS_PER_WORD == 1
and LONG_LONG_TYPE_SIZE > 32.

From-SVN: r38782

23 years agoFix bug in URLConnection and correct javadoc annotations in StringBuffer.
Anthony Green [Sun, 7 Jan 2001 20:01:46 +0000 (20:01 +0000)]
Fix bug in URLConnection and correct javadoc annotations in StringBuffer.

From-SVN: r38781

23 years agojump.c (reversed_comparison_code_parts): Fix typo introduced by the previous change.
Gerald Pfeifer [Sun, 7 Jan 2001 19:09:44 +0000 (20:09 +0100)]
jump.c (reversed_comparison_code_parts): Fix typo introduced by the previous change.

* jump.c (reversed_comparison_code_parts): Fix typo introduced by
the previous change.

From-SVN: r38780

23 years agojump.c (reversed_comparison_code_parts, [...]): New.
Jan Hubicka [Sun, 7 Jan 2001 18:39:19 +0000 (19:39 +0100)]
jump.c (reversed_comparison_code_parts, [...]): New.

* jump.c (reversed_comparison_code_parts, reversed_comparison_code):
New.
(can_reverse_comparison_p): Rewrite to use reversed_comparison_code.
(reverse_condition_maybe_unordered): Abort on unsigned comparisons.
* rtl.h (reversed_comparison_code_parts, reversed_comparison_code):
Declare.

From-SVN: r38779

23 years ago* fix-header.c (read_scan_file): s/pfile/scan_in/.
Neil Booth [Sun, 7 Jan 2001 17:42:22 +0000 (17:42 +0000)]
* fix-header.c (read_scan_file): s/pfile/scan_in/.

From-SVN: r38778

23 years agoc-lang.c (c_post_options): Call cpp_post_options.
Neil Booth [Sun, 7 Jan 2001 15:17:07 +0000 (15:17 +0000)]
c-lang.c (c_post_options): Call cpp_post_options.

        * c-lang.c (c_post_options): Call cpp_post_options.
        * cppmain.c (main): Similarly.
        * fix-header.c (read_scan_file): Similarly.
        * cp/decl2.c (cxx_post_options): Similarly.
        * objc/objc-act.c (objc_post_options): Similarly.
        * cppinit.c (cpp_start_read): Move option consistency checks
        to cpp_post_options.  Don't call init_dependency_output.
        If needed, add default target and main file dependency.
        (OPT_MD, OPT_MMD): Remove.
        (OPT_MF): New.
        (cpp_handle_option): Update for OPT_* changes.
        (cpp_post_options): New.
        (init_dependency_output): Command line -MF overrides environment
        variables.  Don't set default target etc.  Suppress output
        if dependencies are going to stdout.
        (print_help): Update.
        * cpplib.h (cpp_post_options): New.
        * gcc.c (cpp_options): Update for -MD, -MMD, -MF.

From-SVN: r38777

23 years ago* jump.c (comparison_dominates_p): Support unordered compares.
Jan Hubicka [Sun, 7 Jan 2001 13:45:33 +0000 (14:45 +0100)]
* jump.c (comparison_dominates_p): Support unordered compares.

From-SVN: r38776

23 years agosimplify-rtx.c (simplify_relational_operation): Always simplify ORDERED and UNORDERED...
Jan Hubicka [Sun, 7 Jan 2001 13:40:09 +0000 (14:40 +0100)]
simplify-rtx.c (simplify_relational_operation): Always simplify ORDERED and UNORDERED when FLAG_FAST_MATH.

* simplify-rtx.c (simplify_relational_operation): Always simplify
ORDERED and UNORDERED when FLAG_FAST_MATH.  Handle properly UNLE
and UNGE.

From-SVN: r38775

23 years agocombine.c (combine_simplify_rtx): Recognize the unordered compares.
Jan Hubicka [Sun, 7 Jan 2001 13:37:32 +0000 (14:37 +0100)]
combine.c (combine_simplify_rtx): Recognize the unordered compares.

* combine.c (combine_simplify_rtx): Recognize the unordered compares.
(nonzero_bits): Likewise.
(simplify_comparison): Likewise.
(num_sign_bit_copies): Likewise; return more sane value depending
on STORE_FLAG_VALUE.
(known_cond): Do not assume EQ to be always true for equivalent
operands.

From-SVN: r38774

23 years ago* cse.c (fold_rtx): Handle unordered comparisons.
Jan Hubicka [Sun, 7 Jan 2001 13:32:59 +0000 (14:32 +0100)]
* cse.c (fold_rtx): Handle unordered comparisons.

From-SVN: r38773

23 years agortlanal.c (set_of_1): New static function.
Jan Hubicka [Sun, 7 Jan 2001 13:06:43 +0000 (14:06 +0100)]
rtlanal.c (set_of_1): New static function.

* rtlanal.c (set_of_1): New static function.
(reg_set_last_1, reg_set_p_1, reg_set_reg, reg_set_flag,
 reg_set_last_unknown, reg_set_last_value, reg_set_last_first_regno,
 reg_set_last_last_regno): Remove.
(set_of): New global function.
(set_of_data): New structure.
(reg_set_p, reg_set_last): Revamp for set_of.
* rtl.h (set_of): New.

From-SVN: r38772

23 years agoc-common.c (c_common_nodes_and_builtins): Add _Exit builtin.
Joseph Myers [Sun, 7 Jan 2001 11:26:15 +0000 (11:26 +0000)]
c-common.c (c_common_nodes_and_builtins): Add _Exit builtin.

* c-common.c (c_common_nodes_and_builtins): Add _Exit builtin.
* extend.texi: Document _Exit builtin.

testsuite:
* gcc.c-torture/execute/builtin-noret-1.c: New test.

From-SVN: r38771

23 years ago(initialize, [...]): Rename s/initialize/init.
Neil Booth [Sun, 7 Jan 2001 11:15:13 +0000 (11:15 +0000)]
(initialize, [...]): Rename s/initialize/init.

        * (initialize, initialize_builtins,
        initialize_dependency_output, initialize_standard_includes):
        Rename s/initialize/init. Update.
        (init_dependency_output): Move to after
        cpp_handle_options, the correct location temporally at least.
        (opt_comp): Move next to init (), its caller.  Fix prototype.
        (init): Make "initialized" local scope.
        (cpp_create_reader): Always call init ().
        (cpp_start_read): Update.
        (output_deps): New function, broken out of cpp_finish.
        (cpp_finish): Break out output_deps.

From-SVN: r38770

23 years agoFix typo.
Alexandre Oliva [Sun, 7 Jan 2001 11:14:39 +0000 (11:14 +0000)]
Fix typo.

From-SVN: r38769

23 years agocollect2.c (COFF specific stuff): Revert 12-06 patch to prototype system functions.
Richard Henderson [Sun, 7 Jan 2001 10:46:09 +0000 (02:46 -0800)]
collect2.c (COFF specific stuff): Revert 12-06 patch to prototype system functions.

        * collect2.c (COFF specific stuff): Revert 12-06 patch
        to prototype system functions.

From-SVN: r38768

23 years agoformat.h: New file.
Joseph Myers [Sun, 7 Jan 2001 10:44:59 +0000 (10:44 +0000)]
format.h: New file.

* gcc.dg/format/format.h: New file.
* gcc.dg/format/array-1.c, gcc.dg/format/attr-1.c,
gcc.dg/format/branch-1.c, gcc.dg/format/c90-printf-1.c,
gcc.dg/format/c90-printf-2.c, gcc.dg/format/c90-printf-3.c,
gcc.dg/format/c90-scanf-1.c, gcc.dg/format/c90-scanf-2.c,
gcc.dg/format/c90-scanf-3.c, gcc.dg/format/c90-scanf-4.c,
gcc.dg/format/c90-strftime-1.c, gcc.dg/format/c90-strftime-2.c,
gcc.dg/format/c94-printf-1.c, gcc.dg/format/c94-scanf-1.c,
gcc.dg/format/c99-printf-1.c, gcc.dg/format/c99-printf-2.c,
gcc.dg/format/c99-printf-3.c, gcc.dg/format/c99-scanf-1.c,
gcc.dg/format/c99-scanf-2.c, gcc.dg/format/c99-scanf-3.c,
gcc.dg/format/c99-strftime-1.c, gcc.dg/format/c99-strftime-2.c,
gcc.dg/format/diag-1.c, gcc.dg/format/errmk-1.c,
gcc.dg/format/ext-1.c, gcc.dg/format/ext-2.c,
gcc.dg/format/ext-3.c, gcc.dg/format/ext-4.c,
gcc.dg/format/ext-5.c, gcc.dg/format/miss-1.c,
gcc.dg/format/miss-2.c, gcc.dg/format/no-exargs-1.c,
gcc.dg/format/no-y2k-1.c, gcc.dg/format/nonlit-1.c,
gcc.dg/format/nonlit-2.c, gcc.dg/format/nonlit-3.c,
gcc.dg/format/sec-1.c, gcc.dg/format/strfmon-1.c,
gcc.dg/format/va-1.c, gcc.dg/format/warnll-1.c,
gcc.dg/format/xopen-1.c, gcc.dg/format/z-1.c: Include "format.h"
instead of declaring standard types, macros and functions in each
test.

From-SVN: r38767

23 years agohard-reg-set.h: Add multiple include guard.
Michael Hayes [Sun, 7 Jan 2001 10:38:29 +0000 (10:38 +0000)]
hard-reg-set.h: Add multiple include guard.

* hard-reg-set.h: Add multiple include guard.
* basic-block.h (struct loop): Add `sink' field.
* loop.h: Include sbitmap.h, hard-reg-set.h, and basic-block.h.
(emit_iv_add_mult): Delete.
(loop_iv_add_mult_hoist, loop_iv_add_mult_sink): Define.
(loop_iv_add_mult_emit_before, loop_insn_sink): Define.
(unroll_loop): Remove end_insert_before argument.
* loop.c (loop_givs_rescan): Remove end_insert_before argument.
(maybe_eliminate_biv_1): Likewise.
(emit_iv_add_mult): Delete.
(gen_add_mult, loop_regs_update): New.
(loop_insn_emit_after, loop_insn_emit_before): New.
(loop_insn_sink, loop_insn_sink_or_swim): New.
(emit_iv_add_mult): Delete.
(scan_loop): Set loop->sink.
(loop_givs_reduce): Use loop_insn_sink and its ilk.
(loop_givs_rescan, strength_reduce, check_dbra_loop): Likewise.
(maybe_eliminate_biv_1): Likewise.
(maybe_eliminate_biv_1): Add basic block argument.
* unroll.c (unroll_loop): Remove end_insert_before argument.
(find_splittable_regs): Likewise.
(find_splittable_regs): Use loop_insn_sink and its ilk.
(find_splittable_givs, final_biv_value, final_giv_value): Likewise.

From-SVN: r38766

23 years agoloop.h (loop_insn_hoist): New prototype.
Michael Hayes [Sun, 7 Jan 2001 10:03:39 +0000 (10:03 +0000)]
loop.h (loop_insn_hoist): New prototype.

* loop.h (loop_insn_hoist): New prototype.
* loop.c (loop_insn_hoist, loop_insn_emit_before): New.
(move_movables, loop_givs_rescan): Use loop_insn_hoist.
(check_dbra_loop, load_mems): Likewise.
* unroll.c (unroll_loop, find_splittable_regs): Likewise.
(find_splittable_givs): Likewise.

From-SVN: r38765

23 years ago* loop.c (emit_iv_add_mult): Use single_set to examine new insn.
Michael Hayes [Sun, 7 Jan 2001 09:59:09 +0000 (09:59 +0000)]
* loop.c (emit_iv_add_mult): Use single_set to examine new insn.

From-SVN: r38764

23 years ago* sched-rgn.c (is_cfg_nonregular): Fix thinko's last change.
Richard Henderson [Sun, 7 Jan 2001 09:53:21 +0000 (01:53 -0800)]
* sched-rgn.c (is_cfg_nonregular): Fix thinko's last change.

From-SVN: r38763

23 years agoMakefile.in (DRIVER_DEFINES): Define ENABLE_SHARED_LIBGCC and NO_SHARED_LIBGCC_MULTIL...
Richard Henderson [Sun, 7 Jan 2001 09:42:49 +0000 (01:42 -0800)]
Makefile.in (DRIVER_DEFINES): Define ENABLE_SHARED_LIBGCC and NO_SHARED_LIBGCC_MULTILIB as required for the...

        * Makefile.in (DRIVER_DEFINES): Define ENABLE_SHARED_LIBGCC and
        NO_SHARED_LIBGCC_MULTILIB as required for the target.
        * gcc.c (init_spec): Massage the existing libgcc_spec into a
        variant that handles a shared libgcc.
        (process_command): Always validate -{static,shared}-libgcc.
        (do_spec_1): New 'M' case.
        * invoke.text (Link Options): Document -{static,shared}-libgcc.

From-SVN: r38762

23 years agoMakefile.in (slibdir): New variable.
Richard Henderson [Sun, 7 Jan 2001 09:27:25 +0000 (01:27 -0800)]
Makefile.in (slibdir): New variable.

        * Makefile.in (slibdir): New variable.
        (libgcc.mk): Pass SHLIB_INSTALL to mklibgcc.
        (installdirs): Create slibdir.
        (install-libgcc, install-multilib): Defer to libgcc.mk.
        * configure.in (slibdir): Substitute.
        * mklibgcc.in (install): New target.

        * config/t-linux (SHLIB_LINK): Create links for the soname.
        (SHLIB_INSTALL): New.
        * config/alpha/t-osf4 (SHLIB_INSTALL): New.
        * config/mips/t-iris6 (SHLIB_INSTALL): New.
        * config/rs6000/t-aix43 (SHLIB_INSTALL): New.
        * config/sparc/t-slibgcc (SHLIB_INSTALL): New.
        * config/sparc/t-slibgcc-sld (SHLIB_INSTALL): New.

From-SVN: r38761

23 years agoaix.h (LINK_LIBGCC_SPECIAL_1): New.
Richard Henderson [Sun, 7 Jan 2001 09:17:24 +0000 (01:17 -0800)]
aix.h (LINK_LIBGCC_SPECIAL_1): New.

        * config/rs6000/aix.h (LINK_LIBGCC_SPECIAL_1): New.
        * config/rs6000/rs6000.h (LIBGCC_SPEC): Remove.
        * config/rs6000/sysv4.h (LIBGCC_SPEC): Remove.

From-SVN: r38760

23 years agoDaily bump.
Jeff Law [Sun, 7 Jan 2001 08:45:08 +0000 (01:45 -0700)]
Daily bump.

From-SVN: r38759

23 years agoloop.c (count_loop_regs_set): Delete.
Michael Hayes [Sun, 7 Jan 2001 03:59:47 +0000 (03:59 +0000)]
loop.c (count_loop_regs_set): Delete.

* loop.c (count_loop_regs_set): Delete.
(load_mems_and_recount_loop_regs_set): Delete.
(loop_regs_scan): Merge common code from count_loop_regs_set,
scan_loop, and load_mems_and_recount_loop_regs_set.
(scan_loop): Call load_mems directly and loop_regs_scan
again if new registers created.

From-SVN: r38758

23 years agotoplev.c (main): Call the front-end specific post_options hook if one is given.
Neil Booth [Sun, 7 Jan 2001 03:34:28 +0000 (03:34 +0000)]
toplev.c (main): Call the front-end specific post_options hook if one is given.

        * toplev.c (main): Call the front-end specific post_options
        hook if one is given.
        * toplev.h (struct_lang_hooks, lang_hooks): New.
        * c-lang.c (c_post_options, lang_hooks): Implement lang_hooks
        for the C front end.
        * cp/decl2.c (cxx_post_options, lang_hooks): Implement
        lang_hooks for the C++ front end.
        * objc/objc-act.c (objc_post_options, lang_hooks): Implement
        lang_hooks for the ObjC front end.
        * f/com.c (lang_hooks): Hooks for the Fortran front end.
        * java/lang.c (lang_hooks): Hooks for the Java front end.

From-SVN: r38757

23 years agoc-lex.c (init_c_lex): Request #define / #undef callbacks for verbose DWARF[2] debugging.
Neil Booth [Sun, 7 Jan 2001 03:25:07 +0000 (03:25 +0000)]
c-lex.c (init_c_lex): Request #define / #undef callbacks for verbose DWARF[2] debugging.

        * c-lex.c (init_c_lex): Request #define / #undef callbacks
        for verbose DWARF[2] debugging.
        (cb_define, cb_undef): The new callbacks.
        * toplev.h (debug_define, debug_undef): Make const correct.
        * toplev.c (debug_define, debug_undef): Similarly.  Do not
        perform the verbosity tests here anymore.

From-SVN: r38756

23 years agoreload.c (subst_reloads): Take INSN argument.
Alexandre Oliva [Sun, 7 Jan 2001 02:26:51 +0000 (02:26 +0000)]
reload.c (subst_reloads): Take INSN argument.

* reload.c (subst_reloads): Take INSN argument.  When
replacing a LABEL_REF in a JUMP_INSN, add a REG_LABEL note.
* reload.h (subst_reloads): Adjust prototype.
* reload1.c (reload_as_needed): Pass INSN to subst_reloads.
* jump.c (mark_all_labels): Canonicalize any REG_LABEL notes
present in JUMP_INSNs and copy them to JUMP_LABEL.
* flow.c (find_label_refs, find_basic_blocks_1): Skip
JUMP_INSNs and insns with REG_LABELs that are followed by
JUMP_INSNs with the same REG_LABEL.
* sched-rgn.c (is_cfg_nonregular): Likewise.
* rtlanal.c (computed_jump_p): Make it false if a REG_LABEL
note is available.
* unroll.c (unroll_loop): Look for REG_LABEL notes in
JUMP_INSNs too.
* rtl.texi (REG_LABEL): Document usage in JUMP_INSNs.

From-SVN: r38755

23 years agoFix comments for doclets
Anthony Green [Sat, 6 Jan 2001 23:28:40 +0000 (23:28 +0000)]
Fix comments for doclets

From-SVN: r38754

23 years ago* gcc.c-torture/execute/20010106-1.c: New test.
Alexandre Oliva [Sat, 6 Jan 2001 23:15:05 +0000 (23:15 +0000)]
* gcc.c-torture/execute/20010106-1.c: New test.

From-SVN: r38753

23 years agoloop.c (scan_loop): Use xcalloc for the regs array.
Richard Henderson [Sat, 6 Jan 2001 23:13:58 +0000 (15:13 -0800)]
loop.c (scan_loop): Use xcalloc for the regs array.

        * loop.c (scan_loop): Use xcalloc for the regs array.
        (load_mems_and_recount_loop_regs_set): Zero the new memory
        received from xrealloc.

From-SVN: r38752

23 years agoformat.exp: New file.
Joseph Myers [Sat, 6 Jan 2001 18:47:19 +0000 (18:47 +0000)]
format.exp: New file.

* gcc.dg/format/format.exp: New file.
* gcc.dg/c90-printf-1.c: Rename to gcc.dg/format/c90-printf-1.c.
* gcc.dg/c90-printf-2.c: Rename to gcc.dg/format/c90-printf-2.c.
* gcc.dg/c90-printf-3.c: Rename to gcc.dg/format/c90-printf-3.c.
* gcc.dg/c94-printf-1.c: Rename to gcc.dg/format/c94-printf-1.c.
* gcc.dg/c99-printf-1.c: Rename to gcc.dg/format/c99-printf-1.c.
* gcc.dg/c99-printf-2.c: Rename to gcc.dg/format/c99-printf-2.c.
* gcc.dg/c99-printf-3.c: Rename to gcc.dg/format/c99-printf-3.c.
* gcc.dg/c90-scanf-1.c: Rename to gcc.dg/format/c90-scanf-1.c.
* gcc.dg/c90-scanf-2.c: Rename to gcc.dg/format/c90-scanf-2.c.
* gcc.dg/c90-scanf-3.c: Rename to gcc.dg/format/c90-scanf-3.c.
* gcc.dg/c90-scanf-4.c: Rename to gcc.dg/format/c90-scanf-4.c.
* gcc.dg/c94-scanf-1.c: Rename to gcc.dg/format/c94-scanf-1.c.
* gcc.dg/c99-scanf-1.c: Rename to gcc.dg/format/c99-scanf-1.c.
* gcc.dg/c99-scanf-2.c: Rename to gcc.dg/format/c99-scanf-2.c.
* gcc.dg/c99-scanf-3.c: Rename to gcc.dg/format/c99-scanf-3.c.
* gcc.dg/c90-strftime-1.c: Rename to gcc.dg/format/c90-strftime-1.c.
* gcc.dg/c90-strftime-2.c: Rename to gcc.dg/format/c90-strftime-2.c.
* gcc.dg/c99-strftime-1.c: Rename to gcc.dg/format/c99-strftime-1.c.
* gcc.dg/c99-strftime-2.c: Rename to gcc.dg/format/c99-strftime-2.c.
* gcc.dg/format-array-1.c: Rename to gcc.dg/format/array-1.c.
* gcc.dg/format-attr-1.c: Rename to gcc.dg/format/attr-1.c.
* gcc.dg/format-branch-1.c: Rename to gcc.dg/format/branch-1.c.
* gcc.dg/format-diag-1.c: Rename to gcc.dg/format/diag-1.c.
* gcc.dg/format-errmk-1.c: Rename to gcc.dg/format/errmk-1.c.
* gcc.dg/format-ext-1.c: Rename to gcc.dg/format/ext-1.c.
* gcc.dg/format-ext-2.c: Rename to gcc.dg/format/ext-2.c.
* gcc.dg/format-ext-3.c: Rename to gcc.dg/format/ext-3.c.
* gcc.dg/format-ext-4.c: Rename to gcc.dg/format/ext-4.c.
* gcc.dg/format-ext-5.c: Rename to gcc.dg/format/ext-5.c.
* gcc.dg/format-miss-1.c: Rename to gcc.dg/format/miss-1.c.
* gcc.dg/format-miss-2.c: Rename to gcc.dg/format/miss-2.c.
* gcc.dg/format-no-exargs-1.c: Rename to gcc.dg/format/no-exargs-1.c.
* gcc.dg/format-no-y2k-1.c: Rename to gcc.dg/format/no-y2k-1.c.
* gcc.dg/format-nonlit-1.c: Rename to gcc.dg/format/nonlit-1.c.
* gcc.dg/format-nonlit-2.c: Rename to gcc.dg/format/nonlit-2.c.
* gcc.dg/format-nonlit-3.c: Rename to gcc.dg/format/nonlit-3.c.
* gcc.dg/format-sec-1.c: Rename to gcc.dg/format/sec-1.c.
* gcc.dg/format-strfmon-1.c: Rename to gcc.dg/format/strfmon-1.c.
* gcc.dg/format-va-1.c: Rename to gcc.dg/format/va-1.c.
* gcc.dg/format-warnll-1.c: Rename to gcc.dg/format/warnll-1.c.
* gcc.dg/format-xopen-1.c: Rename to gcc.dg/format/xopen-1.c.
* gcc.dg/formatz-1.c: Rename to gcc.dg/format/z-1.c.

From-SVN: r38749

23 years ago* mkdeps.c (deps_add_dep): Fix vector re-allocation.
Neil Booth [Sat, 6 Jan 2001 11:08:49 +0000 (11:08 +0000)]
* mkdeps.c (deps_add_dep): Fix vector re-allocation.

From-SVN: r38748

23 years agointegrate.c (copy_rtx_and_substitute): When copying an ignored return value, strip...
J"orn Rennecke [Sat, 6 Jan 2001 09:06:13 +0000 (09:06 +0000)]
integrate.c (copy_rtx_and_substitute): When copying an ignored return value, strip REG_FUNCTION_VALUE_P.

* integrate.c (copy_rtx_and_substitute): When copying
an ignored return value, strip REG_FUNCTION_VALUE_P.

From-SVN: r38747

23 years agoDaily bump.
Jeff Law [Sat, 6 Jan 2001 08:45:08 +0000 (01:45 -0700)]
Daily bump.

From-SVN: r38746

23 years agoFrom patha@softlab.ericsson.se:
Bryce McKinlay [Sat, 6 Jan 2001 05:06:02 +0000 (05:06 +0000)]
From patha@softlab.ericsson.se:

* parse.y (switch_label): Use build, not build1, to construct
DEFAULT_EXPR.

From-SVN: r38745

23 years agoloop.c (debug_biv, debug_giv): New.
Michael Hayes [Sat, 6 Jan 2001 03:24:58 +0000 (03:24 +0000)]
loop.c (debug_biv, debug_giv): New.

* loop.c (debug_biv, debug_giv): New.
(loop_biv_dump): Break out from ...
(record_biv): ... here.
(loop_giv_dump): Break out from ...
(record_giv): ... here.
(loop_bivs_check): Use print_simple_rtl.
* unroll.c (loop_iterations): Use print_simple_rtl.

From-SVN: r38744

23 years ago[multiple changes]
Benjamin Kosnik [Sat, 6 Jan 2001 02:44:11 +0000 (02:44 +0000)]
[multiple changes]

2001-01-05  Benjamin Kosnik  <bkoz@redhat.com>

Fix 27_io/filebuf_members.cc
* src/localename.cc (locale::_Impl::_Impl(const _Impl& __imp,
const string& __name, category __cat, size_t __refs): Set
_M_has_name with _M_name.
* include/bits/localefwd.h (locale::operator!=): Protect member
function call with this->.
* src/locale.cc (locale::operator==): Make fast checks first.
* include/bits/basic_ios.tcc (basic_ios::init): Simplify.

* include/bits/ios_base.h (_M_synced_with_stdio): Add data member
to ios_base::Init.
* src/ios.cc (ios_base::Init::Init): Initialize here.
(ios_base::sync_with_stdio): Set here.

2001-01-04  Loren J. Rittle  <ljrittle@acm.org>

        * config/c_io_stdio.cc (__basic_file<_CharT>::sys_open()): On
        systems that support it, call dup() before fdopen().

From-SVN: r38742

23 years agopa.md (return, [...]): Modify patterns to prevent regrename mucking with the return...
John David Anglin [Sat, 6 Jan 2001 01:12:02 +0000 (01:12 +0000)]
pa.md (return, [...]): Modify patterns to prevent regrename mucking with the return pointer.

* pa.md (return, return_internal): Modify patterns to prevent regrename
mucking with the return pointer.

From-SVN: r38741

23 years agoTestcase for recent checkin.
Mike Stump [Sat, 6 Jan 2001 01:02:04 +0000 (01:02 +0000)]
Testcase for recent checkin.

From-SVN: r38740

23 years agovarasm.c (assemble_name): Ensure we output the stripped name.
Mike Stump [Sat, 6 Jan 2001 01:00:23 +0000 (01:00 +0000)]
varasm.c (assemble_name): Ensure we output the stripped name.

* varasm.c (assemble_name): Ensure we output the stripped name.
Fixes s35520.C.

From-SVN: r38739

23 years agoUpdate copyright.
Richard Henderson [Sat, 6 Jan 2001 00:59:05 +0000 (16:59 -0800)]
Update copyright.

From-SVN: r38738

23 years ago* dwarf2out.c (mem_loc_descriptor) [case MEM]: Revert 10-31 change.
Richard Henderson [Sat, 6 Jan 2001 00:57:48 +0000 (16:57 -0800)]
* dwarf2out.c (mem_loc_descriptor) [case MEM]: Revert 10-31 change.

From-SVN: r38737

23 years agoFaster __mulsi routine
Nick Clifton [Sat, 6 Jan 2001 00:46:33 +0000 (00:46 +0000)]
Faster __mulsi routine

From-SVN: r38736

23 years agocpp.texi: Update for -MQ.
Neil Booth [Sat, 6 Jan 2001 00:15:29 +0000 (00:15 +0000)]
cpp.texi: Update for -MQ.

        * cpp.texi: Update for -MQ.
        * cppinit.c (cpp_create_reader): Always create pfile->deps.
        (cpp_cleanup): Always free pfile->deps.
        (initialize_dependency_output): Don't create pfile->deps.
        (cpp_handle_option): Similarly.
        (OPT_MQ): New.
        * gcc.c (cpp_options): Handle -MQ.
        (DEFAULT_WORD_SWITCH_TAKES_ARG): Add -MQ.
        * mkdeps.c (base_name): Remove.
        (deps_init): Don't allocate vector space until it's needed.
        (deps_free): Only free vectors if allocated.
        (deps_add_target, deps_add_dep): Update for initial allocation.
        (deps_add_default_target): Don't strip to the base_name.

From-SVN: r38735

23 years agoImplement __builtin_return_address (0)
DJ Delorie [Sat, 6 Jan 2001 00:00:35 +0000 (19:00 -0500)]
Implement __builtin_return_address (0)

From-SVN: r38734

23 years agocpplib.h (struct cpp_reader): Add help_only field.
Zack Weinberg [Fri, 5 Jan 2001 23:41:00 +0000 (23:41 +0000)]
cpplib.h (struct cpp_reader): Add help_only field.

* cpplib.h (struct cpp_reader): Add help_only field.
* cppinit.c (COMMAND_LINE_OPTIONS): Add OPT_version.
(cpp_handle_option): Set pfile->help_only if we see -h,
--help, -target-help, or --version.  Print version string but
do not set help_only if we see -v or -version.  Make text
printed by -v match that printed by (-)-version.

* cppmain.c (main): Exit after option parsing if
pfile->help_only is true.

* toplev.c (independent_decode_option): Call print_version,
then exit, if we see --version (but not -version).
(print_version): Split lengthy message into two lines.

From-SVN: r38733

23 years agoUse alloca to create temporary string for initialisation before calling
Nick Clifton [Fri, 5 Jan 2001 23:31:43 +0000 (23:31 +0000)]
Use alloca to create temporary string for initialisation before calling
ggc_alloc_string.

From-SVN: r38732

23 years ago* java/io/PipedReader: Synchronize on "lock" instead of this.
Bryce McKinlay [Fri, 5 Jan 2001 23:30:50 +0000 (23:30 +0000)]
* java/io/PipedReader: Synchronize on "lock" instead of this.

From-SVN: r38731

23 years agortl.h (print_simple_rtl): New.
Michael Hayes [Fri, 5 Jan 2001 23:30:02 +0000 (23:30 +0000)]
rtl.h (print_simple_rtl): New.

* rtl.h (print_simple_rtl): New.
* print-rtl.c (print_simple_rtl): New.
(flag_simple): New.
(print_rtx): Disable printing of flags and modes, etc.,
        if `flag_simple` nonzero.

From-SVN: r38730

23 years agofunction.c (fixup_var_refs): Use push_to_full_sequence where possible.
Zack Weinberg [Fri, 5 Jan 2001 23:23:26 +0000 (23:23 +0000)]
function.c (fixup_var_refs): Use push_to_full_sequence where possible.

* function.c (fixup_var_refs): Use push_to_full_sequence where
possible.

From-SVN: r38729

23 years agoDeclare flag_reorder_blocks and flag_rename_registers
Michael Meissner [Fri, 5 Jan 2001 22:56:08 +0000 (22:56 +0000)]
Declare flag_reorder_blocks and flag_rename_registers

From-SVN: r38728

23 years agoNote that INSN_PTR may be the note at the beginning of a block
Alexandre Oliva [Fri, 5 Jan 2001 22:06:56 +0000 (22:06 +0000)]
Note that INSN_PTR may be the note at the beginning of a block

From-SVN: r38726

23 years ago991228-1.c: Take word endianness into account.
Alexandre Oliva [Fri, 5 Jan 2001 22:06:29 +0000 (22:06 +0000)]
991228-1.c: Take word endianness into account.

* gcc.c-torture/execute/991228-1.c: Take word endianness into
account.

From-SVN: r38725

23 years agofunction.c (reorder_blocks): Make sure the flags are all reset before using them...
DJ Delorie [Fri, 5 Jan 2001 21:13:42 +0000 (16:13 -0500)]
function.c (reorder_blocks): Make sure the flags are all reset before using them to mark blocks...

* function.c (reorder_blocks): Make sure the flags are all reset
before using them to mark blocks, else a second invocation will
corrupt the block chain.
(reorder_blocks_0): New, resets the flags.

From-SVN: r38724

23 years agocse.c (find_comparison_args): Stop if the argument is known to be constant.
J"orn Rennecke [Fri, 5 Jan 2001 20:42:30 +0000 (20:42 +0000)]
cse.c (find_comparison_args): Stop if the argument is known to be constant.

* cse.c (find_comparison_args): Stop if the argument is known to
be constant.

From-SVN: r38723

23 years agosh.md (movdf): When splitting load into pair of registers...
Alexandre Oliva [Fri, 5 Jan 2001 20:30:40 +0000 (20:30 +0000)]
sh.md (movdf): When splitting load into pair of registers...

* config/sh/sh.md (movdf): When splitting load into pair of
registers, don't clobber the register used in the address too
early.

From-SVN: r38722

23 years agovarasm.c (mark_constant_pool): Improve initial comments.
Jeffrey Oldham [Fri, 5 Jan 2001 20:25:09 +0000 (20:25 +0000)]
varasm.c (mark_constant_pool): Improve initial comments.

2001-01-05  Jeffrey Oldham  <oldham@codesourcery.com>

* varasm.c (mark_constant_pool): Improve initial comments.
(mark_constants): Move marking of constants to mark_constant.
(mark_constant): New function to recursively mark all constants
referred to by a constant.

From-SVN: r38721

23 years ago(dbxout_parms): Handle invisible ref where decl is a REG
Catherine Moore [Fri, 5 Jan 2001 20:15:24 +0000 (20:15 +0000)]
(dbxout_parms): Handle invisible ref where decl is a REG

From-SVN: r38720

23 years agolang-options.h: Bring comment in line with reality.
Phil Edwards [Fri, 5 Jan 2001 19:12:21 +0000 (19:12 +0000)]
lang-options.h: Bring comment in line with reality.

2001-01-05  Phil Edwards  <pme@sources.redhat.com>

* cp/lang-options.h:  Bring comment in line with reality.
* f/lang-options.h:  Likewise.
* java/lang-options.h:  Likewise.
* objc/lang-options.h:  Likewise.
* ch/lang-options.h:  Likewise.
* f/g77.texi:  And update the manual.

From-SVN: r38719

23 years agoavr-protos.h (avr_peep2_scratch_safe): Prototype.
Marek Michalkiewicz [Fri, 5 Jan 2001 19:08:46 +0000 (20:08 +0100)]
avr-protos.h (avr_peep2_scratch_safe): Prototype.

* config/avr/avr-protos.h (avr_peep2_scratch_safe): Prototype.
* config/avr/avr.c (avr_peep2_scratch_safe): New function.
* config/avr/avr.md (all peepholes that request a scratch register):
Call it, FAIL the peephole if not safe (in interrupt functions).

Co-Authored-By: Denis Chertykov <denisc@overta.ru>
From-SVN: r38718

23 years ago* ggc-page.c (NUM_EXTRA_ORDERS): Hardwire to zero for now.
Mark Mitchell [Fri, 5 Jan 2001 18:48:12 +0000 (18:48 +0000)]
* ggc-page.c (NUM_EXTRA_ORDERS): Hardwire to zero for now.

From-SVN: r38717

23 years agobuiltins.def (BUILT_IN_CONJ, [...]): Define.
Joseph Myers [Fri, 5 Jan 2001 18:24:08 +0000 (18:24 +0000)]
builtins.def (BUILT_IN_CONJ, [...]): Define.

* builtins.def (BUILT_IN_CONJ, BUILT_IN_CREAL, BUILT_IN_CIMAG):
Define.
* builtins.c (expand_builtin): Abort on BUILT_IN_CONJ,
BUILT_IN_CREAL and BUILT_IN_CIMAG.
* c-common.c (c_common_nodes_and_builtins): Create builtin conjf,
conj, conjl, crealf, creal, creall, cimagf, cimag and cimagl.
(expand_tree_builtin): Handle BUILT_IN_CONJ, BUILT_IN_CREAL and
BUILT_IN_CIMAG.
* extend.texi: Document these builtins.

testsuite:
* gcc.c-torture/execute/builtin-complex-1.c: New test.

From-SVN: r38716

23 years agoVECTOR_TYPE fixes for aliasing, and dwarf2 output.
Daniel Berlin [Fri, 5 Jan 2001 17:22:30 +0000 (17:22 +0000)]
VECTOR_TYPE fixes for aliasing, and dwarf2 output.

From-SVN: r38715

23 years agoparse.y (template_datadef): Check for error_mark_node.
Nathan Sidwell [Fri, 5 Jan 2001 16:35:36 +0000 (16:35 +0000)]
parse.y (template_datadef): Check for error_mark_node.

cp:
* parse.y (template_datadef): Check for error_mark_node.
testsuite:
* g++.old-deja/g++.pt/crash62.C: New test.

From-SVN: r38714

23 years agofix exit and atexit calls for vax-*-bsd systems
Bruce Korb [Fri, 5 Jan 2001 16:28:58 +0000 (16:28 +0000)]
fix exit and atexit calls for vax-*-bsd systems

From-SVN: r38713

23 years agoarm.md (ldmsi_postinc): Avoid use of match_dup between input and output operands.
Richard Earnshaw [Fri, 5 Jan 2001 16:15:59 +0000 (16:15 +0000)]
arm.md (ldmsi_postinc): Avoid use of match_dup between input and output operands.

* arm.md (ldmsi_postinc): Avoid use of match_dup between input and
output operands.  Use arm_hard_register_operand for operand 4.
(stmsi_postinc): Similarly.
(ldmsi): Use arm_hard_register_operand for opernand 2.
(stmsi): Similarly.
* arm.c (arm_hard_register_operand): New function.
* arm-protos.h (arm_hard_register_operand): Prototype it.

* arm.h (HARD_REGNO_RENAME_OK): Define.

From-SVN: r38712

23 years agosimplify-rtx.c (cfc_args): add "unordered" field.
Jan Hubicka [Fri, 5 Jan 2001 15:34:39 +0000 (16:34 +0100)]
simplify-rtx.c (cfc_args): add "unordered" field.

* simplify-rtx.c (cfc_args): add "unordered" field.
(check_fold_consts): Set unordered field.
(simplify_relational_operation): Simplify the unordered
comparisons.

* reg-stack.c (swap_rtx_condition): Ensure that the transformation
is valid.

* emit-rtl.c (try_split): Fix code to mark labels.
* jump.c (mark_jump_label): Make global.
* rtl.h (mark_jump_label): Declare.

* predict.c (estimate_probability): Handle unordred comparisons.

From-SVN: r38711

23 years agocp-tree.def (DEFAULT_ARG): Make `x' class.
Nathan Sidwell [Fri, 5 Jan 2001 11:41:27 +0000 (11:41 +0000)]
cp-tree.def (DEFAULT_ARG): Make `x' class.

cp:
* cp-tree.def (DEFAULT_ARG): Make `x' class.

From-SVN: r38710

23 years agoDaily bump.
Jeff Law [Fri, 5 Jan 2001 08:45:11 +0000 (01:45 -0700)]
Daily bump.

From-SVN: r38709

23 years agoPipedInputStream: Rewrote to be simpler and more correct.
Bryce McKinlay [Fri, 5 Jan 2001 08:23:51 +0000 (08:23 +0000)]
PipedInputStream: Rewrote to be simpler and more correct.

* java/io/PipedInputStream: Rewrote to be simpler and more correct.
* java/io/PipedOutputStream: Updated to match new PipedInputStream.
* java/io/PipedReader: New implementation based on new
PipedInputStream.
* java/io/PipedWriter: Updated to match new PipedOutputStream.

From-SVN: r38708

23 years agocpp.texi: Update for -MP.
Neil Booth [Fri, 5 Jan 2001 07:50:24 +0000 (07:50 +0000)]
cpp.texi: Update for -MP.

        * cpp.texi: Update for -MP.  Clarify behaviour of -MT.
        * cppinit.c (initialize_dependency_output):  Update.
        (cpp_finish): Output dummy targets for -MP.
        (OPT_MP): New.
        (cpp_handle_option): Handle -MP.  Don't quote -MT options.
        * cpplib.h (struct cpp_options): Add deps_phony_targets.
        * gcc.c (cpp_options): Update to handle -MP.
        * mkdeps.c (deps_add_target, deps_add_default_target): Update
        to quote only the default target.
        (deps_phony_targets): Insert a preceding newline.  Rename from
        deps_dummy_targets for consistency.
        * mkdeps.h: Update
java:
        * lang.c (lang_decode_option): Change -MA to -MP.
        * jcf-depend.c (jcf_dependency_add_target, jcf_dependency_set_target):
        Update to new prototype; do quote targets.
        (jcf_dependency_write): Update.

From-SVN: r38707

23 years agocalls.c (emit_library_call_value_1): Support INIT_CUMULATIVE_LIBCALL_ARGS.
Alexandre Oliva [Fri, 5 Jan 2001 07:38:47 +0000 (07:38 +0000)]
calls.c (emit_library_call_value_1): Support INIT_CUMULATIVE_LIBCALL_ARGS.

* calls.c (emit_library_call_value_1): Support
INIT_CUMULATIVE_LIBCALL_ARGS.
* tm.texi (INIT_CUMULATIVE_LIBCALL_ARGS): Document it.

From-SVN: r38706

23 years agoc-decl.c (finish_struct): Detect flexible array members used in an inappropriate...
Richard Henderson [Fri, 5 Jan 2001 05:58:23 +0000 (21:58 -0800)]
c-decl.c (finish_struct): Detect flexible array members used in an inappropriate context.

        * c-decl.c (finish_struct): Detect flexible array members
        used in an inappropriate context.
        * c-typeck.c (really_start_incremental_init): Special case
        constructor_max_index for zero length arrays.
        (pop_init_level): Allow initialization of flexible array
        members.  Deprecate initialization of zero length arrays.
        Don't issue missing initializer warning for flexible array
        members or zero length arrays.
        (process_init_element): Don't dereference null DECL_SIZE.
        * varasm.c (array_size_for_constructor): Return a HOST_WIDE_INT.
        Don't abort for empty constructors.  Use size_binop
        (output_constructor): Add commentary regarding zero length
        array futures.  Abort if we try to initialize an array of
        unspecified length with a non-empty constructor in the middle
        of a structure.

        * extend.texi (Zero Length): Update and clarify documentation
        on static initialization.

From-SVN: r38705

23 years ago20000926-1.c: Update expected warnings.
Richard Henderson [Fri, 5 Jan 2001 05:56:00 +0000 (21:56 -0800)]
20000926-1.c: Update expected warnings.

        * gcc.dg/20000926-1.c: Update expected warnings.
        * gcc.dg/array-2.c: Likewise.
        * gcc.dg/array-4.c: Also validate flexible array members.
        * gcc.dg/c99-flex-array-1.c: New.

From-SVN: r38704

23 years agoc4x.c (c4x_expand_prologue): Don't compile an ISR with more than 32767 words of local...
Michael Hayes [Fri, 5 Jan 2001 04:09:02 +0000 (04:09 +0000)]
c4x.c (c4x_expand_prologue): Don't compile an ISR with more than 32767 words of local storage.

* config/c4x/c4x.c (c4x_expand_prologue): Don't compile an ISR
with more than 32767 words of local storage.

From-SVN: r38703

23 years agoc4x.c (c4x_init_builtins): Remove builtin support for 'abs', 'labs', and 'fabs'.
Michael Hayes [Fri, 5 Jan 2001 03:58:12 +0000 (03:58 +0000)]
c4x.c (c4x_init_builtins): Remove builtin support for 'abs', 'labs', and 'fabs'.

* config/c4x/c4x.c (c4x_init_builtins): Remove builtin support
for 'abs', 'labs', and 'fabs'.
(c4x_expand_builtin): Likewise.
* config/c4x/c4x.h (enum c4x_builtins): Likewise.

From-SVN: r38702

23 years agosh.md (prget, prset): New insn types.
Alexandre Oliva [Fri, 5 Jan 2001 03:46:12 +0000 (03:46 +0000)]
sh.md (prget, prset): New insn types.

* config/sh/sh.md (prget, prset): New insn types.
(return delay slot): Dont' allow prset.
(call, sfunc delay slot): Don't allow prget.
(movsi_i, movsi_ie, movsi_i_lowpart): Create separate alternatives
for prset and prget.

From-SVN: r38701

23 years agoloop.h (struct loop_reg): New.
Michael Hayes [Fri, 5 Jan 2001 03:25:58 +0000 (03:25 +0000)]
loop.h (struct loop_reg): New.

* loop.h (struct loop_reg): New.
(struct loop_regs): Change to use array of `struct loop_reg'.
* loop.c: Replace assortment of varrays with single regs array.
(count_one_set): Delete may_not_move array argument
and use regs array instead.  All caller's changed.
(count_loop_regs_set): Delete may_not_move and single_usage
arguments and use regs array instead.  All caller's changed.
(find_single_use_in_loop): Replace usage array argument with pointer
to regs structure.  All caller's changed.
(loop_optimize): Delete `moved_once' array.

From-SVN: r38700

23 years agoloop.c (prescan_loop): Set loop_info->has_nonconst_call.
Michael Hayes [Fri, 5 Jan 2001 02:51:18 +0000 (02:51 +0000)]
loop.c (prescan_loop): Set loop_info->has_nonconst_call.

* loop.c (prescan_loop): Set loop_info->has_nonconst_call.
Use it instead of loop_info->has_call for scanning loop mems.
(check_dbra_loop): Replace loop_info->has_call test with
loop_info->has_nonconst_call.

From-SVN: r38699

23 years agosh.h (EPILOGUE_USES): Recognize fpscr as epilogue-used for TARGET_SH3E.
Matthew Hiller [Fri, 5 Jan 2001 01:58:04 +0000 (01:58 +0000)]
sh.h (EPILOGUE_USES): Recognize fpscr as epilogue-used for TARGET_SH3E.

* config/sh/sh.h (EPILOGUE_USES): Recognize fpscr as epilogue-used
for TARGET_SH3E.

From-SVN: r38698

23 years ago* java/lang/Thread.java: Update comment.
Bryce McKinlay [Fri, 5 Jan 2001 00:31:45 +0000 (00:31 +0000)]
* java/lang/Thread.java: Update comment.

From-SVN: r38697

23 years agofold-const.c (fold): When folding a CONJ_EXPR of a COMPLEX_CST...
Joseph Myers [Fri, 5 Jan 2001 00:03:35 +0000 (00:03 +0000)]
fold-const.c (fold): When folding a CONJ_EXPR of a COMPLEX_CST...

* fold-const.c (fold): When folding a CONJ_EXPR of a COMPLEX_CST,
use TREE_REALPART and TREE_IMAGPART instead of TREE_OPERAND.

testsuite:
* gcc.c-torture/compile/20001222-1.x: Remove.

From-SVN: r38696

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