gcc.git
24 years agoc-common.h (c_language_kind): New type.
Mark Mitchell [Tue, 6 Jun 2000 21:54:54 +0000 (21:54 +0000)]
c-common.h (c_language_kind): New type.

* c-common.h (c_language_kind): New type.
(c_language): New variab.e
* c-common.c (lang_get_alias_set): Don't put structures in
non-zero alias sets in C++.
* c-decl.c (c_language): Define it.
* c-lex.c (doing_objc_thang): Remove.
* c-tree.h (doing_objc_thang): Make it a macro.
* objc/objc-act.c (lang_decode_option): Set c_language, not
doing_objc_thang.

* decl2.c (c_language): Define.

From-SVN: r34439

24 years agodecl.c (redeclaration_error_message): If two TEMPLATE_DECLs have the same DECL_RESULT...
Mark Mitchell [Tue, 6 Jun 2000 21:41:28 +0000 (21:41 +0000)]
decl.c (redeclaration_error_message): If two TEMPLATE_DECLs have the same DECL_RESULT, it's not a redefinition.

* decl.c (redeclaration_error_message): If two TEMPLATE_DECLs have
the same DECL_RESULT, it's not a redefinition.
* pt.c (tsubst_decl): Remove code to handle illegal
specializations.

From-SVN: r34438

24 years ago20000605-2.c: New test.
Richard Henderson [Tue, 6 Jun 2000 20:54:30 +0000 (13:54 -0700)]
20000605-2.c: New test.

        * gcc.c-torture/execute/20000605-2.c: New test.
        * gcc.c-torture/execute/20000605-3.c: New test.

From-SVN: r34437

24 years agoacconfig.h: Added defines for HAVE_BUILTIN math functs for float, double and long...
Steven King [Tue, 6 Jun 2000 20:26:13 +0000 (20:26 +0000)]
acconfig.h: Added defines for HAVE_BUILTIN math functs for float, double and long double.

2000-06-06  Steven King <sxking@uswest.net>

        * acconfig.h: Added defines for HAVE_BUILTIN math functs for float,
        double and long double.  Added defines for HAVE libm math functs for
        float and long double.
        * aclocal.m4: Added configure checks for builtin math funcs and libm
        support for float and long double versions of the math functions.
        * config.h.in: Added undefs for math functs.
        * configure: Regenerate.
        * math/mathconf: Changed the _GLIBCPP_HAS_BUILTIN_* to
        _GLIBCPP_HAVE_BUILTIN_*.
        * bits/std_cmath.h: Added long double support.  Use builtins for
        float, double and long if available, otherwise, use libm versions if
        availible, otherwise, punt.
        * shadow/bits/std_cmath.h: ditto

From-SVN: r34436

24 years agodiagnostic.c (output_maximum_width): Remove.
Gabriel Dos Reis [Tue, 6 Jun 2000 20:11:40 +0000 (20:11 +0000)]
diagnostic.c (output_maximum_width): Remove.

2000-06-06  Gabriel Dos Reis  <gdr@codesourcery.com>

        * diagnostic.c (output_maximum_width): Remove.
        (doing_line_wrapping): Tweak.
        (diagnostic_buffer): New object.
        (global_output_buffer): New object.
        (output_destroy_prefix): New function.
        (default_initialize_buffer): Likewise.
        (reshape_diagnostic_buffer): Likewise.
        (initialize_diagnostics): Likewise.
        (output_clear): Tweak.
        (line_wrapper_printf): Adjust call to init_output_buffer.
        (vline_wrapper_message_with_location): Likewise.  Use
        output_destroy_prefix.
        (v_message_with_decl): Likewise.

        * diagnostic.h (struct output_buffer): Constify prefix.
        (init_output_buffer, output_get_prefix): Constify.
        (diagnostic_message_length_per_line): Likewise.
        (reshape_diagnostic_buffer): Declare.
        (default_initialize_buffer): Declare.
        (initialize_diagnostics): Declare.
        (diagnostic_buffer): Declare new obbject.

        * toplev.c: #include diagnostic.h
        (display_help): Document diagnostic formatting options.
        (decode_f_option): Handle diagnostic formatting options.
        (main): Setup initialization for diagnostic messages outputter.

        * toplev.h (set_message_length): Remove.

        * Makefile.in (toplev.o): Depends upon diagnostic.h

        * invoke.texi : Document diagnostics formatting options.

cp/
2000-06-06  Gabriel Dos Reis  <gdr@codesourcery.com>

        * lex.c (lang_init_options): Tweak.

        * decl2.c: Remove #inclusion of diagnostic.h
        (lang_decode_option): Move diagnostic formatting options to
        toplevel.

        * lang-options.h: Remove documentation for diagnostic options.

        * Makefile.in (lex.o): Depends upon diagnostic.h

From-SVN: r34435

24 years agodecl.c (redeclaration_error_message): If two TEMPLATE_DECLs have the same DECL_RESULT...
Mark Mitchell [Tue, 6 Jun 2000 19:55:54 +0000 (19:55 +0000)]
decl.c (redeclaration_error_message): If two TEMPLATE_DECLs have the same DECL_RESULT, it's not a redefinition.

2000-06-06  Mark Mitchell  <mark@codesourcery.com>

* decl.c (redeclaration_error_message): If two TEMPLATE_DECLs have
the same DECL_RESULT, it's not a redefinition.
* pt.c (tsubst_decl): Remove code to handle illegal
specializations.

From-SVN: r34434

24 years agoparse.y (check_modifiers_consistency): Don't subtract out `PUBLIC_TK' from argument...
Tom Tromey [Tue, 6 Jun 2000 18:46:16 +0000 (18:46 +0000)]
parse.y (check_modifiers_consistency): Don't subtract out `PUBLIC_TK' from argument to THIS_MODIFIER_ONLY.

* parse.y (check_modifiers_consistency): Don't subtract out
`PUBLIC_TK' from argument to THIS_MODIFIER_ONLY.

From-SVN: r34433

24 years ago* g77.f-torture/execute/20000503-1.x: New file.
David Billinghurst [Tue, 6 Jun 2000 17:46:14 +0000 (17:46 +0000)]
* g77.f-torture/execute/20000503-1.x: New file.

From-SVN: r34432

24 years agoconfigure.in (Make the links): Typo fix ...
Philippe De Muyter [Tue, 6 Jun 2000 17:36:34 +0000 (19:36 +0200)]
configure.in (Make the links): Typo fix ...

* configure.in (Make the links): Typo fix : the file that must be
included without #ifdef IN_GCC is `auto-host.h', not `auto-config.h'.
* configure: File rebuilt.

