]> gcc.gnu.org Git - gcc.git/log
gcc.git
22 years agodg.exp: Ignore tests in new directories bprob and gcov.
Janis Johnson [Fri, 29 Mar 2002 21:56:12 +0000 (21:56 +0000)]
dg.exp: Ignore tests in new directories bprob and gcov.

* g++.dg/dg.exp: Ignore tests in new directories bprob and gcov.
* g++.dg/bprob/bprob.exp: New driver for profile-directed branch
ordering tests.
* g++.dg/bprob/bprob-1.C: New test.
* g++.dg/gcov/gcov.exp: New driver for gcov tests.
* g++.dg/gcov/gcov-1.C: New test.
* g++.dg/gcov/gcov-1.x: New file.
* g++.dg/gcov/gcov-2.C: New test.
* g++.dg/gcov/gcov-3.C: New test.
* g++.dg/gcov/gcov-3.h: New file.

From-SVN: r51572

22 years agoMakefile.in (convert.o, [...]): Update.
Neil Booth [Fri, 29 Mar 2002 21:46:27 +0000 (21:46 +0000)]
Makefile.in (convert.o, [...]): Update.

* Makefile.in (convert.o, calls.o, expmed.o): Update.
* attribs.c (handle_mode_attribute, handle_vector_size_attribute):
Use new hooks.
* builtin-types.def (BT_PTRMODE): Update.
* c-common.c (type_for_size): Rename c_common_type_for_size.
(type_for_mode): Similarly.
(shorten_compare, pointer_int_sum, c_common_nodes_and_builtins):
Use new hook.
* c-bommon.h (c_common_type_for_size, c_common_type_for_mode): New.
* c-decl.c (finish_enum, build_enumerator): Use new hooks.
* c-lang.c (LANG_HOOKS_TYPE_FOR_MODE, LANG_HOOKS_TYPE_FOR_SIZE):
Redefine.
* c-typeck.c (common_type, comptypes, default_conversion):
Use new hooks.
* calls.c: Include langhooks.h.
(emit_library_call_value_1): Use new hooks.  Avoid redundant
calls.
* convert.c: Include langhooks.h
(convert_to_pointer, convert_to_integer): Use new hooks.
* except.c (init_eh): Similarly.
* expmed.c: Include langhooks.h.
(expand_mult_add): Use new hooks.
* expr.c (store_expr, store_constructor, expand_expr, do_jump,
try_casesi): Similarly.
* fold-const.c (optimize_bit_field_compare, make_range,
decode_field_reference, fold_truthop, fold): Similarly.
* function.c (assign_stack_local_1, assign_stack_temp_for_type,
put_var_into_stack): Similarly.
* langhooks-def.h (LANG_HOOKS_TYPE_FOR_MODE,
LANG_HOOKS_TYPE_FOR_SIZE): New.
(LANG_HOOKS_TYPES_INITIALIZER): Update.
* langhooks.h (lang_hooks_for_types): New hooks.
* stmt.c (expand_decl_cleanup, emit_case_nodes): Use new hooks.
* tree.c (get_unwidened, get_narrower): Similarly.
* tree.h (type_for_mode, type_for_size): Remove.
* varasm.c (force_const_mem): Use new hooks.
ada:
* gigi.h (type_for_size, type_for_mode): Rename.
* misc.c (LANG_HOOKS_TYPE_FOR_MODE, LANG_HOOKS_TYPE_FOR_SIZE):
Redefine.
* trans.c (tree_transform): Update.
* utils.c (gnat_init_decl_processing, init_gigi_decls,
builtin_function, float_type_for_size, signed_or_unsigned_type,
build_vms_descriptor, unchecked_convert): Update.
(type_for_mode, type_for_size): Rename.
* utils2.c (nonbinary_modular_operation): Update.
cp:
* cp-lang.c (LANG_HOOKS_TYPE_FOR_MODE, LANG_HOOKS_TYPE_FOR_SIZE):
Redefine.
* cvt.c (cp_convert_to_pointer, type_promotes_to): Use new hooks.
* decl.c (finish_enum): Similarly.
* error.c (dump_type): Similarly.
* lex.c (cxx_init): Similarly.
* mangle.c (write_builtin_type): Similarly.
* typeck.c (comptypes): Similarly.
f:
* com.c (LANG_HOOKS_TYPE_FOR_MODE, LANG_HOOKS_TYPE_FOR_SIZE):
Redefine.
(type_for_mode, type_for_size): Rename.
(signed_or_unsigned_type, signed_type, truthvalue_conversion,
unsigned_type): Use new hooks.
java:
* Make-lang.in (builtins.o): Update.
* boehm.c (get_boehm_type_descriptor): Update.
* builtins.c: Include langhooks.h.
* decl.c (java_init_decl_processing): Update.
* java-tree.h (java_type_for_mode, java_type_for_size): New.
* lang.c (LANG_HOOKS_TYPE_FOR_MODE, LANG_HOOKS_TYPE_FOR_SIaZE):
Redefine.
* typeck.c (type_for_mode, type_for_size): Update.
objc:
* objc-act.c (handle_impent): Update.
* objc-lang.c (LANG_HOOKS_TYPE_FOR_MODE, LANG_HOOKS_TYPE_FOR_SIaZE):
Redefine.

From-SVN: r51571

22 years agore PR c++/5998 (regression, all builtins disabled)
Roger Sayle [Fri, 29 Mar 2002 20:41:53 +0000 (20:41 +0000)]
re PR c++/5998 (regression, all builtins disabled)

* include/c_std/std_cmath.h:  To prevent problems overloading
g++ builtins, use the double variants from the global namespace
before defining float and long double variants in std::.

PR c++/5998:
* decl.c (cxx_init_decl_processing): Re-enable built-in functions
in the g++ front-end.
(duplicate_decl): Allow redefinition of anticipated built-ins.
Fix inlining problem by over-writing the old DECL_RTL.
(lookup_namespace_name): Fail to find an identifier in the
specified namespace if its still anticipated.
(builtin_function_1): New function split out from builtin_function
to create a builtin in the current namespace with given context.
(builtin_function): Call builtin_function_1 to define the
appropriate builtins in both the std and global namespaces.
(select_decl): Don't test for anticipated decls here.
(unqualified_namespace_lookup): Instead ignore them whilst
searching through scopes and namespaces.
* decl2.c (do_nonmember_using_decl): If a using declaration
specifies an anticipated built-in function, mark it as no longer
anticipated in that scope.
(ambiguous_decl):  Avoid resolving to an anticipated decl.
* lex.c (do_scoped_id): Fail to find an identifier in the global
namespace if its still anticipated.

* g++.old-deja/g++.other/builtins5.C: New test.
* g++.old-deja/g++.other/builtins6.C: New test.
* g++.old-deja/g++.other/builtins7.C: New test.
* g++.old-deja/g++.other/builtins8.C: New test.
* g++.old-deja/g++.other/builtins9.C: New test.

From-SVN: r51568

