]> gcc.gnu.org Git - gcc.git/log
gcc.git
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

24 years ago* Makefile.in (c-decl.o): Depend on $(EXPR_H), not expr.h.
Richard Henderson [Thu, 1 Jun 2000 10:13:19 +0000 (03:13 -0700)]
* Makefile.in (c-decl.o): Depend on $(EXPR_H), not expr.h.

From-SVN: r34337

24 years ago* decl.c (init_decl_processing): Set lang_get_alias_set first thing.
Richard Henderson [Thu, 1 Jun 2000 09:44:58 +0000 (02:44 -0700)]
* decl.c (init_decl_processing): Set lang_get_alias_set first thing.

From-SVN: r34336

24 years ago* c-decl.c (init_decl_processing): Set lang_get_alias_set first thing.
Richard Henderson [Thu, 1 Jun 2000 09:44:37 +0000 (02:44 -0700)]
* c-decl.c (init_decl_processing): Set lang_get_alias_set first thing.

From-SVN: r34335

24 years agodecl2.c (unsupported_options): Fix typo, make const.
Richard Henderson [Thu, 1 Jun 2000 09:40:07 +0000 (02:40 -0700)]
decl2.c (unsupported_options): Fix typo, make const.

        * decl2.c (unsupported_options): Fix typo, make const.
        (lang_decode_option): Fix bsearch argument order.

From-SVN: r34334

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

From-SVN: r34333

24 years agoclass.c (common_enclosing_context_p): New function.
Alexandre Petit-Bianco [Thu, 1 Jun 2000 07:44:58 +0000 (07:44 +0000)]
class.c (common_enclosing_context_p): New function.

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

