]> gcc.gnu.org Git - gcc.git/log
gcc.git
23 years agocse.c (fold_rtx): Avoid empty body in an if-statement.
Kaveh R. Ghazi [Mon, 14 Aug 2000 20:55:11 +0000 (20:55 +0000)]
cse.c (fold_rtx): Avoid empty body in an if-statement.

* cse.c (fold_rtx): Avoid empty body in an if-statement.

* doloop.c (doloop_iterations_max, doloop_modify): Avoid using the
`U' integer constant suffix.

* dwarf2out.c (add_subscript_info): Avoid empty body in an
else-statement.

* sparc/sol2.h (__enable_execute_stack): Prototype.

From-SVN: r35687

23 years agocollect2.c: Remove use of AIX import file.
David Edelsohn [Mon, 14 Aug 2000 20:46:16 +0000 (20:46 +0000)]
collect2.c: Remove use of AIX import file.

* collect2.c: Remove use of AIX import file.
* longlong.h: Test ARCH_PWR not ARCH_POWER.
* rs6000.c (print_operand, case 'E'): Add else.

From-SVN: r35686

23 years agoia64.md (movdi): Delay calling ia64_expand_load_address.
Richard Henderson [Mon, 14 Aug 2000 20:28:11 +0000 (13:28 -0700)]
ia64.md (movdi): Delay calling ia64_expand_load_address.

        * config/ia64/ia64.md (movdi): Delay calling ia64_expand_load_address.
        (movdi_symbolic): New.

From-SVN: r35685

23 years agoSupport for IA-64 specific elf header flags.
Jim Wilson [Mon, 14 Aug 2000 20:18:17 +0000 (20:18 +0000)]
Support for IA-64 specific elf header flags.

* config/ia64/ia64.h (ASM_SPEC): Pass -mconstant-gp and -mauto-pic
to GNU as.  For Intel as, pass -M const_gp and -M no_plabel.
* config/ia64/linux.h (ASM_SPEC): Pass -mconstant-gp and -mauto-pic
to GNU as.

From-SVN: r35684

23 years agoexpr.c (emit_group_load): Don't force constants into registers.
Richard Henderson [Mon, 14 Aug 2000 20:08:25 +0000 (13:08 -0700)]
expr.c (emit_group_load): Don't force constants into registers.

        * expr.c (emit_group_load): Don't force constants into registers.
        Special case source already in the correct mode.

From-SVN: r35683

23 years agodebug_assert.h: new file
Brent Verner [Mon, 14 Aug 2000 19:59:26 +0000 (19:59 +0000)]
debug_assert.h: new file

2000-08-14  Brent Verner <brent@rcfile.org>

* testsuite/debug_assert.h: new file
* testsuite/*/*.cc: s/test\s*&=([^;]+);/VERIFY($1);/g
changed conditional #include <c?assert.?h?> to
unconditional #include <debug_assert.h>
* mkcheck.in: added $SRC_DIR/testsuite to include search path
for testsuite compile command.

From-SVN: r35682

23 years agostd_fstream.h: Remove duplicate typdefs for ofstream and wofstream...
Levente Farkas [Mon, 14 Aug 2000 19:46:44 +0000 (21:46 +0200)]
std_fstream.h: Remove duplicate typdefs for ofstream and wofstream...

2000-08-14  Levente Farkas  <lfarkas@mindmaker.hu>

* bits/std_fstream.h: Remove duplicate typdefs for ofstream and
wofstream, filebuf, wfilebuf, fstream, wfstream.
* bits/std_streambuf.h: Same for streambuf, wstreambuf.
* bits/std_sstream.h: Same for stringstream and wstringstream.
Same for stringbuf, wstringbuf, istringstream, wistringstream,
ostringstream, wostringstream.

* testsuite/26_numerics/valarray.cc: Add test.

From-SVN: r35681

23 years agotop level:
Zack Weinberg [Mon, 14 Aug 2000 18:08:46 +0000 (18:08 +0000)]
top level:

* configure: Make enable_threads and enable_shared defaults
explicit.  Substitute enable_threads into generated Makefiles.
* configure.in: Accept *-*-linux* not just *-*-linux-gnu*.
* libtool.m4: Accept *-*-linux* not just *-*-linux-gnu*.
gcc:
* configure.in: Accept *-*-linux* not just *-*-linux-gnu*.
* fixinc/inclhack.def: Likewise.
* fixinc/mkfixinc.sh: Likewise.
* configure: Regenerate.
* fixinc/fixincl.x: Regenerate.
* install.texi: Document equivalence of linux and linux-gnu.
libio:
* configure.in: Accept *-*-linux* not just *-*-linux-gnu*.
Honor --disable-threads.
libstdc++:
* configure.in: Accept *-*-linux* not just *-*-linux-gnu*.
Honor --disable-threads.
libstdc++-v3:
* configure: Regenerate after change to ../libtool.m4.
libobjc:
* configure: Regenerate after change to ../libtool.m4.

From-SVN: r35680

23 years agocse.c (insert_regs): Also in REG case...
J"orn Rennecke [Mon, 14 Aug 2000 17:54:23 +0000 (17:54 +0000)]
cse.c (insert_regs): Also in REG case...

* cse.c (insert_regs): Also in REG case: When finding an invalid
value, and we make a new quantity, make sure that it won't be
mistaken by for a valid one by mention_regs.

From-SVN: r35679

23 years ago* h8300.md: Remove obsolete peepholes.
Ralf Gütlein [Mon, 14 Aug 2000 15:43:07 +0000 (09:43 -0600)]
* h8300.md: Remove obsolete peepholes.

From-SVN: r35678

23 years agoinvoke.texi (H8/300 Options): Fix typos.
Kazu Hirata [Mon, 14 Aug 2000 14:45:30 +0000 (14:45 +0000)]
invoke.texi (H8/300 Options): Fix typos.

* invoke.texi (H8/300 Options): Fix typos.
* config/h8300.c: Fix formatting.
* config/h8300.h: Fix comment typos.
(OVERRIDE_OPTIONS): Fix formatting.

From-SVN: r35677

23 years ago* cse.c: Fix formatting.
Kazu Hirata [Mon, 14 Aug 2000 14:34:52 +0000 (14:34 +0000)]
* cse.c: Fix formatting.

From-SVN: r35676

23 years ago* cse.c: Fix formatting.
Kazu Hirata [Mon, 14 Aug 2000 14:31:23 +0000 (14:31 +0000)]
* cse.c: Fix formatting.

From-SVN: r35675

23 years ago* objc-features.texi (Top): Move @menu at end of node.
Andreas Schwab [Mon, 14 Aug 2000 14:06:53 +0000 (14:06 +0000)]
* objc-features.texi (Top): Move @menu at end of node.

From-SVN: r35674

23 years ago* g++.old-deja/g++.other/refinit2.C: New test.
Nathan Sidwell [Mon, 14 Aug 2000 10:18:57 +0000 (10:18 +0000)]
* g++.old-deja/g++.other/refinit2.C: New test.

From-SVN: r35673

23 years agocvt.c (warn_ref_binding): New static function, broken out of ...
Nathan Sidwell [Mon, 14 Aug 2000 10:18:15 +0000 (10:18 +0000)]
cvt.c (warn_ref_binding): New static function, broken out of ...

* cvt.c (warn_ref_binding): New static function, broken out of ...
(convert_to_reference): ... here. Use it.

From-SVN: r35672

23 years agoDaily bump.
Jeff Law [Mon, 14 Aug 2000 07:45:07 +0000 (01:45 -0600)]
Daily bump.

From-SVN: r35671

23 years agoflow.c (attempt_auto_inc): Remove unused variable `bb'.
Geoff Keating [Mon, 14 Aug 2000 05:59:50 +0000 (05:59 +0000)]
flow.c (attempt_auto_inc): Remove unused variable `bb'.

* flow.c (attempt_auto_inc): Remove unused variable `bb'.
(attempt_auto_inc): Suppress parentheses warning.
* function.c (put_reg_into_stack): Remove unused variable `unsigned_p'.
* loop.c (load_mems): Remove `u' suffix in two places.
* config/rs6000/rs6000.c: Remove unnecessary `u' suffixes from
hex constants.
* config/rs6000/rs6000.h: Likewise.
* config/rs6000/sol-c0.c: Prototype some functions.  Remove the
__eabi dummy routine.
* config/rs6000/sysv4.h (ASM_DECLARE_FUNCTION_NAME): Remove unused
variable `buf_ptr'.

