]> gcc.gnu.org Git - gcc.git/log
gcc.git
24 years agoDaily bump.
Jeff Law [Fri, 28 Jul 2000 07:45:07 +0000 (01:45 -0600)]
Daily bump.

From-SVN: r35314

24 years agoclass.c (make_class_data): Create vtable for abstract classes.
Tom Tromey [Fri, 28 Jul 2000 06:57:31 +0000 (06:57 +0000)]
class.c (make_class_data): Create vtable for abstract classes.

2000-07-27  Tom Tromey  <tromey@cygnus.com>
            Anthony Green  <green@cygnus.com>
    Alexandre Petit-Bianco  <apbianco@cygnus.com>

* class.c (make_class_data): Create vtable for abstract classes.
(get_dispatch_table): Changed to cope with abstract classes.

Co-Authored-By: Alexandre Petit-Bianco <apbianco@cygnus.com>
Co-Authored-By: Anthony Green <green@cygnus.com>
From-SVN: r35313

24 years agonew
Jason Merrill [Fri, 28 Jul 2000 06:08:21 +0000 (02:08 -0400)]
new

From-SVN: r35312

24 years agodecl.c (duplicate_decls): If common_type produces a non-typedef type for a typedef...
Jason Merrill [Fri, 28 Jul 2000 06:05:11 +0000 (02:05 -0400)]
decl.c (duplicate_decls): If common_type produces a non-typedef type for a typedef, just use the old type.

        * decl.c (duplicate_decls): If common_type produces a non-typedef
        type for a typedef, just use the old type.

        * pt.c (for_each_template_parm_r, case RECORD_TYPE): Use
        TYPE_PTRMEMFUNC_P.
        * cp-tree.h (TYPE_TEMPLATE_INFO): Check for TYPE_LANG_SPECIFIC.

From-SVN: r35311

24 years agoFix dwarf2out abort found while compiling PlumHall on IA-64.
Jim Wilson [Fri, 28 Jul 2000 03:43:13 +0000 (03:43 +0000)]
Fix dwarf2out abort found while compiling PlumHall on IA-64.

* dwarf2out.c (gen_decl_die): Don't call gen_abstract_function if
DECL_INITIAL (decl) == NULL_TREE.

From-SVN: r35310

24 years agoOutputStreamWriter.java (close): Only flush if not closed.
Tom Tromey [Fri, 28 Jul 2000 02:54:16 +0000 (02:54 +0000)]
OutputStreamWriter.java (close): Only flush if not closed.

* java/io/OutputStreamWriter.java (close): Only flush if not
closed.

From-SVN: r35309

24 years agoMakefile.in (clean-target-libgcc): Remove gcc/libgcc.
Alexandre Oliva [Fri, 28 Jul 2000 02:22:17 +0000 (02:22 +0000)]
Makefile.in (clean-target-libgcc): Remove gcc/libgcc.

* Makefile.in (clean-target-libgcc): Remove gcc/libgcc.
(clean-target): Depend on it.

From-SVN: r35308

24 years agoMakefile.in (INSN_ATTR_H): New macro.
Alexandre Oliva [Fri, 28 Jul 2000 02:17:26 +0000 (02:17 +0000)]
Makefile.in (INSN_ATTR_H): New macro.