From-SVN: r34431

24 years ago* g++.old-deja/g++.eh/badalloc1.C: New test.
Nathan Sidwell [Tue, 6 Jun 2000 16:39:52 +0000 (16:39 +0000)]
* g++.old-deja/g++.eh/badalloc1.C: New test.

From-SVN: r34430

24 years agoeh-common.h (EH_ALLOC_SIZE, [...]): New #defines.
Nathan Sidwell [Tue, 6 Jun 2000 16:38:49 +0000 (16:38 +0000)]
eh-common.h (EH_ALLOC_SIZE, [...]): New #defines.

gcc:
  * eh-common.h (EH_ALLOC_SIZE, EH_ALLOC_ALIGN): New #defines.
(eh_context): Add alloc_mask and alloc_buffer emergency fallback
space.
* libgcc2.c (__eh_alloc): Moved from cp/exception.cc. Fallback on
emergency eh_context buffer, if malloc fails.
(__eh_free): Moved from cp/exception.cc. Release to emergency
eh_context buffer, if appropriate.
gcc/cp:
* exception.cc: (__eh_alloc, __eh_free): Moved to libgcc2.c

From-SVN: r34429

24 years ago* expr.c (store_expr): Fix typo.
Jason Merrill [Tue, 6 Jun 2000 16:28:49 +0000 (16:28 +0000)]
* expr.c (store_expr): Fix typo.

From-SVN: r34428

24 years agom68k.c (legitimize_pic_address): Move prototype ...
Kaveh R. Ghazi [Tue, 6 Jun 2000 16:21:41 +0000 (16:21 +0000)]
m68k.c (legitimize_pic_address): Move prototype ...

* m68k.c (legitimize_pic_address): Move prototype ...

* m68k-protos.h (legitimize_pic_address): ... here.

* m68k.md (legitimize_pic_address): Delete prototypes.
(untyped_call): Invoke GEN_CALL(), not gen_call().

* nextstep.c: Include system.h and toplev.h.
(get_directive_line): Don't prototype.
(handle_pragma): Mark parameters with ATTRIBUTE_UNUSED and constify.

* nextstep.h (handle_pragma): Prototype.
(SECTION_FUNCTION): Prototype FUNCTION().  Move prototype of
objc_section_init ...
(EXTRA_SECTION_FUNCTIONS): ... here.

From-SVN: r34427

24 years agosdbout.c (struct sdb_file): NAME now const.
Richard Kenner [Tue, 6 Jun 2000 12:08:44 +0000 (12:08 +0000)]
sdbout.c (struct sdb_file): NAME now const.

* sdbout.c (struct sdb_file): NAME now const.
(sdbout_init): input_file_name now const.
(sdbout_start_new_source_file): FILENAME now const.
* sdbout.c (sdbout_init, sdbout_start_new_source_file): Reflect above.

From-SVN: r34426

24 years agoDaily bump.
Jeff Law [Tue, 6 Jun 2000 07:45:08 +0000 (01:45 -0600)]
Daily bump.

From-SVN: r34425

24 years ago*gcc/configure: regenerated
Philipp Thomas [Tue, 6 Jun 2000 07:24:57 +0000 (07:24 +0000)]
*gcc/configure: regenerated

From-SVN: r34424

24 years agoconfigure.in (AC_C_INLINE): Added.
Philipp Thomas [Tue, 6 Jun 2000 07:23:42 +0000 (07:23 +0000)]
configure.in (AC_C_INLINE): Added.

gcc/:
        * configure.in (AC_C_INLINE): Added.
* configure: Regenerate.

gcc/java:
* Makefile.in (INTLLIBS): New.
(LIBS): Add above.
(DEPLIBS): Ditto.

gcc/f:
* Makefile.in(INTLLIBS): New macro.
(LIBS): Add INTLLIBS.
(DEPLIBS): Likewise.

gcc/ch:
* Makefile.in: Changed to be processed by configure.
(INTLLIBS): New macro.
(LIBS): Add INTLLIBS.
(DEPLIBS): Likewise.
* config-lang(outputs): Specify ch/Makefile.

gcc/po:
* Makefile.in.in: Add --define switch for xgettext.

gcc/intl:
* Makefile.in: Add -DIN_GCC to DEFS, add appropriate -I switches.
* dcgettext.c: Define _GNU_SOURCE before any system header is
included. Guard getcwd declaration with HAVE_DECL_GETCWD.
* loadmsgcat.c (_nl_load_domain): Cast st.st_size in compaison to
size_t.
* localealias.c: Define _GNU_SOURCE before any system header is
included. Don't use return value of memcpy because it could be a
macro defined in terms of bcopy.
(read_alias_file): Remove HAVE_MEMCPY guard and just don't use the
return value of memcpy. Cast argument to fgets and strlen to char *.
* explodename.c (_nl_explode_name): Cast codeset to unsigned char **
in call to _nl_normalize_codeset.
* l10nflist.c: Define _GNU_SOURCE before any system header is
included.

From-SVN: r34423

24 years agoc-typeck.c (build_conditional_expr): Handle complex data types.
Gabriel Dos Reis [Tue, 6 Jun 2000 06:55:35 +0000 (06:55 +0000)]
c-typeck.c (build_conditional_expr): Handle complex data types.

2000-06-06  Gabriel Dos Reis  <gdr@codesourcery.com>

        * c-typeck.c (build_conditional_expr): Handle complex data types.

From-SVN: r34422

24 years agoexplow.c (maybe_set_unchanging): New function, broken out from...
Jason Merrill [Tue, 6 Jun 2000 03:37:50 +0000 (03:37 +0000)]
explow.c (maybe_set_unchanging): New function, broken out from...

        * explow.c (maybe_set_unchanging): New function, broken out from...
        (set_mem_attributes): Here.
        * expr.h: Declare it.
        * stmt.c (expand_decl): Call it.

From-SVN: r34421