From-SVN: r35670

23 years agoc-torture.exp (c-torture): Make compiler_conditional_xfail_data global.
Geoff Keating [Mon, 14 Aug 2000 04:15:07 +0000 (04:15 +0000)]
c-torture.exp (c-torture): Make compiler_conditional_xfail_data global.

* lib/c-torture.exp (c-torture): Make
compiler_conditional_xfail_data global.
* lib/f-torture.exp (f-torture): Add in torture_eval_before_compile,
compiler_conditional_xfail_data machinery.
(f-torture-execute): Likewise.
* g77.c-torture/compile/20000629-1.x: The test only fails on x86,
and only when unrolling loops.

From-SVN: r35669

23 years agoMore thanks.
Anthony Green [Mon, 14 Aug 2000 03:02:50 +0000 (03:02 +0000)]
More thanks.

From-SVN: r35668

23 years agors6000.c (rs6000_select_section): Rewrite to not put stuff in .sdata unnecessarily.
Geoff Keating [Sun, 13 Aug 2000 21:49:36 +0000 (21:49 +0000)]
rs6000.c (rs6000_select_section): Rewrite to not put stuff in .sdata unnecessarily.

* config/rs6000/rs6000.c (rs6000_select_section): Rewrite to
not put stuff in .sdata unnecessarily.
(rs6000_unique_section): New function.
* config/rs6000/rs6000-protos.h: Add rs6000_unique_section.
* config/rs6000/sysv4.h (UNIQUE_SECTION): Define.

From-SVN: r35667

23 years agoIn gcc/:
Geoff Keating [Sun, 13 Aug 2000 21:31:09 +0000 (21:31 +0000)]
In gcc/:

* c-typeck.c (build_array_ref): Don't complain about non-lvalue
arrays in C99.  Don't try to look at DECL_REGISTER of a
COMPONENT_REF.  Don't complain twice about the same error.

In gcc/testsuite/:
* gcc.dg/c99-array-lval-1.c: The test on line 14 now passes.

From-SVN: r35666

23 years ago* Makefile.in (GCC_FOR_TARGET): Also add -B$$r/gcc/ here.
Geoff Keating [Sun, 13 Aug 2000 20:44:50 +0000 (20:44 +0000)]
* Makefile.in (GCC_FOR_TARGET): Also add -B$$r/gcc/ here.

From-SVN: r35665

23 years agobugs.texi: Describe new ability to emit debug info for EQUIVALENCE members.
Toon Moene [Sun, 13 Aug 2000 18:38:53 +0000 (20:38 +0200)]
bugs.texi: Describe new ability to emit debug info for EQUIVALENCE members.

2000-08-13  Toon Moene  <toon@moene.indiv.nluug.nl>

* bugs.texi: Describe new ability to emit debug info
for EQUIVALENCE members.
* news.texi: Ditto.

From-SVN: r35664

23 years agoinclhack.def (aix_pthread): New fix.
Geoff Keating [Sun, 13 Aug 2000 18:00:34 +0000 (18:00 +0000)]
inclhack.def (aix_pthread): New fix.

* fixinc/inclhack.def (aix_pthread): New fix.
(aix_sysmachine): New fix.
* fixinc/fixincl.x: Regenerate.

From-SVN: r35663

23 years agoexpr.c (expand_expr): Call convert_modes when turning a large multiply into a small...
Geoff Keating [Sun, 13 Aug 2000 17:01:54 +0000 (17:01 +0000)]
expr.c (expand_expr): Call convert_modes when turning a large multiply into a small one.

* expr.c (expand_expr): Call convert_modes when turning a large
multiply into a small one.

From-SVN: r35662

23 years agocheck-init.c (check_init): Add case for BIT_FIELD_REF (required for -pg builds).
Anthony Green [Sun, 13 Aug 2000 16:48:54 +0000 (16:48 +0000)]
check-init.c (check_init): Add case for BIT_FIELD_REF (required for -pg builds).