* Makefile.in (INSN_ATTR_H): New macro.  Replace all dependencies
on insn-attr.h with it.
* genattr.c: Generate `#include "insn-addr.h"' if HAVE_ATTR_length.
* insn-addr.h: New header.
(insn_addresses_): Renamed from insn_addresses.
(INSN_ADDRESSES_DEFN, INSN_ADDRESSES, INSN_ADDRESSES_ALLOC,
INSN_ADDRESSES_FREE, INSN_ADDRESSES_SET_P, INSN_ADDRESSES_SIZE,
INSN_ADDRESSES_NEW): New macros.
* genattrtab.c (write_test_expr): Use new macros.
* final.c (insn_addresses, init_insn_lengths): Likewise.
(align_fuzz, shorten_branches): Likewise.
(final): Likewise.  Do not reject new insns if their addresses
have been added to INSN_ADDRESSES.
* config/arm/arm.c, config/avr/avr.c: Use new macros.
* config/h8300/h8300.c, config/i370/i370.c: Likewise.
* config/m88k/m88k.c, config/pa/pa.c, config/pa/pa.md: Likewise.
* config/sparc/sparc.c, config/sparc/sparc.md: Likewise.
* config/sh/sh.c: Likewise.
(output_branchy_insn): Use INSN_ADDRESSES_NEW.

From-SVN: r35307

24 years agoMakefile.in (FLAGS_FOR_TARGET): New macro.
Alexandre Oliva [Fri, 28 Jul 2000 02:10:47 +0000 (02:10 +0000)]
Makefile.in (FLAGS_FOR_TARGET): New macro.

* Makefile.in (FLAGS_FOR_TARGET): New macro.
(GCC_FOR_TARGET): Use it.
(CC_FOR_TARGET, CXX_FOR_TARGET, CHILL_FOR_TARGET): Now defined...
* configure.in: ... here.
(FLAGS_FOR_TARGET): Define.  Add ld build dir to -L path.
(libstdcxx_flags): Define and append to CXX_FOR_TARGET.

From-SVN: r35306

24 years ago* Makefile.in (bootstrap): Move -BstageN/ back to the beginning.
Alexandre Oliva [Fri, 28 Jul 2000 01:57:07 +0000 (01:57 +0000)]
* Makefile.in (bootstrap): Move -BstageN/ back to the beginning.

From-SVN: r35305

24 years agogcc.c (struct prefix_list): Add member priority.
Andrew Cagney [Fri, 28 Jul 2000 01:46:11 +0000 (01:46 +0000)]
gcc.c (struct prefix_list): Add member priority.

* gcc.c (struct prefix_list): Add member priority.
(enum path_prefix_priority): Declare.
(add_prefix): Replace ``first'' with ``priority''.  Append new
entry but keep list in priority order.
(process_command): Update.  Pass PREFIX_PRIORITY_B_OPT or
PREFIX_PRIORITY_LAST to add_prefix.
(process_command): Move include kludge - foo/stageN - to before
foo/include.

From-SVN: r35304

24 years ago[multiple changes]
Alexandre Petit-Bianco [Fri, 28 Jul 2000 00:30:19 +0000 (17:30 -0700)]
[multiple changes]

2000-07-27  Tom Tromey  <tromey@cygnus.com>

        * parse.y (patch_method_invocation): Don't reverse the argument
        list when dealing with anonymous class constructors. Fixed typo in
        comment.

2000-07-27  Alexandre Petit-Bianco  <apbianco@cygnus.com>

        * parse.y (build_alias_initializer_parameter_list): Reverse
        crafted list when building aliases for anonymous class
        constructors.

(http://gcc.gnu.org/ml/gcc-patches/2000-07/msg01146.html)

From-SVN: r35303

24 years agomauve-libgcj: Activated serialization tests.
Warren Levy [Thu, 27 Jul 2000 23:57:07 +0000 (23:57 +0000)]
mauve-libgcj: Activated serialization tests.

* mauve-libgcj: Activated serialization tests.
* gcj/field.h (getModifiers): Mask off unknown flags.
* gnu/java/security/provider/SHA.java (munch): Reset buffer to 0 so
spurious bits don't cause discrepancies.
* java/io/ObjectOutputStream.java: Fixed typo in comment.
* java/io/ObjectStreamClass.java: Fixed typos in comments.
(lookup): Applied patch from Brian Jones <cbj@gnu.org> to optimize.
(hasClassInitializer): Call getDeclaredMethod instead of getMethod.
* java/lang/Throwable.java (serialVersionUID): New field.
* java/lang/reflect/Modifier.java (ALL_FLAGS): Preserve STRICT if used.
* java/lang/reflect/natConstructor.cc (getModifiers): Mask off
unknown flags.
* java/lang/reflect/natMethod.cc: Ditto.
* java/security/Key.java (serialVersionUID): Removed field for now.
* java/security/interfaces/DSAPrivateKey.java (serialVersionUID): Ditto.
* java/security/interfaces/DSAPublicKey.java (serialVersionUID): Ditto.

Serialization mods.

From-SVN: r35302

24 years agocp-tree.h (function_depth): Declare.
Mark Mitchell [Thu, 27 Jul 2000 21:10:29 +0000 (21:10 +0000)]
cp-tree.h (function_depth): Declare.

* cp-tree.h (function_depth): Declare.
(verify_stmt_tree): Likewise.
(find_tree): Likewise.
* decl.c (function_depth): Give it external linkage.
* optimize.c (optimize_function): Increment and decrement it.
* tree.c (verify_stmt_tree_r): New function.
(verify_stmt_tree): Likewise.
(find_tree_r): Likewise.
(find_tree): Likewise.

From-SVN: r35301

24 years agoc-decl.c (finish_function): Don't treat 'main' specially unless flag_hosted.
Joseph Myers [Thu, 27 Jul 2000 19:51:41 +0000 (13:51 -0600)]
c-decl.c (finish_function): Don't treat 'main' specially unless flag_hosted.

* c-decl.c (finish_function): Don't treat 'main' specially unless
flag_hosted.  In C99 mode, return 0 from 'main' unless
DEFAULT_MAIN_RETURN is otherwise defined.

From-SVN: r35300

24 years ago* gcc.dg/c99-main-1.c: New test.
Joseph Myers [Thu, 27 Jul 2000 19:49:25 +0000 (13:49 -0600)]
* gcc.dg/c99-main-1.c: New test.

From-SVN: r35299

24 years agoFix typo.
Jeff Law [Thu, 27 Jul 2000 18:50:18 +0000 (12:50 -0600)]
Fix typo.

From-SVN: r35298

24 years agodwarf2out.c (gen_typedef_die): Abort if we get identical TREE_TYPE and DECL_ORIGINAL_...
Jason Merrill [Thu, 27 Jul 2000 18:22:39 +0000 (14:22 -0400)]
dwarf2out.c (gen_typedef_die): Abort if we get identical TREE_TYPE and DECL_ORIGINAL_TYPE on a typedef.

        * dwarf2out.c (gen_typedef_die): Abort if we get identical
        TREE_TYPE and DECL_ORIGINAL_TYPE on a typedef.

        * typeck.c (common_type): If we're just returning one of our
        arguments, don't strip typedef types.

From-SVN: r35297

24 years agoPut phi nodes after NOTE_INSN_BASIC_BLOCK.
Mark Mitchell [Thu, 27 Jul 2000 17:25:14 +0000 (17:25 +0000)]
Put phi nodes after NOTE_INSN_BASIC_BLOCK.

* rtl.h (NOTE_INSN_BASIC_BLOCK_P): New macro.
* bb-reorder.c (get_next_bb_note): Use NOTE_INSN_BASIC_BLOCK_P.
(get_prev_bb_note): Likewise.
(remove_scope_notes): Likewise.
* flow.c (commit_one_edge_insertion): Likewise.
(merge_blocks_nomove): Likewise.
(verify_flow_info): Likewise.
* gcse.c (insert_insn_end_bb): Likewise.
* reg-stack.c (emit_swap_insn): Likewise.
* ssa.c (first_insn_after_basic_block_note): New function.
(insert_phi_node): Use it.
(rename_block): Likewise.
(eliminate_phi): Likewise.
(make_regs_equivalent_over_bad_edges): Likewise.
(make_equivalent_phi_alternatives_equivalent): Likewise.
(for_each_successor_phi): Likewise.
(convert_from_ssa): Modify phi-node deletion algorithm.

From-SVN: r35296

24 years agoRectangularShape.java (getPathIterator): Wrote.
Tom Tromey [Thu, 27 Jul 2000 16:27:42 +0000 (16:27 +0000)]
RectangularShape.java (getPathIterator): Wrote.

* java/awt/geom/RectangularShape.java (getPathIterator):
Wrote.

From-SVN: r35295

24 years agofini.c (main): Avoid automatic aggregate initialization.
Kaveh R. Ghazi [Thu, 27 Jul 2000 15:58:01 +0000 (15:58 +0000)]
fini.c (main): Avoid automatic aggregate initialization.

* fini.c (main): Avoid automatic aggregate initialization.

* proj.h: Indent #error directive.

From-SVN: r35294

24 years agoexpr.h (get_alias_set, [...]): Delete prototypes.
Rodney Brown [Thu, 27 Jul 2000 15:54:27 +0000 (09:54 -0600)]
expr.h (get_alias_set, [...]): Delete prototypes.

        * expr.h (get_alias_set, lang_get_alias_set): Delete prototypes.
        * tree.h (get_alias_set, lang_get_alias_set): Prototype.

From-SVN: r35293

24 years agoc-decl.c (store_parm_decls): In C99 mode...
Joseph Myers [Thu, 27 Jul 2000 15:49:56 +0000 (09:49 -0600)]
c-decl.c (store_parm_decls): In C99 mode...

        * c-decl.c (store_parm_decls): In C99 mode, pedwarn for function
        parameters defaulting to int in an old-style function definition.

From-SVN: r35292

24 years ago* gcc.dg/c90-impl-int-2.c, gcc.dg/c99-impl-int-2.c: New tests.
Joseph Myers [Thu, 27 Jul 2000 15:39:08 +0000 (09:39 -0600)]
* gcc.dg/c90-impl-int-2.c, gcc.dg/c99-impl-int-2.c: New tests.

From-SVN: r35291

24 years agoc-parse.in (string): For -Wtraditional, warn about string concatenation only once...
Kaveh R. Ghazi [Thu, 27 Jul 2000 15:35:32 +0000 (15:35 +0000)]
c-parse.in (string): For -Wtraditional, warn about string concatenation only once per line.

* c-parse.in (string): For -Wtraditional, warn about string
concatenation only once per line.

From-SVN: r35290

24 years agox-pa-hpux: Add -D_HIUX_SOURCE to FIXPROTO_DEFINES for HI-UX/WE2 systems.
Akiko Matsushita [Thu, 27 Jul 2000 15:26:05 +0000 (00:26 +0900)]
x-pa-hpux: Add -D_HIUX_SOURCE to FIXPROTO_DEFINES for HI-UX/WE2 systems.

        * pa/x-pa-hpux: Add -D_HIUX_SOURCE to FIXPROTO_DEFINES
        for HI-UX/WE2 systems.

From-SVN: r35289

24 years agorely* on GCC defining the __xxx_TYPE__ macros
Bruce Korb [Thu, 27 Jul 2000 13:29:21 +0000 (13:29 +0000)]
rely* on GCC defining the __xxx_TYPE__ macros

From-SVN: r35288

24 years ago[multiple changes]
Alexandre Petit-Bianco [Thu, 27 Jul 2000 11:13:51 +0000 (11:13 +0000)]
[multiple changes]

2000-07-25  Alexandre Petit-Bianco  <apbianco@cygnus.com>

        * parse.y (jdep_resolve_class): Don't bother checking potential
        innerclass access if `decl' is NULL.
        (find_in_imports_on_demand): TREE_PURPOSE of `import' contains the
        WFL.

2000-07-24  Alexandre Petit-Bianco  <apbianco@cygnus.com>

        * parse.y (find_as_inner_class): Removed 2000-07-19 patches.
        * jcf-parse.c (HANDLE_INNERCLASSES_ATTRIBUTE): Local `decl' moved
        outside the `if' statement, alias to innerclass removed, `decl'
        used to mark the class complete.