24 years agoreload1.c (choose_reload_regs): Mind CLASS_CANNOT_CHANGE_SIZE while looking for a...
Richard Henderson [Tue, 6 Jun 2000 02:40:14 +0000 (19:40 -0700)]
reload1.c (choose_reload_regs): Mind CLASS_CANNOT_CHANGE_SIZE while looking for a register to inherit from.

        * reload1.c (choose_reload_regs): Mind CLASS_CANNOT_CHANGE_SIZE
        while looking for a register to inherit from.

From-SVN: r34420

24 years agoMakefile.in (libgcc.ready): Lose.
Jason Merrill [Tue, 6 Jun 2000 01:56:06 +0000 (01:56 +0000)]
Makefile.in (libgcc.ready): Lose.

        * Makefile.in (libgcc.ready): Lose.
        (libgcc.mk): Just use mv, not move-if-change.
        (LIBGCC_DEPS): New macro.
        (libgcc.a): Use it.
        (stmp-multilib): Likewise.
        * mklibgcc.in (stmp-dirs): New target.  Make everything depend on
        it rather than the directories themselves.
        (LIB2ADD): Depend on the list file rather than 'force'.

From-SVN: r34419

24 years agoNew test.
Richard Henderson [Tue, 6 Jun 2000 00:19:52 +0000 (17:19 -0700)]
New test.

From-SVN: r34418

24 years agosimplify
Jason Merrill [Tue, 6 Jun 2000 00:17:32 +0000 (20:17 -0400)]
simplify

From-SVN: r34417

24 years agofold-const.c (fold, [...]): Elide conversion between cv-qualified versions of types.
Jason Merrill [Tue, 6 Jun 2000 00:15:37 +0000 (00:15 +0000)]
fold-const.c (fold, [...]): Elide conversion between cv-qualified versions of types.

        * fold-const.c (fold, case COND_EXPR): Elide conversion between
        cv-qualified versions of types.

From-SVN: r34416

24 years agosearch.c (maybe_suppress_debug_info): Don't check CLASSTYPE_INTERFACE_ONLY if CLASSTY...
Jason Merrill [Tue, 6 Jun 2000 00:12:40 +0000 (00:12 +0000)]
search.c (maybe_suppress_debug_info): Don't check CLASSTYPE_INTERFACE_ONLY if CLASSTYPE_INTERFACE_KNOWN isn't set.

        * search.c (maybe_suppress_debug_info): Don't check
        CLASSTYPE_INTERFACE_ONLY if CLASSTYPE_INTERFACE_KNOWN isn't set.

        * pt.c (mark_decl_instantiated): Do SET_DECL_EXPLICIT_INSTANTIATION
        here if extern_p.

        Remember instantiation context in deferred instantiations.
        * cp-tree.h (struct tinst_level): Remove.
        (TINST_DECL, TINST_LINE, TINST_FILE): New macros.
        * pt.c (current_tinst_level): Now a tree.
        (print_template_context, push_tinst_level, pop_tinst_level,
        tinst_for_decl): Adjust.
        (reopen_tinst_level): New fn.
        (init_pt): Register current_tinst_level as a root.
        (add_pending_template): Put current_tinst_level in TREE_PURPOSE
        of the pending templates list.
        (instantiate_pending_templates): Adjust.  Call reopen_tinst_level.
        * lex.c (extract_interface_info): Adjust.
        * decl2.c (warn_if_unknown_interface): Adjust.

From-SVN: r34415

24 years agoconfig.guess: Updated to latest version.
Philipp Thomas [Mon, 5 Jun 2000 23:23:43 +0000 (23:23 +0000)]
config.guess: Updated to latest version.

* config.guess: Updated to latest version.
* config.sub: Likewise.

From-SVN: r34413

24 years agoclass.c (indirect_primary_base_p): New function.
Mark Mitchell [Mon, 5 Jun 2000 20:01:47 +0000 (20:01 +0000)]
class.c (indirect_primary_base_p): New function.

* class.c (indirect_primary_base_p): New function.
(determine_primary_base): Use it.

From-SVN: r34412

24 years agocp-demangle.c (demangle_prefix): Cast argument to isdigit to unsigned char.
Alex Samuel [Mon, 5 Jun 2000 18:24:07 +0000 (18:24 +0000)]
cp-demangle.c (demangle_prefix): Cast argument to isdigit to unsigned char.

* cp-demangle.c (demangle_prefix): Cast argument to isdigit to
unsigned char.
(demangle_unqualified_name): Likewise.
(demangle_number_literally): Likewise.
(demangle_type): Likewise.
(demangle_substitution): Likewise.
(is_mangled_char): Likewise, for isalnum.

From-SVN: r34411

24 years agosparc.c (short_branch): Correct error in range computation.
Richard Kenner [Mon, 5 Jun 2000 18:04:53 +0000 (18:04 +0000)]
sparc.c (short_branch): Correct error in range computation.

* config/sparc/sparc.c (short_branch): Correct error in range
computation.

From-SVN: r34410

24 years agoNew include hacks for ultrix
Bruce Korb [Mon, 5 Jun 2000 17:49:58 +0000 (17:49 +0000)]
New include hacks for ultrix

From-SVN: r34409

24 years agotypo
Bruce Korb [Mon, 5 Jun 2000 17:49:33 +0000 (17:49 +0000)]
typo

From-SVN: r34408

24 years agoNew include hacks for ultrix
J. David Anglin [Mon, 5 Jun 2000 17:44:07 +0000 (17:44 +0000)]
New include hacks for ultrix

From-SVN: r34407

24 years agoOops, remove conflict marker
Zack Weinberg [Mon, 5 Jun 2000 17:00:32 +0000 (17:00 +0000)]
Oops, remove conflict marker

From-SVN: r34406

24 years agoobjc-act.c (generate_method_descriptors): Register objc_method_prototype_template...
Zack Weinberg [Mon, 5 Jun 2000 16:59:43 +0000 (16:59 +0000)]
objc-act.c (generate_method_descriptors): Register objc_method_prototype_template as a GC root.

* objc/objc-act.c (generate_method_descriptors): Register
objc_method_prototype_template as a GC root.
(comp_method_with_proto): Register function_type as a GC root.
(comp_proto_with_proto): Replace function_type1 and
function_type2 with a two-element array; register it as a GC root.