* class.c (common_enclosing_context_p): New function.
* java-tree.h (common_enclosing_context_p): Added prototype.
* parse.h (INNER_ENCLOSING_SCOPE_CHECK): Relaxed test to allow
classes sharing an outer context with the current instance.
* parse.y (build_access_to_thisn): Fixed leading comment.
(verify_constructor_super): New local `supper_inner'. Skip
enclosing context argument in the case of inner class constructors.
(patch_method_invocation): Insert proper context as second
parameter to pure inner class constructor super invocations.

This fixes the Java PR #177.

From-SVN: r34332

24 years agoinit.c (resolve_offset_ref): Remove check for TREE_ADDRESSABLE on FIELD_DECLs.
Mark Mitchell [Thu, 1 Jun 2000 07:33:19 +0000 (07:33 +0000)]
init.c (resolve_offset_ref): Remove check for TREE_ADDRESSABLE on FIELD_DECLs.

* init.c (resolve_offset_ref): Remove check for TREE_ADDRESSABLE
on FIELD_DECLs.

From-SVN: r34331

24 years agore GNATS gcj/71 (failure to compile an interface method invocation on a sub-interface)
Alexandre Petit-Bianco [Thu, 1 Jun 2000 06:41:11 +0000 (06:41 +0000)]
re GNATS gcj/71 (failure to compile an interface method invocation on a sub-interface)

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

* jcf-write.c (generate_bytecode_insns): At invokation time,
always relate an interface method to the type of its selector.

(Fix to the PR #71:
 http://sourceware.cygnus.com/ml/java-prs/1999-q4/msg00040.html)

From-SVN: r34330

24 years agoparse.y (maybe_yank_clinit): New function.
Alexandre Petit-Bianco [Thu, 1 Jun 2000 05:54:26 +0000 (05:54 +0000)]
parse.y (maybe_yank_clinit): New function.

2000-04-17  Alexandre Petit-Bianco  <apbianco@cygnus.com>

        * parse.y (maybe_yank_clinit): New function.
        (maybe_generate_pre_expand_clinit): Always link <clinit> at the
        end of the list of methods belonging to a class.
        (java_complete_expand_method): Check whether <clinit> is really
        necessary and expand it accordingly.

From-SVN: r34329

24 years agolocale_facets.tcc (num_get<char>::_M_extract): Fix signage, exponent, and scientific...
Benjamin Kosnik [Thu, 1 Jun 2000 02:55:30 +0000 (02:55 +0000)]
locale_facets.tcc (num_get<char>::_M_extract): Fix signage, exponent, and scientific formatting issues.

2000-05-31  Russell Davidson  <russell@ehess.cnrs-mrs.fr>

* bits/locale_facets.tcc (num_get<char>::_M_extract): Fix signage,
exponent, and scientific formatting issues.
* testsuite/27_io/istream_extractor_arith.cc (test09): Add tests.

From-SVN: r34328

24 years agolimits_generic.h (numeric_limits<wchar_t>): Use WCHAR_MIN and WCHAR_MAX instead of...
Branko Cibej [Thu, 1 Jun 2000 01:36:14 +0000 (03:36 +0200)]
limits_generic.h (numeric_limits<wchar_t>): Use WCHAR_MIN and WCHAR_MAX instead of WCHART_MIN and WCHART_MAX.

2000-05-31  Branko Cibej  <branko.cibej@hermes.si>

        * bits/limits_generic.h (numeric_limits<wchar_t>): Use WCHAR_MIN
        and WCHAR_MAX instead of WCHART_MIN and WCHART_MAX.

From-SVN: r34327

24 years agocp-tree.h (c_get_alias_set): Deleted.
Richard Kenner [Thu, 1 Jun 2000 01:16:52 +0000 (01:16 +0000)]
cp-tree.h (c_get_alias_set): Deleted.

* cp-tree.h (c_get_alias_set): Deleted.
* Makefile.in (decl.o): Include ../expr.h.
* decl.c (expr.h): Include.
(init_decl_processing): Call record_component_aliases for arrays.
(grokdeclarator): Likewise.
Set TREE_ADDRESSABLE for fields that aren't bitfields.
* tree.c (build_cplus_array_type_1): Call record_component_aliases.

From-SVN: r34326

24 years agoMakefile.in (c-decl.o): Depend on rtl.h and expr.h.
Richard Kenner [Thu, 1 Jun 2000 01:12:19 +0000 (21:12 -0400)]
Makefile.in (c-decl.o): Depend on rtl.h and expr.h.

* Makefile.in (c-decl.o): Depend on rtl.h and expr.h.
* alias.c (struct alias_entry): alias_set is HOST_WIDE_INT.
(REG_BASE_VALUE): Remove unneeded cast to unsigned.
(get_alias_set_entry): ALIAS_SET arg is HOST_WIDE_INT.
(find_base_decl): New function, from c_find_base_decl in c-common.c.
(new_alias_set): Moved from tree.c; return is HOST_WIDE_INT.
(get_alias_set): Likewise.
Major rework to do more things and allow language-specific code
to just handle special-cases.
(record_alias_subset): Args are HOST_WIDE_INT.
(record_component_alias): Local vars are HOST_WIDE_INT.
Don't handle COMPLEX_EXPR.
(get_varargs_alias_set): Moved from builtins.c.
(get_frame_alias_set): New function.
* builtins.c (expand_builtin_return_address): Use frame alias set.
(expand_builtin_setjmp, expand_builtin_longjmp): Use alias set
for setjmp buffer.
(get_memory_rtx): Rework to use set_mem_attributes.
(get_varargs_alias_set): Deleted from here.
* c-common.c (c_apply_type_quals_to_decl): Alias sets now HOST_WIDE_INT.
(c_find_base_decl): Deleted from here.
(c_get_alias_set): Remove many cases and rework to just handle
C-specific cases.
* c-common.h (c_get_alias_set): Returns HOST_WIDE_INT.
* c-decl.c (rtl.h, expr.h): Now included.
(init_decl_processing): Call record_component_aliases on array types.
(grokdeclarator): Likewise.
Set TREE_ADDRESSABLE for all fields that are not bitfields.
* c-typeck.c (common_type): Call record_component_aliases for array.
* caller-save.c (setup_save_areas): Rework register loop for unsigned.
Set all save areas to the frame alias set.
* calls.c (initialie_argument_information): Call set_mem_attributes.
(compute_argument_addresses, expand_call): Likewise.
* explow.c (set_mem_attributes): New function.
(stabilize): Use MEM_COPY_ATTRIBUTES and force_reg.
* expr.c (struct move_by_pieces): Remove {to,from}_{struct,readonly}.
LEN and OFFSET now HOST_WIDE_INT.
(clear_by_pieces): Similar changes.
(move_by_pieces): LEN now HOST_WIDE_INT; don't set deleted fields.
(move_by_pieces_ninsns): Now returns unsigned HOST_WIDE_INT.
(move_by_pieces_1): Don't use deleted fields, use MEM_COPY_ATTRIBUTES.
(clear_by_pieces_1): Likewise.
(emit_push_insn): Call set_mem_attributes.
(expand_expr, case INDIRECT_REF): Likewise.
(expand_expr, case VAR_DECL): Call change_address.
* expr.h (ADD_PARM_SIZE, SUB_PARM_SIZE): Use host_integerp and
tree_low_cst.
(get_varargs_alias_set, get_frame_alias_set): New decls.
(record_base_value, record_alias_subset, lang_get_alias_set): Likewise.
(new_alias_set, set_mem_attributes): Likewse.
* function.c (struct temp_slot): ALIAS_SET is HOST_WIDE_INT.
(assign_stack_temp_for_type): Likewise.
Can split slot even if alias set since can copy.
Set MEM_ALIAS_SET and MEM_SET_IN_STRUCT_P.
(assign_temp): Use host_integerp and tree_low_cst.
(put_var_into_stack): Properly handle SAVE_EXPR.
(put_addressof_into_stack): Likewise.
(assign_parms): Call set_mem_attributes.
Delete #if 0 code.
(fix_lexical_address): Put reference to chain into frame alias set.
(expand_function_start): Call set_mem_attributes.
* integrate.c (expand_inline_function): Likewise.
* recog.c (adj_offsettable_operand): Use MEM_COPY_ATTRIBUTES.
* regmove.c (try_apply_stack_adjustment): Likewise.
* reload.c (push_reload, make_memloc): Likewise.
* reload1.c (alter_reg): Make alias sets for spilled pseudos.
* rtl.def (MEM): Update comment.
* rtl.h (MEM_ALIAS_SET): Now uses XCWINT.
(move_by_pieces): Change length to HOST_WIDE_INT.
(record_base_value, record_alias_subset): Delete from here.
* stmt.c (expand_decl): Call set_mem_attributes.
* stor-layout.c (finish_record_layout): Call record_component_aliases.i
* toplev.c (compile_file): Call init_alias_once earlier.
* tree.c (lang_get_alias_set, get_alias_set, new_alias_set): Deleted
from here: now in alias.c.
* tree.h (struct tree_type): alias_set is HOST_WIDE_INT.
(struct tree_decl): Likewise.
(get_alias_set, new_alias_set, lang_get_alias_set): Deleted from here.
* varasm.c (make_function_rtl, make_decl_rtl): Call set_mem_attributes.
(output_constant_def, force_const_mem): Likewise.
* cp/Makefile.in (decl.o): Include ../expr.h.
* cp/decl.c (expr.h): Include.
(init_decl_processing): Call record_component_aliases for arrays.
(grokdeclarator): Likewise.
Set TREE_ADDRESSABLE for fields that aren't bitfields.
* cp/tree.c (build_cplus_array_type_1): Call record_component_aliases.

From-SVN: r34325

24 years agothanks.html: edit own credits
Nathan Myers [Thu, 1 Jun 2000 01:06:56 +0000 (01:06 +0000)]
thanks.html: edit own credits

2000-05-31  Nathan Myers  <ncm@cantrip.org>

       * docs/thanks.html: edit own credits

From-SVN: r34324

24 years agogeneric_shadow.h: Remaining _C_Shadow -> _C_shadow fix.
Benjamin Kosnik [Thu, 1 Jun 2000 01:01:34 +0000 (01:01 +0000)]
generic_shadow.h: Remaining _C_Shadow -> _C_shadow fix.

2000-05-31  Benjamin Kosnik  <bkoz@purist.soma.redhat.com>

* bits/generic_shadow.h: Remaining _C_Shadow -> _C_shadow fix.

* acinclude.m4 (GLIBCPP_ENABLE_LONG_LONG): Add strtoull checks...

From-SVN: r34323

24 years agoacinclude.m4 (GLIBCPP_ENABLE_LONG_LONG): Add strtoull checks...
Benjamin Kosnik [Thu, 1 Jun 2000 00:56:37 +0000 (00:56 +0000)]
acinclude.m4 (GLIBCPP_ENABLE_LONG_LONG): Add strtoull checks...

2000-05-31  Benjamin Kosnik  <bkoz@purist.soma.redhat.com>

* acinclude.m4 (GLIBCPP_ENABLE_LONG_LONG): Add strtoull checks...

From-SVN: r34322

24 years ago[multiple changes]
Benjamin Kosnik [Thu, 1 Jun 2000 00:52:26 +0000 (00:52 +0000)]
[multiple changes]

2000-05-31  Benjamin Kosnik  <bkoz@purist.soma.redhat.com>

* acinclude.m4 (GLIBCPP_ENABLE_LONG_LONG): Add strtoull checks...

2000-05-31 Steven King <sxking@uswest.net>

        * shadow/time.h: fix typo
        * shadow/wchar.h: ifdef __USE_GNU for wcsdup
        * shadow/bits/std_cwchar.h: ditto
        * shadow/bits/std_cstdlib.h: add overloads of abs and div for long
        and long long.

From-SVN: r34321

24 years agoparse.y (resolve_field_access): Complete the DECL_INITIAL tree before using it as...
Alexandre Petit-Bianco [Thu, 1 Jun 2000 00:28:32 +0000 (00:28 +0000)]
parse.y (resolve_field_access): Complete the DECL_INITIAL tree before using it as the accessed field.

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

        * parse.y (resolve_field_access): Complete the DECL_INITIAL tree
        before using it as the accessed field.

From-SVN: r34320

24 years agoia64.c (sdata_symbolic_operand): Consider small CONSTANT_POOL_ADDRESS_P addresses...
Richard Henderson [Thu, 1 Jun 2000 00:14:13 +0000 (17:14 -0700)]
ia64.c (sdata_symbolic_operand): Consider small CONSTANT_POOL_ADDRESS_P addresses for .sdata.

        * config/ia64/ia64.c (sdata_symbolic_operand): Consider small
        CONSTANT_POOL_ADDRESS_P addresses for .sdata.
        * config/ia64/sysv4.h (SELECT_RTX_SECTION): New.

From-SVN: r34319

24 years agoia64-protos.h (ia64_expand_prediction): Remove.
Richard Henderson [Thu, 1 Jun 2000 00:10:35 +0000 (17:10 -0700)]
ia64-protos.h (ia64_expand_prediction): Remove.

        * config/ia64/ia64-protos.h (ia64_expand_prediction): Remove.
        * config/ia64/ia64.c (ia64_expand_prediction): Move code ...
        (ia64_print_operand) [+]: ... here.  Use current_output_insn.
        * config/ia64/ia64.h (PRINT_OPERAND_PUNCT_VALID_P): New.
        * config/ia64/ia64.md (all branch/call patterns): Use %+.

From-SVN: r34318

24 years agoifcvt.c (merge_if_block): Be prepared for JOIN to have no remaining edges.
Richard Henderson [Thu, 1 Jun 2000 00:03:36 +0000 (17:03 -0700)]
ifcvt.c (merge_if_block): Be prepared for JOIN to have no remaining edges.

        * ifcvt.c (merge_if_block): Be prepared for JOIN to have no
        remaining edges.
        (find_if_block): Allow THEN with no outgoing edges.
        * flow.c (merge_blocks_nomove): Remove a barrier not following
        a jump as well.

From-SVN: r34317

24 years ago* ifcvt.c (cond_exec_process_insns): Don't ever ignore clobbers.
Richard Henderson [Wed, 31 May 2000 23:58:46 +0000 (16:58 -0700)]
* ifcvt.c (cond_exec_process_insns): Don't ever ignore clobbers.

From-SVN: r34316

24 years agoflow.c (merge_blocks_nomove): Remove a barrier not following a jump as well.
Richard Henderson [Wed, 31 May 2000 23:57:00 +0000 (16:57 -0700)]
flow.c (merge_blocks_nomove): Remove a barrier not following a jump as well.

        * flow.c (merge_blocks_nomove): Remove a barrier not following
        a jump as well.

From-SVN: r34315

24 years agojava-tree.h (boolean_array_vtable, [...]): Declare.
Tom Tromey [Wed, 31 May 2000 23:55:54 +0000 (23:55 +0000)]
java-tree.h (boolean_array_vtable, [...]): Declare.

* java-tree.h (boolean_array_vtable, byte_array_vtable,
char_array_vtable, short_array_vtable, int_array_vtable,
long_array_vtable, float_array_vtable, double_array_vtable):
Declare.
* expr.c (get_primitive_array_vtable): New function.
(create_primitive_vtable): New function.
(java_lang_expand_expr): Enable code to statically generate
arrays.
* decl.c (init_decl_processing): Create primitive vtables.
(boolean_array_vtable, byte_array_vtable, char_array_vtable,
short_array_vtable, int_array_vtable, long_array_vtable,
float_array_vtable, double_array_vtable): Define.

From-SVN: r34314

24 years agoMakefile.in (STROBJS): Get memmove.o from configure.
Richard Henderson [Wed, 31 May 2000 23:54:07 +0000 (16:54 -0700)]
Makefile.in (STROBJS): Get memmove.o from configure.

        * Makefile.in (STROBJS): Get memmove.o from configure.
        * configure.in (RANLIB): Detect and substitute.
        (memmove): Detect and substitute.
        * memmove.c (memmove): Use size_t.

From-SVN: r34313

24 years agoprims.cc (DECLARE_PRIM_TYPE): Define a vtable as well.
Tom Tromey [Wed, 31 May 2000 23:50:37 +0000 (23:50 +0000)]
prims.cc (DECLARE_PRIM_TYPE): Define a vtable as well.

* prims.cc (DECLARE_PRIM_TYPE): Define a vtable as well.
(_Jv_PrimClass): Set `methods' by calling _Jv_FindArrayClass.
* include/jvm.h (struct _Jv_ArrayVTable): Declare.
(NUM_OBJECT_METHODS): New define.
* java/lang/natClassLoader.cc (_Jv_FindArrayClass): Added
`array_vtable' parameter.  Added assertion.
* java/lang/Class.h (_Jv_FindArrayClass): Added `array_vtable'
parameter.

