Commit Graph

28731 Commits

Author SHA1 Message Date
Jeff Law
538962e7de Daily bump.
From-SVN: r34425
2000-06-06 01:45:08 -06:00
Philipp Thomas
8708335a9e *gcc/configure: regenerated
From-SVN: r34424
2000-06-06 07:24:57 +00:00
Philipp Thomas
603832a03e 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
2000-06-06 07:23:42 +00:00
Gabriel Dos Reis
f519a4527d 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
2000-06-06 06:55:35 +00:00
Jason Merrill
258a120bab 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
2000-06-05 23:37:50 -04:00
Richard Henderson
c9d8a81361 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
2000-06-05 19:40:14 -07:00
Jason Merrill
2aceb30d90 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
2000-06-05 21:56:06 -04:00
Richard Henderson
fce8451d82 New test.
From-SVN: r34418
2000-06-05 17:19:52 -07:00
Jason Merrill
16a8282ca1 simplify
From-SVN: r34417
2000-06-05 20:17:32 -04:00
Jason Merrill
a7833bec2c 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
2000-06-05 20:15:37 -04:00
Jason Merrill
3ae18eaf85 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
2000-06-05 20:12:40 -04:00
Philipp Thomas
ef0b4ef8d6 config.guess: Updated to latest version.
* config.guess: Updated to latest version.
	* config.sub: Likewise.

From-SVN: r34413
2000-06-05 23:23:43 +00:00
Mark Mitchell
7cafdb8bfe class.c (indirect_primary_base_p): New function.
* class.c (indirect_primary_base_p): New function.
	(determine_primary_base): Use it.

From-SVN: r34412
2000-06-05 20:01:47 +00:00
Alex Samuel
3faa108c7b 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
2000-06-05 18:24:07 +00:00
Richard Kenner
77b9151288 sparc.c (short_branch): Correct error in range computation.
* config/sparc/sparc.c (short_branch): Correct error in range
	computation.

From-SVN: r34410
2000-06-05 14:04:53 -04:00
Bruce Korb
bde8e56451 New include hacks for ultrix
From-SVN: r34409
2000-06-05 17:49:58 +00:00
Bruce Korb
5b39f702d0 typo
From-SVN: r34408
2000-06-05 17:49:33 +00:00
J. David Anglin
a7fc602f17 New include hacks for ultrix
From-SVN: r34407
2000-06-05 17:44:07 +00:00
Zack Weinberg
83adf9da64 Oops, remove conflict marker
From-SVN: r34406
2000-06-05 17:00:32 +00:00
Zack Weinberg
88a19424c6 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
2000-06-05 16:59:43 +00:00
J. David Anglin
a696c1d662 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
2000-06-05 12:58:25 -04:00
Jakub Jelinek
1687c88ca9 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
2000-06-05 13:44:29 +00:00
Nathan Sidwell
71653180cf 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
2000-06-05 13:16:14 +00:00
Nathan Sidwell
19331b539d 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
2000-06-05 12:14:23 +00:00
Richard Kenner
806617595f 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
2000-06-05 06:49:11 -04:00
Jeff Law
137e9760b7 Daily bump.
From-SVN: r34399
2000-06-05 01:45:07 -06:00
Alex Samuel
cd306eed2b 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
2000-06-05 06:37:17 +00:00
Alex Samuel
69afa80d10 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
2000-06-05 02:28:41 +00:00
Mark Mitchell
0dc09a613b 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
2000-06-05 01:42:22 +00:00
Mark Mitchell
f557989836 libioP.h: Handle new ABI mangling.
* libioP.h: Handle new ABI mangling.
	* stdstrbufs.cc: Likewise.

From-SVN: r34395
2000-06-04 21:16:04 +00:00
Alex Samuel
1f6e1acc0f 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
2000-06-04 21:12:27 +00:00
Kaveh R. Ghazi
031926e2a3 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
2000-06-04 19:52:22 +00:00
Mark Mitchell
84d6d72f82 * newcvsroot: Handle filenames that contain spaces.
From-SVN: r34391
2000-06-04 17:33:50 +00:00
Jeff Law
35718b49f4 Daily bump.
From-SVN: r34390
2000-06-04 01:45:07 -06:00
Geoff Keating
b16a49a14c 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
2000-06-04 05:51:12 +00:00
Michael Meissner
089f6dc348 fix typo
From-SVN: r34388
2000-06-04 05:24:29 +00:00
Zack Weinberg
dd5330e8e8 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
2000-06-04 02:06:54 +00:00
Michael Meissner
90280148a6 add IFCVT_MODIFY macros for the MD file to tweak the conditional execution support.
From-SVN: r34386
2000-06-04 02:03:03 +00:00
Jason Merrill
7a50d89174 expand
From-SVN: r34385
2000-06-03 22:02:19 -04:00
Mark Mitchell
f9a7ae04e9 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
2000-06-03 21:42:49 +00:00
David Billinghurst
22ad59662f * g77.f-torture/compile/20000601-1.f: New test.
From-SVN: r34383
2000-06-03 15:34:24 -06:00
Jeffrey A Law
888457d7b9 * chill.texi (INFO-DIR-ENTRY): Fix chill entry.
From-SVN: r34382
2000-06-03 15:32:06 -06:00
Matt Kraai
bc83ee5999 * toplev.c (main): Fix misspellings of possibility and language.
From-SVN: r34381
2000-06-03 15:28:37 -06:00
Richard Henderson
570eb5c8b9 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
2000-06-03 08:03:21 -07:00
Richard Henderson
72934de72b * gcc.c-torture/execute/20000603-1.c: New.
From-SVN: r34379
2000-06-03 08:01:49 -07:00
Richard Earnshaw
d6c266b250 * arm.md (untyped_call): Use GEN_CALL macro.
From-SVN: r34378
2000-06-03 10:44:59 +00:00
Jeff Law
367d27ef19 Daily bump.
From-SVN: r34377
2000-06-03 01:45:08 -06:00
Pekka Nikander
f0267a678d 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
2000-06-03 03:01:59 +00:00
Jason Merrill
6a83e470e7 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
2000-06-02 22:20:09 -04:00
Jason Merrill
de695d2c6d new
From-SVN: r34374
2000-06-02 22:07:51 -04:00