(generate_protocols, build_protocol_initializer,
generate_protocol_list, build_category_initializer,
build_shared_structure_initializer): Do not cache cast_type
and/or cast_type2.

From-SVN: r34405

24 years agofunction.c (assign_parms): Add missing argument to set_mem_attributes call.
J. David Anglin [Mon, 5 Jun 2000 16:58:25 +0000 (12:58 -0400)]
function.c (assign_parms): Add missing argument to set_mem_attributes call.

* function.c (assign_parms): Add missing argument to set_mem_attributes
call.

From-SVN: r34404

24 years ago20000605-1.c: New test.
Jakub Jelinek [Mon, 5 Jun 2000 13:44:29 +0000 (15:44 +0200)]
20000605-1.c: New test.

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

Co-Authored-By: Nathan Sidwell <nathan@codesourcery.com>
From-SVN: r34403

24 years agotree.h (VOID_TYPE_P): New macro.
Nathan Sidwell [Mon, 5 Jun 2000 13:16:14 +0000 (13:16 +0000)]
tree.h (VOID_TYPE_P): New macro.

* tree.h (VOID_TYPE_P): New macro.
(COMPLETE_OR_VOID_TYPE_P): Use VOID_TYPE_P.
* c-decl.c (grokdeclarator): Use VOID_TYPE_P.
(get_parm_info): Likewise.
(store_parm_decls): Likewise.
(combine_parm_decls): Likewise.
(finish_function): Likewise.
* c-typeck.c (build_function_call): Likewise.
(build_binary_op): Likewise.
(build_conditional_expr): Likewise.
(internal_build_compound_expr): Likewise.
(convert_for_assignment): Likewise.
* stmt.c (expend_expr_stmt): Likewise.
(warn_if_unused_value): Likewise.
(expand_return): Likewise.
* c-parse.in (primary): Likewise.
* c-parse.y, c-parse.c, c-parse.h: Regenerate.
* objc/objc-parse.y, objc/objc-parse.c: Regenerate.

From-SVN: r34402

24 years agoUpdate new-abi dynamic cast algorithm.
Nathan Sidwell [Mon, 5 Jun 2000 12:14:23 +0000 (12:14 +0000)]
Update new-abi dynamic cast algorithm.

* tinfo.cc (__class_type_info::__dyncast_result): Add
whole_details. Adjust constructor.
(__vmi_class_type_info::__do_dyncast): Adjust for vmi_flags.
Avoid unnecessary searching.
(__dynamic_cast): Adjust for __dyncast_result::whole_details.

From-SVN: r34401

24 years agoalias.c (get_alias_set): If compnent is addressable, use alias set of component.
Richard Kenner [Mon, 5 Jun 2000 10:49:11 +0000 (10:49 +0000)]
alias.c (get_alias_set): If compnent is addressable, use alias set of component.

* alias.c (get_alias_set): If compnent is addressable, use alias
set of component.
* c-decl.c (init_decl_processing): Don't call record_component_aliases.
(grokdeclarator): Likewise.
* c-typeck.c (common_type): Likewise.
* cp/decl.c (init_decl_processing): Don't call
record_component_aliases.
* cp/tree.c (build_cplus_array_type_1): Likewise.

From-SVN: r34400

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

From-SVN: r34399

24 years agoMakefile.in (OBJS): Remove dyn_string.o
Alex Samuel [Mon, 5 Jun 2000 06:37:17 +0000 (06:37 +0000)]
Makefile.in (OBJS): Remove dyn_string.o

* Makefile.in (OBJS): Remove dyn_string.o
(dyn-string.o): Delete rule.
* dyn-string.c: Delete file
* dyn-string.h: Likewise.

From-SVN: r34398

24 years agoIn include,
Alex Samuel [Mon, 5 Jun 2000 02:28:41 +0000 (02:28 +0000)]
In include,

* dyn-string.h: Move here from gcc/dyn-string.h.  Add new functions.

* demangle.h (DMGL_GNU_NEW_ABI): New macro.
(DMGL_STYLE_MASK): Or in DMGL_GNU_NEW_ABI.
(current_demangling_style): Add gnu_new_abi_demangling.
(GNU_NEW_ABI_DEMANGLING_STYLE_STRING): New macro.
(GNU_NEW_ABI_DEMANGLING): Likewise.
(cplus_demangle_new_abi): New declaration.

In libiberty,

* Makefile.in (CFILES): Add cp-demangle.c and dyn-string.c.
(REQUIRED_OFILES): Add cp-demangle.o and dyn-string.o.
(cp-demangle.o): New dependency.
(dyn-string.o): Likewise.

* dyn-string.c: Move here from gcc/dyn-string.c.  Add new functions.

* cplus-dem.c (libiberty_demanglers): Add initializer for new-ABI
demangler.
(cplus_demangle): Call cplus_demangle_new_abi if in new-ABI
demangling mode.
(gnu_new_abi_symbol_characters): New function.
(main): Use gnu_new_abi_symbol_characters.  * cp-demangle.c: New
file.
* cp-demangle.c: New file.

From-SVN: r34397

24 years agoir.texi: Correct typo.
Mark Mitchell [Mon, 5 Jun 2000 01:42:22 +0000 (01:42 +0000)]
ir.texi: Correct typo.

* ir.texi: Correct typo.
* mangle.c (write_expression): Handle non-type template arguments
with reference type.
* method.c (build_overload_value): Likewise.
* pt.c (convert_nontype_argument): Explicitly represent conversion
to a reference with an ADDR_EXPR.
(unify): Always unify arguments in left-to-right order.

From-SVN: r34396

24 years agolibioP.h: Handle new ABI mangling.
Mark Mitchell [Sun, 4 Jun 2000 21:16:04 +0000 (21:16 +0000)]
libioP.h: Handle new ABI mangling.

* libioP.h: Handle new ABI mangling.
* stdstrbufs.cc: Likewise.

From-SVN: r34395

24 years agoMake-lang.in (CXX_SRCS): Add mangle.c.
Alex Samuel [Sun, 4 Jun 2000 21:12:27 +0000 (21:12 +0000)]
Make-lang.in (CXX_SRCS): Add mangle.c.