From-SVN: r34312

24 years agocni.h: Include <string.h>.
Bryce McKinlay [Wed, 31 May 2000 22:49:19 +0000 (22:49 +0000)]
cni.h: Include <string.h>.

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

* gcj/cni.h: Include <string.h>.
* defineclass.cc: Include <alloca.h>.
* interpret.cc: Ditto.
* gij.cc: Include <stdlib.h>.

From-SVN: r34311

24 years agoflow.c (propagate_block): Move initialization of mem_set_list ...
Richard Henderson [Wed, 31 May 2000 22:29:38 +0000 (15:29 -0700)]
flow.c (propagate_block): Move initialization of mem_set_list ...

        * flow.c (propagate_block): Move initialization of mem_set_list ...
        (init_propagate_block_info): ... here.  Also track blocks with
        no successors; don't scan insns if ! PROP_SCAN_DEAD_CODE.

From-SVN: r34310

24 years agoAdd documentation of TREE_ADDRESSABLE in FIELD_DECL
Richard Kenner [Wed, 31 May 2000 20:53:37 +0000 (16:53 -0400)]
Add documentation of TREE_ADDRESSABLE in FIELD_DECL

From-SVN: r34309

24 years agoMakefile.in (c-decl.o): Depend on rtl.h and expr.h.
Richard Kenner [Wed, 31 May 2000 20:01:57 +0000 (16:01 -0400)]
Makefile.in (c-decl.o): Depend on rtl.h and expr.h.