From-SVN: r35287

24 years agoDaily bump.
Jeff Law [Thu, 27 Jul 2000 07:45:08 +0000 (01:45 -0600)]
Daily bump.

From-SVN: r35286

24 years agodecl.c (start_cleanup_fn): Mark the function as `inline'.
Mark Mitchell [Thu, 27 Jul 2000 04:49:17 +0000 (04:49 +0000)]
decl.c (start_cleanup_fn): Mark the function as `inline'.

* decl.c (start_cleanup_fn): Mark the function as `inline'.
* decl2.c (get_guard): Call cp_finish_decl, not
rest_of_decl_compilation, for local guards.
* lex.c (do_identifier): Remove unused variable.

From-SVN: r35285

24 years agocpp.texi: Append a trailing full-stop to xrefs where needed.
Andrew Cagney [Thu, 27 Jul 2000 02:19:28 +0000 (02:19 +0000)]
cpp.texi: Append a trailing full-stop to xrefs where needed.

Thu Jul 27 11:54:17 2000  Andrew Cagney  <cagney@b1.cygnus.com>

        * cpp.texi: Append a trailing full-stop to xrefs where needed.

From-SVN: r35284

24 years agomh-openedition.h: Added -DLE370 definition.
Dave Pitts [Thu, 27 Jul 2000 02:00:36 +0000 (02:00 +0000)]
mh-openedition.h: Added -DLE370 definition.

2000-04-27  Dave Pitts  <dpitts@cozx.com>

        * config/mh-openedition.h: Added -DLE370 definition.

From-SVN: r35283

24 years agoi370.c: Remove LONGEXTERNAL ifdef from alias_number.
Dave Pitts [Thu, 27 Jul 2000 01:55:55 +0000 (01:55 +0000)]
i370.c: Remove LONGEXTERNAL ifdef from alias_number.

        * i370.c: Remove LONGEXTERNAL ifdef from alias_number. Added hash
        routine constants.
        (mvs_hash_alias): New function.
        (mvs_add_alias): Change argument spacing.
        (mvs_need_alias): Change aliasing criteria. Added documentation.
        (mvs_get_alias): Change to use hashed name. The hashed name prevents
        CSECT name collisions.
        (mvs_check_alias): Likewise.
        (handle_pragma): Change documentation.
        * i370.md (mulsi3, divsi3, udivsi3, modsi3, umodsi3): Changed gen_rtx
        mode from SImode to DImode.
        (iorhi3): Changed LTORG size for insn.

From-SVN: r35282

24 years agopexecute.c (pexecute): Change __GO32__ to __DJGPP__.
Mark Elbrecht [Thu, 27 Jul 2000 01:48:33 +0000 (01:48 +0000)]
pexecute.c (pexecute): Change __GO32__ to __DJGPP__.

        * pexecute.c (pexecute) [__MSDOS__]: Change __GO32__ to
        __DJGPP__. Use P_WAIT instead of constant in the spawnv* call.
        Cast program to 'char *' in errmsg_arg assignment.
        (PWAIT_ERROR): Define.
        (pwait): Use PWAIT_ERROR.  Adjust DJGPP's status code to conform
        to DJGPP's WIF* macros.

From-SVN: r35281

24 years agoreload.c (find_reloads_toplev): Reload a paradoxical subreg of a mem if the address...
Hans-Peter Nilsson [Thu, 27 Jul 2000 01:45:41 +0000 (01:45 +0000)]
reload.c (find_reloads_toplev): Reload a paradoxical subreg of a mem if the address is a mode_dependent_address_p.

        * reload.c (find_reloads_toplev): Reload a paradoxical subreg of a
        mem if the address is a mode_dependent_address_p.

From-SVN: r35280

24 years ago* gcc.c-tortuer/execute/20000726-1.c: New test.
Hans-Peter Nilsson [Thu, 27 Jul 2000 01:43:08 +0000 (01:43 +0000)]
* gcc.c-tortuer/execute/20000726-1.c: New test.

From-SVN: r35279

24 years agoh8300.c (print_operand): Print ":8" when the 'R' operand is suitable for 8-bit absolute.
Kazu Hirata [Thu, 27 Jul 2000 01:38:33 +0000 (01:38 +0000)]
h8300.c (print_operand): Print ":8" when the 'R' operand is suitable for 8-bit absolute.

        * h8300.c (print_operand): Print ":8" when the 'R' operand is
        suitable for 8-bit absolute.
        * h8300.h (EIGHTBIT_CONSTANT_ADDRESS_P): New.
        (OK_FOR_U): Add a case for the 8-bit constant address on the
        H8/300H.

From-SVN: r35278

24 years ago* varasm.c (assemble_variable) [! defined(ASM_OUTPUT_ALIGNED_COMMON)
Hans-Peter Nilsson [Thu, 27 Jul 2000 01:35:17 +0000 (01:35 +0000)]
* varasm.c (assemble_variable) [! defined(ASM_OUTPUT_ALIGNED_COMMON)
        && ! defined (ASM_OUTPUT_ALIGNED_BSS]): Also test
        ! defined(ASM_OUTPUT_ALIGNED_DECL_COMMON) before complaining about
        lack of implemented alignment.

From-SVN: r35277

24 years agoAdd Geoff K to the folks with global write permissions.
Jeff Law [Thu, 27 Jul 2000 01:28:25 +0000 (19:28 -0600)]
Add Geoff K to the folks with global write permissions.

From-SVN: r35276

24 years agoemit-rtl.c (gen_lowpart_common): Handle cross-compiling between 64-bit and 32-bit...
Geoff Keating [Thu, 27 Jul 2000 00:15:23 +0000 (00:15 +0000)]
emit-rtl.c (gen_lowpart_common): Handle cross-compiling between 64-bit and 32-bit machines.

* emit-rtl.c (gen_lowpart_common) [REAL_ARITHMETIC]: Handle
cross-compiling between 64-bit and 32-bit machines.

From-SVN: r35275

24 years agoia64.md (movqicc_astep, [...]): New.
Richard Henderson [Thu, 27 Jul 2000 00:12:52 +0000 (17:12 -0700)]
ia64.md (movqicc_astep, [...]): New.

        * config/ia64/ia64.md (movqicc_astep, movqi_internal_astep): New.
        (movhicc_astep, movhi_internal_astep): New.
        (movsicc_astep, movsi_internal_astep): New.
        (movdicc_astep, movdi_internal_astep): New.
        (movsfcc_astep, movsf_internal_astep): New.
        (movdfcc_astep, movdf_internal_astep): New.
        (movxfcc_astep, movxf_internal_astep): New.
        (cmovdi_internal_astep, cmovsi_internal_astep): New.
        Unify the cmov[ds]i splitters.

From-SVN: r35274

24 years agogetcwd.c: Include string.h, stdlib.h for prototypes
Rodney Brown [Wed, 26 Jul 2000 23:29:55 +0000 (17:29 -0600)]
getcwd.c: Include string.h, stdlib.h for prototypes

        * getcwd.c: Include string.h, stdlib.h for prototypes

Co-Authored-By: Jeffrey A Law <law@cygnus.com>
From-SVN: r35273

24 years agoMakefile.in (rename.o, waitpid.o): Depend on config.h
Rodney Brown [Wed, 26 Jul 2000 23:23:24 +0000 (17:23 -0600)]
Makefile.in (rename.o, waitpid.o): Depend on config.h

        * Makefile.in (rename.o, waitpid.o): Depend on config.h
        * rename.c: include config.h, unistd.h
        * waitpid.c: include config.h, sys/wait.h

Co-Authored-By: Jeffrey A Law <law@cygnus.com>
From-SVN: r35272

24 years ago* real.c (asctoeg): Rename `error' label to unexpected_char_error
Rodney Brown [Wed, 26 Jul 2000 23:18:47 +0000 (23:18 +0000)]
* real.c (asctoeg): Rename `error' label to unexpected_char_error

From-SVN: r35271

24 years agoRemove definition of __arm__ from CPP_PREDEFINES
Nick Clifton [Wed, 26 Jul 2000 21:39:42 +0000 (21:39 +0000)]
Remove definition of __arm__ from CPP_PREDEFINES

From-SVN: r35270

24 years agoacinclude.m4 (GLIBCPP_CHECK_LINKER_FEATURES): Test for GNU ld before trying to use...
Phil Edwards [Wed, 26 Jul 2000 21:30:45 +0000 (21:30 +0000)]
acinclude.m4 (GLIBCPP_CHECK_LINKER_FEATURES): Test for GNU ld before trying to use any of its options.

2000-07-26  Phil Edwards  <pme@sourceware.cygnus.com>

* acinclude.m4 (GLIBCPP_CHECK_LINKER_FEATURES):  Test for GNU ld
  before trying to use any of its options.
  (CHECK_MATH_DECL*,CHECK_BUILTIN_MATH_DECL*):  Cache tests.
* aclocal.m4:  Regenerate.
* configure.in:  Having found GNU make, name it.
* configure:  Regenerate.
* docs/install.html:  Mention possible problems with caching.
* src/Makefile.am (CXXLINK):  Use new OPT_LDFLAGS.
* src/Makefile.in:  Regenerate.
* libio/Makefile.in:  Regenerate.
* math/Makefile.in:  Regenerate.
* Makefile.in:  Regenerate.

From-SVN: r35269

24 years agoAccept SEQUENCE as well as PARALLEL blocks in FRAME_RELATED_EXPR notes.
Nick Clifton [Wed, 26 Jul 2000 20:59:32 +0000 (20:59 +0000)]
Accept SEQUENCE as well as PARALLEL blocks in FRAME_RELATED_EXPR notes.

From-SVN: r35268

24 years agomisc-inst.cc (std): Remove instantiations.
Benjamin Kosnik [Wed, 26 Jul 2000 20:55:48 +0000 (20:55 +0000)]
misc-inst.cc (std): Remove instantiations.

2000-07-26  Benjamin Kosnik  <bkoz@purist.soma.redhat.com>

* src/misc-inst.cc (std): Remove instantiations.

* acinclude.m4: Add forward-looking bits for autoconf.
* aclocal.m4: Regenerate.

* bits/ostream.tcc (ostream::operator<<): Fix const char* case.

From-SVN: r35267

24 years ago* parse.y: Add missing ';'.
Marc Espie [Wed, 26 Jul 2000 18:15:28 +0000 (18:15 +0000)]
* parse.y:  Add missing ';'.

From-SVN: r35266

24 years agoparse.y (empty_parms): Use `()', not `(...)', when in the scope of `extern "C++"'.
Mark Mitchell [Wed, 26 Jul 2000 15:40:08 +0000 (15:40 +0000)]
parse.y (empty_parms): Use `()', not `(...)', when in the scope of `extern "C++"'.

* parse.y (empty_parms): Use `()', not `(...)', when in the scope
of `extern "C++"'.

From-SVN: r35265

24 years agolang-specs.h: Remove one /dev/null from tradcpp invocation.
Toon Moene [Wed, 26 Jul 2000 12:37:12 +0000 (14:37 +0200)]
lang-specs.h: Remove one /dev/null from tradcpp invocation.

2000-07-26  Toon Moene  <toon@moene.indiv.nluug.nl>

* lang-specs.h: Remove one /dev/null from tradcpp invocation.

From-SVN: r35264

24 years agoDaily bump.
Jeff Law [Wed, 26 Jul 2000 07:45:08 +0000 (01:45 -0600)]
Daily bump.

From-SVN: r35263

24 years agoconfigure.in: Change AM_PROG_LIBTOOL to AC_PROG_LIBTOOL.
Benjamin Kosnik [Wed, 26 Jul 2000 06:51:38 +0000 (06:51 +0000)]
configure.in: Change AM_PROG_LIBTOOL to AC_PROG_LIBTOOL.

2000-07-25  Benjamin Kosnik  <bkoz@gnu.org>

* configure.in: Change AM_PROG_LIBTOOL to AC_PROG_LIBTOOL. Change
it back for current versions of maintainer-tools...
* acinclude.m4: Some cleanups...
* aclocal: Regenerated.
* configure: Regenerated.

* src/Makefile.am (CXXLINK): Add -Wl,-01 to the link line for
optimizing/adapting the hash table using GNU ld.
* src/Makefile.in: Regenerate.

* bits/std_fstream.h: Parameterize __basic_file.
* config/c_io_libio.cc: Add wchar_t methods for parameterization.
* bits/basic_file.h: Same here.

* bits/fstream.tcc: Shorten __retval to __ret.
* bits/ostream.tcc: Same.
* bits/sbuf_iter.h: Same.
* bits/sstream.tcc: Same.
* bits/streambuf.tcc: Same.
* bits/std_fstream.h: Same.
* src/string-inst.cc: Same.
* src/ios.cc: Same.
* config/c_io_libio.cc: Same.
* bits/string.tcc: Same.
* bits/std_streambuf.h: Same.

From-SVN: r35262

24 years agoMakefile.am (LIBIO_INCLUDES): Set to -I$(top_srcdir)/libio even if GLIBCPP_NEED_LIBIO...
H.J. Lu [Wed, 26 Jul 2000 06:49:33 +0000 (06:49 +0000)]
Makefile.am (LIBIO_INCLUDES): Set to -I$(top_srcdir)/libio even if GLIBCPP_NEED_LIBIO is false.

2000-07-24  H.J. Lu  <hjl@gnu.org>

        * src/Makefile.am (LIBIO_INCLUDES): Set to -I$(top_srcdir)/libio
        even if GLIBCPP_NEED_LIBIO is false. The installed glibc header
        files don't include private libio header files needed by
        libstdc++ v3.
        * src/Makefile.in: Rebuild.

From-SVN: r35261

24 years ago* gcc.c-torture/execute/enum-2.c: New test.
Alexandre Oliva [Wed, 26 Jul 2000 03:51:55 +0000 (03:51 +0000)]
* gcc.c-torture/execute/enum-2.c: New test.

From-SVN: r35260

24 years agoc-decl.c (finish_enum): Convert enumerations that fit in an `int' to `int'.
Alexandre Oliva [Wed, 26 Jul 2000 03:50:56 +0000 (03:50 +0000)]
c-decl.c (finish_enum): Convert enumerations that fit in an `int' to `int'.