* Make-lang.in (CXX_SRCS): Add mangle.c.
* Makefile.in (CXX_OBJS): Add mangle.o.
(mangle.o): New rule.

Co-Authored-By: Mark Mitchell <mark@codesourcery.com>
From-SVN: r34394

24 years agoMakefile.in (intl.*): Honor non-zero exit codes in the intl subdir.
Kaveh R. Ghazi [Sun, 4 Jun 2000 19:52:22 +0000 (19:52 +0000)]
Makefile.in (intl.*): Honor non-zero exit codes in the intl subdir.

* Makefile.in (intl.*): Honor non-zero exit codes in the intl
subdir.

From-SVN: r34393

24 years ago* newcvsroot: Handle filenames that contain spaces.
Mark Mitchell [Sun, 4 Jun 2000 17:33:50 +0000 (17:33 +0000)]
* newcvsroot: Handle filenames that contain spaces.

From-SVN: r34391

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

From-SVN: r34390

24 years agoalias.c (record_component_aliases): Don't inspect DECL_NONADDRESSABLE_P of non-FIELD_...
Geoff Keating [Sun, 4 Jun 2000 05:51:12 +0000 (05:51 +0000)]
alias.c (record_component_aliases): Don't inspect DECL_NONADDRESSABLE_P of non-FIELD_DECL components of structures.

        * alias.c (record_component_aliases): Don't inspect
        DECL_NONADDRESSABLE_P of non-FIELD_DECL components of structures.

From-SVN: r34389

24 years agofix typo
Michael Meissner [Sun, 4 Jun 2000 05:24:29 +0000 (05:24 +0000)]
fix typo

From-SVN: r34388

24 years agotest_summary: In generated script, use cat <<'EOF' not cat <<\EOF.
Zack Weinberg [Sun, 4 Jun 2000 02:06:54 +0000 (02:06 +0000)]
test_summary: In generated script, use cat <<'EOF' not cat <<\EOF.

* test_summary: In generated script, use cat <<'EOF' not cat <<\EOF.
Elide --with-gcc-version-trigger and --norecursion from
configure flags.  Remove code to report status of haifa scheduler.

From-SVN: r34387

24 years agoadd IFCVT_MODIFY macros for the MD file to tweak the conditional execution support.
Michael Meissner [Sun, 4 Jun 2000 02:03:03 +0000 (02:03 +0000)]
add IFCVT_MODIFY macros for the MD file to tweak the conditional execution support.

From-SVN: r34386

24 years agoexpand
Jason Merrill [Sun, 4 Jun 2000 02:02:19 +0000 (22:02 -0400)]
expand

From-SVN: r34385

24 years agocp-tree.h (TMPL_ARGS_LEVEL): Clarify comment.
Mark Mitchell [Sat, 3 Jun 2000 21:42:49 +0000 (21:42 +0000)]
cp-tree.h (TMPL_ARGS_LEVEL): Clarify comment.

* cp-tree.h (TMPL_ARGS_LEVEL): Clarify comment.
(INNERMOST_TEMPLATE_ARGS): New macro.
(innermost_args): Remove.
(get_innermost_template_args): New function.
* decl2.c (arg_assoc_class): Use INNERMOST_TEMPLATE_ARGS.
* error.c (dump_function_decl): Be caution when using
most_general_template.
* method.c (build_template_parm_names):  Use
INNERMOST_TEMPLATE_ARGS.
* pt.c (add_to_template_args): Tidy comment
(get_innermost_template_args): New function.
(check_explicit_specialization): Clear DECL_INITIAL for a new
specialization.
(process_partial_specialization): Use INNERMOST_TEMPLATE_ARGS.
Tidy.
(push_template_decl): Always register specializations of the most
general template.
(convert_template_argument): Use INNERMOST_TEMPLATE_ARGS.
(coerce_template_parms): Likewise.
(lookup_template_class): Likewise.
(innermost_args): Remove.
(tsubst_decl): Use INNERMOST_TEMPLATE_ARGS.
(tsubst_decl): Handle tricky specializations.  Use
get_innermost_template_args.
(instantiate_template): Simplify handling of partial
instantiations.
(get_class_bindings): Use INNERMOST_TEMPLATE_ARGS.
(most_general_template): Reimplement, in a more straightforward
manner.
(regenerate_decl_from_template): Tweak formatting.  Use
TMPL_ARGS_DEPTH for clarity.
(set_mangled_name_for_template_decl): Use INNERMOST_ARGS.

* dump.c (dequeue_and_dump): Dump information about thunks.

From-SVN: r34384

24 years ago* g77.f-torture/compile/20000601-1.f: New test.
David Billinghurst [Sat, 3 Jun 2000 21:34:24 +0000 (15:34 -0600)]
* g77.f-torture/compile/20000601-1.f:  New test.

From-SVN: r34383

24 years ago* chill.texi (INFO-DIR-ENTRY): Fix chill entry.
Jeffrey A Law [Sat, 3 Jun 2000 21:32:06 +0000 (21:32 +0000)]
* chill.texi (INFO-DIR-ENTRY): Fix chill entry.

From-SVN: r34382

24 years ago* toplev.c (main): Fix misspellings of possibility and language.
Matt Kraai [Sat, 3 Jun 2000 21:28:37 +0000 (21:28 +0000)]
* toplev.c (main): Fix misspellings of possibility and language.

From-SVN: r34381

24 years agoalias.c (record_alias_subset): Initialize has_zero_child in the superset.
Richard Henderson [Sat, 3 Jun 2000 15:03:21 +0000 (08:03 -0700)]
alias.c (record_alias_subset): Initialize has_zero_child in the superset.

        * alias.c (record_alias_subset): Initialize has_zero_child in the
        superset.

From-SVN: r34380

24 years ago* gcc.c-torture/execute/20000603-1.c: New.
Richard Henderson [Sat, 3 Jun 2000 15:01:49 +0000 (08:01 -0700)]
* gcc.c-torture/execute/20000603-1.c: New.

From-SVN: r34379

24 years ago* arm.md (untyped_call): Use GEN_CALL macro.
Richard Earnshaw [Sat, 3 Jun 2000 10:44:59 +0000 (10:44 +0000)]
* arm.md (untyped_call): Use GEN_CALL macro.

From-SVN: r34378