* check-init.c (check_init): Add case for BIT_FIELD_REF (required
for -pg builds).

From-SVN: r35661

23 years agoDaily bump.
Jeff Law [Sun, 13 Aug 2000 07:45:08 +0000 (01:45 -0600)]
Daily bump.

From-SVN: r35660

23 years agotree.h (DECL_OFFSET_ALIGN): Make the off_align field of the tree structure an exponen...
Geoff Keating [Sat, 12 Aug 2000 22:45:05 +0000 (22:45 +0000)]
tree.h (DECL_OFFSET_ALIGN): Make the off_align field of the tree structure an exponent rather than an...

* tree.h (DECL_OFFSET_ALIGN): Make the off_align field of
the tree structure an exponent rather than an explicit alignment
so it doesn't overflow.
(SET_DECL_OFFSET_ALIGN): New macro.
* stor-layout.c (place_union_field): Use SET_DECL_OFFSET_ALIGN
rather than DECL_OFFSET_ALIGN.
(place_field): Likewise.
* expmed.c (store_bit_field): Abort on align==0 to avoid
antisocial machine behaviour.

From-SVN: r35659

23 years agoconfig-ml.in (CC): Remove bogus duplicate quotation mark from previous delta.
Alexandre Oliva [Sat, 12 Aug 2000 22:35:14 +0000 (22:35 +0000)]
config-ml.in (CC): Remove bogus duplicate quotation mark from previous delta.

* config-ml.in (CC): Remove bogus duplicate quotation mark from
previous delta.

From-SVN: r35658

23 years agosibcall.c (uses_addressof): Accept both addressof and current_function_internal_arg_p...
Richard Henderson [Sat, 12 Aug 2000 16:28:10 +0000 (09:28 -0700)]
sibcall.c (uses_addressof): Accept both addressof and current_function_internal_arg_pointer inside a mem.

        * sibcall.c (uses_addressof): Accept both addressof and
        current_function_internal_arg_pointer inside a mem.
        (optimize_sibling_and_tail_recursive_call): Fail tail recursion
        if current_function_uses_addressof.
        * stmt.c (expand_return): Kill tail recursion and HAVE_return
        optimizations.

From-SVN: r35657

23 years agoDaily bump.
Jeff Law [Sat, 12 Aug 2000 07:45:06 +0000 (01:45 -0600)]
Daily bump.

From-SVN: r35656

23 years agotweak comment
Jason Merrill [Sat, 12 Aug 2000 02:09:28 +0000 (22:09 -0400)]
tweak comment

From-SVN: r35655

23 years agoparse.y (template_arg): Add rule for template qualified with global scope.
Kriang Lerdsuwanakij [Sat, 12 Aug 2000 02:09:02 +0000 (02:09 +0000)]
parse.y (template_arg): Add rule for template qualified with global scope.

        * parse.y (template_arg): Add rule for template qualified with
        global scope.

From-SVN: r35654

23 years agodecl2.c (add_function): Reorganize.
Theodore Papadopoulo [Sat, 12 Aug 2000 01:30:06 +0000 (03:30 +0200)]
decl2.c (add_function): Reorganize.

        * decl2.c (add_function): Reorganize.
        (arg_assoc): Do not consider function template decls.

From-SVN: r35653