* Makefile.in (c-decl.o): Depend on rtl.h and expr.h.
* alias.c (struct alias_entry): alias_set is HOST_WIDE_INT.
(REG_BASE_VALUE): Remove unneeded cast to unsigned.
(get_alias_set_entry): ALIAS_SET arg is HOST_WIDE_INT.
(find_base_decl): New function, from c_find_base_decl in c-common.c.
(new_alias_set): Moved from tree.c; return is HOST_WIDE_INT.
(get_alias_set): Likewise.
Major rework to do more things and allow language-specific code
to just handle special-cases.
(record_alias_subset): Args are HOST_WIDE_INT.
(record_component_alias): Local vars are HOST_WIDE_INT.
Don't handle COMPLEX_EXPR.
(get_varargs_alias_set): Moved from builtins.c.
(get_frame_alias_set): New function.
* builtins.c (expand_builtin_return_address): Use frame alias set.
(expand_builtin_setjmp, expand_builtin_longjmp): Use alias set
for setjmp buffer.
(get_memory_rtx): Rework to use set_mem_attributes.
(get_varargs_alias_set): Deleted from here.
* c-common.c (c_apply_type_quals_to_decl): Alias sets now HOST_WIDE_INT.
(c_find_base_decl): Deleted from here.
(c_get_alias_set): Remove many cases and rework to just handle
C-specific cases.
* c-common.h (c_get_alias_set): Returns HOST_WIDE_INT.
* c-decl.c (rtl.h, expr.h): Now included.
(init_decl_processing): Call record_component_aliases on array types.
(grokdeclarator): Likewise.
Set TREE_ADDRESSABLE for all fields that are not bitfields.
* c-typeck.c (common_type): Call record_component_aliases for array.
* caller-save.c (setup_save_areas): Rework register loop for unsigned.
Set all save areas to the frame alias set.
* calls.c (initialie_argument_information): Call set_mem_attributes.
(compute_argument_addresses, expand_call): Likewise.
* explow.c (set_mem_attributes): New function.
(stabilize): Use MEM_COPY_ATTRIBUTES and force_reg.
* expr.c (struct move_by_pieces): Remove {to,from}_{struct,readonly}.
LEN and OFFSET now HOST_WIDE_INT.
(clear_by_pieces): Similar changes.
(move_by_pieces): LEN now HOST_WIDE_INT; don't set deleted fields.
(move_by_pieces_ninsns): Now returns unsigned HOST_WIDE_INT.
(move_by_pieces_1): Don't use deleted fields, use MEM_COPY_ATTRIBUTES.
(clear_by_pieces_1): Likewise.
(emit_push_insn): Call set_mem_attributes.
(expand_expr, case INDIRECT_REF): Likewise.
(expand_expr, case VAR_DECL): Call change_address.
* expr.h (ADD_PARM_SIZE, SUB_PARM_SIZE): Use host_integerp and
tree_low_cst.
(get_varargs_alias_set, get_frame_alias_set): New decls.
(record_base_value, record_alias_subset, lang_get_alias_set): Likewise.
(new_alias_set, set_mem_attributes): Likewse.
* function.c (struct temp_slot): ALIAS_SET is HOST_WIDE_INT.
(assign_stack_temp_for_type): Likewise.
Can split slot even if alias set since can copy.
Set MEM_ALIAS_SET and MEM_SET_IN_STRUCT_P.
(assign_temp): Use host_integerp and tree_low_cst.
(put_var_into_stack): Properly handle SAVE_EXPR.
(put_addressof_into_stack): Likewise.
(assign_parms): Call set_mem_attributes.
Delete #if 0 code.
(fix_lexical_address): Put reference to chain into frame alias set.
(expand_function_start): Call set_mem_attributes.
* integrate.c (expand_inline_function): Likewise.
* recog.c (adj_offsettable_operand): Use MEM_COPY_ATTRIBUTES.
* regmove.c (try_apply_stack_adjustment): Likewise.
* reload.c (push_reload, make_memloc): Likewise.
* reload1.c (alter_reg): Make alias sets for spilled pseudos.
* rtl.def (MEM): Update comment.
* rtl.h (MEM_ALIAS_SET): Now uses XCWINT.
(move_by_pieces): Change length to HOST_WIDE_INT.
(record_base_value, record_alias_subset): Delete from here.
* stmt.c (expand_decl): Call set_mem_attributes.
* stor-layout.c (finish_record_layout): Call record_component_aliases.i
* toplev.c (compile_file): Call init_alias_once earlier.
* tree.c (lang_get_alias_set, get_alias_set, new_alias_set): Deleted
from here: now in alias.c.
* tree.h (struct tree_type): alias_set is HOST_WIDE_INT.
(struct tree_decl): Likewise.
(get_alias_set, new_alias_set, lang_get_alias_set): Deleted from here.
* varasm.c (make_function_rtl, make_decl_rtl): Call set_mem_attributes.
(output_constant_def, force_const_mem): Likewise.
* cp/Makefile.in (decl.o): Include ../expr.h.
* cp/decl.c (expr.h): Include.
(init_decl_processing): Call record_component_aliases for arrays.
(grokdeclarator): Likewise.
Set TREE_ADDRESSABLE for fields that aren't bitfields.
* cp/tree.c (build_cplus_array_type_1): Call record_component_aliases.