24 years agoDaily bump.
Jeff Law [Sat, 3 Jun 2000 07:45:08 +0000 (01:45 -0600)]
Daily bump.

From-SVN: r34377

24 years agoMakefile.in: Use $(MAKE) not "make"
Pekka Nikander [Sat, 3 Jun 2000 03:01:59 +0000 (06:01 +0300)]
Makefile.in: Use $(MAKE) not "make"

2000-06-01  Pekka Nikander  <pnr@teldanex.tcm.hut.fi>

       * Makefile.in: Use $(MAKE) not "make"

From-SVN: r34376

24 years agoexception.cc (__cp_pop_exception): If we aren't popping or rethrowing, push down...
Jason Merrill [Sat, 3 Jun 2000 02:20:09 +0000 (02:20 +0000)]
exception.cc (__cp_pop_exception): If we aren't popping or rethrowing, push down past any uncaught exceptions.

        * exception.cc (__cp_pop_exception): If we aren't popping or
        rethrowing, push down past any uncaught exceptions.
        (__uncatch_exception): Rethrow the currently handled exception.
        Move it to the top of the exception stack.

From-SVN: r34375

24 years agonew
Jason Merrill [Sat, 3 Jun 2000 02:07:51 +0000 (22:07 -0400)]
new

From-SVN: r34374

24 years agoalias.c (struct alias_set_entry): New field has_zero_child.
Richard Kenner [Sat, 3 Jun 2000 01:57:46 +0000 (01:57 +0000)]
alias.c (struct alias_set_entry): New field has_zero_child.

* alias.c (struct alias_set_entry): New field has_zero_child.
(mem_in_disjoint_alias_sets_p): Return 0 if set in either ase.
(get_alias_set): If language-dependent routine set TYPE_ALIAS_SET,
do nothing.
Call record_component_aliases for aggregate types.
(record_alias_subset): Set has_zero_child.
(record_component_aliases, case ARRAY_TYPE): Do nothing if
TYPE_NONALIASES_COMPONENT.
(record_component_aliases, case RECORD_TYPE): Test
DECL_NONADDRESSABLE_P.
* c-decl.c (grokdeclarator): Set DECL_NONADDRESSABLE_P instead
of TREE_ADDRESSABLE.
* calls.c (initialize_argument_information): Only test
TYPE_TRANSPARENT_UNION for UNION_TYPE.
* function.c (assign_parms): Likewise.
* integrate.c (function_cannot_inline_p): Likewise.
* stor-layout.c (finish_record_layout): Don't call
record_component_aliases.
* tree.h (struct tree_int_cst): Use struct tree_common.
(struct tree_real_cst, struct tree_string): Likewise.
(struct tree_complex, struct tree_identifier): Likewise.
(struct tree_list, struct tree_vec, struct tree_exp): Likewise.
(struct tree_block, struct tree_type, struct tree_decl): Likewise.
(TYPE_TRANSPARENT_UNION): Use UNION_TYPE_CHECK.
(TYPE_NONALIASES_COMPONENT): New macro.
(TYPE_AMBIENT_BOUNDEDNESS): Use FUNCTION_TYPE_CHECK.
(DECL_NONADDRESSABLE_P): New macro.
(struct tree_decl): Reorder bits for clarity of how many left;
add non_adressable.
* cp/cp-tree.h: Use struct tree_common instead of a char array.
* cp/decl.c (grokdeclarator): Set DECL_NONADDRESSABLE_P instead
of TREE_ADDRESSABLE.

From-SVN: r34373

24 years agonoreturn-1.c (foo7, foo8): Revert previous change.
Zack Weinberg [Sat, 3 Jun 2000 01:53:57 +0000 (01:53 +0000)]
noreturn-1.c (foo7, foo8): Revert previous change.

* gcc.dg/noreturn-1.c (foo7, foo8): Revert previous change.
* gcc.dg/noreturn-2.c (noreturn): Likewise.

From-SVN: r34372

24 years agolocale_facets.h: Tweak.
Benjamin Kosnik [Sat, 3 Jun 2000 01:52:32 +0000 (01:52 +0000)]
locale_facets.h: Tweak.

2000-06-02  Benjamin Kosnik  <bkoz@purist.soma.redhat.com>

* bits/locale_facets.h: Tweak.
* src/locale.cc (codecvt<wchar_t>): Tweak.

* bits/locale_facets.h (_Format_cache): _S_ecks -> _S_x.
* bits/locale_facets.tcc (num_get<char>::_M_extract): Fix for hex.

* bits/basic_string.h: Move data member up.
* src/string-inst.cc: Fix instantiations.
* bits/string.tcc: Fix types.

From-SVN: r34371

24 years agoMakefile.in (libgcc.a): Also depend on $(LIB2ADD).
Jason Merrill [Sat, 3 Jun 2000 01:39:51 +0000 (01:39 +0000)]
Makefile.in (libgcc.a): Also depend on $(LIB2ADD).

        * Makefile.in (libgcc.a): Also depend on $(LIB2ADD).
        * mklibgcc.in (force): New target.
        Make LIB2ADD stuff depend on it.

From-SVN: r34370

24 years agoclass.c (get_dispatch_table): Build the vtable dummy entry list element with a null...
Alexandre Petit-Bianco [Sat, 3 Jun 2000 00:46:44 +0000 (00:46 +0000)]
class.c (get_dispatch_table): Build the vtable dummy entry list element with a null purpose.

Fri Jun  2 16:48:55 2000  Alexandre Petit-Bianco  <apbianco@cygnus.com>

        * class.c (get_dispatch_table): Build the vtable dummy entry list
        element with a null purpose. Fixed leading comment.
        (build_dtable_decl): Build an accurate dtable type when appropriate
        and use it.

From-SVN: r34369

24 years agoalias.c (lang_get_alias_set): Remove.
Richard Henderson [Sat, 3 Jun 2000 00:33:00 +0000 (17:33 -0700)]
alias.c (lang_get_alias_set): Remove.

gcc/
* alias.c (lang_get_alias_set): Remove.
(get_alias_set): Call it directly, not indirectly.
* c-common.c (lang_get_alias_set): Rename from c_get_alias_set.
* c-common.h (c_get_alias_set): Don't declare.
* c-decl.c (init_decl_processing): Don't set lang_get_alias_set.
* expr.h (lang_get_alias_set): Declare as function, not pointer.