* c-decl.c (finish_enum): Convert enumerations that fit in an
`int' to `int'.
(build_enumerator): In pedantic mode, cast to `int' those that
don't.

From-SVN: r35259

24 years ago* config/alpha/osf.h (SIZE_TYPE, PTRDIFF_TYPE): New.
Rodney Brown [Tue, 25 Jul 2000 22:29:02 +0000 (22:29 +0000)]
* config/alpha/osf.h (SIZE_TYPE, PTRDIFF_TYPE): New.

From-SVN: r35258

24 years agosh.md (cmpgtdi_t): Must be split.
J"orn Rennecke [Tue, 25 Jul 2000 22:10:38 +0000 (22:10 +0000)]
sh.md (cmpgtdi_t): Must be split.

* sh.md (cmpgtdi_t): Must be split.
(cmpgtdi_t+1): New splitter.

From-SVN: r35257

24 years agocpplib.c (_cpp_check_directive): Issue -Wtraditional warnings for indented directives...
Zack Weinberg [Tue, 25 Jul 2000 21:02:10 +0000 (21:02 +0000)]
cpplib.c (_cpp_check_directive): Issue -Wtraditional warnings for indented directives even if we are skipping.

* cpplib.c (_cpp_check_directive): Issue -Wtraditional
warnings for indented directives even if we are skipping.

From-SVN: r35256

24 years ago* gcc.dg/cpp/tr-warn3.c: New test.
Kaveh R. Ghazi [Tue, 25 Jul 2000 20:43:05 +0000 (20:43 +0000)]
* gcc.dg/cpp/tr-warn3.c: New test.

From-SVN: r35255

24 years agoKill strict_prototype.
Nathan Sidwell [Tue, 25 Jul 2000 20:19:24 +0000 (20:19 +0000)]
Kill strict_prototype.

Kill strict_prototype. Backwards compatibility only for
non NO_IMPLICIT_EXTERN_C systems.
* cp-tree.h (flag_strict_prototype): Remove.
(strict_prototype): Remove.
(strict_prototypes_lang_c, strict_prototypes_lang_cplusplus): Remove.
* decl.c (maybe_push_to_top_level): Adjust.
(pop_from_top_level): Adjust.
(decls_match): Only allow sloppy parm matching for ancient
system headers.
(init_decl_processing): Adjust.
(grokdeclarator): Adjust.
* decl2.c (flag_strict_prototype): Remove.
(strict_prototype): Remove.
(strict_prototypes_lang_c, strict_prototypes_lang_cplusplus): Remove.
(lang_f_options): Remove "strict-prototype".
(unsupported-options): Add "strict-prototype".
* lex.c (do_identifier): Adjust.
(do_scoped_id): Adjust.
* parse.y (empty_parms): Adjust.
* class.c (push_lang_context): Adjust.
(pop_lang_context): Adjust.
* typeck.c (comp_target_parms): Adjust.

From-SVN: r35254

24 years agoinvoke.texi (strict-prototypes): Remove.
Nathan Sidwell [Tue, 25 Jul 2000 20:17:28 +0000 (20:17 +0000)]
invoke.texi (strict-prototypes): Remove.

* invoke.texi (strict-prototypes): Remove.
* extend.texi (Deprecated Features): Add strict-prototypes.
(Backwards Compatibility): New node.

From-SVN: r35253

24 years agoimplicit1.C: Remove.
Nathan Sidwell [Tue, 25 Jul 2000 20:11:44 +0000 (20:11 +0000)]
implicit1.C: Remove.

* g++.old-deja/g++.ext/implicit1.C: Remove.
* g++.old-deja/g++.jason/c2.C: Remove
* g++.old-deja/g++.mike/p700.C: Add prototype parameters.
* g++.old-deja/g++.pt/crash16.C: Likewise.
* g++.old-deja/g++.brendan/crash43.C: Remove -fstrict-prototype.

From-SVN: r35252

24 years ago* g++.old-deja/g++.other/for2.C: New test.
Nathan Sidwell [Tue, 25 Jul 2000 19:39:41 +0000 (19:39 +0000)]
* g++.old-deja/g++.other/for2.C: New test.

From-SVN: r35251

24 years agodecl.c (poplevel): Deal with anonymous variables at for scope.
Nathan Sidwell [Tue, 25 Jul 2000 19:36:26 +0000 (19:36 +0000)]
decl.c (poplevel): Deal with anonymous variables at for scope.

* decl.c (poplevel): Deal with anonymous variables at for scope.
(maybe_inject_for_scope_var): Likewise.

From-SVN: r35250

24 years agoi386.md (andsi_1+1): Allow HImode.
Jakub Jelinek [Tue, 25 Jul 2000 19:35:45 +0000 (21:35 +0200)]
i386.md (andsi_1+1): Allow HImode.

* config/i386/i386.md (andsi_1+1): Allow HImode.
(andsi_1+2): Require q_regs_operand.
* gcc.dg/20000720-1.c: New test.

From-SVN: r35249

24 years agoi386.md (call_pop): Check operands[0], not operands[1].
Jakub Jelinek [Tue, 25 Jul 2000 19:32:13 +0000 (21:32 +0200)]
i386.md (call_pop): Check operands[0], not operands[1].

* config/i386/i386.md (call_pop): Check operands[0],
not operands[1]. Only check SYMBOL_REF_FLAG for a SYMBOL_REF.
(call): Likewise.
(call_value_pop): Only check SYMBOL_REF_FLAG for a SYMBOL_REF.
(call_value): Likewise.

From-SVN: r35248

24 years agotoplev.c (pipe_closed): Delete.
Zack Weinberg [Tue, 25 Jul 2000 19:01:33 +0000 (19:01 +0000)]
toplev.c (pipe_closed): Delete.

* toplev.c (pipe_closed): Delete.
(crash_signal): New.  Generate ICE for a fatal signal.
(float_signal): Call crash_signal outside a float-handler
block, not abort.
(main): Install crash_signal as handler for core-dumping signals.

* cp/decl.c: Remove all signal handling code, now done in toplev.c.

From-SVN: r35247

24 years agors6000.c (print_operand, case 'T'): New case.
David Edelsohn [Tue, 25 Jul 2000 18:46:54 +0000 (18:46 +0000)]
rs6000.c (print_operand, case 'T'): New case.

* rs6000.c (print_operand, case 'T'): New case.

* rs6000.md (call_indirect_aix32): Convert to expander of
scheduled instructions.
(call_indirect_aix64): Likewise.
(call_value_indirect_aix{32,64}): Likewise.
(call, call_value): Invoke expanders for AIX.  Fall through to
matchers for SysV.
(call_indirect_nonlocal_aix{32,64}): New patterns (ctr and lr).
(call_value_indirect_nonlocal_aix{32,64}): New patterns.
(call_nonlocal_aix32): Remove CALL_LONG alternative.  Operand 1
only "g" constraint.
(call_nonlocal_aix64): Likewise.
(call_value_nonlocal_aix{32,64}): Likewise.
(call_nonlocal_sysv): New pattern for ctr, lr, and symbolic
operands.
(call_value_nonlocal_sysv): New pattern.
(indirect_jump{si,di}): Use new 'T' modifier.
(tablejump{si,di} matchers): Likewise.
(return_internal_{si,di}): Likewise.
(return_eh_{si,di}): Likewise.

From-SVN: r35246

24 years agoColorModel.java: New file...
Rolf W. Rasmussen [Tue, 25 Jul 2000 17:53:30 +0000 (19:53 +0200)]
ColorModel.java: New file...

2000-07-23  Rolf W. Rasmussen  <rolfwr@ii.uib.no>

* libjava/java/awt/image/ColorModel.java: New file, replaces the
stub libjava/java/awt/ColorModel.java which was located in the
wrong package.
* libjava/java/awt/image/ComponentColorModel.java: New file.
* libjava/java/awt/image/ComponentSampleModel.java: New file.
* libjava/java/awt/image/DataBuffer.java: New file.
* libjava/java/awt/image/DataBufferByte.java: New file.
* libjava/java/awt/image/DataBufferInt.java: New file.
* libjava/java/awt/image/DataBufferUShort.java: New file.
* libjava/java/awt/image/DirectColorModel.java: New file.
* libjava/java/awt/image/PackedColorModel.java: New file.
* libjava/java/awt/image/Raster.java: New file.
* libjava/java/awt/image/SampleModel.java: New file.
* libjava/java/awt/image/SinglePixelPackedSampleModel.java: New
file.
* libjava/java/awt/image/IndexColorModel.java: New file.
* libjava/java/awt/image/ImageConsumer.java: Removed import of
java.awt.ColorModel stub.

* gnu/gcj/util/BitMaskExtent.java: New file, utility class.
* gnu/gcj/util/Buffers.java: New file, utility class.

* libjava/Makefile.am: Updated to include new files.
* libjava/Makefile.in: Rebuilt.

From-SVN: r35245

24 years agoparse.c: Remove (again.)
Alexandre Petit-Bianco [Tue, 25 Jul 2000 15:37:17 +0000 (08:37 -0700)]
parse.c: Remove (again.)

2000-07-25  Alexandre Petit-Bianco  <apbianco@cygnus.com>

* parse.c: Remove (again.)

From-SVN: r35244

24 years ago2000-07-25 Toon Moene <toon@moene.indiv.nluug.nl>
Toon Moene [Tue, 25 Jul 2000 14:55:54 +0000 (14:55 +0000)]
2000-07-25  Toon Moene  <toon@moene.indiv.nluug.nl>

Sorry - forgot changelog entry.

From-SVN: r35243

24 years ago20000630-2.x: Removed.
Toon Moene [Tue, 25 Jul 2000 14:50:05 +0000 (14:50 +0000)]
20000630-2.x: Removed.

2000-07-25  Toon Moene  <toon@moene.indiv.nluug.nl>

20000630-2.x: Removed.  Case fixed.

From-SVN: r35242

24 years agoDaily bump.
Jeff Law [Tue, 25 Jul 2000 07:45:14 +0000 (01:45 -0600)]
Daily bump.

From-SVN: r35241

24 years agoia64.c (ia64_print_operand): Handle "%,".
Richard Henderson [Tue, 25 Jul 2000 00:48:36 +0000 (17:48 -0700)]
ia64.c (ia64_print_operand): Handle "%,".

        * config/ia64/ia64.c (ia64_print_operand): Handle "%,".
        * config/ia64/ia64.h (PRINT_OPERAND_PUNCT_VALID_P): Likewise.
        * config/ia64/ia64.md (movdi_internal): Use it.

From-SVN: r35240

24 years agocppexp.c: Warn about unary + if -Wtraditional.
Zack Weinberg [Mon, 24 Jul 2000 21:49:34 +0000 (21:49 +0000)]
cppexp.c: Warn about unary + if -Wtraditional.

* cppexp.c: Warn about unary + if -Wtraditional.
* cpplex.c (lex_line): Always set BOL on the first token of a line.

From-SVN: r35239

24 years ago*** empty log message ***
Eric Christopher [Mon, 24 Jul 2000 21:20:50 +0000 (21:20 +0000)]
*** empty log message ***

From-SVN: r35238

24 years agoDelete references to FUNCTION_ARG_KEEP_AS_REFERENCE
Michael Meissner [Mon, 24 Jul 2000 21:07:34 +0000 (21:07 +0000)]
Delete references to FUNCTION_ARG_KEEP_AS_REFERENCE

From-SVN: r35237

24 years ago20000718-1.c: New test.
Eric Christopher [Mon, 24 Jul 2000 20:49:51 +0000 (20:49 +0000)]
20000718-1.c: New test.

2000-07-18  Eric Christopher <echristo@redhat.com>

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

From-SVN: r35236

24 years agoistream.tcc (getline): Tweaks.
Benjamin Kosnik [Mon, 24 Jul 2000 20:47:37 +0000 (20:47 +0000)]
istream.tcc (getline): Tweaks.

2000-07-24  Benjamin Kosnik  <bkoz@purist.soma.redhat.com>

* bits/istream.tcc (getline): Tweaks.

From-SVN: r35235

24 years ago20000722-1.x: New, testcase fails.
Geoff Keating [Mon, 24 Jul 2000 19:18:06 +0000 (19:18 +0000)]
20000722-1.x: New, testcase fails.

* gcc.c-torture/execute/20000722-1.x: New, testcase fails.
* gcc.c-torture/execute/20000722-1.c: New.
* gcc.c-torture/execute/20000516-1.c: Delete, replaced by 20000722-1.

From-SVN: r35234

24 years agoGenerate REG_FRAME_RELATED_EXPR notes that are compatible with
Nick Clifton [Mon, 24 Jul 2000 19:01:55 +0000 (19:01 +0000)]
Generate REG_FRAME_RELATED_EXPR notes that are compatible with
dwarf2out_frame_debug_expt.

From-SVN: r35233

24 years agodwarf2out.c: Complain if DWARF2_DEBUGGING_INFO is defined without UNALIGNED_INT_ASM_OP.
Jason Merrill [Mon, 24 Jul 2000 17:52:37 +0000 (13:52 -0400)]
dwarf2out.c: Complain if DWARF2_DEBUGGING_INFO is defined without UNALIGNED_INT_ASM_OP.

        * dwarf2out.c: Complain if DWARF2_DEBUGGING_INFO is defined without
        UNALIGNED_INT_ASM_OP.
        (def_cfa_1): Don't emit def_cfa_register or def_cfa_offset to adjust
        a location expression.
        (dwarf2out_frame_debug_expr): Lose cfa_old_reg stuff.  Don't
        assume indirect access if we're saving the CFA address exactly.

From-SVN: r35232

24 years ago* Makefile.in (bootstrap): Move -BstageN/ to the end.
Jason Merrill [Mon, 24 Jul 2000 17:43:42 +0000 (13:43 -0400)]
* Makefile.in (bootstrap): Move -BstageN/ to the end.

From-SVN: r35231

24 years agotweak
Jason Merrill [Mon, 24 Jul 2000 17:36:49 +0000 (13:36 -0400)]
tweak

From-SVN: r35230

24 years agotradcpp.c (main): Update max_include_len for cpp_include_defaults as well.
Jakub Jelinek [Mon, 24 Jul 2000 17:04:03 +0000 (19:04 +0200)]
tradcpp.c (main): Update max_include_len for cpp_include_defaults as well.

* tradcpp.c (main): Update max_include_len for cpp_include_defaults
as well.

From-SVN: r35229

24 years agoAdd D30V options
Michael Meissner [Mon, 24 Jul 2000 16:39:45 +0000 (16:39 +0000)]
Add D30V options

From-SVN: r35228

24 years ago[multiple changes]
Benjamin Kosnik [Mon, 24 Jul 2000 16:34:00 +0000 (16:34 +0000)]
[multiple changes]

2000-07-23  Brent Verner <brent@rcfile.org>

        * bits/istream.tcc: istream::getline(char_type*, streamsize,
char_type) make compliant
        * testsuite/27_io/istream_unformatted.cc: test for compliant behavior

2000-07-23  Benjamin Kosnik  <bkoz@haight.constant.com>

* acinclude.m4 (enable_cshadow_headers): Fix problems with blddir
and srcdir used to define CSHADOW_INCLUDES..

* configure.in: For consistency, change .sanity_warned to
stamp-sanity-warned.

* acinclude.m4: Tweak formatting.
* Makefile.am (check): Call mkcheck with full pathname for build
directory...
(check-install): And here.
* Makefile.in: Regenerate.

From-SVN: r35227

24 years agogcse.c (alloc_pre_mem): Do not alloc TRANSPOUT, it is not needed by our gcse pass...
Jeffrey A Law [Mon, 24 Jul 2000 15:47:06 +0000 (15:47 +0000)]
gcse.c (alloc_pre_mem): Do not alloc TRANSPOUT, it is not needed by our gcse pass anymore.

        * gcse.c (alloc_pre_mem): Do not alloc TRANSPOUT, it is not
        needed by our gcse pass anymore.
        (free_pre_mem): Corresponding changes.
        (compute_pre_data): Do not call compute_transpout anymore.

From-SVN: r35226

24 years agogcse.c (alloc_avail_expr_mem): Kill unused 'u_bitmap'.
Jeffrey A Law [Mon, 24 Jul 2000 15:32:05 +0000 (15:32 +0000)]
gcse.c (alloc_avail_expr_mem): Kill unused 'u_bitmap'.

        * gcse.c (alloc_avail_expr_mem): Kill unused 'u_bitmap'.
        (free_avail_expr_mem, alloc_pre_mem, free_pre_mem): Corresponding
        changes.

From-SVN: r35225

24 years agogcse.c (free_pre_mem): Do not free ANTLOC and AE_KILL here.
Jeffrey A Law [Mon, 24 Jul 2000 15:21:16 +0000 (15:21 +0000)]
gcse.c (free_pre_mem): Do not free ANTLOC and AE_KILL here.

        * gcse.c (free_pre_mem): Do not free ANTLOC and AE_KILL here.
        (compute_pre_data): Do it here instead.

From-SVN: r35224

24 years ago* gcc.dg/cpp/20000720-1.S: New test.
Jakub Jelinek [Mon, 24 Jul 2000 08:17:31 +0000 (10:17 +0200)]
* gcc.dg/cpp/20000720-1.S: New test.

From-SVN: r35223

24 years agogcse.c (alloc_pre_mem, [...]): Delete unused bitmap 'temp_bitmap'.
Jeffrey A Law [Mon, 24 Jul 2000 08:05:03 +0000 (08:05 +0000)]
gcse.c (alloc_pre_mem, [...]): Delete unused bitmap 'temp_bitmap'.

        * gcse.c (alloc_pre_mem, free_pre_mem): Delete unused bitmap
        'temp_bitmap'.
        (pre_delete): Corresponding changes.

From-SVN: r35222

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

From-SVN: r35221

24 years agoMakefile.in (configure-target-libf2c): Depend on $(ALL_GCC).
Alexandre Oliva [Mon, 24 Jul 2000 04:33:01 +0000 (04:33 +0000)]
Makefile.in (configure-target-libf2c): Depend on $(ALL_GCC).

* Makefile.in (configure-target-libf2c): Depend on $(ALL_GCC).
(configure-target-libchill, configure-target-libobjc): Likewise.

From-SVN: r35220

24 years agoconfigure.in: Use the same cache file for all target libs.
Alexandre Oliva [Mon, 24 Jul 2000 04:29:33 +0000 (04:29 +0000)]
configure.in: Use the same cache file for all target libs.

* configure.in: Use the same cache file for all target libs.
* config-ml.in: But different cache files per multilib variant.

From-SVN: r35219

24 years agoconfigure.in (THREADS): Don't --enable-threads on IRIX <= 5.*.
Alexandre Oliva [Mon, 24 Jul 2000 04:20:09 +0000 (04:20 +0000)]
configure.in (THREADS): Don't --enable-threads on IRIX <= 5.*.

* configure.in (THREADS): Don't --enable-threads on IRIX <= 5.*.
* configure: Rebuilt.

From-SVN: r35218

24 years ago* dyn_load.c (GC_scratch_last_end_ptr): Don't declare a #define.
Alexandre Oliva [Mon, 24 Jul 2000 04:06:16 +0000 (04:06 +0000)]
* dyn_load.c (GC_scratch_last_end_ptr): Don't declare a #define.

From-SVN: r35217

24 years agoMake-lang.in: Put $(build_exeext) suffix on programs which run on the build machine.
David Billinghurst [Sun, 23 Jul 2000 22:02:00 +0000 (16:02 -0600)]
Make-lang.in: Put $(build_exeext) suffix on programs which run on the build machine.

        * Make-lang.in: Put $(build_exeext) suffix on programs which run
        on the build machine.

From-SVN: r35216

24 years agoc-semantics.c (make_rtl_for_local_static): Use TREE_ASM_WRITTEN to figure out whether...
Mark Mitchell [Sun, 23 Jul 2000 19:59:41 +0000 (19:59 +0000)]
c-semantics.c (make_rtl_for_local_static): Use TREE_ASM_WRITTEN to figure out whether or not a variable has already been...

* c-semantics.c (make_rtl_for_local_static): Use TREE_ASM_WRITTEN
to figure out whether or not a variable has already been emitted.

* decl.c (make_rtl_for_nonlocal_decl): Rework.

* pt.c (lookup_template_class): Ensure that TYPE_CONTEXT is set
correctly.

From-SVN: r35215

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