From-SVN: r34308

24 years ago* jump.c (jump_optimize_1): Revert 05-18 change.
Richard Henderson [Wed, 31 May 2000 19:34:19 +0000 (12:34 -0700)]
* jump.c (jump_optimize_1): Revert 05-18 change.

From-SVN: r34307

24 years agoinvoke.texi: Remove documentation for -fguiding-decls.
Mark Mitchell [Wed, 31 May 2000 19:27:12 +0000 (19:27 +0000)]
invoke.texi: Remove documentation for -fguiding-decls.

* invoke.texi: Remove documentation for -fguiding-decls.

Remove guiding declaration support.
* cp/cp-tree.h (flag_dump_translation_unit): Make it const.
(flag_guiding_decls): Remove.
* call.c (build_user_type_conversion_1): Remove support for
guiding decls.
(build_new_function_call): Likewise.
(build_new_op): Likewise.
(build_new_method_call): Likewise.
* decl.c (start_function): Likewise.
* friend.c (is_friend): Likewise.
(do_friend): Likewise.
* decl2.c ((flag_dump_translation_unit): Make it const.
(flag_guiding_decls): Remove.
(unsupported_options): New variable
(compare_options): New function.
(lang_decode_option): Use them.

From-SVN: r34306

24 years agoMakefile.in (c-decl.o): Depend on rtl.h and expr.h.
Richard Kenner [Wed, 31 May 2000 18:37:31 +0000 (18:37 +0000)]
Makefile.in (c-decl.o): Depend on rtl.h and expr.h.

* Makefile.in (c-decl.o): Depend on rtl.h and expr.h.
* alias.c (struct alias_entry): alias_set is HOST_WIDE_INT.
(REG_BASE_VALUE): Remove unneeded cast to unsigned.
(get_alias_set_entry): ALIAS_SET arg is HOST_WIDE_INT.
(find_base_decl): New function, from c_find_base_decl in c-common.c.
(new_alias_set): Moved from tree.c; return is HOST_WIDE_INT.
(get_alias_set): Likewise.
Major rework to do more things and allow language-specific code
to just handle special-cases.
(record_alias_subset): Args are HOST_WIDE_INT.
(record_component_alias): Local vars are HOST_WIDE_INT.
Don't handle COMPLEX_EXPR.
(get_varargs_alias_set): Moved from builtins.c.
(get_frame_alias_set): New function.
* builtins.c (expand_builtin_return_address): Use frame alias set.
(expand_builtin_setjmp, expand_builtin_longjmp): Use alias set
for setjmp buffer.
(get_memory_rtx): Rework to use set_mem_attributes.
(get_varargs_alias_set): Deleted from here.
* c-common.c (c_apply_type_quals_to_decl): Alias sets now HOST_WIDE_INT.
(c_find_base_decl): Deleted from here.
(c_get_alias_set): Remove many cases and rework to just handle
C-specific cases.
* c-common.h (c_get_alias_set): Returns HOST_WIDE_INT.
* c-decl.c (rtl.h, expr.h): Now included.
(init_decl_processing): Call record_component_aliases on array types.
(grokdeclarator): Likewise.
Set TREE_ADDRESSABLE for all fields that are not bitfields.
* c-typeck.c (common_type): Call record_component_aliases for array.
* caller-save.c (setup_save_areas): Rework register loop for unsigned.
Set all save areas to the frame alias set.
* calls.c (initialie_argument_information): Call set_mem_attributes.
(compute_argument_addresses, expand_call): Likewise.
* explow.c (set_mem_attributes): New function.
(stabilize): Use MEM_COPY_ATTRIBUTES and force_reg.
* expr.c (struct move_by_pieces): Remove {to,from}_{struct,readonly}.
LEN and OFFSET now HOST_WIDE_INT.
(clear_by_pieces): Similar changes.
(move_by_pieces): LEN now HOST_WIDE_INT; don't set deleted fields.
(move_by_pieces_ninsns): Now returns unsigned HOST_WIDE_INT.
(move_by_pieces_1): Don't use deleted fields, use MEM_COPY_ATTRIBUTES.
(clear_by_pieces_1): Likewise.
(emit_push_insn): Call set_mem_attributes.
(expand_expr, case INDIRECT_REF): Likewise.
(expand_expr, case VAR_DECL): Call change_address.
* expr.h (ADD_PARM_SIZE, SUB_PARM_SIZE): Use host_integerp and
tree_low_cst.
(get_varargs_alias_set, get_frame_alias_set): New decls.
(record_base_value, record_alias_subset, lang_get_alias_set): Likewise.
(new_alias_set, set_mem_attributes): Likewse.
* function.c (struct temp_slot): ALIAS_SET is HOST_WIDE_INT.
(assign_stack_temp_for_type): Likewise.
Can split slot even if alias set since can copy.
Set MEM_ALIAS_SET and MEM_SET_IN_STRUCT_P.
(assign_temp): Use host_integerp and tree_low_cst.
(put_var_into_stack): Properly handle SAVE_EXPR.
(put_addressof_into_stack): Likewise.
(assign_parms): Call set_mem_attributes.
Delete #if 0 code.
(fix_lexical_address): Put reference to chain into frame alias set.
(expand_function_start): Call set_mem_attributes.
* integrate.c (expand_inline_function): Likewise.
* recog.c (adj_offsettable_operand): Use MEM_COPY_ATTRIBUTES.
* regmove.c (try_apply_stack_adjustment): Likewise.
* reload.c (push_reload, make_memloc): Likewise.
* reload1.c (alter_reg): Make alias sets for spilled pseudos.
* rtl.def (MEM): Update comment.
* rtl.h (MEM_ALIAS_SET): Now uses XCWINT.
(move_by_pieces): Change length to HOST_WIDE_INT.
(record_base_value, record_alias_subset): Delete from here.
* stmt.c (expand_decl): Call set_mem_attributes.
* stor-layout.c (finish_record_layout): Call record_component_aliases.i
* toplev.c (compile_file): Call init_alias_once earlier.
* tree.c (lang_get_alias_set, get_alias_set, new_alias_set): Deleted
from here: now in alias.c.
* tree.h (struct tree_type): alias_set is HOST_WIDE_INT.
(struct tree_decl): Likewise.
(get_alias_set, new_alias_set, lang_get_alias_set): Deleted from here.
* varasm.c (make_function_rtl, make_decl_rtl): Call set_mem_attributes.
(output_constant_def, force_const_mem): Likewise.
* cp/Makefile.in (decl.o): Include ../expr.h.
* cp/decl.c (expr.h): Include.
(init_decl_processing): Call record_component_aliases for arrays.
(grokdeclarator): Likewise.
Set TREE_ADDRESSABLE for fields that aren't bitfields.
* cp/tree.c (build_cplus_array_type_1): Call record_component_aliases.

From-SVN: r34305

24 years ago* configure.in: Fix typo last change.
Richard Henderson [Wed, 31 May 2000 18:10:28 +0000 (11:10 -0700)]
* configure.in: Fix typo last change.

From-SVN: r34304

24 years agoconfigure.in (enable-nls): Enable if build == host, i.e.
Philipp Thomas [Wed, 31 May 2000 17:46:30 +0000 (17:46 +0000)]
configure.in (enable-nls): Enable if build == host, i.e.

gcc:
* configure.in (enable-nls): Enable if build == host, i.e. when
not building a canadian cross compiler.
(enable-maintainer-mode): Added for use with i18n.
* aclocal.m4 (AM_GNU_GETTEXT): Only build catalogs that are a
cross section of ALL_LINGUAS and LINGUAS.
* configure: Rebuild.

gcc/po:
* Makefile.in.in: Create compiled catalogs in objdir, not
srcdir. Create gcc.pot and cat-tbl-id.c only in maintainer
mode.
* gcc.pot: Generated and checked in.
* cat-tbl-id.c: Generated and checked in.
* stamp-cat-id: Generated and checked in.

From-SVN: r34303

24 years agodecl.c (build_cp_library_fn): Set DECL_CONTEXT.
Mark Mitchell [Wed, 31 May 2000 16:39:19 +0000 (16:39 +0000)]
decl.c (build_cp_library_fn): Set DECL_CONTEXT.

* decl.c (build_cp_library_fn): Set DECL_CONTEXT.

* method.c (mangle_expression): Adjust test for legal expression
operators.

* pt.c (instantiate_decl): Save and restore the local
specializations list.

From-SVN: r34302

24 years agochange invocation of check script for fixinc
Bruce Korb [Wed, 31 May 2000 15:03:41 +0000 (15:03 +0000)]
change invocation of check script for fixinc

From-SVN: r34301

24 years agomodified test results
Bruce Korb [Wed, 31 May 2000 14:44:35 +0000 (14:44 +0000)]
modified test results

From-SVN: r34300

24 years agorework "make check" for fixincl
Bruce Korb [Wed, 31 May 2000 14:29:55 +0000 (14:29 +0000)]
rework "make check" for fixincl

From-SVN: r34299

24 years agorework "make check" for fixinc
Bruce Korb [Wed, 31 May 2000 14:26:57 +0000 (14:26 +0000)]
rework "make check" for fixinc

From-SVN: r34298

24 years ago* except.c (clear_function_eh_region): Do not free NULL.
Philippe De Muyter [Wed, 31 May 2000 12:37:38 +0000 (14:37 +0200)]
* except.c (clear_function_eh_region): Do not free NULL.

From-SVN: r34297

24 years agoflow.c (propagate_block): If block has no successors, stores to frame are dead if...
Richard Kenner [Wed, 31 May 2000 11:58:35 +0000 (11:58 +0000)]
flow.c (propagate_block): If block has no successors, stores to frame are dead if not used.

* flow.c (propagate_block): If block has no successors, stores to
frame are dead if not used.

From-SVN: r34296

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