gcc/ch/
* lang.c (lang_get_alias_set): New.

gcc/cp/
* decl.c (init_decl_processing): Don't set lang_get_alias_set.

gcc/f/
* com.c (lang_get_alias_set): New.

gcc/java/
* lang.c (lang_get_alias_set): New.

From-SVN: r34368

24 years agotweak
Jason Merrill [Sat, 3 Jun 2000 00:15:05 +0000 (20:15 -0400)]
tweak

From-SVN: r34367

24 years agonew
Jason Merrill [Sat, 3 Jun 2000 00:02:48 +0000 (20:02 -0400)]
new

From-SVN: r34366

24 years agolocale_facets.h (_Format_cache): _S_ecks -> _S_x.
Benjamin Kosnik [Fri, 2 Jun 2000 19:41:42 +0000 (19:41 +0000)]
locale_facets.h (_Format_cache): _S_ecks -> _S_x.

2000-06-02  Benjamin Kosnik  <bkoz@purist.soma.redhat.com>

* bits/locale_facets.h (_Format_cache): _S_ecks -> _S_x.
* bits/locale_facets.tcc (num_get<char>::_M_extract): Fix for hex.

From-SVN: r34365

24 years ago* decl.c (store_return_init): Call put_var_into_stack.
Jason Merrill [Fri, 2 Jun 2000 19:38:35 +0000 (19:38 +0000)]
* decl.c (store_return_init): Call put_var_into_stack.

From-SVN: r34364

24 years agoreplace.cc (test01): Qualify find with std::.
Anthony Williams [Fri, 2 Jun 2000 18:31:44 +0000 (18:31 +0000)]
replace.cc (test01): Qualify find with std::.

2000-06-02  Anthony Williams  <anthony@anthonyw.cjb.net>

* testsuite/21_strings/replace.cc (test01): Qualify find with std::.

From-SVN: r34363

24 years agooops
Jason Merrill [Fri, 2 Jun 2000 18:19:02 +0000 (14:19 -0400)]
oops

From-SVN: r34362

24 years agonew
Jason Merrill [Fri, 2 Jun 2000 17:49:26 +0000 (13:49 -0400)]
new

From-SVN: r34361

24 years agoonly shut down the server process if the master process is exiting
Bruce Korb [Fri, 2 Jun 2000 17:25:47 +0000 (17:25 +0000)]
only shut down the server process if the master process is exiting

From-SVN: r34360

24 years agofix test result for ultrix_atof_param
Bruce Korb [Fri, 2 Jun 2000 16:04:10 +0000 (16:04 +0000)]
fix test result for ultrix_atof_param

From-SVN: r34359

24 years agofix test result for osf_namespace_a
Bruce Korb [Fri, 2 Jun 2000 15:59:32 +0000 (15:59 +0000)]
fix test result for osf_namespace_a

From-SVN: r34358

24 years agoregenerate fixincl.x
Loren J. Rittle [Fri, 2 Jun 2000 14:30:24 +0000 (14:30 +0000)]
regenerate fixincl.x

From-SVN: r34357

24 years agoc-common.c (c_get_alias_set): Check whether signed_type did not return its argument...
Jakub Jelinek [Fri, 2 Jun 2000 12:50:08 +0000 (14:50 +0200)]
c-common.c (c_get_alias_set): Check whether signed_type did not return its argument before calling...

* c-common.c (c_get_alias_set): Check whether signed_type did not
return its argument before calling get_alias_set on the result.

From-SVN: r34356

24 years agoinclhack.def (osf_namespace_a): Relax expression to match that used before the conver...
Loren J. Rittle [Fri, 2 Jun 2000 11:45:57 +0000 (11:45 +0000)]
inclhack.def (osf_namespace_a): Relax expression to match that used before the conversion to c_fix style.

* fixinc/inclhack.def (osf_namespace_a): Relax expression to
match that used before the conversion to c_fix style.

From-SVN: r34355

24 years agoexpr.c (emit_group_load): Fix typo, GET_MODE not GET_CODE.
Andrew MacLeod [Fri, 2 Jun 2000 10:15:43 +0000 (10:15 +0000)]
expr.c (emit_group_load): Fix typo, GET_MODE not GET_CODE.

2000-06-02  Andrew MacLeod  <amacleod@cygnus.com>

* expr.c (emit_group_load): Fix typo, GET_MODE not GET_CODE.

From-SVN: r34354

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

From-SVN: r34353

24 years agostd_cwctype.h: Clean.
Benjamin Kosnik [Fri, 2 Jun 2000 07:24:15 +0000 (07:24 +0000)]
std_cwctype.h: Clean.

2000-06-01  Benjamin Kosnik  <bkoz@gnu.org>

* bits/std_cwctype.h: Clean.
* bits/std_cwchar.h: Clean, remove cruft.

* acinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPORT): Re-work, add bits
for beginning iconv support.
Remove _GLIBCPP_HAS_WCHAR_MIN_MAX, roll into _GLIBCPP_USE_WCHAR_T
macro.
* acconfig.h: Remove _GLIBCPP_HAS_WCHAR_MIN_MAX.
* bits/limits_generic.h: Remove.
* src/gen-num-limits.cc: Same.

* src/locale.cc: Tweaks.

* bits/char_traits.h: Tweaks.

From-SVN: r34352

24 years agocp-tree.h (lang_decl_flags): Add anticipated_p.
Mark Mitchell [Fri, 2 Jun 2000 05:45:34 +0000 (05:45 +0000)]
cp-tree.h (lang_decl_flags): Add anticipated_p.

* cp-tree.h (lang_decl_flags): Add anticipated_p.
(DECL_ANTICIPATED): Use it.

From-SVN: r34351

24 years agosh.h (CPP_SPEC): Add -D__NOMACSAVE__ for -mnomacsave.
J"orn Rennecke [Thu, 1 Jun 2000 23:36:32 +0000 (23:36 +0000)]
sh.h (CPP_SPEC): Add -D__NOMACSAVE__ for -mnomacsave.