22 years agolex.c (java_new_lexer): Alias "646" to DEFAULT_ENCODING.
Martin Kahlert [Fri, 29 Mar 2002 19:33:25 +0000 (19:33 +0000)]
lex.c (java_new_lexer): Alias "646" to DEFAULT_ENCODING.

2002-03-29  Martin Kahlert  <martin.kahlert@infineon.com>

* lex.c (java_new_lexer): Alias "646" to DEFAULT_ENCODING.

From-SVN: r51566

22 years agoia64.md (*ptr_extend_plus_1, [...]): New.
Steve Ellcey [Fri, 29 Mar 2002 18:39:56 +0000 (18:39 +0000)]
ia64.md (*ptr_extend_plus_1, [...]): New.

        * config/ia64/ia64.md (*ptr_extend_plus_1, *ptr_extend_plus_2): New.
        * config/ia64/ia64.c (basereg_operand): New.
        * config/ia64/ia64-protos.h (basereg_operand): Declare.
        * config/ia64/ia64.h (PREDICATE_CODES): Add basereg_operand.

From-SVN: r51564

22 years agonatPlainDatagramSocketImpl.cc (close): New function.
Tom Tromey [Fri, 29 Mar 2002 17:07:59 +0000 (17:07 +0000)]
natPlainDatagramSocketImpl.cc (close): New function.

* java/net/natPlainDatagramSocketImpl.cc (close): New function.
* java/net/natPlainSocketImpl.cc (close): Indentation fix.

From-SVN: r51563

22 years agommix.c (mmix_target_asm_function_prologue): Correct unwind information when frame_poi...
Hans-Peter Nilsson [Fri, 29 Mar 2002 17:07:59 +0000 (17:07 +0000)]
mmix.c (mmix_target_asm_function_prologue): Correct unwind information when frame_pointer_needed.

* config/mmix/mmix.c (mmix_target_asm_function_prologue): Correct
unwind information when frame_pointer_needed.
(mmix_assemble_integer): Tweak wording in comment.

From-SVN: r51562

22 years agoMakefile.in: Pass VPATH=$(fsrcdir) when calling make in rts directory.
Andreas Schwab [Fri, 29 Mar 2002 16:10:04 +0000 (16:10 +0000)]
Makefile.in: Pass VPATH=$(fsrcdir) when calling make in rts directory.

* Makefile.in: Pass VPATH=$(fsrcdir) when calling make in rts
directory.

From-SVN: r51559

22 years agoMakefile.in (except.o): Update.
Neil Booth [Fri, 29 Mar 2002 08:43:22 +0000 (08:43 +0000)]
Makefile.in (except.o): Update.

* Makefile.in (except.o): Update.
* except.c: Include langhooks.h.
(init_eh): Use langhook.
* langhooks-def.h (LANG_HOOKS_MAKE_TYPE,
LANG_HOOKS_FOR_TYPES_INITIALIZER): New.
(LANG_HOOKS_INITIALIZER): Update.
* langhooks.h (lang_hooks_for_types): New.
(struct lang_hooks): Add it.
* tree.c (make_lang_type_fn, make_lang_type): Remove.
* tree.h (make_lang_type_fn, make_lang_type): Remove.
config:
* alpha/alpha.c: Include langhooks.h.
(alpha_build_va_list): Use langhook.
* d30v/d30v.c: Include langhooks.h.
(d30v_build_va_list): Use langhook.
* i386/i386.c: Include langhooks.h.
(ix86_build_va_list): Use langhook.
* rs6000/rs6000.c (rs6000_build_va_list): Use langhook.
* s390/s390.c: Include langhooks.h.
(s390_build_va_list): Use langhook.
* stormy16/stormy16.c: Include langhooks.h.
(stormy16_build_va_list): Use langhook.
cp:
* cp-lang.c (LANG_HOOKS_MAKE_TYPE): Redefine.
* cp-tree.h (cp_make_lang_type): Rename.
* lex.c (cp_make_lang_type): Rename.
(make_aggr_type): Update.
* tree.c (init_tree): Don't set make_lang_type_fn.

From-SVN: r51558