23 years agocplus-dem.c (demangle_signature): Change if (GNU_DEMANGLING) to if (AUTO_DEMANGLING...
Daniel Berlin [Sat, 12 Aug 2000 00:55:05 +0000 (00:55 +0000)]
cplus-dem.c (demangle_signature): Change if (GNU_DEMANGLING) to if (AUTO_DEMANGLING || GNU_DEMANGLING)

        * cplus-dem.c (demangle_signature): Change if (GNU_DEMANGLING) to
        if (AUTO_DEMANGLING || GNU_DEMANGLING)

From-SVN: r35652

23 years agoconfigure.in (CC_FOR_TARGET, [...]): Add -B$$r/gcc/ here.
Jason Merrill [Sat, 12 Aug 2000 00:48:46 +0000 (20:48 -0400)]
configure.in (CC_FOR_TARGET, [...]): Add -B$$r/gcc/ here.

        * configure.in (CC_FOR_TARGET, CHILL_FOR_TARGET,
        CXX_FOR_TARGET): Add -B$$r/gcc/ here.
        (FLAGS_FOR_TARGET): Not here.
        (CHILL_FOR_TARGET, CXX_FOR_TARGET): Don't check the list of languages.

From-SVN: r35651

23 years agodecl.c (lookup_name_real): Don't forget the TYPENAME_TYPE we're looking inside.
Jason Merrill [Sat, 12 Aug 2000 00:02:49 +0000 (20:02 -0400)]
decl.c (lookup_name_real): Don't forget the TYPENAME_TYPE we're looking inside.

        * decl.c (lookup_name_real): Don't forget the TYPENAME_TYPE we're
        looking inside.

From-SVN: r35650

23 years agoia64.md (addsi3): Remove expander.
Richard Henderson [Fri, 11 Aug 2000 23:48:26 +0000 (16:48 -0700)]
ia64.md (addsi3): Remove expander.

        * config/ia64/ia64.md (addsi3): Remove expander.
        (subsi3, mulsi3, negsi2, one_cmplsi2): Likewise.
        (*addsi3_shladd): New.

From-SVN: r35649

23 years agoia64.c (do_spill): Pass cfa offset to move expander.
Richard Henderson [Fri, 11 Aug 2000 23:10:10 +0000 (16:10 -0700)]
ia64.c (do_spill): Pass cfa offset to move expander.

        * config/ia64/ia64.c (do_spill): Pass cfa offset to move expander.
        (do_restore): Likewise.
        (gen_movdi_x, gen_fr_spill_x, gen_fr_restore_x): New.
        (ia64_expand_prologue, ia64_expand_epilogue): Use them.
        (rtx_needs_barrier): Track actual bit manipulation for
        ar.unat moves, gr_spill, and gr_restore.
        (emit_insn_group_barriers): Special case gr_spill/gr_restore.
        (process_set): Don't handle varargs spills.
        * config/ia64/ia64.md (gr_spill): Accept cfa offset.  Emit
        .mem.offset here instead of in process_set.
        (gr_restore): Likewise.

From-SVN: r35648

23 years agostraits.h (is_del): Boolify with !!.
Jason Merrill [Fri, 11 Aug 2000 22:41:38 +0000 (18:41 -0400)]
straits.h (is_del): Boolify with !!.

        * std/straits.h (is_del): Boolify with !!.

        * std/bastring.cc (compare to charT*): Add rlen==n check.
        * std/bastring.h (Rep::grab): Add x86 atomic version.

From-SVN: r35647

23 years ago* config/ia64/ia64.h (PROMOTE_MODE): Only extend to SImode.
Richard Henderson [Fri, 11 Aug 2000 22:25:22 +0000 (15:25 -0700)]
* config/ia64/ia64.h (PROMOTE_MODE): Only extend to SImode.

From-SVN: r35646

23 years agoconfigure.in (CHILL_FOR_TARGET, [...]): Use slightly more portable shell script to...
Geoff Keating [Fri, 11 Aug 2000 22:02:04 +0000 (22:02 +0000)]
configure.in (CHILL_FOR_TARGET, [...]): Use slightly more portable shell script to convert blanks to commas in $LANGUAGES.

* configure.in (CHILL_FOR_TARGET, CXX_FOR_TARGET): Use slightly more
portable shell script to convert blanks to commas in $LANGUAGES.

From-SVN: r35645

23 years agoclass.c (maybe_layout_super_class): Fixed indentation.
Alexandre Petit-Bianco [Fri, 11 Aug 2000 22:01:37 +0000 (22:01 +0000)]
class.c (maybe_layout_super_class): Fixed indentation.

2000-08-10  Alexandre Petit-Bianco  <apbianco@cygnus.com>

        * class.c (maybe_layout_super_class): Fixed indentation.
        * java-tree.h (CLASS_METHOD_CHECKED_P): New macro.
        (java_check_methods): New function declaration.
        * jcf-parse.c (get_constant): Let `char_len' go up to 3. Use `str'
        instead of `str_ptr'.
        * jcf-write.c (generate_bytecode_insns): Emit number the of args
        of a `invokeinterface' at the right time.
        * parse.h (WFL_STRIP_BRACKET): New macro.
        (SET_TYPE_FOR_RESOLUTION): Use it.
        * parse.y (build_unresolved_array_type): Reuse `type_or_wfl.'
        (check_class_interface_creation): Don't check for cross package
        innerclass name clashes.
        (method_header): Behave properly if MDECL is `error_mark_node.'
        (method_declarator): Return `error_mark_node' if bogus current
        class.
        (resolve_class): Apply WFL_STRIP_BRACKET on `cl' if necessary.
        (resolve_and_layout): New local `decl_type', set and used. Call
        java_check_methods.
        (java_check_methods): New method.
        (java_layout_classes): Use it.
        (resolve_qualified_expression_name): No EH check necessary in
        access$<n>.
        (java_complete_lhs): Use VAR_DECL's DECL_INITIAL when evaluating
        `case' statement.
        (patch_assignment): Set DECL_INITIAL on integral final local.

(http://gcc.gnu.org/ml/gcc-patches/2000-08/msg00516.html)

From-SVN: r35644

23 years ago* objc-features.texi: Move @node Top before @menu.
Manfred Hollstein [Fri, 11 Aug 2000 21:25:29 +0000 (21:25 +0000)]
* objc-features.texi: Move @node Top before @menu.

From-SVN: r35643

23 years agogcc.texi (The Configuration File): Document COLLECT2_HOST_INITIALIZATION...
Mark Elbrecht [Fri, 11 Aug 2000 21:23:00 +0000 (21:23 +0000)]
gcc.texi (The Configuration File): Document COLLECT2_HOST_INITIALIZATION...

        * gcc.texi (The Configuration File): Document
        COLLECT2_HOST_INITIALIZATION, GCC_DRIVER_HOST_INITIALIZATION, and
        UPDATE_PATH_HOST_CANONICALIZATION.

From-SVN: r35642

23 years agoc-parse.in (cast_expr): Avoid -Wstrict-prototype warnings for unprototyped function...
Kaveh R. Ghazi [Fri, 11 Aug 2000 16:25:02 +0000 (16:25 +0000)]
c-parse.in (cast_expr): Avoid -Wstrict-prototype warnings for unprototyped function pointer casts on...

* c-parse.in (cast_expr): Avoid -Wstrict-prototype warnings for
unprototyped function pointer casts on integer constants.

From-SVN: r35638

23 years agocom.c (ffecom_transform_equiv_): Make EQUIVALENCEs addressable so that debug info...
G. Helffrich [Fri, 11 Aug 2000 16:11:08 +0000 (16:11 +0000)]
com.c (ffecom_transform_equiv_): Make EQUIVALENCEs addressable so that debug info can be attached to their storage.

2000-08-11  G. Helffrich  <george@gly.bris.ac.uk>
            Toon Moene  <toon@moene.indiv.nluug.nl>

* com.c (ffecom_transform_equiv_): Make EQUIVALENCEs addressable
so that debug info can be attached to their storage.
Unconditionally list the storage set aside for them.

Co-Authored-By: Toon Moene <toon@moene.indiv.nluug.nl>
From-SVN: r35637

23 years ago* fixproto: Recognize DOS paths with drive letters as absolute paths.
Laurynas Biveinis [Fri, 11 Aug 2000 15:20:10 +0000 (15:20 +0000)]
* fixproto: Recognize DOS paths with drive letters as absolute paths.

From-SVN: r35636

23 years ago* config-ml.in (CC, CXX): Don't introduce a leading space.
Alexandre Oliva [Fri, 11 Aug 2000 14:55:08 +0000 (14:55 +0000)]
* config-ml.in (CC, CXX): Don't introduce a leading space.

From-SVN: r35635

23 years agocp-tree.h (resolve_scope_to_name): Remove unused prototype.
Nathan Sidwell [Fri, 11 Aug 2000 14:09:15 +0000 (14:09 +0000)]
cp-tree.h (resolve_scope_to_name): Remove unused prototype.

* cp-tree.h (resolve_scope_to_name): Remove unused prototype.
(lookup_nested_tag): Likewise.

* decl2.c (grokfield): Fix comment to reflect many types of _DECLs
can be produced.

From-SVN: r35634

23 years agoparse.y (named_complex_class_head_sans_basetype): Remove always true if.
Nathan Sidwell [Fri, 11 Aug 2000 13:53:39 +0000 (13:53 +0000)]
parse.y (named_complex_class_head_sans_basetype): Remove always true if.

* parse.y (named_complex_class_head_sans_basetype): Remove
always true if.

From-SVN: r35633

23 years ago* extend.texi (Volatiles): Fix typos.
Nathan Sidwell [Fri, 11 Aug 2000 13:42:32 +0000 (13:42 +0000)]
* extend.texi (Volatiles): Fix typos.

From-SVN: r35632

23 years ago* flow.c: Fix formatting.
Kazu Hirata [Fri, 11 Aug 2000 12:45:05 +0000 (12:45 +0000)]
* flow.c: Fix formatting.

From-SVN: r35631

23 years ago* g++.old-deja/g++.pt/explicit81.C: New test.
Nathan Sidwell [Fri, 11 Aug 2000 09:28:08 +0000 (09:28 +0000)]
* g++.old-deja/g++.pt/explicit81.C: New test.

From-SVN: r35630

23 years agodecl2.c (build_expr_from_tree, [...]): Build explicit TEMPLATE_ID_EXPR args.
Nathan Sidwell [Fri, 11 Aug 2000 09:28:01 +0000 (09:28 +0000)]
decl2.c (build_expr_from_tree, [...]): Build explicit TEMPLATE_ID_EXPR args.

* decl2.c (build_expr_from_tree, case METHOD_CALL_EXPR): Build
explicit TEMPLATE_ID_EXPR args.
(build_expr_from_tree, case CALL_EXPR): Likewise.

From-SVN: r35629

23 years ago* g++.old-deja/g++.pt/typename26.C: New test.
Nathan Sidwell [Fri, 11 Aug 2000 09:12:43 +0000 (09:12 +0000)]
* g++.old-deja/g++.pt/typename26.C: New test.

From-SVN: r35628

23 years agodecl.c (check_tag_decl): Diagnose typename's which don't declare anything.
Nathan Sidwell [Fri, 11 Aug 2000 09:12:31 +0000 (09:12 +0000)]
decl.c (check_tag_decl): Diagnose typename's which don't declare anything.

* decl.c (check_tag_decl): Diagnose typename's which don't
declare anything.

From-SVN: r35627

23 years agoreload.c (push_secondary_reload): When invoking a reload_{in,out} pattern...
Richard Henderson [Fri, 11 Aug 2000 08:52:58 +0000 (01:52 -0700)]
reload.c (push_secondary_reload): When invoking a reload_{in,out} pattern...

        * reload.c (push_secondary_reload): When invoking a reload_{in,out}
        pattern, always allocate a tertiary scratch register.

        * config/alpha/alpha.md (reload_inqi): Use a DImode scratch.
        (reload_inhi): Likewise.

From-SVN: r35626

23 years agofunction.c (put_reg_into_stack): Allow type to be NULL.
Richard Henderson [Fri, 11 Aug 2000 07:49:07 +0000 (00:49 -0700)]
function.c (put_reg_into_stack): Allow type to be NULL.

        * function.c (put_reg_into_stack): Allow type to be NULL.
        (schedule_fixup_var_refs): Likewise.
        (gen_mem_addressof): Allow decl to be NULL.
        (put_addressof_into_stack): Likewise.

From-SVN: r35625

23 years agoDaily bump.
Jeff Law [Fri, 11 Aug 2000 07:45:09 +0000 (01:45 -0600)]
Daily bump.

From-SVN: r35624

23 years agoflow.c (merge_blocks_nomove): Be more careful about locating the beginning of block A.
Richard Henderson [Fri, 11 Aug 2000 07:39:55 +0000 (00:39 -0700)]
flow.c (merge_blocks_nomove): Be more careful about locating the beginning of block A.

        * flow.c (merge_blocks_nomove): Be more careful about
        locating the beginning of block A.

From-SVN: r35623

23 years ago* combine.c (simplify_shift_const): Obey SHIFT_COUNT_TRUNCATED.
Richard Henderson [Fri, 11 Aug 2000 07:38:23 +0000 (00:38 -0700)]
* combine.c (simplify_shift_const): Obey SHIFT_COUNT_TRUNCATED.

From-SVN: r35622

23 years agolocale_facets.tcc: Formatting tweaks.
Benjamin Kosnik [Fri, 11 Aug 2000 07:32:37 +0000 (07:32 +0000)]
locale_facets.tcc: Formatting tweaks.

2000-08-10  Benjamin Kosnik  <bkoz@purist.soma.redhat.com>

        * bits/locale_facets.tcc: Formatting tweaks.
        * bits/locale_facets.h (__enc_traits): Start integrating this
        into codecvt, ctype. Formatting tweaks.

From-SVN: r35621

23 years agoReverted the check for <sched.h>.
Ovidiu Predescu [Fri, 11 Aug 2000 05:51:12 +0000 (05:51 +0000)]
Reverted the check for <sched.h>.

From-SVN: r35620

23 years ago* gcc.dg/920413-1.c: Allow for 'traditional C rejects 'U' suffix' warning.
Geoff Keating [Fri, 11 Aug 2000 03:58:55 +0000 (03:58 +0000)]
* gcc.dg/920413-1.c: Allow for 'traditional C rejects 'U' suffix' warning.

From-SVN: r35619

23 years agoelf.h (CTOR_SECTION_NAME, [...]): New macros define the name of CTOR and DTOR sections.
Chris Demetriou [Fri, 11 Aug 2000 03:18:05 +0000 (03:18 +0000)]
elf.h (CTOR_SECTION_NAME, [...]): New macros define the name of CTOR and DTOR sections.

        * mips/elf.h (CTOR_SECTION_NAME, DTOR_SECTION_NAME): New
macros define the name of CTOR and DTOR sections.
(CTOR_LIST_BEGIN, CTOR_LIST_END, DTOR_LIST_BEGIN,
DTOR_LIST_END): Change to use attributes to specify
sections.
        * mips/elf64.h (CTOR_SECTION_NAME, DTOR_SECTION_NAME,
(CTOR_LIST_BEGIN, CTOR_LIST_END, DTOR_LIST_BEGIN,
DTOR_LIST_END): Same as in mips/elf.h.

From-SVN: r35618

23 years agonatPlainSocketImpl.cc (bind): Don't go to error case when errno not set.
Tom Tromey [Fri, 11 Aug 2000 03:07:59 +0000 (03:07 +0000)]
natPlainSocketImpl.cc (bind): Don't go to error case when errno not set.

* java/net/natPlainSocketImpl.cc (bind): Don't go to error case
when errno not set.
(connect): Likewise.
(accept): Likewise.
(getOption): Likewise.
* java/net/natPlainDatagramSocketImpl.cc (bind): Don't go to error
case when errno not set.
(peek): Likewise.
(send): Likewise.
(receive): Likewise.
(mcastGrp): Likewise.
(setOption): Likewise.
(getOption): Likewise.

From-SVN: r35617

23 years agoh8300.c (expand_a_rotate): New.
Kazu Hirata [Fri, 11 Aug 2000 01:43:47 +0000 (01:43 +0000)]
h8300.c (expand_a_rotate): New.

        * h8300.c (expand_a_rotate): New.
        (emit_a_rotate): Likewise.
        (h8300_adjust_insn_length): Add support for the rotate insns.
        * h8300.md (rotlqi3): New.
        (*rotlqi3_1): Likewise.
        (rotlhi3): Likewise.
        (*rotlhi3_1): Likewise.
        (rotlhi3): Likewise.
        (*rotlhi3_1): Likewise.
        * h8300-proto.h: Add prototypes for expand_a_rotate and
        emit_a_rotate.

From-SVN: r35616

23 years agomn10300.h: Added no-crt0 option for explicitly disabling just crt0.o.
Drew Moseley [Fri, 11 Aug 2000 01:31:14 +0000 (01:31 +0000)]
mn10300.h: Added no-crt0 option for explicitly disabling just crt0.o.

* config/mn10300/mn10300.h: Added no-crt0 option for explicitly
disabling just crt0.o.

From-SVN: r35615

23 years agoFix interworking support of functions in lib1funcs.asm.
Richard Earnshaw [Fri, 11 Aug 2000 00:30:55 +0000 (00:30 +0000)]
Fix interworking support of functions in lib1funcs.asm.

From-SVN: r35610

23 years agoh8300.c: Fix comment typos.
Kazu Hirata [Thu, 10 Aug 2000 23:21:52 +0000 (23:21 +0000)]
h8300.c: Fix comment typos.

        * h8300.c: Fix comment typos.
        (dosize): Declare the variable amount as unsigned.
        (get_shift_alg): Fix a comparison between signed and unsigned.
        (emit_a_shift): Likewise.
        (h8300_adjust_insn_length): Simplify the code.

From-SVN: r35609

23 years ago* c-decl.c: Fix formatting.
Kazu Hirata [Thu, 10 Aug 2000 22:01:22 +0000 (22:01 +0000)]
* c-decl.c: Fix formatting.

From-SVN: r35608

23 years agoc-lex.c (parse_float, yylex): For -Wtraditional, issue a warning about non-traditiona...
Kaveh R. Ghazi [Thu, 10 Aug 2000 15:21:18 +0000 (15:21 +0000)]
c-lex.c (parse_float, yylex): For -Wtraditional, issue a warning about non-traditional numeric constant suffixes.

* c-lex.c (parse_float, yylex): For -Wtraditional, issue a
warning about non-traditional numeric constant suffixes.

* cppexp.c (parse_number): Likewise.

* invoke.texi: (-Wtraditional): Document new behavior.

From-SVN: r35607

23 years ago* g++.old-deja/g++.other/array3.C: New test.
Nathan Sidwell [Thu, 10 Aug 2000 12:33:45 +0000 (12:33 +0000)]
* g++.old-deja/g++.other/array3.C: New test.

From-SVN: r35606

23 years agoinit.c (build_aggr_init): Reject bogus array initializers early.
Nathan Sidwell [Thu, 10 Aug 2000 12:32:40 +0000 (12:32 +0000)]
init.c (build_aggr_init): Reject bogus array initializers early.

* init.c (build_aggr_init): Reject bogus array initializers
early.

From-SVN: r35605

23 years agocvs commit ChangeLog
Bryce McKinlay [Thu, 10 Aug 2000 09:10:58 +0000 (10:10 +0100)]
cvs commit ChangeLog

From-SVN: r35604

23 years agoConnection.java (gotHeaders): Removed.
Bryce McKinlay [Thu, 10 Aug 2000 09:10:25 +0000 (10:10 +0100)]
Connection.java (gotHeaders): Removed.

2000-08-10  Bryce McKinlay  <bryce@albatross.co.nz>
    John Stracke <francis@ecal.com>

* gnu/gcj/protocol/http/Connection.java (gotHeaders): Removed.
(connect): Don't falsely claim HTTP/1.1 compliance. Call
getHttpHeaders().
(disconnect): Don't unset connected flag.
(getHeaderField (String)): Call connect() if not connected.
(getHeaderField (int)): Ditto.
(getHeaderFieldKey): Ditto.
(getHttpHeaders): Don't call connect().
* java/net/HttpURLConnection.java (instanceFollowRedirects,
gotResponseVals): New fields.
(getResponseCode): Call getResponseVals() conditionally.
(getResponseMessage): Ditto.
(getResponseVals): Call connect(). Don't throw
FileNotFoundException.

From-SVN: r35603

23 years agoc90-array-lval-1.c, [...]: New tests.
Joseph Myers [Thu, 10 Aug 2000 08:19:44 +0000 (09:19 +0100)]
c90-array-lval-1.c, [...]: New tests.

* gcc.dg/c90-array-lval-1.c, gcc.dg/c90-scope-1.c,
gcc.dg/c99-array-lval-1.c, gcc.dg/c99-const-expr-1.c,
gcc.dg/c99-func-1.c, gcc.dg/c99-func-2.c, gcc.dg/c99-scope-1.c:
New tests.

From-SVN: r35602

23 years agoDaily bump.
Jeff Law [Thu, 10 Aug 2000 07:45:17 +0000 (01:45 -0600)]
Daily bump.

From-SVN: r35601

23 years agogthr-posix.h: Include auto-host.h.
Ovidiu Predescu [Thu, 10 Aug 2000 07:11:44 +0000 (07:11 +0000)]
gthr-posix.h: Include auto-host.h.

Thu Aug 10 00:11:04 2000  Ovidiu Predescu  <ovidiu@cup.hp.com>

* gthr-posix.h: Include auto-host.h. Conditionally include
<sched.h>.
* configure.in: Check for the <sched.h> header file.
* config.in: Added define for HAVE_SCHED_H.

From-SVN: r35600

23 years agoInclude auto-host.h. Conditionally include <sched.h>.
Ovidiu Predescu [Thu, 10 Aug 2000 07:11:02 +0000 (07:11 +0000)]
Include auto-host.h. Conditionally include <sched.h>.

From-SVN: r35599

23 years agoCheck for the <sched.h> header file.
Ovidiu Predescu [Thu, 10 Aug 2000 07:10:23 +0000 (07:10 +0000)]
Check for the <sched.h> header file.

From-SVN: r35598

23 years agoAdded define for HAVE_SCHED_H.
Ovidiu Predescu [Thu, 10 Aug 2000 07:07:58 +0000 (07:07 +0000)]
Added define for HAVE_SCHED_H.

From-SVN: r35597

23 years agore GNATS gcj/310 (illegal type "long" accepted for "switch" expression)
Tom Tromey [Thu, 10 Aug 2000 01:09:12 +0000 (01:09 +0000)]
re GNATS gcj/310 (illegal type "long" accepted for "switch" expression)

From PR gcj/310:
* libjava.compile/PR310.java: New file.
* libjava.compile/PR310.xfail: New file.

From-SVN: r35596

23 years agoc-typeck.c (process_init_element): For -Wtraditional, warn about initialization of...
Kaveh R. Ghazi [Wed, 9 Aug 2000 19:52:35 +0000 (19:52 +0000)]
c-typeck.c (process_init_element): For -Wtraditional, warn about initialization of unions.

* c-typeck.c (process_init_element): For -Wtraditional, warn about
initialization of unions.

* invoke.texi (-Wtraditional): Document new behavior.

From-SVN: r35595

23 years agoRemove stray blank line in previous commit
Zack Weinberg [Wed, 9 Aug 2000 19:44:29 +0000 (19:44 +0000)]
Remove stray blank line in previous commit

From-SVN: r35594

23 years agoconfigure.in (--enable-c-cpplib): Uncomment.
Zack Weinberg [Wed, 9 Aug 2000 19:41:12 +0000 (19:41 +0000)]
configure.in (--enable-c-cpplib): Uncomment.

* configure.in (--enable-c-cpplib): Uncomment.  Use AC_DEFINE
instead of extra_c_flags.
(--enable-c-mbchar): Use AC_DEFINE instead of extra_c_flags.
* configure: Regenerate.
* config.in: Regenerate.

* cpperror.c (cpp_type2name): New function.
* cpplex.c (lex_line): If we issued an error for an invalid
preprocessing directive, discard that logical line.
* cpplib.c (do_line): Call a hook function if the current file
is renamed by #line.
(do_ident): Pass the contents of the string, not the entire
token, to the callback function.
* cpplib.h (CPP_LAST_PUNCTUATOR): New #define.
(cb.rename_file): New hook function.
(cb.ident): Adjust prototype.
(cpp_type2name): Prototype.
* cppmacro.c (dump_macro_args): Correct precedence lossage.

* cppmain.c (cb_ident): Update for changed interface.
(cb_rename_file): New function.
(main): Set rename callback.

From-SVN: r35593

23 years agopt.c (tsubst_aggr_type): Bail if creating the argvec fails.
Jason Merrill [Wed, 9 Aug 2000 18:55:42 +0000 (14:55 -0400)]
pt.c (tsubst_aggr_type): Bail if creating the argvec fails.

        * pt.c (tsubst_aggr_type): Bail if creating the argvec fails.
        (tsubst_template_arg_vector): Likewise.

From-SVN: r35592

23 years agoIt's `exit(0)', not `exit()'!
Alexandre Oliva [Wed, 9 Aug 2000 13:14:54 +0000 (13:14 +0000)]
It's `exit(0)', not `exit()'!

From-SVN: r35591

23 years agoMakefile.am: Move beans and applet classes to awt_java_source_files.
Bryce McKinlay [Wed, 9 Aug 2000 13:03:26 +0000 (13:03 +0000)]
Makefile.am: Move beans and applet classes to awt_java_source_files.

2000-08-09  Bryce McKinlay  <bryce@albatross.co.nz>

* Makefile.am: Move beans and applet classes to
awt_java_source_files.
* Makefile.in: Rebuilt.

From-SVN: r35590

23 years agoMakefile.am: Move beans and applet classes to awt_java_source_files.
Bryce McKinlay [Wed, 9 Aug 2000 13:01:44 +0000 (14:01 +0100)]
Makefile.am: Move beans and applet classes to awt_java_source_files.

2000-08-09  Bryce McKinlay  <bryce@albatross.co.nz>

* Makefile.am: Move beans and applet classes to
awt_java_source_files.
* Makefile.in: Rebuilt.
* java/awt/Color.java (getTransparency): New method.
* java/awt/Component.java: Various updates.
* java/awt/Container.java (removeNotify): Call super.removeNotify()
after dealing with children.
* java/awt/Toolkit.java (changeSupport): Renamed from pcsupport.
* java/awt/Window.java: Various new methods and updates.
* java/awt/color/ICC_Profile.java (getNumComponents): Cast profileID
to int for switch.
* java/awt/event/KeyEvent.java (paramString): Initialize `r'.
* java/awt/event/WindowEvent.java (paramString): Ditto.
* java/awt/geom/Dimension2D.java (clone): Wrap super call with
try/catch block.
* java/awt/geom/Point2D.java (clone): Ditto.
* java/awt/geom/RectangularShape.java (clone): Ditto.
* java/awt/image/ColorModel.java (bits, cspace, transparency,
hasAlpha, isAlphaPremultiplied): Make package-private, not private.

From-SVN: r35589

23 years agortti.c (build_dynamic_cast_1): Set "C" linkage for new abi runtime.
Nathan Sidwell [Wed, 9 Aug 2000 09:57:55 +0000 (09:57 +0000)]
rtti.c (build_dynamic_cast_1): Set "C" linkage for new abi runtime.

* rtti.c (build_dynamic_cast_1): Set "C" linkage for new abi
runtime.
* cp/tinfo.cc (__dynamic_cast): Likewise.
* cp/inc/cxxabi.h (__dynamic_cast): Likewise.

From-SVN: r35588

23 years agoptrflags.C: Adjust rtti member names.
Nathan Sidwell [Wed, 9 Aug 2000 09:52:47 +0000 (09:52 +0000)]
ptrflags.C: Adjust rtti member names.

* g++.old-deja/g++.abi/ptrflags.C: Adjust rtti member names.
* g++.old-deja/g++.abi/vmihint.C: Likewise.

From-SVN: r35587

23 years agocvt.c (convert_to_pointer_force): Fix error message when attempting to cast from...
Nathan Sidwell [Wed, 9 Aug 2000 09:43:00 +0000 (09:43 +0000)]
cvt.c (convert_to_pointer_force): Fix error message when attempting to cast from ambiguous base.

* cvt.c (convert_to_pointer_force): Fix error message when
attempting to cast from ambiguous base.

From-SVN: r35586

23 years agoDaily bump.
Jeff Law [Wed, 9 Aug 2000 07:45:07 +0000 (01:45 -0600)]
Daily bump.

From-SVN: r35585

23 years ago[multiple changes]
Benjamin Kosnik [Wed, 9 Aug 2000 07:33:39 +0000 (07:33 +0000)]
[multiple changes]

2000-08-09  Benjamin Kosnik  <bkoz@purist.soma.redhat.com>

Preliminary wchar_t implementation, with trivial encodings.
* docs/configopts.html: Add bits about canonical configure option
checking.

* testsuite/27_io/iostream_objects.cc: Replace this file (which
has newly-declared-illegal mixing of wide/narrow stdstreams) with...
* testsuite/27_io/narrow_stream_objects.cc: New file.
* testsuite/27_io/wide_stream_objects.cc: New file.

* bits/fstream.tcc (underflow): Temporarily hack a solution
together that writes from the external file to the internal
buffers. This removes codecvt from the loop, and is incorrect.
(_M_really_overflow): Same here.

* testsuite/21_strings/inserters_extractors.cc (test05): Tweaks.

2000-08-08  Benjamin Kosnik  <bkoz@cygnus.com>
    Ulrich Drepper  <drepper@cygnus.com>

* config/c_io_libio.h: Tweak.
* config/c_io_libio_codecvt.c: New file.
* libio/Makefile.am: Add c_codecvt.c.
* libio/Makefile.in: Regenerate.
* libio/genops.c (_IO_unbuffer_write): Don't call _IO_SETBUF if the
stream is not orientated.

* acinclude.m4: Add config/c_io_libio_codecvt.c dummy file, until
encoding gets fleshed out.

* bits/basic_file.h: Add specialization declarations.
* config/c_io_libio.cc: Add specializations for pbackfail, uflow.

* config/c_io_libio.h: Add __c_wfile_type.
* bits/basic_file.h: Add _M_wfile.

* config/c_io_libio.cc (__basic_file<char>): Initialize the
streams without setting the orientation of the underlying FILE to
either wide or narrow.
(__basic_file<wchar_t>)): Enable tricky wchar_t io bits.

From-SVN: r35584

23 years agoc_io_libio.h: Tweak.
Benjamin Kosnik [Wed, 9 Aug 2000 07:31:26 +0000 (07:31 +0000)]
c_io_libio.h: Tweak.

2000-08-08  Benjamin Kosnik  <bkoz@cygnus.com>
    Ulrich Drepper  <drepper@cygnus.com>

* config/c_io_libio.h: Tweak.
* config/c_io_libio_codecvt.c: New file.
* libio/Makefile.am: Add c_codecvt.c.
* libio/Makefile.in: Regenerate.
* libio/genops.c (_IO_unbuffer_write): Don't call _IO_SETBUF if the
stream is not orientated.

* acinclude.m4: Add config/c_io_libio_codecvt.c dummy file, until
encoding gets fleshed out.

* bits/basic_file.h: Add specialization declarations.
* config/c_io_libio.cc: Add specializations for pbackfail, uflow.

* config/c_io_libio.h: Add __c_wfile_type.
* bits/basic_file.h: Add _M_wfile.

* config/c_io_libio.cc (__basic_file<char>): Initialize the
streams without setting the orientation of the underlying FILE to
either wide or narrow.
(__basic_file<wchar_t>)): Enable tricky wchar_t io bits.

From-SVN: r35583

23 years agoFinish preliminary wchar_t implementation, with trivial encodings.
Benjamin Kosnik [Wed, 9 Aug 2000 07:28:54 +0000 (07:28 +0000)]
Finish preliminary wchar_t implementation, with trivial encodings.

2000-08-09  Benjamin Kosnik  <bkoz@purist.soma.redhat.com>

Finish preliminary wchar_t implementation, with trivial encodings.
* docs/configopts.html: Add bits about canonical configure option
checking.

* testsuite/27_io/iostream_objects.cc: Replace this file (which
has newly-declared-illegal mixing of wide/narrow stdstreams) with...
* testsuite/27_io/narrow_stream_objects.cc: New file.
* testsuite/27_io/wide_stream_objects.cc: New file.

* bits/fstream.tcc (underflow): Temporarily hack a solution
together that writes from the external file to the internal
buffers. This removes codecvt from the loop, and is incorrect.
(_M_really_overflow): Same here.

* testsuite/21_strings/inserters_extractors.cc (test05): Tweaks.

From-SVN: r35582

23 years agopt.c (tsubst_aggr_type): Bail if creating the argvec fails.
Jason Merrill [Wed, 9 Aug 2000 05:52:17 +0000 (01:52 -0400)]
pt.c (tsubst_aggr_type): Bail if creating the argvec fails.

        * pt.c (tsubst_aggr_type): Bail if creating the argvec fails.
        (tsubst_template_arg_vector): Likewise.

        * decl2.c (build_anon_union_vars): Choose the largest field; don't
        assume that one will be as large as the union.

From-SVN: r35581

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