* sh.h (CPP_SPEC): Add -D__NOMACSAVE__ for -mnomacsave.
(CONDITIONAL_REGISTER_USAGE): Mac registers are call used
for TARGET_NOMACSAVE.
(NOMACSAVE_BIT): Define.
(TARGET_NOMACSAVE): Define.
(TARGET_SWITCHES): Add "nomacsave".

From-SVN: r34350

24 years agorestore comment
Jason Merrill [Thu, 1 Jun 2000 23:16:50 +0000 (19:16 -0400)]
restore comment

From-SVN: r34349

24 years ago* sh.md (untyped_call): Remove excess parameters
Toshiyasu Morita [Thu, 1 Jun 2000 23:14:27 +0000 (23:14 +0000)]
* sh.md (untyped_call): Remove excess parameters

From-SVN: r34348

24 years agore GNATS gcj/127 (gcj dumps core on method invocation on a primitive type)
Bryce McKinlay [Thu, 1 Jun 2000 20:43:37 +0000 (20:43 +0000)]
re GNATS gcj/127 (gcj dumps core on method invocation on a primitive type)

2000-05-23  Bryce McKinlay  <bryce@albatross.co.nz>

       * parse.y (patch_method_invocation): Don't try to lookup methods
       in primitive types.

(This fixes the PR gcj/127:
 http://sourceware.cygnus.com/ml/java-prs/2000-q1/msg00011.html)

From-SVN: r34347

24 years agovarray.h (VARRAY_PUSH_GENERIC_PTR, [...]): Fix macro argument typo.
Stan Cox [Thu, 1 Jun 2000 20:13:29 +0000 (20:13 +0000)]
varray.h (VARRAY_PUSH_GENERIC_PTR, [...]): Fix macro argument typo.

2000-06-01  Stan Cox  <scox@cygnus.com>
* varray.h (VARRAY_PUSH_GENERIC_PTR, VARRAY_PUSH_CHAR_PTR): Fix
macro argument typo.

From-SVN: r34346

24 years agocompare2.c (case 12): XFAIL.
Zack Weinberg [Thu, 1 Jun 2000 20:10:49 +0000 (20:10 +0000)]
compare2.c (case 12): XFAIL.

* gcc.dg/compare2.c (case 12): XFAIL.
* gcc.dg/noreturn-1.c (foo7, foo8): XFAIL.
* gcc.dg/noreturn-2.c (noreturn): XFAIL.

From-SVN: r34345

24 years ago[multiple changes]
Zack Weinberg [Thu, 1 Jun 2000 20:06:57 +0000 (20:06 +0000)]
[multiple changes]

2000-06-01  Zack Weinberg  <zack@wolery.cumb.org>

* cpplex.c (maybe_macroexpand): Use CPP_WTRADITIONAL.  Improve
error message.
* cpplib.c (parse_include): Remove support for VAX-C
"#include starlet" misfeature.

* gcc.dg/cpp-tradwarn2.c: Update egrep pattern.

2000-05-31 Laurynas Biveinis <lauras@softhome.net>

* cppfiles.c: conditionally define O_BINARY.
(open_include_file): pass O_BINARY to open().

From-SVN: r34344

24 years agore GNATS gcj/207 (Compiler failure)
Alexandre Petit-Bianco [Thu, 1 Jun 2000 18:26:16 +0000 (18:26 +0000)]
re GNATS gcj/207 (Compiler failure)

Thu Apr 27 17:47:34 2000  Alexandre Petit-Bianco  <apbianco@cygnus.com>

* jcf-parse.c (jcf_parse_source): Reset current_class and
  current_function_decl to NULL before parsing a new file.

(This fixes the PR gcj/207:
 http://sourceware.cygnus.com/ml/java-prs/2000-q2/msg00044.html)

From-SVN: r34343

24 years agoi960.c (i960_br_predict_opcode): Remove.
Richard Henderson [Thu, 1 Jun 2000 16:29:09 +0000 (09:29 -0700)]
i960.c (i960_br_predict_opcode): Remove.

        * i960.c (i960_br_predict_opcode): Remove.
        (i960_print_operand) [+]: Emit branch prediction hints.
        (i960_function_arg): Return early for VOIDmode.
        (i960_round_align): Return early for incomplete types.
        * i960.h (PRINT_OPERAND_PUNCT_VALID_P): New.
        * i960.md (all conditional branches): Add "%+".

From-SVN: r34342

24 years agoalias.c (get_alias_set): Don't call language-specific routine more than is needed...
Richard Kenner [Thu, 1 Jun 2000 16:18:18 +0000 (16:18 +0000)]
alias.c (get_alias_set): Don't call language-specific routine more than is needed and clean up code a bit.

* alias.c (get_alias_set): Don't call language-specific routine more
than is needed and clean up code a bit.
* c-common.c (c_get_alias_set): All references whose type
is char get alias set 0, but character types need not.
* varasm.c (make_function_rtl): Don't call set_mem_attributes.
(make_decl_rtl): Don't call it for FUNCTION_DECL.

From-SVN: r34341

24 years agore GNATS gcj/129 (Static array length access bug in gcj)
Alexandre Petit-Bianco [Thu, 1 Jun 2000 16:04:14 +0000 (16:04 +0000)]
re GNATS gcj/129 (Static array length access bug in gcj)

2000-05-02  Alexandre Petit-Bianco  <apbianco@cygnus.com>

        * parse.y (resolve_field_access): Call the appropriate <clinit>
        before accessing the length of a static array. Craft a decl for
        the field while its time.

(Fixes the PR #129:
 http://sourceware.cygnus.com/ml/java-prs/2000-q1/msg00013.html)

From-SVN: r34340

24 years agonew check result files for fixinc
Bruce Korb [Thu, 1 Jun 2000 14:51:11 +0000 (14:51 +0000)]
new check result files for fixinc

From-SVN: r34339

24 years agoi386.c (ix86_use_fcomi_compare): Make global.
Clinton Popetz [Thu, 1 Jun 2000 14:41:31 +0000 (14:41 +0000)]
i386.c (ix86_use_fcomi_compare): Make global.

* config/i386/i386.c (ix86_use_fcomi_compare): Make global.
* config/i386/i386-protos.h (ix86_use_fcomi_compare): Declare.
* config/i386/i386.md (*fp_jcc_3, *fp_jcc_4): Disable if we
will use FCOMI.

From-SVN: r34338