22 years agore PR c++/5964 (g++ generates code that results in "word displacement will not fit...
Jakub Jelinek [Fri, 29 Mar 2002 08:25:10 +0000 (09:25 +0100)]
re PR c++/5964 (g++ generates code that results in "word displacement will not fit in 16 bits" on sparcv9)

PR c++/5964
* config/sparc/sparc.md (empty_delay_slot, branch_type): New
attributes.
(length): Compute variable length for branches/calls/jumps here.
(branch, inverted_branch, normal_fp_branch, inverted_fp_branch,
normal_fpe_branch, inverted_fpe_branch): Remove length attribute,
define branch_type attribute.
(divsi3_sp32): Maximum length is 6 not 7.
(call_address_struct_value_sp32, call_symbolic_struct_value_sp32,
call_address_untyped_struct_value_sp32,
call_symbolic_untyped_struct_value_sp32): Set length to 3 not 2.
* config/sparc/sparc.c (empty_delay_slot): New function.
* config/sparc/sparc.h (ADJUST_INSN_LENGTH): Remove.
* config/sparc/sparc-protos.h (empty_delay_slot): Add prototype.

* g++.dg/opt/longbranch1.C: New test.

From-SVN: r51557

22 years agoDaily bump.
GCC Administrator [Fri, 29 Mar 2002 08:17:01 +0000 (08:17 +0000)]
Daily bump.

From-SVN: r51555

22 years agocombine.c (set_nonzero_bits_and_sign_copies): Don't call nonzero_bits if not needed.
Jakub Jelinek [Fri, 29 Mar 2002 08:01:20 +0000 (09:01 +0100)]
combine.c (set_nonzero_bits_and_sign_copies): Don't call nonzero_bits if not needed.

* combine.c (set_nonzero_bits_and_sign_copies): Don't call
nonzero_bits if not needed.
(nonzero_bits) [XOR]: Likewise.
(nonzero_bits) [REG]: Use reg_last_set_nonzero_bits even if
reg_last_set_mode and mode are both MODE_INT, but not equal.
(record_value_for_reg): Compute reg_last_set_nonzero_bits
in nonzero_bits_mode for MODE_INT modes.

From-SVN: r51551

22 years agore PR c++/6073 ([Solaris] Internal compiler error in simplify_gen_subreg, at simplify...
Jakub Jelinek [Fri, 29 Mar 2002 07:47:06 +0000 (08:47 +0100)]
re PR c++/6073 ([Solaris] Internal compiler error in simplify_gen_subreg, at simplify-rtx.c:2711)

PR c++/6073
* class.c (finish_struct_1): Update static field's DECL_MODE even
if its type is a variant of t.

* g++.dg/opt/static1.C: New test.

From-SVN: r51549

22 years agoosf.h (ASM_SPEC): Don't pass any special options to GAS.
Richard Henderson [Fri, 29 Mar 2002 07:20:22 +0000 (23:20 -0800)]
osf.h (ASM_SPEC): Don't pass any special options to GAS.

        * config/alpha/osf.h (ASM_SPEC): Don't pass any special options
        to GAS.  Correct drift between alternatives.

From-SVN: r51547

22 years ago* testsuite/18_support/numeric_limits.cc (test_extrema): Fix typo.
Loren J. Rittle [Fri, 29 Mar 2002 06:34:04 +0000 (06:34 +0000)]
* testsuite/18_support/numeric_limits.cc (test_extrema): Fix typo.

From-SVN: r51544

22 years agore PR target/6087 (3.1 i86 FP stack pop bug)
Richard Henderson [Fri, 29 Mar 2002 06:19:36 +0000 (22:19 -0800)]
re PR target/6087 (3.1 i86 FP stack pop bug)

        PR target/6087
        * reload1.c (fixup_abnormal_edges): Move insn to edge via sequence.

From-SVN: r51543

22 years agofreebsd.h (LINK_SPEC): Don't pass default emulation to the linker.
Loren J. Rittle [Fri, 29 Mar 2002 05:21:29 +0000 (05:21 +0000)]
freebsd.h (LINK_SPEC): Don't pass default emulation to the linker.

* config/i386/freebsd.h (LINK_SPEC): Don't pass default
emulation to the linker.
* config/alpha/freebsd.h (LINK_SPEC): Likewise.
* config/sparc/freebsd.h (LINK_SPEC): Likewise.

From-SVN: r51540

22 years agore PR java/5986 (SIGSEGV in __gcj_personality_v0)
Tom Tromey [Fri, 29 Mar 2002 00:42:54 +0000 (00:42 +0000)]
re PR java/5986 (SIGSEGV in __gcj_personality_v0)

* except.c (expand_end_java_handler): If the handler type is NULL,
use java.lang.Throwable.  Fixes PR java/5986.

From-SVN: r51539

22 years agore PR other/2620 (Filenames differ only in case)
David Billinghurst [Fri, 29 Mar 2002 00:39:57 +0000 (00:39 +0000)]
re PR other/2620 (Filenames differ only in case)

2002-03-29  David Billinghurst <David.Billinghurst@riotinto.com>

PR other/2620
* src/mips/n32.s: Delete
* src/mips/o32.s: Delete

From-SVN: r51537

22 years agore PR java/4715 (Tree check failure in check_inner_circular_reference)
Alexandre Petit-Bianco [Thu, 28 Mar 2002 23:40:21 +0000 (15:40 -0800)]
re PR java/4715 (Tree check failure in check_inner_circular_reference)

2002-03-28  Alexandre Petit-Bianco  <apbianco@redhat.com>

Fix for PR java/4715:
* jcf-parse.c (parse_source_file_3): New function.
(read_class): Call it.
(java_parse_file): Likewise.

(http://gcc.gnu.org/ml/gcc-patches/2002-03/msg01917.html)

From-SVN: r51534

22 years agore PR rtl-optimization/3311 (GCC-SH: gcc loses result of AND operation due to force_t...
Jeff Law [Thu, 28 Mar 2002 23:33:52 +0000 (16:33 -0700)]
re PR rtl-optimization/3311 (GCC-SH: gcc loses result of AND operation due to force_to_mode bug)

* combine.c (simplify_and_const_int): Make sure to apply mask
when force_to_mode returns a constant integer.  PR3311.

From-SVN: r51532

22 years ago* pa-linux.h (LOCAL_LABEL_PREFIX): Define.
John David Anglin [Thu, 28 Mar 2002 23:13:01 +0000 (23:13 +0000)]
* pa-linux.h (LOCAL_LABEL_PREFIX): Define.

From-SVN: r51530

22 years agoweak-1.c: Fix typo in scan-assembler pattern.
Hans-Peter Nilsson [Thu, 28 Mar 2002 20:36:16 +0000 (20:36 +0000)]
weak-1.c: Fix typo in scan-assembler pattern.

* gcc.dg/weak-1.c: Fix typo in scan-assembler pattern.

* g++.old-deja/g++.law/bit-fields2.C: Skip on mmix-knuth-mmixware.

From-SVN: r51529

22 years ago2002-03-28 Paolo Carlini <pcarlini@unitus.it>
Paolo Carlini [Thu, 28 Mar 2002 20:25:25 +0000 (21:25 +0100)]
2002-03-28  Paolo Carlini  <pcarlini@unitus.it>

* testsuite/24_iterators/istream_iterator.cc
(test02): New tests.

From-SVN: r51527

22 years agoinvoke.texi (Warning Options): Refer to C++ Dialect Options and Objective-C Dialect...
Gerald Pfeifer [Thu, 28 Mar 2002 19:49:38 +0000 (20:49 +0100)]
invoke.texi (Warning Options): Refer to C++ Dialect Options and Objective-C Dialect Options.

* doc/invoke.texi (Warning Options): Refer to C++ Dialect Options
and Objective-C Dialect Options.

From-SVN: r51526

22 years agoFix wrong date in last Changelog
Paolo Carlini [Thu, 28 Mar 2002 19:23:48 +0000 (19:23 +0000)]
Fix wrong date in last Changelog

From-SVN: r51523

22 years ago2002-03-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
Ulrich Weigand [Thu, 28 Mar 2002 19:19:23 +0000 (19:19 +0000)]
2002-03-27  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
            Paolo Carlini  <pcarlini@unitus.it>

        * testsuite/22_locale/codecvt_members_unicode_wchar_t.cc
        (test01): Protect the test with _GLIBCPP_USE_WCHAR_T;
        fix i_lit_base e_lit_base arrays, making them independent
from the endianness of the platform; tweak UCS4 to UCS-4BE.

Co-Authored-By: Paolo Carlini <pcarlini@unitus.it>
From-SVN: r51521

22 years agoalpha.c (alpha_emit_conditional_branch): TFmode NE comparison should be done vs ...
Richard Henderson [Thu, 28 Mar 2002 18:52:43 +0000 (10:52 -0800)]
alpha.c (alpha_emit_conditional_branch): TFmode NE comparison should be done vs !=0 not >0 return code.

        * config/alpha/alpha.c (alpha_emit_conditional_branch): TFmode NE
        comparison should be done vs !=0 not >0 return code.  Tidy cases.

From-SVN: r51519

22 years agoc-decl.c (finish_function): New arg can_defer_p.
Richard Henderson [Thu, 28 Mar 2002 18:51:49 +0000 (10:51 -0800)]
c-decl.c (finish_function): New arg can_defer_p.

        * c-decl.c (finish_function): New arg can_defer_p.  Pass it
        on to c_expand_body.
        * c-tree.h (finish_function): Update decl.
        * c-objc-common.c, c-parse.in, objc/objc-act.c: Update calls.

From-SVN: r51518

22 years ago* ifcvt.c (if_convert): Clear aux_for_blocks early enought.
Jan Hubicka [Thu, 28 Mar 2002 18:16:18 +0000 (19:16 +0100)]
* ifcvt.c (if_convert): Clear aux_for_blocks early enought.

From-SVN: r51516

22 years agoThrow_2.java: New.
Andrew Haley [Thu, 28 Mar 2002 16:24:21 +0000 (16:24 +0000)]
Throw_2.java: New.

2002-03-28  Andrew Haley  <aph@redhat.com>

* libjava.lang/Throw_2.java: New.
* libjava.lang/Throw_2.out: New.

From-SVN: r51515

22 years ago* checks.ads:
Matthew Gingell [Thu, 28 Mar 2002 15:33:09 +0000 (15:33 +0000)]
* checks.ads:

(Remove_Checks): New procedure

* checks.adb:
(Remove_Checks): New procedure

* exp_util.adb:
Use new Duplicate_Subexpr functions
(Duplicate_Subexpr_No_Checks): New procedure
(Duplicate_Subexpr_No_Checks_Orig): New procedure
(Duplicate_Subexpr): Restore original form (checks duplicated)
(Duplicate_Subexpr): Call Remove_Checks

* exp_util.ads:
(Duplicate_Subexpr_No_Checks): New procedure
(Duplicate_Subexpr_No_Checks_Orig): New procedure
Add 2002 to copyright notice

* sem_util.adb: Use new Duplicate_Subexpr functions

* sem_eval.adb:
(Eval_Indexed_Component): This is the place to call
Constant_Array_Ref and to replace the value. We simply merge
the code of this function in here, since it is now no longer
used elsewhere. This fixes the problem of the back end not
realizing we were clever enough to see that this was
constant.
(Expr_Val): Remove call to Constant_Array_Ref
(Expr_Rep_Val): Remove call to Constant_Array_Ref
Minor reformatting
(Constant_Array_Ref): Deal with string literals (patch
suggested by Zack Weinberg on the gcc list)

* exp_util.adb: Duplicate_Subexpr_No_Checks_Orig =>
Duplicate_Subexpr_Move_Checks.

* exp_util.ads: Duplicate_Subexpr_No_Checks_Orig =>
Duplicate_Subexpr_Move_Checks.

* sem_eval.adb: (Constant_Array_Ref): Verify that constant
value of array exists before retrieving it (it may a private
protected component in a function).

From-SVN: r51513

22 years agoprj-pp.adb: New file.
Geert Bosch [Thu, 28 Mar 2002 15:21:33 +0000 (16:21 +0100)]
prj-pp.adb: New file.

* prj-pp.adb : New file.

* prj-pp.ads : New file.

From-SVN: r51512

22 years ago* Makefile.in (stamp-sdefault): Fix path for Makefile.
Andreas Jaeger [Thu, 28 Mar 2002 13:00:02 +0000 (14:00 +0100)]
* Makefile.in (stamp-sdefault): Fix path for Makefile.

From-SVN: r51510

22 years agortlanal.c: Include flags.h
Jan Hubicka [Thu, 28 Mar 2002 12:25:21 +0000 (13:25 +0100)]
rtlanal.c: Include flags.h

* rtlanal.c: Include flags.h
(may_trap_p): Do not mark FP operations if trapping
if !flag_trapping_math
* Makefile.in (rtlanal.o): Add dependency on flag.h
* ifcvt.c (noce_operand_ok): Avoid the lameness.

From-SVN: r51508

22 years agoDaily bump.
GCC Administrator [Thu, 28 Mar 2002 08:17:10 +0000 (08:17 +0000)]
Daily bump.

From-SVN: r51507

22 years ago* misc.c (gnat_expand_expr): Move prototype.
Neil Booth [Thu, 28 Mar 2002 07:47:28 +0000 (07:47 +0000)]
* misc.c (gnat_expand_expr): Move prototype.

From-SVN: r51503

22 years agomips.md: Use dconst1, not 1.0, as first argument of REAL_VALUE_LDEXP.
Zack Weinberg [Thu, 28 Mar 2002 07:43:59 +0000 (07:43 +0000)]
mips.md: Use dconst1, not 1.0, as first argument of REAL_VALUE_LDEXP.

* mips.md: Use dconst1, not 1.0, as first argument of
REAL_VALUE_LDEXP.  Don't use union real_extract.

From-SVN: r51502

22 years agoparse.y (resolve_package): Initialize "decl".
Bryce McKinlay [Thu, 28 Mar 2002 07:41:40 +0000 (07:41 +0000)]
parse.y (resolve_package): Initialize "decl".

2002-03-28  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>

* parse.y (resolve_package): Initialize "decl".
(lookup_package_type): Remove unused function.

From-SVN: r51500

22 years agore PR java/5993 (crashes on Hello World)
Bryce McKinlay [Thu, 28 Mar 2002 04:28:22 +0000 (04:28 +0000)]
re PR java/5993 (crashes on Hello World)

Fix for PR java/5993:
* parse.y (resolve_package): Return the decl if resolution was
successful. Don't special case "java.lang" and "java.lang.reflect"
packages. Set type_name to the merged identifier.
(resolved_qualified_expression_name): Print error using "name" if
resolve_package returns NULL_TREE.

From-SVN: r51497

22 years agohex.c: Add documentation.
DJ Delorie [Thu, 28 Mar 2002 04:04:20 +0000 (23:04 -0500)]
hex.c: Add documentation.

* hex.c: Add documentation.
(_hex_value): Provide non-ASCII empty table.
(hex_init): Initialize the non-ASCII table.
* functions.texi: Regenerate.

From-SVN: r51496

22 years agoostream.tcc (ostream::operator<<(_CharT)): Always allocate at least a byte.
Benjamin Kosnik [Thu, 28 Mar 2002 03:15:08 +0000 (03:15 +0000)]
ostream.tcc (ostream::operator<<(_CharT)): Always allocate at least a byte.

2002-03-27  Benjamin Kosnik  <bkoz@redhat.com>

* include/bits/ostream.tcc (ostream::operator<<(_CharT)): Always
allocate at least a byte.

* testsuite/18_support/numeric_limits.cc (test_extrema): Make
debugger-friendly.
* testsuite/27_io/streambuf.cc (test07): Fix.
(test06): Enable.

From-SVN: r51494

22 years ago* java/net/PlainDatagramSocketImpl.java
Jeff Sturm [Thu, 28 Mar 2002 02:08:36 +0000 (02:08 +0000)]
* java/net/PlainDatagramSocketImpl.java
(close): Use native implementation.
(finalize): New method.

* java/net/PlainSocketImpl.java (finalize): New method.

* java/net/natPlainDatagramSocketImpl.cc
(java/io/FileDescriptor.h): Don't include.
(close): Implement method here.
(create): Don't assign fd.

* java/net/natPlainSocketImpl.cc
(java/io/FileDescriptor.h): Don't include.
(create): Don't assign fd.
(accept): Likewise.
(close): Synchronize.

From-SVN: r51492

22 years agoinstantiate1.C: Use scan-assembler, not link errors.
Richard Henderson [Thu, 28 Mar 2002 01:52:55 +0000 (17:52 -0800)]
instantiate1.C: Use scan-assembler, not link errors.

        * g++.dg/ext/instantiate1.C: Use scan-assembler, not link errors.
        * g++.dg/ext/instantiate2.C, g++.dg/ext/instantiate3.C: Likewise;
        move from g++.old-deja/g++.ext/.

From-SVN: r51491

22 years agoconfigure.in (gcc_cv_as): Use $target_alias in directory searchs rather than $target.
Alan Modra [Thu, 28 Mar 2002 00:19:56 +0000 (00:19 +0000)]
configure.in (gcc_cv_as): Use $target_alias in directory searchs rather than $target.

* configure.in (gcc_cv_as): Use $target_alias in directory searchs
rather than $target.  Heed program_prefix and
program_transform_name.  Search for gas in cross-compiler case too.
"test -x" rather than "test -f".
(gcc_cv_ld): Likewise.
(gcc_cv_nm): Heed program_prefix and program_transform_name.
(gcc_cv_objdump): Likewise.
* configure: Regenerate.

From-SVN: r51489

22 years agoMakefile.in (attribs.o): Update.
Neil Booth [Wed, 27 Mar 2002 23:16:17 +0000 (23:16 +0000)]
Makefile.in (attribs.o): Update.

* Makefile.in (attribs.o): Update.
* attribs.c: Include langhooks.h.
(decl_attributes): Use langhook.
* c-decl.c (insert_default_attributes): Rename.
* c-tree.h (c_insert_default_attributes): New.
* langhooks-def.h (LANG_HOOKS_INSERT_DEFAULT_ATTRIBUTES):New.
(LANG_HOOKS_INITIALIZER): Update.
* langhooks.h (struct lang_hooks): New hook.
* tree.h (insert_default_attributes): Remove.
ada:
* misc.c (insert_default_attributes): Remove.
cp:
* cp-lang.c (LANG_HOOKS_INSERT_DEFAULT_ATTRIBUTES): Redefine.
* cp-tree.h (cxx_insert_default_attributes): New.
* decl.c (insert_default_attributes): Rename.
objc:
* objc-lang.c (LANG_HOOKS_INSERT_DEFAULT_ATTRIBUTES): Redefine.

From-SVN: r51488

22 years agoexpr.c (expand_invoke): Don't generate null pointer check if we're calling <init>.
Tom Tromey [Wed, 27 Mar 2002 23:12:05 +0000 (23:12 +0000)]
expr.c (expand_invoke): Don't generate null pointer check if we're calling <init>.

* expr.c (expand_invoke): Don't generate null pointer check if
we're calling <init>.

From-SVN: r51487

22 years agoi386.c (classify_argument): Also check for QUAL_UNION_TYPE.
Andreas Schwab [Wed, 27 Mar 2002 22:53:08 +0000 (22:53 +0000)]
i386.c (classify_argument): Also check for QUAL_UNION_TYPE.

* config/i386/i386.c (classify_argument): Also check for
QUAL_UNION_TYPE.

From-SVN: r51484

22 years agoconfigure.in (alpha*-dec-osf*): Enable libgcj.
Rainer Orth [Wed, 27 Mar 2002 22:52:00 +0000 (22:52 +0000)]
configure.in (alpha*-dec-osf*): Enable libgcj.

* configure.in (alpha*-dec-osf*): Enable libgcj.

gcc:
* doc/install.texi (alpha*-dec-osf*): Don't need --enable-libgcj
any more.

From-SVN: r51483

22 years agoi960.md (ret): Set PC.
Jan Hubicka [Wed, 27 Mar 2002 22:23:12 +0000 (23:23 +0100)]
i960.md (ret): Set PC.

* i960.md (ret): Set PC.
(nonlocal_goto): Fix expander.
* builtins.c (epxand_builin_longjmp): Check that we've emitted
some jump or call.

From-SVN: r51478

22 years agooptabs.c (emit_no_conflict_block, [...]): Avoid nesting of libcall regions.
Jan Hubicka [Wed, 27 Mar 2002 22:16:20 +0000 (23:16 +0100)]
optabs.c (emit_no_conflict_block, [...]): Avoid nesting of libcall regions.

* optabs.c (emit_no_conflict_block, emit_libcall_block): Avoid nesting
of libcall regions.

From-SVN: r51477

22 years agocfgrtl.c (merge_blocks_nomove): Use set_block_for_insn instead of assigning to BLOCK_...
Zdenek Dvorak [Wed, 27 Mar 2002 21:56:50 +0000 (22:56 +0100)]
cfgrtl.c (merge_blocks_nomove): Use set_block_for_insn instead of assigning to BLOCK_FOR_INSN directly.

* cfgrtl.c (merge_blocks_nomove): Use set_block_for_insn instead of
assigning to BLOCK_FOR_INSN directly.

From-SVN: r51475

22 years agoIntro.3: Date tweak.
Phil Edwards [Wed, 27 Mar 2002 21:41:36 +0000 (21:41 +0000)]
Intro.3: Date tweak.

2002-03-27  Phil Edwards  <pme@gcc.gnu.org>

* docs/doxygen/Intro.3:  Date tweak.
* docs/doxygen/TODO:  Update.
* docs/doxygen/doxygroups.cc:  Point to tables.html.
* docs/doxygen/mainpage.html:  Date tweak.
* docs/doxygen/run_doxygen:  Version tweak.  Copy tables.html over.
* docs/doxygen/tables.html:  Fill in the blanks.

* docs/doxygen/user.cfg.in (ALIASES):  Remove maint and endmaint.
* include/bits/stl_algo.h:  Likewise; use expanded form.
* include/bits/stl_alloc.h:  Likewise.
* include/bits/stl_construct.h:  Likewise.
* include/bits/stl_deque.h:  Likewise.
* include/bits/stl_iterator_base_types.h:  Likewise.
* include/bits/stl_list.h:  Likewise.
* include/bits/stl_relops.h:  Likewise.
* include/bits/stl_tempbuf.h:  Likewise.
* include/bits/stl_vector.h:  Likewise.
* include/std/std_memory.h:  Likewise.

* include/bits/stl_deque.h:  Point into tables.html and add @ingroup.
* include/bits/stl_list.h:  Likewise.
* include/bits/stl_vector.h:  Likewise.

From-SVN: r51471

22 years ago* i386.c (ix86_output_addr_diff_elt): Remove binutils bug workaround.
Jan Hubicka [Wed, 27 Mar 2002 21:37:54 +0000 (22:37 +0100)]
* i386.c (ix86_output_addr_diff_elt): Remove binutils bug workaround.

From-SVN: r51470

22 years ago* MAINTAINERS (Write After Approval): Add myself.
Matthew Gingell [Wed, 27 Mar 2002 21:16:28 +0000 (21:16 +0000)]
* MAINTAINERS (Write After Approval): Add myself.

From-SVN: r51469

22 years ago* include/posix-threads.h [alpha] (_Jv_ThreadSelf): Avoid a copy.
Richard Henderson [Wed, 27 Mar 2002 19:25:04 +0000 (11:25 -0800)]
* include/posix-threads.h [alpha] (_Jv_ThreadSelf): Avoid a copy.

From-SVN: r51468

22 years agoos_dep.c (GC_init_linux_data_start): Fix references to __data_start and _end.
Richard Henderson [Wed, 27 Mar 2002 19:21:32 +0000 (11:21 -0800)]
os_dep.c (GC_init_linux_data_start): Fix references to __data_start and _end.

        * os_dep.c (GC_init_linux_data_start): Fix references to
        __data_start and _end.

From-SVN: r51467

22 years agore PR c++/4884 (g++ 3.0.2 problem with -fvolatile)
Mark Mitchell [Wed, 27 Mar 2002 19:16:36 +0000 (19:16 +0000)]
re PR c++/4884 (g++ 3.0.2 problem with -fvolatile)

* g++.dg/init/new2.C: New test.

PR c++/4884
* call.c (build_op_delete_call): Allow for the fact the placement
may be a COMPOUND_EXPR.

From-SVN: r51466

22 years agoc-common.c (c_expand_expr): Fix prototype.
Neil Booth [Wed, 27 Mar 2002 18:28:06 +0000 (18:28 +0000)]
c-common.c (c_expand_expr): Fix prototype.

* c-common.c (c_expand_expr): Fix prototype.
* c-common.h (c_expand_expr): Always declare, update.
* c-lang.c (LANG_HOOKS_EXPAND_EXPR): Redefine.
* c-objc-common.c (c_objc_common_init): No global hook.
* expr.c (expand_expr): Use langhook.
* expr.h (enum expand_modifier): Conditionally declare.
* langhooks-def.h (lhd_expand_expr, LANG_HOOKS_EXPAND_EXPR): New.
(LANG_HOOKS_INITIALIZER): Update.
* langhooks.c (lhd_expand_expr): New.
* langhooks.h (struct lang_hooks): New hook.
* toplev.c (lang_expand_expr_t, lang_expand_expr): Delete.
(lang_independent_init): Don't default hook.
ada:
* misc.c (LANG_HOOKS_EXPAND_EXPR): Redefine.
(gnat_init): Don't set hook.
(gnat_expand_expr): Fix prototype.
cp:
* cp-lang.c (LANG_HOOKS_EXPAND_EXPR): Redefine.
* cp-tree.h (init_cplus_expand): Remove.
(cxx_expand_expr): New.
* expr.c (cplus_expand_expr): Rename cxx_expand_expr,
fix prototype.
(init_cplus_expand): Remove.
* lex.c (cxx_init): Don't call init_cplus_expand.
java:
* expr.c (java_lang_expand_expr): Rename java_expand_expr,
fix prototype.
* java-tree.h (java_lang_expand_expr): Similarly.
* lang.c (LANG_HOOKS_EXPAND_EXPR): Redefine.
(java_init): Don't set hook.
objc:
* objc-lang.c (LANG_HOOKS_EXPAND_EXPR): Redefine.

From-SVN: r51462

22 years ago* dyn-string.c: Add libgcc exception to copyright notice.
Mark Mitchell [Wed, 27 Mar 2002 18:26:18 +0000 (18:26 +0000)]
* dyn-string.c: Add libgcc exception to copyright notice.

From-SVN: r51461

22 years agodwarf2-signal.h (MAKE_THROW_FRAME): Add for IA-64.
Andrew Haley [Wed, 27 Mar 2002 17:08:47 +0000 (17:08 +0000)]
dwarf2-signal.h (MAKE_THROW_FRAME): Add for IA-64.

2002-03-25  Andrew Haley <aph@cambridge.redhat.com>, Hans Boehm <Hans_Boehm@hp.com>

        * include/dwarf2-signal.h (MAKE_THROW_FRAME): Add for IA-64.
        (INIT_SEGV, INIT_FPE): Add versions that use __libc_sigaction
        instead of syscall on IA-64.
        Add FIXME comment.

From-SVN: r51459

22 years agolibgcj.spec.in: Add CHECKREFSPEC.
Anthony Green [Wed, 27 Mar 2002 16:41:44 +0000 (16:41 +0000)]
libgcj.spec.in: Add CHECKREFSPEC.

2002-03-27  Anthony Green  <green@redhat.com>

* libgcj.spec.in: Add CHECKREFSPEC.
* configure.in: Ditto.
* configure.host: Ditto.  Check references for xscale-elf.
* configure: Rebuilt.

From-SVN: r51457

22 years agoInvokeReturn.java: Modify test for targets which do not yet support reflection.
Anthony Green [Wed, 27 Mar 2002 16:31:18 +0000 (16:31 +0000)]
InvokeReturn.java: Modify test for targets which do not yet support reflection.

2002-03-27  Anthony Green  <green@redhat.com>

* libjava.lang/InvokeReturn.java: Modify test for targets
which do not yet support reflection.

From-SVN: r51455

22 years agojni.exp (gcj_jni_run): Fix cross build test.
Anthony Green [Wed, 27 Mar 2002 16:29:04 +0000 (16:29 +0000)]
jni.exp (gcj_jni_run): Fix cross build test.

2002-03-27  Anthony Green  <green@redhat.com>

* libjava.jni/jni.exp (gcj_jni_run): Fix cross build test.

From-SVN: r51453

22 years agolibjava.exp: Add the wrapper link options only when we're linking.
Anthony Green [Wed, 27 Mar 2002 16:27:06 +0000 (16:27 +0000)]
libjava.exp: Add the wrapper link options only when we're linking.

2002-03-27  Anthony Green  <green@redhat.com>

* lib/libjava.exp: Add the wrapper link options only when we're
linking.

From-SVN: r51451

22 years agore PR target/6054 (GCC 3.1 for ia64 fails to restore gp after indirect call in Linux...
Richard Henderson [Wed, 27 Mar 2002 10:34:14 +0000 (02:34 -0800)]
re PR target/6054 (GCC 3.1 for ia64 fails to restore gp after indirect call in Linux kernel)

        PR target/6054
        * config/ia64/ia64.c (ia64_expand_call): Use pic patterns for
        TARGET_CONST_GP.  Simplify conditions.

* gcc.dg/20020326-1.c: New.

From-SVN: r51444

22 years agofreebsd.h, [...] (LOCAL_LABEL_PREFIX): Define.
Richard Henderson [Wed, 27 Mar 2002 10:30:45 +0000 (02:30 -0800)]
freebsd.h, [...] (LOCAL_LABEL_PREFIX): Define.

        * config/sparc/freebsd.h, config/sparc/linux.h, config/sparc/linux64.h,
        config/sparc/netbsd-elf.h, config/sparc/pbd.h, config/sparc/sol2.h,
        config/sparc/vxsim.h (LOCAL_LABEL_PREFIX): Define.

* gcc.dg/debug/20020327-1.c: New.

From-SVN: r51443

22 years agocygwin.h (TARGET_DLL, [...]): Remove unused switches.
Danny Smith [Wed, 27 Mar 2002 09:51:53 +0000 (09:51 +0000)]
cygwin.h (TARGET_DLL, [...]): Remove unused switches.

* config/i386/cygwin.h (TARGET_DLL, TARGET_WIN32,
TARGET_CYGWIN, TARGET_WINDOWS): Remove unused switches.
(MASK_DLL, MASK_WIN32, MASK_CYGWIN, MASK_WINDOWS):
Remove unnecessary masks.
(MASK_NOP_FUN_DLLIMPORT): Use an unused an bit.
(SUBTARGET_SWITCHES): Use empty masks for -mwin32, -mcygwin,
-mwindows, -mdll switches and their negations.

From-SVN: r51440

22 years agore PR java/5850 (resolving inherited member variables with same name works poorly)
Bryce McKinlay [Wed, 27 Mar 2002 08:27:27 +0000 (08:27 +0000)]
re PR java/5850 (resolving inherited member variables with same name works poorly)

        Fix for PR java/5850:
        * parse.y (lookup_field_wrapper): Call itself recursively for enclosing
        context if field was not found in the current scope.
        * expr.c (lookup_field): Don't look in enclosing contexts.

From-SVN: r51438

22 years agoDaily bump.
GCC Administrator [Wed, 27 Mar 2002 08:18:11 +0000 (08:18 +0000)]
Daily bump.

From-SVN: r51437

22 years agogcc-common.c (lang_mark_false_label_stack): Remove.
Neil Booth [Wed, 27 Mar 2002 07:30:52 +0000 (07:30 +0000)]
gcc-common.c (lang_mark_false_label_stack): Remove.

* gcc-common.c (lang_mark_false_label_stack): Remove.
* ggc.h (lang_mark_false_label_stack): Similarly.
ada:
* misc.c (ggc_p): Remove.

From-SVN: r51433

22 years agoc/: Guard with _CPP_.
Benjamin Kosnik [Wed, 27 Mar 2002 04:29:32 +0000 (04:29 +0000)]
c/: Guard with _CPP_.

2002-03-26  Benjamin Kosnik  <bkoz@redhat.com>

* include/c/: Guard with _CPP_.
* include/c_std/: Same.
* include/Makefile.am: Fixup install, link routines for null
c_base_headers_extra scenarios.
* include/Makefile.in: Regerate.

From-SVN: r51431

22 years agopa-pro-end.h (CPP_PREDEFINES): Add -D__pro__.
Vladimir Makarov [Wed, 27 Mar 2002 03:56:23 +0000 (03:56 +0000)]
pa-pro-end.h (CPP_PREDEFINES): Add -D__pro__.

* pa/pa-pro-end.h (CPP_PREDEFINES): Add -D__pro__.

* pa/lib2funcs.asm: Don't use .SPACE and .SUBSPACE if __pro__
or __rtems_ is defined.

From-SVN: r51430

22 years agoalpha.c (alpha_emit_set_const): Add a REG_EQUAL note if a non-trivial load was emitted.
Richard Henderson [Wed, 27 Mar 2002 03:03:18 +0000 (19:03 -0800)]
alpha.c (alpha_emit_set_const): Add a REG_EQUAL note if a non-trivial load was emitted.

        * config/alpha/alpha.c (alpha_emit_set_const): Add a REG_EQUAL note
        if a non-trivial load was emitted.
        (alpha_emit_set_const_1): Remove obsolete extension.  Fix thinko
        in high+extra+low case.

From-SVN: r51428

22 years ago* gcc.dg/pragma-re-2.c: Avoid empty source file warning.
Richard Henderson [Wed, 27 Mar 2002 02:30:23 +0000 (18:30 -0800)]
* gcc.dg/pragma-re-2.c: Avoid empty source file warning.

From-SVN: r51426

22 years ago* config.gcc (sparc*-solaris): Use float_format=sparc.
Richard Henderson [Wed, 27 Mar 2002 02:24:28 +0000 (18:24 -0800)]
* config.gcc (sparc*-solaris): Use float_format=sparc.

From-SVN: r51424

22 years ago20020312-2.c: Don't test epilogue vs global register on sparc.
Richard Henderson [Wed, 27 Mar 2002 01:43:36 +0000 (17:43 -0800)]
20020312-2.c: Don't test epilogue vs global register on sparc.

        * gcc.dg/20020312-2.c: Don't test epilogue vs global register
        on sparc.

From-SVN: r51422

22 years ago20001101-1.c: Add -mcpu=ultrasparc.
Richard Henderson [Wed, 27 Mar 2002 01:23:35 +0000 (17:23 -0800)]
20001101-1.c: Add -mcpu=ultrasparc.

        * gcc.dg/20001101-1.c: Add -mcpu=ultrasparc.  Only run on
        sparcv9 systems.
        * gcc.dg/20001102-1.c: Likewise.

From-SVN: r51420

22 years agosparc.h (MAX_WCHAR_TYPE_SIZE): Don't define.
Richard Henderson [Wed, 27 Mar 2002 01:17:07 +0000 (17:17 -0800)]
sparc.h (MAX_WCHAR_TYPE_SIZE): Don't define.

        * config/sparc/sparc.h (MAX_WCHAR_TYPE_SIZE): Don't define.
        * config/sparc/linux-aout.h (MAX_WCHAR_TYPE_SIZE): Don't undef.
        * config/sparc/linux.h, config/sparc/linux64.h: Likewise.
        * config/sparc/sol2.h (WCHAR_TYPE, WCHAR_TYPE_SIZE): Redefine.
        (WINT_TYPE_SIZE): Fix at 32.

From-SVN: r51418

22 years agoconfig.table: Support --with-build-subdir.
H.J. Lu [Tue, 26 Mar 2002 22:56:51 +0000 (22:56 +0000)]
config.table: Support --with-build-subdir.

2002-03-26  H.J. Lu  (hjl@gnu.org)

* config.table: Support --with-build-subdir.
* configure.in: Likewise.
* configure: Rebuild.

From-SVN: r51416

22 years ago* include/dwarf2-signal.h: Temporarily back out last change.
Hans Boehm [Tue, 26 Mar 2002 22:44:48 +0000 (22:44 +0000)]
* include/dwarf2-signal.h: Temporarily back out last change.

From-SVN: r51415

22 years agotoplev.c (rest_of_compilation): Delay emit_initial_value_sets until after eh landing...
Richard Henderson [Tue, 26 Mar 2002 22:07:47 +0000 (14:07 -0800)]
toplev.c (rest_of_compilation): Delay emit_initial_value_sets until after eh landing pad generation.

        * toplev.c (rest_of_compilation): Delay emit_initial_value_sets
        until after eh landing pad generation.
        * config/alpha/alpha.c (alpha_gp_save_rtx): Use gen_mem_addressof.
        * config/alpha/alpha.md (exception_receiver_2): Only accept MEMs.

From-SVN: r51411

22 years agoendif-pedantic1.c, [...]: New tests.
Phil Edwards [Tue, 26 Mar 2002 21:48:40 +0000 (21:48 +0000)]
endif-pedantic1.c, [...]: New tests.

2002-03-26  Phil Edwards  <pme@gcc.gnu.org>

* gcc.dg/cpp/endif-pedantic1.c,
gcc.dg/cpp/endif-pedantic2.c:  New tests.

From-SVN: r51410

22 years ago* expr.h (ADD_PARM_SIZE): One more convert for INC.
Richard Henderson [Tue, 26 Mar 2002 21:39:50 +0000 (13:39 -0800)]
* expr.h (ADD_PARM_SIZE): One more convert for INC.

From-SVN: r51409

22 years agogcc.c (cpp_options): Preserve relative ordering of -pedantic and warning switches.
Phil Edwards [Tue, 26 Mar 2002 21:38:40 +0000 (21:38 +0000)]
gcc.c (cpp_options): Preserve relative ordering of -pedantic and warning switches.

2002-03-26  Phil Edwards  <pme@gcc.gnu.org>

* gcc.c (cpp_options):  Preserve relative ordering of -pedantic
and warning switches.
(cc1_options):  Likewise.

From-SVN: r51408

22 years agolinux.h (MD_FALLBACK_FRAME_STATE_FOR): Restore more of the signal context.
Hans Boehm [Tue, 26 Mar 2002 21:27:12 +0000 (21:27 +0000)]
linux.h (MD_FALLBACK_FRAME_STATE_FOR): Restore more of the signal context.

* config/ia64/linux.h (MD_FALLBACK_FRAME_STATE_FOR):
Restore more of the signal context.  Set no_reg_stack_frame.
* config/ia64/unwind-ia64.c (unw_state_record):
Add no_reg_stack_frame, comments.
(uw_frame_state_for): Initialize when field to UNW_WHEN_NEVER.
(uw_update_context): Adjust bsp when unwinding from leaf,
but not signal frame.

From-SVN: r51407

22 years ago* prj-makr.ads, prj-makr.adb : New files.
Geert Bosch [Tue, 26 Mar 2002 21:07:04 +0000 (22:07 +0100)]
* prj-makr.ads, prj-makr.adb : New files.

From-SVN: r51406

22 years agomauve.exp (test_mauve): Use correct stderr redirection code.
Tom Tromey [Tue, 26 Mar 2002 20:51:19 +0000 (20:51 +0000)]
mauve.exp (test_mauve): Use correct stderr redirection code.

* libjava.mauve/mauve.exp (test_mauve): Use correct stderr
redirection code.

From-SVN: r51405

22 years ago* config/rs6000/aix51.h (WCHAR_TYPE): Define.
David Edelsohn [Tue, 26 Mar 2002 20:13:45 +0000 (20:13 +0000)]
* config/rs6000/aix51.h (WCHAR_TYPE): Define.

From-SVN: r51402

22 years ago* config/xtensa/xtensa.c (xtensa_va_arg): Handle variable-sized types.
Bob Wilson [Tue, 26 Mar 2002 19:32:18 +0000 (19:32 +0000)]
* config/xtensa/xtensa.c (xtensa_va_arg): Handle variable-sized types.

From-SVN: r51400

22 years agore PR java/5942 (tree check failure when compiling Classpath with strictfp StrictMath...
Tom Tromey [Tue, 26 Mar 2002 18:59:04 +0000 (18:59 +0000)]
re PR java/5942 (tree check failure when compiling Classpath with strictfp StrictMath class)

Fix for PR java/5942:
* parse.y (init_src_parse): Added sanity check.
* parse.h (struct parser_ctxt) [modifier_ctx]: Array has 12
elements, not 11.

From-SVN: r51398

22 years agore PR c++/4884 (g++ 3.0.2 problem with -fvolatile)
Mark Mitchell [Tue, 26 Mar 2002 18:37:56 +0000 (18:37 +0000)]
re PR c++/4884 (g++ 3.0.2 problem with -fvolatile)

PR c++/4884.
* init.c (build_new_1): Allow for the fact the result of
build_function_call may be a COMPOUND_EXPR.

* g++.dg/init/new1.C: New test.

From-SVN: r51396

22 years agore PR c++/5682 (ICE in build_secondary_vtable)
Nathan Sidwell [Tue, 26 Mar 2002 18:16:26 +0000 (18:16 +0000)]
re PR c++/5682 (ICE in build_secondary_vtable)

cp:
PR c++/5682
* cp-tree.h (BINFO_PRIMARY_P): Explain meaning better.
(dfs_skip_nonprimary_vbases_unmarkedp): Remove.
(dfs_skip_nonprimary_vbases_markedp): Remove.
* search.c (get_shared_vbase_if_not_primary): Remove.
(dfs_skip_nonprimary_vbases_unmarkedp): Remove.
(dfs_skip_nonprimary_vbases_markedp): Remove.
(dfs_unmarked_real_bases_queue_p): Just get the canonical binfo.
(dfs_marked_real_bases_queue_p): Likewise.
testsuite:
* g++.dg/abi/vbase9.C: New test.

From-SVN: r51392

22 years ago* gcc.dg/arm-asm.c: New test.
Richard Earnshaw [Tue, 26 Mar 2002 17:59:00 +0000 (17:59 +0000)]
* gcc.dg/arm-asm.c: New test.

From-SVN: r51390

22 years agore PR target/5621 (ARM compiler aborts with asm "m" constraint)
Richard Earnshaw [Tue, 26 Mar 2002 17:34:22 +0000 (17:34 +0000)]
re PR target/5621 (ARM compiler aborts with asm "m" constraint)

PR target/5621
* arm.md (define_asm_attributes): Reapply patch of Thu Sep 9, 1999:
"Add a pool_range attribute", which was lost during the ARM/Thumb
merge.

From-SVN: r51389

22 years agoxtensa.c (xtensa_valid_move): Allow move from a register into the MAC16 accumulator.
Bob Wilson [Tue, 26 Mar 2002 17:16:52 +0000 (17:16 +0000)]
xtensa.c (xtensa_valid_move): Allow move from a register into the MAC16 accumulator.

        * config/xtensa/xtensa.c (xtensa_valid_move): Allow move from
        a register into the MAC16 accumulator.

From-SVN: r51388

22 years agoAdd -Wswitch-enum. Document.
Andrew Cagney [Tue, 26 Mar 2002 15:36:37 +0000 (15:36 +0000)]
Add -Wswitch-enum.  Document.

Fix PR c/5044.

From-SVN: r51386

22 years ago* arm.md (reload_mulsi3, reload_mulsi_compare0, reload_muladdsi)
Richard Earnshaw [Tue, 26 Mar 2002 13:52:50 +0000 (13:52 +0000)]
* arm.md (reload_mulsi3, reload_mulsi_compare0, reload_muladdsi)
(reload_mulsi_compare0_scratch, reload_muladdsi_compare0)
(reload_muladdsi_compare0_scratch): Delete.

From-SVN: r51385

22 years ago* doc/install.texi (*-*-freebsd*): Update.
Loren J. Rittle [Tue, 26 Mar 2002 12:35:20 +0000 (12:35 +0000)]
* doc/install.texi (*-*-freebsd*): Update.

From-SVN: r51384

22 years ago* include/posix-threads.h: Support <.../pal.h> on FreeBSD/alpha.
Loren J. Rittle [Tue, 26 Mar 2002 11:26:13 +0000 (11:26 +0000)]
* include/posix-threads.h: Support <.../pal.h> on FreeBSD/alpha.

From-SVN: r51383

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