gcc.git
21 years agommix.h (LIBCALL_VALUE): Use MMIX_RETURN_VALUE_REGNUM, not MMIX_OUTGOING_RETURN_VALUE_...
Hans-Peter Nilsson [Sat, 26 Oct 2002 18:06:01 +0000 (18:06 +0000)]
mmix.h (LIBCALL_VALUE): Use MMIX_RETURN_VALUE_REGNUM, not MMIX_OUTGOING_RETURN_VALUE_REGNUM.

* config/mmix/mmix.h (LIBCALL_VALUE): Use
MMIX_RETURN_VALUE_REGNUM, not MMIX_OUTGOING_RETURN_VALUE_REGNUM.
(FUNCTION_VALUE_REGNO_P): Similar, but move code to...
* config/mmix/mmix.c (mmix_function_value_regno_p): New.
* config/mmix/mmix-protos.h: Remove needless ifdefs on TREE_CODE
and RTX_CODE.
(mmix_function_value_regno_p): Declare.

From-SVN: r58563

21 years agowint_t-1.c, [...]: Remove excess-errors markers.
Hans-Peter Nilsson [Sat, 26 Oct 2002 14:03:12 +0000 (14:03 +0000)]
wint_t-1.c, [...]: Remove excess-errors markers.

* gcc.dg/wint_t-1.c, gcc.dg/wchar_t-1.c: Remove excess-errors
markers.

From-SVN: r58562

21 years agoDaily bump.
GCC Administrator [Sat, 26 Oct 2002 07:17:23 +0000 (07:17 +0000)]
Daily bump.

From-SVN: r58561

21 years agoPremature commit: obvious change somehow won't work. Sorry.
Hans-Peter Nilsson [Sat, 26 Oct 2002 06:01:20 +0000 (06:01 +0000)]
Premature commit: obvious change somehow won't work.  Sorry.

From-SVN: r58554

21 years agonest.c, [...]: Expect build failure on mmix-*-*.
Hans-Peter Nilsson [Sat, 26 Oct 2002 05:44:18 +0000 (05:44 +0000)]
nest.c, [...]: Expect build failure on mmix-*-*.

* gcc.dg/nest.c, gcc.dg/20021014-1.c: Expect build failure on
mmix-*-*.

From-SVN: r58553

21 years agommix.md ("fixuns_truncdfdi2"): Replace unsigned_fix, invalid for floating point mode...
Hans-Peter Nilsson [Sat, 26 Oct 2002 02:27:17 +0000 (02:27 +0000)]
mmix.md ("fixuns_truncdfdi2"): Replace unsigned_fix, invalid for floating point mode result, with fix.

* config/mmix/mmix.md ("fixuns_truncdfdi2"): Replace unsigned_fix,
invalid for floating point mode result, with fix.

From-SVN: r58552

21 years agoAdd note about what it fixes.
Mike Stump [Sat, 26 Oct 2002 01:21:28 +0000 (01:21 +0000)]
Add note about what it fixes.

From-SVN: r58551

21 years agoc-typeck.c (warn_for_assignment): Don't print argument number, if zero.
Mike Stump [Sat, 26 Oct 2002 01:18:52 +0000 (01:18 +0000)]
c-typeck.c (warn_for_assignment): Don't print argument number, if zero.

* c-typeck.c (warn_for_assignment): Don't print argument number, if zero.
Fixes gcc.dg/warn-1.c.

From-SVN: r58550

21 years agoAdd gcc.dg/warn-1.c
Mike Stump [Sat, 26 Oct 2002 01:15:16 +0000 (01:15 +0000)]
Add gcc.dg/warn-1.c

From-SVN: r58549

21 years agocall.c (build_over_call): Use DECL_CONTEXT, not DECL_VIRTUAL_CONTEXT.
Mark Mitchell [Sat, 26 Oct 2002 00:44:44 +0000 (00:44 +0000)]
call.c (build_over_call): Use DECL_CONTEXT, not DECL_VIRTUAL_CONTEXT.

* call.c (build_over_call): Use DECL_CONTEXT, not
DECL_VIRTUAL_CONTEXT.
* class.c (modify_vtable_entry): Don't mess with
DECL_VIRTUAL_CONTEXT.
(set_vindex): Remove.
(set_primary_base): Remove vfuns_p parameter.
(determine_primary_base): Likewise.
(modify_all_vtables): Likewise.
(layout_class_type): Likewise.  Adjust calls to other functions
accordingly.
(finish_struct_1): Adjust calls to modified functions.  Set
DECL_VINDEX here.
* cp-tree.h (lang_type_class): Remove vsize.
(CLASSTYPE_VSIZE): Remove.
(lang_decl): Remove thunks.
(DECL_THUNKS): Adjust.
(DECL_VIRTUAL_CONTEXT): Remove.
(duplicate_decls): Don't copy it.
* pt.c (build_template_decl): Don't set it.
(tsubst_decl): Likewise.
* typeck.c (expand_ptrmemfunc_cst): Don't use it.

* g++.dg/lookup/ptrmem1.C: New test.

From-SVN: r58548

21 years agotoplev.c (dump_file_index): Add DFI_ce3.
Jan Hubicka [Fri, 25 Oct 2002 23:46:06 +0000 (01:46 +0200)]
toplev.c (dump_file_index): Add DFI_ce3.

* toplev.c (dump_file_index): Add DFI_ce3.
(dump_file_info): Likewise.
(rest_of_compilation): Run first ifcvt pass before tracer.

From-SVN: r58547

21 years agoMakefile.tpl (bootstrap): Add bubblestrap, quickstrap, cleanstrap, and restrap target...
Phil Edwards [Fri, 25 Oct 2002 22:49:58 +0000 (22:49 +0000)]
Makefile.tpl (bootstrap): Add bubblestrap, quickstrap, cleanstrap, and restrap targets to this rule.

2002-10-25  Phil Edwards  <pme@gcc.gnu.org>

* Makefile.tpl (bootstrap):  Add bubblestrap, quickstrap, cleanstrap,
and restrap targets to this rule.
* Makefile.in:  Regenerate.

From-SVN: r58545

21 years ago* config/ia64/hpux.h (BITS_BIG_ENDIAN): Remove.
Steve Ellcey [Fri, 25 Oct 2002 22:18:37 +0000 (22:18 +0000)]
* config/ia64/hpux.h (BITS_BIG_ENDIAN): Remove.

From-SVN: r58543

21 years agore PR c++/7266 (pedantic segfaults on missing typename)
Zack Weinberg [Fri, 25 Oct 2002 22:01:44 +0000 (22:01 +0000)]
re PR c++/7266 (pedantic segfaults on missing typename)

PR c++/7266
cp:
* decl.c (grokdeclarator): Check that TREE_OPERAND 0 of a
SCOPE_REF is not null before dereferencing it.
testsuite:
* g++.dg/template/typename3.C: New test.

From-SVN: r58540

21 years agoreal.c (real_to_decimal): If the >1 tens reduction loop results in a negative exponent...
Richard Henderson [Fri, 25 Oct 2002 21:58:12 +0000 (14:58 -0700)]
real.c (real_to_decimal): If the >1 tens reduction loop results in a negative exponent...

        * real.c (real_to_decimal): If the >1 tens reduction loop results
        in a negative exponent, fall into the <1 pten computation.

From-SVN: r58538

21 years agoMAINTAINERS: Add Wolfgang Bangerth and Volker Reichelt under GNATS only accounts.
Gerald Pfeifer [Fri, 25 Oct 2002 19:47:32 +0000 (21:47 +0200)]
MAINTAINERS: Add Wolfgang Bangerth and Volker Reichelt under GNATS only accounts.

* MAINTAINERS: Add Wolfgang Bangerth and Volker Reichelt under
GNATS only accounts.

From-SVN: r58537

21 years agoclass.c (build_vtbl_initializer): Don't use build_vtable_entry.
Mark Mitchell [Fri, 25 Oct 2002 19:39:47 +0000 (19:39 +0000)]
class.c (build_vtbl_initializer): Don't use build_vtable_entry.

* class.c (build_vtbl_initializer): Don't use build_vtable_entry.
(build_vtable_entry): Remove.
* cp-tree.h (BINFO_VIRTUALS): Expand documentation.
(lang_decl): Add thunks.
(DECL_THUNKS): New macro.
* decl.c (duplicate_decls): Copy it.
* method.c (make_thunk): Simplify, and add thunks to DECL_THUNKS.
* semantics.c (emit_associated_thunks): Simplify.

* g++.dg/abi/vthunk2.C: New test.

From-SVN: r58536

21 years agore PR c++/6994 (ICE in find_function_data)
Zack Weinberg [Fri, 25 Oct 2002 17:26:52 +0000 (17:26 +0000)]
re PR c++/6994 (ICE in find_function_data)

PR middle-end/6994

* c-objc-common.c (inline_forbidden_p): Can not inline
functions containing structures or unions containing VLAs.
* tree-inline.c (walk_tree): For all class 't' nodes, walk
TYPE_SIZE and TYPE_SIZE_UNIT.
(copy_tree_r): Copy types if they are variably modified.

* g++.dg/ext/vla1.C, gcc.dg/vla-2.c: New tests.

From-SVN: r58535

21 years agore PR c++/7228 (ICE when using member template and template function)
David Edelsohn [Fri, 25 Oct 2002 15:13:05 +0000 (15:13 +0000)]
re PR c++/7228 (ICE when using member template and template function)

        PR c++/7228
        * cp-tree.h (CLASSTYPE_READONLY_FIELDS_NEED_INIT): Check that
        lang_type structure exists before accessing field.
        (SET_CLASSTYPE_READONLY_FIELDS_NEED_INIT): New macro.
        (CLASSTYPE_REF_FIELDS_NEED_INIT): Similar.
        (SET_CLASSTYPE_REF_FIELDS_NEED_INIT): New macro.
        * class.c (check_field_decls): Use new macros.
        * typeck2.c (process_init_constructor): Remove redundant check for
        existence of lang_type structure.

From-SVN: r58532

21 years ago* config/s390/s390.md: Remove old-style peepholes.
Ulrich Weigand [Fri, 25 Oct 2002 12:28:17 +0000 (12:28 +0000)]
* config/s390/s390.md: Remove old-style peepholes.

From-SVN: r58531

21 years agos390.c (s390_decompose_address): Do not range check the displacement if base or index...
Ulrich Weigand [Fri, 25 Oct 2002 12:26:40 +0000 (12:26 +0000)]
s390.c (s390_decompose_address): Do not range check the displacement if base or index is the argument pointer...

* config/s390/s390.c (s390_decompose_address): Do not range check the
displacement if base or index is the argument pointer register.

From-SVN: r58530

21 years agoDaily bump.
GCC Administrator [Fri, 25 Oct 2002 07:18:27 +0000 (07:18 +0000)]
Daily bump.

From-SVN: r58527

21 years agoclass.c (end_of_base): New method.
Mark Mitchell [Fri, 25 Oct 2002 06:01:55 +0000 (06:01 +0000)]
class.c (end_of_base): New method.

* class.c (end_of_base): New method.
(end_of_class): Use it.  Check indirect virtual bases.

* g++.dg/abi/empty9.C: New test.

From-SVN: r58521

21 years agonatRuntime.cc (_Jv_SetDLLSearchPath): New function.
Tom Tromey [Fri, 25 Oct 2002 03:28:00 +0000 (03:28 +0000)]
natRuntime.cc (_Jv_SetDLLSearchPath): New function.

* java/lang/natRuntime.cc (_Jv_SetDLLSearchPath): New function.
(_Jv_FindSymbolInExecutable): Removed argument name.
(insertSystemProperties): Call _Jv_SetDLLSearchPath if
java.library.path is set.

* gij.cc (help): Document --showversion.
(version): Don't exit.
(main): Handle --showversion.  Exit if --version given.

From-SVN: r58520

21 years agogcj.texi (Invoking gij): Document --showversion.
Tom Tromey [Fri, 25 Oct 2002 03:27:02 +0000 (03:27 +0000)]
gcj.texi (Invoking gij): Document --showversion.

* gcj.texi (Invoking gij): Document --showversion.
(Standard Properties): java.library.path now set.

From-SVN: r58519

21 years ago* class.c (check_field_decls): Fix typo.
Mark Mitchell [Thu, 24 Oct 2002 23:43:48 +0000 (23:43 +0000)]
* class.c (check_field_decls): Fix typo.

From-SVN: r58517

21 years agoclass.c (check_field_decls): Fix typo.
Mark Mitchell [Thu, 24 Oct 2002 23:43:47 +0000 (23:43 +0000)]
class.c (check_field_decls): Fix typo.

* class.c (check_field_decls): Fix typo.

[[Split portion of a mixed commit.]]

From-SVN: r58516.2

21 years agore PR other/3337 (build on linux-gnulibc1 fails: no sys/ucontext.h)
Hans-Peter Nilsson [Thu, 24 Oct 2002 23:39:38 +0000 (23:39 +0000)]
re PR other/3337 (build on linux-gnulibc1 fails: no sys/ucontext.h)

PR other/3337
PR bootstrap/6763
PR bootstrap/8122
* testsuite/testsuite_hooks.cc (__set_testsuite_memlimit): Use
__typeof__ (r.rlim_cur), not rlim_t in declaration of limit.
(Forgot to add PR markers.  Doh!)

From-SVN: r58515

21 years agore PR other/3337 (build on linux-gnulibc1 fails: no sys/ucontext.h)
Hans-Peter Nilsson [Thu, 24 Oct 2002 23:38:27 +0000 (23:38 +0000)]
re PR other/3337 (build on linux-gnulibc1 fails: no sys/ucontext.h)

PR other/3337
PR bootstrap/6763
PR bootstrap/8122
* fixinc/inclhack.def (libc1_G_va_list): New fix.
* fixinc/fixincl.x: Regenerate.
* config/i386/linux.h: Move MD_FALLBACK_FRAME_STATE_FOR inside
ifndef IN_LIBGCC2.  Wrap it together with signal.h and
sys/ucontext.h inclusion in ifndef USE_GNULIBC_1.
* configure.in (gcc_AC_CHECK_DECLS): Check vasprintf too.
* config.in, configure: Regenerate.
(Forgot to add PR markers.  Doh!)

From-SVN: r58514

21 years agoansidecl.h (__STDC__): Add (__alpha && __cplusplus) to the list of platform compilers...
Nathan Tallent [Thu, 24 Oct 2002 23:36:25 +0000 (23:36 +0000)]
ansidecl.h (__STDC__): Add (__alpha && __cplusplus) to the list of platform compilers that may look...

* ansidecl.h (__STDC__): Add (__alpha && __cplusplus) to the
list of platform compilers that may look, smell and act
like __STDC__ but that may not define it.

From-SVN: r58513

21 years agotestsuite_hooks.cc (__set_testsuite_memlimit): Use __typeof__ (r.rlim_cur), not rlim_...
Hans-Peter Nilsson [Thu, 24 Oct 2002 23:27:27 +0000 (23:27 +0000)]
testsuite_hooks.cc (__set_testsuite_memlimit): Use __typeof__ (r.rlim_cur), not rlim_t in declaration of limit.

* testsuite/testsuite_hooks.cc (__set_testsuite_memlimit): Use
__typeof__ (r.rlim_cur), not rlim_t in declaration of limit.

From-SVN: r58512

21 years agoconfigure.in (i[3456]86-*-linux*): Add check to disable ${libgcj} for glibc1.
Hans-Peter Nilsson [Thu, 24 Oct 2002 23:25:07 +0000 (23:25 +0000)]
configure.in (i[3456]86-*-linux*): Add check to disable ${libgcj} for glibc1.

* configure.in (i[3456]86-*-linux*): Add check to disable
${libgcj} for glibc1.

From-SVN: r58511

21 years agoinclhack.def (libc1_G_va_list): New fix.
Hans-Peter Nilsson [Thu, 24 Oct 2002 23:22:47 +0000 (23:22 +0000)]
inclhack.def (libc1_G_va_list): New fix.

* fixinc/inclhack.def (libc1_G_va_list): New fix.
* fixinc/fixincl.x: Regenerate.
* config/i386/linux.h: Move MD_FALLBACK_FRAME_STATE_FOR inside
ifndef IN_LIBGCC2.  Wrap it together with signal.h and
sys/ucontext.h inclusion in ifndef USE_GNULIBC_1.
* configure.in (gcc_AC_CHECK_DECLS): Check vasprintf too.
* config.in, configure: Regenerate.

From-SVN: r58510

21 years ago* varasm.c (struct rtx_const): Array size 16 for V16QImode.
Igor Shevlyakov [Thu, 24 Oct 2002 23:00:32 +0000 (23:00 +0000)]
* varasm.c (struct rtx_const): Array size 16 for V16QImode.

From-SVN: r58509

21 years ago* config/i386/i386.c (x86_output_mi_thunk): Fix x86_64 pic jump.
Richard Henderson [Thu, 24 Oct 2002 22:36:25 +0000 (15:36 -0700)]
* config/i386/i386.c (x86_output_mi_thunk): Fix x86_64 pic jump.

From-SVN: r58508

21 years agoh8300.c (initial_offset): Simplify by using round_frame_size.
Kazu Hirata [Thu, 24 Oct 2002 21:58:21 +0000 (21:58 +0000)]
h8300.c (initial_offset): Simplify by using round_frame_size.

* config/h8300/h8300.c (initial_offset): Simplify by using
round_frame_size.

From-SVN: r58507

21 years agoinstall.texi (avr): Update required binutils version.
Marek Michalkiewicz [Thu, 24 Oct 2002 20:32:28 +0000 (20:32 +0000)]
install.texi (avr): Update required binutils version.

* doc/install.texi (avr): Update required binutils version.

* doc/install.texi: Point avr users at more up-to-date information.

From-SVN: r58505

21 years agos390.md (movdi, [...]): Add peepholes2 to pull operands out of the literal pool where...
Ulrich Weigand [Thu, 24 Oct 2002 20:19:10 +0000 (20:19 +0000)]
s390.md (movdi, [...]): Add peepholes2 to pull operands out of the literal pool where possible.

* config/s390/s390.md (movdi, movsi, movhi, movqi): Add peepholes2
to pull operands out of the literal pool where possible.

From-SVN: r58504

21 years ago* config/avr/avr.c (init_cumulative_args): Test fntype for zero.
Denis Chertykov [Thu, 24 Oct 2002 20:07:21 +0000 (20:07 +0000)]
* config/avr/avr.c (init_cumulative_args): Test fntype for zero.

From-SVN: r58503

21 years agoexpr.c (convert_move): If unsignedp is less then zero there is no equivalent code.
Steve Ellcey [Thu, 24 Oct 2002 19:52:23 +0000 (19:52 +0000)]
expr.c (convert_move): If unsignedp is less then zero there is no equivalent code.

* expr.c (convert_move): If unsignedp is less then zero there
is no equivalent code.

From-SVN: r58502

21 years ago* MAINTAINERS: Add myself as ip2k port maintainer.
Denis Chertykov [Thu, 24 Oct 2002 19:50:09 +0000 (19:50 +0000)]
* MAINTAINERS: Add myself as ip2k port maintainer.

From-SVN: r58501

21 years ago* tree.def: Delete mention of nonexistent ARRAY_TYPE fields.
Zack Weinberg [Thu, 24 Oct 2002 18:01:37 +0000 (18:01 +0000)]
* tree.def: Delete mention of nonexistent ARRAY_TYPE fields.

From-SVN: r58500

21 years agoRegenerated
Zack Weinberg [Thu, 24 Oct 2002 17:55:16 +0000 (17:55 +0000)]
Regenerated

From-SVN: r58499

21 years agoPrimes.java: Removed.
Tom Tromey [Thu, 24 Oct 2002 17:45:23 +0000 (17:45 +0000)]
Primes.java: Removed.

* libjava.lang/Primes.java: Removed.
* libjava.lang/Primes.out: Removed.

From-SVN: r58498

21 years agos390.h: Rework comments...
Ulrich Weigand [Thu, 24 Oct 2002 17:07:11 +0000 (17:07 +0000)]
s390.h: Rework comments...

* config/s390/s390.h: Rework comments; re-sort target macro definitions
according to the sequence they are defined in the manual.
(POINTER_BOUNDARY): Remove.

From-SVN: r58495

21 years agoh8300.c (round_frame_size): Replace 8 with BITS_PER_UNIT.
Kazu Hirata [Thu, 24 Oct 2002 14:08:23 +0000 (14:08 +0000)]
h8300.c (round_frame_size): Replace 8 with BITS_PER_UNIT.

* config/h8300/h8300.c (round_frame_size): Replace 8 with
BITS_PER_UNIT.

From-SVN: r58493

21 years agoh8300.h (EIGHTBIT_CONSTANT_ADDRESS_P): Make it 64-bit safe.
Kazu Hirata [Thu, 24 Oct 2002 10:45:19 +0000 (10:45 +0000)]
h8300.h (EIGHTBIT_CONSTANT_ADDRESS_P): Make it 64-bit safe.

* config/h8300/h8300.h (EIGHTBIT_CONSTANT_ADDRESS_P): Make it
64-bit safe.
(TINY_CONSTANT_ADDRESS_P): Likewise.

From-SVN: r58492

21 years agoia64.c (TARGET_ASM_CAN_OUTPUT_MI_THUNK): True.
Richard Henderson [Thu, 24 Oct 2002 09:16:36 +0000 (02:16 -0700)]
ia64.c (TARGET_ASM_CAN_OUTPUT_MI_THUNK): True.

        * config/ia64/ia64.c (TARGET_ASM_CAN_OUTPUT_MI_THUNK): True.
        (ia64_output_mi_thunk): Rewrite to use rtl, and to handle the
        vcall offset.
        * g++.dg/inherit/thunk1.C: Enable for ia64.

From-SVN: r58491

21 years agoreload.c (find_reloads_toplev): Mode of X is not important when simplifying subregs...
Richard Henderson [Thu, 24 Oct 2002 09:02:24 +0000 (02:02 -0700)]
reload.c (find_reloads_toplev): Mode of X is not important when simplifying subregs of constants.

        * reload.c (find_reloads_toplev): Mode of X is not important
        when simplifying subregs of constants.
* g++.dg/opt/reload1.C: New.

From-SVN: r58490

21 years agoconfig.gcc (mips64vr-*-elf*, [...]): Add MIPS_MARCH_CONTROLS_SOFT_FLOAT=1 to $tm_defines.
Richard Sandiford [Thu, 24 Oct 2002 08:51:00 +0000 (08:51 +0000)]
config.gcc (mips64vr-*-elf*, [...]): Add MIPS_MARCH_CONTROLS_SOFT_FLOAT=1 to $tm_defines.

* config.gcc (mips64vr-*-elf*, mips64vrel-*-elf*): Add
MIPS_MARCH_CONTROLS_SOFT_FLOAT=1 to $tm_defines.
* config/mips/mips.c (MIPS_MARCH_CONTROLS_SOFT_FLOAT): Default to 0.
(override_options): Base default setting of MASK_SOFT_FLOAT on -march
if MIPS_MARCH_CONTROLS_SOFT_FLOAT.

From-SVN: r58488

21 years agooptabs.c (expand_binop): Don't reuse the shift target in the middle of shift sequences.
Richard Sandiford [Thu, 24 Oct 2002 08:48:27 +0000 (08:48 +0000)]
optabs.c (expand_binop): Don't reuse the shift target in the middle of shift sequences.

* optabs.c (expand_binop): Don't reuse the shift target in the
middle of shift sequences.

From-SVN: r58487

21 years agoDaily bump.
GCC Administrator [Thu, 24 Oct 2002 07:17:50 +0000 (07:17 +0000)]
Daily bump.

From-SVN: r58486

21 years agoobjc-act.c (get_static_reference): Remove unneeded TYPE_BINFO initialization.
Ziemowit Laski [Thu, 24 Oct 2002 00:46:02 +0000 (00:46 +0000)]
objc-act.c (get_static_reference): Remove unneeded TYPE_BINFO initialization.

2002-10-23  Ziemowit Laski <zlaski@apple.com>

        * objc/objc-act.c (get_static_reference): Remove unneeded
        TYPE_BINFO initialization.
        (get_object-reference): Likewise.
        (build_constructor): Tighten precondition check.
        (finish_message_expr): Likewise.

From-SVN: r58480

21 years agore PR c++/8067 (g++ 3.2 internal error: Segmentation fault)
Mark Mitchell [Thu, 24 Oct 2002 00:01:37 +0000 (00:01 +0000)]
re PR c++/8067 (g++ 3.2 internal error: Segmentation fault)

PR c++/8067
* decl.c (maybe_inject_for_scope_var): Ignore __FUNCTION__ and
related variables.

PR c++/8067
* g++.dg/lookup/pretty1.C: New test.

From-SVN: r58477

21 years agojni.cc (_Jv_JNI_AllocObject): Removed old FIXME comment.
Tom Tromey [Wed, 23 Oct 2002 23:19:55 +0000 (23:19 +0000)]
jni.cc (_Jv_JNI_AllocObject): Removed old FIXME comment.

* jni.cc (_Jv_JNI_AllocObject): Removed old FIXME comment.
(array_from_valist): Correctly handle promotion for jint, jlong,
jfloat, and jdouble.

From-SVN: r58476

21 years agoFor PR java/6388:
Tom Tromey [Wed, 23 Oct 2002 22:56:13 +0000 (22:56 +0000)]
For PR java/6388:

* libjava.lang/pr6388.java: New file.
* libjava.lang/pr6388.out: New file.

From-SVN: r58475

21 years agore PR java/8296 (gcjh generates incorrect JNI header)
Tom Tromey [Wed, 23 Oct 2002 22:47:31 +0000 (22:47 +0000)]
re PR java/8296 (gcjh generates incorrect JNI header)

* gjavah.c (decode_signature_piece): In JNI mode, print
`jobjectArray' when array depth is nonzero.
Fixes PR java/8296.

From-SVN: r58474

21 years agoi386.c (local_symbolic_operand): Move LABEL_REF test after CONST test.
Jakub Jelinek [Wed, 23 Oct 2002 21:20:08 +0000 (23:20 +0200)]
i386.c (local_symbolic_operand): Move LABEL_REF test after CONST test.

* config/i386/i386.c (local_symbolic_operand): Move LABEL_REF test
after CONST test.

* gcc.dg/20021023-1.c: New test.

From-SVN: r58469

21 years agonatFileWin32.cc (attr): Use FindFirstFile( ) instead of GetFileAttributesEx( ) to...
Ranjit Mathew [Wed, 23 Oct 2002 20:44:24 +0000 (20:44 +0000)]
natFileWin32.cc (attr): Use FindFirstFile( ) instead of GetFileAttributesEx( ) to find file length and...

2002-10-23  Ranjit Mathew <rmathew@hotmail.com>

        * java/io/natFileWin32.cc (attr): Use FindFirstFile( ) instead of
        GetFileAttributesEx( ) to find file length and modification times,
        as the latter is not present on Windows 95.

From-SVN: r58466

21 years agore PR c++/7679 (The compiler crashes wen a right parentesis is missing)
Mark Mitchell [Wed, 23 Oct 2002 18:38:23 +0000 (18:38 +0000)]
re PR c++/7679 (The compiler crashes wen a right parentesis is missing)

PR c++/7679
* spew.c (next_token): Do not return an endless stream of
END_OF_SAVED_INPUT tokens.
(snarf_method): Add three END_OF_SAVED_INPUT tokens to the end of
the cached token stream.
(snarf_defarg): Likewise.

PR c++/7679
* g++.dg/parse/inline1.C: New test.

From-SVN: r58465

21 years agoia64.c (hfa_element_mode): Don't allow 128 bit floats in HFAs.
Steve Ellcey [Wed, 23 Oct 2002 18:18:31 +0000 (18:18 +0000)]
ia64.c (hfa_element_mode): Don't allow 128 bit floats in HFAs.

* config/ia64/ia64.c (hfa_element_mode): Don't allow 128 bit floats
in HFAs.

From-SVN: r58464

21 years ago* g++.dg/inherit/thunk1.C: Enable for x86_64.
Richard Henderson [Wed, 23 Oct 2002 18:00:17 +0000 (11:00 -0700)]
* g++.dg/inherit/thunk1.C: Enable for x86_64.

From-SVN: r58463

21 years agoalpha.c (TARGET_ASM_CAN_OUTPUT_MI_THUNK): True.
Richard Henderson [Wed, 23 Oct 2002 17:55:56 +0000 (10:55 -0700)]
alpha.c (TARGET_ASM_CAN_OUTPUT_MI_THUNK): True.

        * config/alpha/alpha.c (TARGET_ASM_CAN_OUTPUT_MI_THUNK): True.
        (alpha_output_mi_thunk_osf): Handle vcall_offset.
* g++.dg/inherit/thunk1.C: Enable for s390 and alpha.

From-SVN: r58462

21 years agolanghooks.h (struct lang_hooks_for_tree_inlining): Add var_mod_type_p.
Zack Weinberg [Wed, 23 Oct 2002 17:13:18 +0000 (17:13 +0000)]
langhooks.h (struct lang_hooks_for_tree_inlining): Add var_mod_type_p.

* langhooks.h (struct lang_hooks_for_tree_inlining): Add
var_mod_type_p.
* langhooks-def.h: Default for tree_inlining.var_mod_type_p is
hook_tree_bool_false.

* tree.c (variably_modified_type_p): Moved here from
cp/tree.c.  Use lang_hooks.tree_inlining.var_mod_type_p for
language-specific cases.  Due to this, must weaken some 'if
and only if' checks to merely 'if'.
* tree.h: Prototype variably_modified_type_p.

* tree-inline.c (walk_tree): #undef WALK_SUBTREE_TAIL at end.

cp:
* cp-lang.c (cp_var_mod_type_p): New: C++ hook for
variably_modified_type_p.
* cp-tree.h: Remove prototype of variably_modified_type_p.
* tree.c (variably_modified_type_p): Remove; now implemented
in language-independent code.

From-SVN: r58460

21 years agoadd return 0, newline at end
Dale Johannesen [Wed, 23 Oct 2002 17:05:02 +0000 (17:05 +0000)]
add return 0, newline at end

From-SVN: r58459

21 years agolinux.h (CC1_SPEC, [...]): Remove.
Ulrich Weigand [Wed, 23 Oct 2002 16:32:43 +0000 (16:32 +0000)]
linux.h (CC1_SPEC, [...]): Remove.

* config/s390/linux.h (CC1_SPEC, CC1PLUS_SPEC): Remove.
* config/s390/s390.c (optimization_options): Disable -fcaller-saves.

* config/s390/s390-protos.h (fp_operand): Remove.
* config/s390/s390.c (fp_operand): Remove.
* config/s390/s390.md ("movdi"): Replace fp_operand by FP_REG_P.
("*movdi_lhi", "*movdi_lli", "*movdi_larl"): Likewise.
("movsi", "*movsi_lhi", "*movsi_lli"): Likewise.
(movdi_31, movdf_31 splitters): Likewise.

* config/s390/s390.h (IEEE_FLOAT): Remove.
(TARGET_FLOAT_FORMAT): Define in terms of TARGET_IEEE_FLOAT.
(INT_REGNO_P): Rename to ...
(GENERAL_REGNO_P): ... this.
(FLOAT_REGNO_P): Rename to ...
(FP_REGNO_P): ... this.
(ADDR_REGNO_P): New macro.
(GENERAL_REG_P, ADDR_REG_P, FP_REG_P, CC_REG_P): New macros.
(REGNO_OK_FOR_DATA_P, REGNO_OK_FOR_FP_P): Remove.
(DATA_REG_P, FP_REG_P, ADDRESS_REG_P): Likewise.
(HARD_REGNO_NREGS): Adapt to macro renaming.
(HARD_REGNO_MODE_OK): Likewise.

From-SVN: r58458

21 years agonum_put_members_char.cc (test01): Swap size and decimal_point arguments of find.
Jakub Jelinek [Wed, 23 Oct 2002 15:45:50 +0000 (17:45 +0200)]
num_put_members_char.cc (test01): Swap size and decimal_point arguments of find.

* testsuite/22_locale/num_put_members_char.cc (test01): Swap size
and decimal_point arguments of find.
* testsuite/22_locale/num_put_members_wchar_t.cc (test01): Likewise.

From-SVN: r58454

21 years agors6000.c (rs6000_register_move_cost): New function.
David Edelsohn [Wed, 23 Oct 2002 15:20:38 +0000 (15:20 +0000)]
rs6000.c (rs6000_register_move_cost): New function.

        * config/rs6000/rs6000.c (rs6000_register_move_cost): New function.
        (rs6000_memory_move_cost): New function.
        * config/rs6000/rs6000-protos.h: Declare them.
        * config/rs6000/rs6000.h: Use them.

Co-Authored-By: Geoffrey Keating <geoffk@apple.com>
From-SVN: r58453

21 years agolibgcc2.c (__udiv_w_sdiv): Use attribute ((always_inline)) when inlining it into...
Ulrich Weigand [Wed, 23 Oct 2002 10:47:24 +0000 (10:47 +0000)]
libgcc2.c (__udiv_w_sdiv): Use attribute ((always_inline)) when inlining it into other libgcc2 routines.

* libgcc2.c (__udiv_w_sdiv): Use attribute ((always_inline)) when
inlining it into other libgcc2 routines.
(__udivmoddi4): Likewise.

From-SVN: r58450

21 years agosourcebuild.texi (Test Suites): Improve.
Nathanael Nerode [Wed, 23 Oct 2002 08:47:54 +0000 (08:47 +0000)]
sourcebuild.texi (Test Suites): Improve.

2002-10-22  Nathanael Nerode  <neroden@gcc.gnu.org>

* doc/sourcebuild.texi (Test Suites): Improve.

From-SVN: r58445

21 years agoNathanael Nerode <neroden@gcc.gnu.org> PR ada/5904
Nathanael Nerode [Wed, 23 Oct 2002 08:27:55 +0000 (08:27 +0000)]
Nathanael Nerode <neroden@gcc.gnu.org> PR ada/5904

Nathanael Nerode  <neroden@gcc.gnu.org>
PR ada/5904
* 5ataprop.adb 5atpopsp.adb 5bosinte.adb 5ftaprop.adb
5gtaprop.adb 5htaprop.adb 5rosinte.ads 5staprop.adb
5stpopse.adb 5vtaspri.ads 5zintman.adb 5ztaprop.adb
7staprop.adb: Correct statements in comments about
maintainership of GNAT.

From-SVN: r58444

21 years agoNathanael Nerode <neroden@gcc.gnu.org> PR ada/5904
Nathanael Nerode [Wed, 23 Oct 2002 08:04:17 +0000 (08:04 +0000)]
Nathanael Nerode <neroden@gcc.gnu.org> PR ada/5904

Nathanael Nerode  <neroden@gcc.gnu.org>
PR ada/5904
* 1ssecsta.adb 1ssecsta.ads adadecode.c adadecode.h aux-io.c
gnatname.adb gnatname.ads mkdir.c osint-b.adb osint-b.ads
osint-c.adb osint-c.ads osint-l.adb osint-l.ads osint-m.adb
osint-m.ads prj-makr.adb prj-makr.ads prj-pp.adb prj-pp.ads
s-atacco.ads s-traceb.adb s-traceb.ads s-traces.adb
s-traces.ads s-tratas.adb s-tratas.ads sinput-d.adb
sinput-d.ads switch-b.adb switch-b.ads switch-c.adb
switch-c.ads switch-m.adb switch-m.ads: Correct statements in
comments about maintainership of GNAT.

From-SVN: r58443

21 years agoNathanael Nerode <neroden@gcc.gnu.org> PR ada/6919 (forward port of patch for PR...
Nathanael Nerode [Wed, 23 Oct 2002 07:33:35 +0000 (07:33 +0000)]
Nathanael Nerode <neroden@gcc.gnu.org> PR ada/6919 (forward port of patch for PR ada/5904)

Nathanael Nerode  <neroden@gcc.gnu.org>
PR ada/6919 (forward port of patch for PR ada/5904)
* 1aexcept.adb 1aexcept.ads 41intnam.ads 42intnam.ads
4aintnam.ads 4cintnam.ads 4dintnam.ads 4hexcpol.adb
4lintnam.ads 4mintnam.ads 4nintnam.ads 4onumaux.ads
4pintnam.ads 4rintnam.ads 4sintnam.ads 4uintnam.ads
4vcalend.adb 4vintnam.ads 4wcalend.adb 4wexcpol.adb
4wintnam.ads 4zintnam.ads 4znumaux.ads 4zsytaco.adb
4zsytaco.ads 51osinte.adb 51osinte.ads 52osinte.adb
52osinte.ads 52system.ads 53osinte.ads 5aosinte.ads
5asystem.ads 5atasinf.ads 5ataspri.ads 5avxwork.ads
5bosinte.ads 5bsystem.ads 5cosinte.ads 5dosinte.ads
5esystem.ads 5fosinte.ads 5fsystem.ads 5ftasinf.ads
5ginterr.adb 5gmastop.adb 5gosinte.ads 5gproinf.adb
5gproinf.ads 5gsystem.ads 5gtasinf.adb 5gtasinf.ads
5gtpgetc.adb 5hparame.ads 5hsystem.ads 5htaspri.ads
5iosinte.ads 5itaspri.ads 5ksystem.ads 5kvxwork.ads
5losinte.ads 5lsystem.ads 5mosinte.ads 5mvxwork.ads
5ninmaop.adb 5nintman.adb 5nosinte.ads 5ntaspri.ads
5oosprim.adb 5oparame.adb 5osystem.ads 5posinte.ads
5posprim.adb 5pvxwork.ads 5rosinte.ads 5rparame.adb
5sintman.adb 5sosinte.ads 5sparame.adb 5ssystem.ads
5stasinf.adb 5stasinf.ads 5staspri.ads 5svxwork.ads
5tosinte.ads 5uosinte.ads 5vasthan.adb 5vinterr.adb
5vintman.ads 5vosinte.ads 5vosprim.adb 5vosprim.ads
5vparame.ads 5vsystem.ads 5vtaspri.ads 5vtpopde.adb
5vtpopde.ads 5vvaflop.adb 5wintman.adb 5wmemory.adb
5wosinte.ads 5wosprim.adb 5wsystem.ads 5wtaprop.adb
5wtaspri.ads 5ysystem.ads 5zinterr.adb 5zosinte.adb
5zosinte.ads 5zosprim.adb 5zsystem.ads 6vcpp.adb 6vcstrea.adb
7sosprim.adb 86numaux.adb 86numaux.ads 9drpc.adb a-astaco.adb
a-caldel.ads a-calend.adb a-calend.ads a-chahan.adb
a-chahan.ads a-colien.adb a-colien.ads a-colire.adb
a-colire.ads a-comlin.adb a-comlin.ads a-cwila1.ads
a-decima.adb a-decima.ads a-diocst.adb a-diocst.ads
a-direio.adb a-direio.ads a-einuoc.adb a-einuoc.ads
a-except.adb a-except.ads a-excpol.adb a-exctra.adb
a-exctra.ads a-filico.adb a-filico.ads a-finali.adb
a-finali.ads a-interr.ads a-intsig.adb a-intsig.ads
a-ngcefu.adb a-ngcoty.adb a-ngcoty.ads a-ngelfu.adb
a-nudira.adb a-nudira.ads a-nuflra.adb a-nuflra.ads
a-numaux.ads a-reatim.ads a-retide.ads a-sequio.adb
a-sequio.ads a-siocst.adb a-siocst.ads a-ssicst.adb
a-ssicst.ads a-stmaco.ads a-storio.adb a-strbou.adb
a-strbou.ads a-stream.ads a-strfix.adb a-strfix.ads
a-strmap.adb a-strmap.ads a-strsea.adb a-strsea.ads
a-strunb.adb a-strunb.ads a-ststio.adb a-ststio.ads
a-stunau.adb a-stunau.ads a-stwibo.adb a-stwibo.ads
a-stwifi.adb a-stwima.adb a-stwima.ads a-stwise.adb
a-stwise.ads a-stwiun.adb a-stwiun.ads a-suteio.adb
a-suteio.ads a-swmwco.ads a-swuwti.adb a-swuwti.ads
a-sytaco.adb a-sytaco.ads a-tags.adb a-tags.ads a-tasatt.ads
a-taside.adb a-taside.ads a-teioed.adb a-teioed.ads
a-textio.adb a-textio.ads a-ticoau.adb a-ticoau.ads
a-ticoio.adb a-ticoio.ads a-tideau.adb a-tideau.ads
a-tideio.adb a-tideio.ads a-tienau.adb a-tienau.ads
a-tienio.adb a-tienio.ads a-tifiio.adb a-tifiio.ads
a-tiflau.adb a-tiflau.ads a-tiflio.adb a-tiflio.ads
a-tigeau.adb a-tigeau.ads a-tiinau.adb a-tiinau.ads
a-tiinio.adb a-tiinio.ads a-timoau.adb a-timoau.ads
a-timoio.adb a-timoio.ads a-tiocst.adb a-tiocst.ads
a-titest.adb a-witeio.adb a-witeio.ads a-wtcoau.adb
a-wtcoau.ads a-wtcoio.adb a-wtcstr.adb a-wtcstr.ads
a-wtdeau.adb a-wtdeau.ads a-wtdeio.adb a-wtdeio.ads
a-wtedit.adb a-wtedit.ads a-wtenau.adb a-wtenau.ads
a-wtenio.adb a-wtenio.ads a-wtfiio.adb a-wtfiio.ads
a-wtflau.adb a-wtflau.ads a-wtflio.adb a-wtflio.ads
a-wtgeau.adb a-wtgeau.ads a-wtinau.adb a-wtinau.ads
a-wtinio.adb a-wtmoau.adb a-wtmoau.ads a-wtmoio.adb
a-wtmoio.ads a-wttest.adb ada-tree.def ada-tree.h ada.h
adaint.c adaint.h ali-util.adb ali-util.ads ali.adb ali.ads
alloc.ads argv.c atree.adb atree.ads atree.h back_end.adb
back_end.ads bcheck.adb bcheck.ads binde.adb binde.ads
binderr.adb binderr.ads bindgen.adb bindgen.ads bindusg.adb
bindusg.ads butil.adb butil.ads cal.c casing.adb casing.ads
ceinfo.adb checks.adb checks.ads cio.c comperr.adb comperr.ads
csets.adb csets.ads csinfo.adb cstand.adb cstand.ads
cstreams.c cuintp.c debug.adb debug.ads debug_a.adb
debug_a.ads dec-io.adb dec-io.ads dec.ads decl.c deftarg.c
einfo.adb einfo.ads einfo.h elists.adb elists.ads elists.h
errno.c errout.adb errout.ads eval_fat.adb eval_fat.ads exit.c
exp_aggr.adb exp_aggr.ads exp_attr.adb exp_attr.ads
exp_ch10.ads exp_ch11.adb exp_ch11.ads exp_ch12.adb
exp_ch12.ads exp_ch13.adb exp_ch13.ads exp_ch2.adb exp_ch2.ads
exp_ch3.adb exp_ch3.ads exp_ch4.adb exp_ch4.ads exp_ch5.adb
exp_ch5.ads exp_ch6.adb exp_ch6.ads exp_ch7.adb exp_ch7.ads
exp_ch8.adb exp_ch8.ads exp_ch9.adb exp_ch9.ads exp_code.adb
exp_code.ads exp_dbug.adb exp_dbug.ads exp_disp.adb
exp_disp.ads exp_dist.adb exp_dist.ads exp_fixd.adb
exp_fixd.ads exp_imgv.adb exp_imgv.ads exp_intr.adb
exp_intr.ads exp_pakd.adb exp_pakd.ads exp_prag.adb
exp_prag.ads exp_smem.adb exp_smem.ads exp_strm.adb
exp_strm.ads exp_tss.adb exp_tss.ads exp_util.adb exp_util.ads
exp_vfpt.adb exp_vfpt.ads expander.adb expander.ads fe.h
final.c fmap.adb fmap.ads fname-sf.adb fname-sf.ads
fname-uf.adb fname-uf.ads fname.adb fname.ads freeze.adb
freeze.ads frontend.adb frontend.ads g-calend.ads g-comlin.adb
g-debpoo.adb g-debpoo.ads g-locfil.adb g-os_lib.ads
g-regist.adb g-regist.ads get_targ.adb get_targ.ads gigi.h
gmem.c gnat1drv.adb gnat1drv.ads gnat_ug.texi gnatbind.adb
gnatbind.ads gnatbl.c gnatcmd.adb gnatcmd.ads gnatdll.adb
gnatfind.adb gnatkr.adb gnatkr.ads gnatlbr.adb gnatlink.adb
gnatlink.ads gnatls.adb gnatls.ads gnatmake.adb gnatmake.ads
gnatmem.adb gnatprep.adb gnatprep.ads gnatpsta.adb gnatvsn.ads
gnatxref.adb hlo.adb hlo.ads hostparm.ads i-c.adb i-cexten.ads
i-cobol.adb i-cobol.ads i-cpoint.adb i-cpoint.ads i-cpp.adb
i-cpp.ads i-cstrea.adb i-cstrea.ads i-cstrin.adb i-cstrin.ads
i-fortra.adb i-os2err.ads i-os2lib.adb i-os2lib.ads
i-os2syn.ads i-os2thr.ads i-pacdec.adb i-pacdec.ads
impunit.adb impunit.ads init.c inline.adb inline.ads io-aux.c
itypes.adb itypes.ads krunch.adb krunch.ads lang-options.h
lang-specs.h layout.adb layout.ads lib-list.adb lib-load.adb
lib-load.ads lib-sort.adb lib-util.adb lib-util.ads
lib-writ.adb lib-writ.ads lib-xref.adb lib-xref.ads lib.adb
lib.ads link.c live.adb live.ads make.adb make.ads makeusg.adb
makeusg.ads math_lib.adb mdll.adb mdll.ads memtrack.adb misc.c
namet.adb namet.ads namet.h nlists.adb nlists.ads nlists.h
nmake.adb nmake.ads nmake.adt opt.adb opt.ads osint.adb
osint.ads output.adb output.ads par-ch10.adb par-ch11.adb
par-ch12.adb par-ch13.adb par-ch2.adb par-ch3.adb par-ch4.adb
par-ch5.adb par-ch6.adb par-ch7.adb par-ch8.adb par-ch9.adb
par-endh.adb par-labl.adb par-load.adb par-prag.adb
par-sync.adb par-tchk.adb par-util.adb par.adb par.ads
prj-attr.adb prj-attr.ads prj-com.adb prj-com.ads prj-dect.adb
prj-dect.ads prj-env.adb prj-env.ads prj-ext.adb prj-ext.ads
prj-nmsc.adb prj-nmsc.ads prj-pars.adb prj-pars.ads
prj-part.adb prj-part.ads prj-proc.adb prj-proc.ads
prj-strt.adb prj-strt.ads prj-tree.adb prj-tree.ads
prj-util.adb prj-util.ads prj.adb prj.ads raise.c raise.h
repinfo.adb repinfo.ads repinfo.h restrict.adb restrict.ads
rident.ads rtsfind.adb rtsfind.ads s-addima.adb s-addima.ads
s-arit64.adb s-arit64.ads s-assert.adb s-assert.ads
s-asthan.adb s-asthan.ads s-atacco.adb s-auxdec.adb
s-auxdec.ads s-bitops.adb s-bitops.ads s-chepoo.ads
s-direio.adb s-direio.ads s-except.ads s-exctab.adb
s-exctab.ads s-exnflt.ads s-exngen.adb s-exngen.ads
s-exnint.ads s-exnlfl.ads s-exnlin.ads s-exnllf.ads
s-exnlli.ads s-exnsfl.ads s-exnsin.ads s-exnssi.ads
s-expflt.ads s-expgen.adb s-expgen.ads s-expint.ads
s-explfl.ads s-explin.ads s-expllf.ads s-explli.ads
s-expllu.adb s-expllu.ads s-expmod.adb s-expmod.ads
s-expsfl.ads s-expsin.ads s-expssi.ads s-expuns.adb
s-expuns.ads s-fatflt.ads s-fatgen.adb s-fatgen.ads
s-fatlfl.ads s-fatllf.ads s-fatsfl.ads s-ficobl.ads
s-fileio.adb s-fileio.ads s-finimp.adb s-finimp.ads
s-finroo.adb s-finroo.ads s-fore.adb s-fore.ads s-imgbiu.adb
s-imgbiu.ads s-imgboo.adb s-imgboo.ads s-imgcha.adb
s-imgcha.ads s-imgdec.adb s-imgdec.ads s-imgenu.adb
s-imgenu.ads s-imgint.adb s-imgint.ads s-imgllb.adb
s-imgllb.ads s-imglld.adb s-imglld.ads s-imglli.adb
s-imglli.ads s-imgllu.adb s-imgllu.ads s-imgllw.adb
s-imgllw.ads s-imgrea.adb s-imgrea.ads s-imguns.adb
s-imguns.ads s-imgwch.adb s-imgwch.ads s-imgwiu.adb
s-imgwiu.ads s-inmaop.ads s-interr.adb s-interr.ads
s-intman.ads s-io.adb s-io.ads s-maccod.ads s-mantis.adb
s-mantis.ads s-memory.adb s-memory.ads s-osprim.ads
s-pack03.adb s-pack03.ads s-pack05.adb s-pack05.ads
s-pack06.adb s-pack06.ads s-pack07.adb s-pack07.ads
s-pack09.adb s-pack09.ads s-pack10.adb s-pack10.ads
s-pack11.adb s-pack11.ads s-pack12.adb s-pack12.ads
s-pack13.adb s-pack13.ads s-pack14.adb s-pack14.ads
s-pack15.adb s-pack15.ads s-pack17.adb s-pack17.ads
s-pack18.adb s-pack18.ads s-pack19.adb s-pack19.ads
s-pack20.adb s-pack20.ads s-pack21.adb s-pack21.ads
s-pack22.adb s-pack22.ads s-pack23.adb s-pack23.ads
s-pack24.adb s-pack24.ads s-pack25.adb s-pack25.ads
s-pack26.adb s-pack26.ads s-pack27.adb s-pack27.ads
s-pack28.adb s-pack28.ads s-pack29.adb s-pack29.ads
s-pack30.adb s-pack30.ads s-pack31.adb s-pack31.ads
s-pack33.adb s-pack33.ads s-pack34.adb s-pack34.ads
s-pack35.adb s-pack35.ads s-pack36.adb s-pack36.ads
s-pack37.adb s-pack37.ads s-pack38.adb s-pack38.ads
s-pack39.adb s-pack39.ads s-pack40.adb s-pack40.ads
s-pack41.adb s-pack41.ads s-pack42.adb s-pack42.ads
s-pack43.adb s-pack43.ads s-pack44.adb s-pack44.ads
s-pack45.adb s-pack45.ads s-pack46.adb s-pack46.ads
s-pack47.adb s-pack47.ads s-pack48.adb s-pack48.ads
s-pack49.adb s-pack49.ads s-pack50.adb s-pack50.ads
s-pack51.adb s-pack51.ads s-pack52.adb s-pack52.ads
s-pack53.adb s-pack53.ads s-pack54.adb s-pack54.ads
s-pack55.adb s-pack55.ads s-pack56.adb s-pack56.ads
s-pack57.adb s-pack57.ads s-pack58.adb s-pack58.ads
s-pack59.adb s-pack59.ads s-pack60.adb s-pack60.ads
s-pack61.adb s-pack61.ads s-pack62.adb s-pack62.ads
s-pack63.adb s-pack63.ads s-parame.adb s-parame.ads
s-parint.adb s-parint.ads s-pooglo.adb s-pooglo.ads
s-pooloc.adb s-pooloc.ads s-poosiz.adb s-poosiz.ads
s-powtab.ads s-proinf.adb s-proinf.ads s-rpc.adb s-rpc.ads
s-scaval.ads s-secsta.adb s-secsta.ads s-sequio.adb
s-sequio.ads s-shasto.adb s-shasto.ads s-soflin.adb
s-soflin.ads s-sopco3.adb s-sopco3.ads s-sopco4.adb
s-sopco4.ads s-sopco5.adb s-sopco5.ads s-stache.adb
s-stache.ads s-stalib.adb s-stalib.ads s-stoele.adb
s-stopoo.ads s-stratt.adb s-stratt.ads s-strops.adb
s-strops.ads s-taprob.ads s-taprop.ads s-tarest.ads
s-tasdeb.adb s-tasdeb.ads s-tasinf.adb s-tasinf.ads
s-tasini.ads s-taskin.ads s-tasren.ads s-tasres.ads
s-tassta.ads s-tpinop.adb s-tpinop.ads s-tpoben.ads
s-tpobop.ads s-unstyp.ads s-vaflop.adb s-vaflop.ads
s-valboo.adb s-valboo.ads s-valcha.adb s-valcha.ads
s-valdec.adb s-valdec.ads s-valenu.adb s-valenu.ads
s-valint.adb s-valint.ads s-vallld.adb s-vallld.ads
s-vallli.adb s-vallli.ads s-valllu.adb s-valllu.ads
s-valrea.adb s-valrea.ads s-valuns.adb s-valuns.ads
s-valuti.adb s-valuti.ads s-valwch.adb s-valwch.ads
s-vercon.adb s-vercon.ads s-vmexta.adb s-vmexta.ads
s-wchcnv.adb s-wchcnv.ads s-wchcon.ads s-wchjis.adb
s-wchjis.ads s-wchstw.adb s-wchstw.ads s-wchwts.adb
s-wchwts.ads s-widboo.adb s-widboo.ads s-widcha.adb
s-widcha.ads s-widenu.adb s-widenu.ads s-widlli.adb
s-widlli.ads s-widllu.adb s-widllu.ads s-widwch.adb
s-widwch.ads s-wwdcha.adb s-wwdcha.ads s-wwdenu.adb
s-wwdenu.ads s-wwdwch.adb s-wwdwch.ads scans.adb scans.ads
scn-nlit.adb scn-slit.adb scn.adb scn.ads sdefault.ads sem.adb
sem.ads sem_aggr.adb sem_aggr.ads sem_attr.adb sem_attr.ads
sem_case.adb sem_case.ads sem_cat.adb sem_cat.ads sem_ch10.adb
sem_ch10.ads sem_ch11.adb sem_ch11.ads sem_ch12.adb
sem_ch12.ads sem_ch13.adb sem_ch13.ads sem_ch2.adb sem_ch2.ads
sem_ch3.adb sem_ch3.ads sem_ch4.adb sem_ch4.ads sem_ch5.adb
sem_ch5.ads sem_ch6.adb sem_ch6.ads sem_ch7.adb sem_ch7.ads
sem_ch8.adb sem_ch8.ads sem_ch9.adb sem_ch9.ads sem_disp.adb
sem_disp.ads sem_dist.adb sem_dist.ads sem_elab.adb
sem_elab.ads sem_elim.adb sem_elim.ads sem_eval.adb
sem_eval.ads sem_intr.adb sem_intr.ads sem_maps.adb
sem_maps.ads sem_mech.adb sem_mech.ads sem_prag.adb
sem_prag.ads sem_res.adb sem_res.ads sem_smem.adb sem_smem.ads
sem_type.adb sem_type.ads sem_util.adb sem_util.ads
sem_vfpt.adb sem_vfpt.ads sem_warn.adb sem_warn.ads
sfn_scan.adb sfn_scan.ads sinfo-cn.adb sinfo-cn.ads sinfo.adb
sinfo.ads sinfo.h sinput-l.adb sinput-l.ads sinput-p.adb
sinput-p.ads sinput.adb sinput.ads snames.adb snames.ads
snames.h sprint.adb sprint.ads stand.adb stand.ads stringt.adb
stringt.ads stringt.h style.adb style.ads stylesw.adb
stylesw.ads switch.adb switch.ads sysdep.c system.ads
table.adb table.ads targparm.adb targparm.ads targtyps.c
tbuild.adb tbuild.ads trans.c tree_gen.adb tree_gen.ads
tree_in.adb tree_in.ads tree_io.adb tree_io.ads treepr.adb
treepr.ads treeprs.ads treeprs.adt ttypef.ads ttypes.ads
types.adb types.ads types.h uintp.adb uintp.ads uintp.h
uname.adb uname.ads urealp.adb urealp.ads urealp.h usage.adb
usage.ads utils.c utils2.c validsw.adb validsw.ads
widechar.adb widechar.ads xeinfo.adb xnmake.adb xr_tabls.adb
xr_tabls.ads xref_lib.adb xref_lib.ads xsinfo.adb xsnames.adb
xtreeprs.adb: Correct statements in comments about maintainership
of GNAT.

From-SVN: r58442

21 years agoDaily bump.
GCC Administrator [Wed, 23 Oct 2002 07:17:11 +0000 (07:17 +0000)]
Daily bump.

From-SVN: r58441

21 years agors6000.c (rs6000_output_mi_thunk): Add missing case for Darwin.
Stan Shebs [Wed, 23 Oct 2002 05:22:41 +0000 (05:22 +0000)]
rs6000.c (rs6000_output_mi_thunk): Add missing case for Darwin.

        * config/rs6000/rs6000.c (rs6000_output_mi_thunk): Add missing
        case for Darwin.

From-SVN: r58435

21 years agoMinor performance tweak, and workaround for reload bug.
Jim Wilson [Wed, 23 Oct 2002 01:06:40 +0000 (01:06 +0000)]
Minor performance tweak, and workaround for reload bug.

* config/i386/i386.md (subdi3_1): Add call to ix86_binary_operator_ok.

From-SVN: r58432

21 years agore PR other/8289 (Errorneous prototypes of xmmintrin.h functions)
Jan Hubicka [Tue, 22 Oct 2002 23:54:47 +0000 (01:54 +0200)]
re PR other/8289 (Errorneous prototypes of xmmintrin.h functions)

PR other/8289
* xmmintrin.h: Add const to the argument of loads.

* i386.md (pushv2di): New pattern.
PR target/6890
* xmmintrin.h (_MM_TRANSPOSE4_PS): New.

From-SVN: r58428

21 years agore PR c++/6579 (Infinite loop with statement expressions in member initialization)
Mark Mitchell [Tue, 22 Oct 2002 23:44:25 +0000 (23:44 +0000)]
re PR c++/6579 (Infinite loop with statement expressions in member initialization)

PR c++/6579
* spew.c (snarf_parenthesized_expression): New function.
(snarf_block): Use it.

PR c++/6579
* g++.dg/parse/stmtexpr3.C: New test.

From-SVN: r58427

21 years agotarget.h (gcc_target.asm_out): Merge output_mi_thunk and output_mi_vcall_thunk into...
Richard Henderson [Tue, 22 Oct 2002 23:05:28 +0000 (16:05 -0700)]
target.h (gcc_target.asm_out): Merge output_mi_thunk and output_mi_vcall_thunk into a single hook.

gcc/
* target.h (gcc_target.asm_out): Merge output_mi_thunk and
output_mi_vcall_thunk into a single hook.  Add can_output_mi_thunk.
* target-def.h (TARGET_ASM_OUTPUT_MI_THUNK): Don't conditionalize.
(TARGET_ASM_OUTPUT_MI_VCALL_THUNK): Remove.
(TARGET_ASM_CAN_OUTPUT_MI_THUNK): New.
(TARGET_ASM_OUT): Update.
* hooks.c (hook_bool_tree_hwi_hwi_tree_false): New.
(hook_bool_tree_hwi_hwi_tree_true): New.
(default_can_output_mi_thunk_no_vcall): New.
* hooks.h: Declare them.
* system.h (ASM_OUTPUT_MI_THUNK): Poison.

* config/alpha/alpha.c (TARGET_ASM_CAN_OUTPUT_MI_THUNK): New.
(alpha_output_mi_thunk_osf): Add VCALL_OFFSET parameter.
* config/arm/arm.c, config/cris/cris.c, config/frv/frv.c,
config/i960/i960.c, config/ia64/ia64.c, config/m68k/m68k.c,
config/mmix/mmix.c, config/pa/pa.c, config/sparc/sparc.c,
config/stormy16/stormy16.c: Similarly.

* config/i386/i386.c (x86_output_mi_thunk): Merge vcall_offset code.
Handle 64-bit properly.  Streamline.
(x86_output_mi_vcall_thunk): Remove.
(x86_this_parameter): Rename from ia32_this_parameter; handle 64-bit.
(x86_can_output_mi_thunk): New.
(TARGET_ASM_OUTPUT_MI_VCALL_THUNK): Remove.
(TARGET_ASM_CAN_OUTPUT_MI_THUNK): New.
(override_options): Don't zap targetm.asm_out.output_mi_vcall_thunk.

* config/rs6000/rs6000.c (rs6000_output_mi_thunk): Rename from
output_mi_thunk; make static; always use function_section.
(TARGET_ASM_OUTPUT_MI_THUNK): New.
(TARGET_ASM_CAN_OUTPUT_MI_THUNK): New.
(rs6000_ra_ever_killed): Test no_new_pseudos not
targetm.asm_out.output_mi_thunk in conjunction with thunks.
* config/rs6000/rs6000-protos.h: Update.
* config/rs6000/sysv4.h (TARGET_ASM_OUTPUT_MI_THUNK): Remove.
* config/rs6000/xcoff.h (ASM_DECLARE_FUNCTION_NAME): Don't call
xcoffout_declare_function when using rs6000_output_mi_thunk.

* config/s390/s390.c (s390_output_mi_thunk): Rename from
s390_output_mi_vcall_thunk.
(TARGET_ASM_OUTPUT_MI_THUNK): Remove.
(TARGET_ASM_CAN_OUTPUT_MI_THUNK): New.

* config/vax/vax.c (vax_output_mi_thunk): Static; add vcall_offset.
(TARGET_ASM_OUTPUT_MI_THUNK, TARGET_ASM_CAN_OUTPUT_MI_THUNK): New.
* config/vax/vax-protos.h: Update.
* config/vax/vax.h (ASM_OUTPUT_MI_THUNK): Remove.

gcc/cp/
        * method.c (use_thunk): Always compute vcall_value; assert that
        it is not zero.  Use can_output_mi_thunk; use output_mi_thunk
        for vcall thunks as well.

From-SVN: r58424

21 years agoi386.c (standard_sse_constant_p): Accept vector and integer zeros too.
Jan Hubicka [Tue, 22 Oct 2002 22:38:07 +0000 (22:38 +0000)]
i386.c (standard_sse_constant_p): Accept vector and integer zeros too.

* i386.c (standard_sse_constant_p): Accept vector and integer zeros too.
* i386.h (EXTRA_CONSTRAINT): Recognize 'C'
* i386.md (movti_internal): Use 'C'

* xmmintrin.h (_mm_cmplt_epi*): New.

From-SVN: r58423

21 years agos390.md ("*movdi_64"): Fix op_type attribute.
Ulrich Weigand [Tue, 22 Oct 2002 22:19:36 +0000 (22:19 +0000)]
s390.md ("*movdi_64"): Fix op_type attribute.

* config/s390/s390.md ("*movdi_64"): Fix op_type attribute.
("*movdf_64"): Likewise.
("*lshrdi3_64"): Likewise.
("blockage"): Add length attribute.
("lit"): Likewise.

From-SVN: r58422

21 years agoi386.md: FIx typo.
Jan Hubicka [Tue, 22 Oct 2002 21:58:03 +0000 (23:58 +0200)]
i386.md: FIx typo.

* i386.md: FIx typo.
(sse2_cvtsi2sd, sse2_pslrdq): Fix template.
(sse2_umulv2siv2di3): Fix predicate.
(sse2_psadbw, ashrv8hi3, ashrv4si3, lshrv8hi3 lshrv4si3,
lshrv2di3, ashlv8hi3, ashlv4si3, ashlv2di3): Likewise.
* xmmintrin.h (_mm_mul_epu16): Rename to...
(_mm_mul_epu32): This one.
(_mm_cvtsi32_si128, _mm_cvtsi128_si32): New.

(contains_128bit_aligned_vector_p): Undo accidental checkin.

From-SVN: r58421

21 years agosparc.h: Add #error.
Eric Christopher [Tue, 22 Oct 2002 21:51:54 +0000 (21:51 +0000)]
sparc.h: Add #error.

2002-10-22  Eric Christopher  <echristo@redhat.com>

        * config/sparc/sparc.h: Add #error.

From-SVN: r58420

21 years agoMakefile.am (check-abi, [...]): Use @glibcpp_srcdir@ instead of ${top_srcdir}.
Jakub Jelinek [Tue, 22 Oct 2002 21:48:26 +0000 (23:48 +0200)]
Makefile.am (check-abi, [...]): Use @glibcpp_srcdir@ instead of ${top_srcdir}.

* Makefile.am (check-abi, new-abi-baseline): Use @glibcpp_srcdir@
instead of ${top_srcdir}.
* Makefile.in: Rebuilt.

From-SVN: r58418

21 years agoconfig.gcc [...]: Remove s390/t-linux from tmake_file.
Ulrich Weigand [Tue, 22 Oct 2002 20:26:13 +0000 (20:26 +0000)]
config.gcc [...]: Remove s390/t-linux from tmake_file.

* config.gcc [s390-*-linux]: Remove s390/t-linux from tmake_file.
[s390x-*-linux*]: Likewise.
* config/s390/t-linux: Remove.
* config/s390/s390.h: Include fixdfdi.h when building libgcc2.

From-SVN: r58416

21 years ago* btest-gcc.sh: Add gdb.sum to TESTLOGS only when GDB testsuite is run.
Geoffrey Keating [Tue, 22 Oct 2002 20:02:49 +0000 (20:02 +0000)]
* btest-gcc.sh: Add gdb.sum to TESTLOGS only when GDB testsuite is run.

From-SVN: r58415

21 years agoi386.c (builtin_description): Add IX86_BUILTIN_PUNPCKHQDQ128.
Jan Hubicka [Tue, 22 Oct 2002 17:08:42 +0000 (19:08 +0200)]
i386.c (builtin_description): Add IX86_BUILTIN_PUNPCKHQDQ128.

* i386.c (builtin_description): Add IX86_BUILTIN_PUNPCKHQDQ128.
(ix86_expand_builtin): Fix MASKMOVDQU expasion.
* i386.h (ix86_builtins): Add IX86_BUILTIN_PUNPCKHQDQ128.
* i386.md (mmx_punpck?dq): Simplify.
(sse2_pubpcklqdq): Fix.
(sse2_pubpckhqdq): New.
* xmmintrin.h (_mm_unpackhi_epi32): New.

* xmmintrin.h (_mm_cvt*, _mm_stream_pd): Fix prototypes.
(_mm_shufflehi_epi16, _mm_shufflelo_epi16): Fix typo.

From-SVN: r58412

21 years ago- Add final newline.
David Edelsohn [Tue, 22 Oct 2002 14:44:04 +0000 (10:44 -0400)]
- Add final newline.

From-SVN: r58410

21 years agonumeric_limits.cc (test_extrema<long double>): Remove specialization for FreeBSD...
Loren J. Rittle [Tue, 22 Oct 2002 09:35:10 +0000 (09:35 +0000)]
numeric_limits.cc (test_extrema<long double>): Remove specialization for FreeBSD systems.

* testsuite/18_support/numeric_limits.cc (test_extrema<long double>):
Remove specialization for FreeBSD systems.

From-SVN: r58409

21 years agore PR c++/7209 (Faulty array dereferencing)
Nathan Sidwell [Tue, 22 Oct 2002 08:56:49 +0000 (08:56 +0000)]
re PR c++/7209 (Faulty array dereferencing)

PR c++/7209
* fold_const.c (fold_binary_op_with_conditional_arg): Always
build compound_expr if we used save_expr.
testsuite:
* g++.dg/expr/cond1.C: New test.

From-SVN: r58405

21 years agooutput.h (SECTION_NOTYPE): Define.
Alan Modra [Tue, 22 Oct 2002 07:59:41 +0000 (07:59 +0000)]
output.h (SECTION_NOTYPE): Define.

* output.h (SECTION_NOTYPE): Define.
* varasm.c (default_section_type_flags_1): Set SECTION_NOTYPE for
init array sections.
(default_elf_asm_named_section): Mind SECTION_NOTYPE.
* config/arm/arm.c (arm_elf_asm_named_section): Likewise.  Also
merge TLS support.

From-SVN: r58404

21 years agoDaily bump.
GCC Administrator [Tue, 22 Oct 2002 07:17:19 +0000 (07:17 +0000)]
Daily bump.

From-SVN: r58403

21 years agoclass.c (empty_base_at_nonzero_offset_p): New function.
Mark Mitchell [Tue, 22 Oct 2002 05:04:48 +0000 (05:04 +0000)]
class.c (empty_base_at_nonzero_offset_p): New function.

* class.c (empty_base_at_nonzero_offset_p): New function.
(layout_nonempty_base_or_field): Do not check for conflicts when
laying out a virtual base using the GCC 3.2 ABI.
(build_base_field): Correct checking for presence of empty classes
at non-zero offsets when clearing CLASSTYPE_NEARLY_EMPTY_P.

* g++.dg/abi/vbase13.C: New test.
* g++.dg/abi/vbase14.C: Likewise.

From-SVN: r58397

21 years agoreal.c (sticky_rshift_significand): Return inexact, don't or it in immediately.
Richard Henderson [Tue, 22 Oct 2002 00:17:15 +0000 (17:17 -0700)]
real.c (sticky_rshift_significand): Return inexact, don't or it in immediately.

        * real.c (sticky_rshift_significand): Return inexact, don't
        or it in immediately.
        (sub_significands): Accept incomming carry.
        (div_significands, rtd_divmod): Update for sub_significands change.
        (round_for_format): Update for sticky_rshift_significand change.
        (do_add): Don't involve the inexact bit in addition, do give the
        inexact bit as the subtraction carry-in.
        (encode_internal, decode_internal, real_internal_format): New.
        * real.h (real_internal_format): Declare.

From-SVN: r58396

21 years agoparanoia.cc (real_c_float::image): Accomodate size of real_internal format.
Richard Henderson [Tue, 22 Oct 2002 00:09:41 +0000 (17:09 -0700)]
paranoia.cc (real_c_float::image): Accomodate size of real_internal format.

        * paranoia.cc (real_c_float::image): Accomodate size of
        real_internal format.
        (main): Unbuffer stdio.  Add real_internal format.
        (floor_log2_wide): New.

From-SVN: r58395

21 years agolibgcc2.c: Fix __udiv_w_sdiv breakage on platforms that don't define sdiv_qrnnd.
Ulrich Weigand [Mon, 21 Oct 2002 23:10:38 +0000 (23:10 +0000)]
libgcc2.c: Fix __udiv_w_sdiv breakage on platforms that don't define sdiv_qrnnd.

        * libgcc2.c: Fix __udiv_w_sdiv breakage on platforms that
        don't define sdiv_qrnnd.

From-SVN: r58393

21 years agoh8300.h (EIGHTBIT_CONSTANT_ADDRESS_P): Simplify using IN_RANGE.
Kazu Hirata [Mon, 21 Oct 2002 22:44:51 +0000 (22:44 +0000)]
h8300.h (EIGHTBIT_CONSTANT_ADDRESS_P): Simplify using IN_RANGE.

* config/h8300/h8300.h (EIGHTBIT_CONSTANT_ADDRESS_P): Simplify
using IN_RANGE.
(TINY_CONSTANT_ADDRESS_P): Likewise.

From-SVN: r58392

21 years agoi386.c (builtin_description): Add punpcklqdq and movdq2q
Jan Hubicka [Mon, 21 Oct 2002 22:09:06 +0000 (00:09 +0200)]
i386.c (builtin_description): Add punpcklqdq and movdq2q

* i386.c (builtin_description): Add punpcklqdq and movdq2q
(ix86_init_mmx_sse_builtins): Add v2di_ftype_void, di_ftype_v2di,
v16qi_ftype_pchar, void_ftype_pchar_v16qi, v4si_ftype_pchar,
void_ftype_pchar_v4si; Initialize __builtin_ia32_movdq2q,
__builtin_ia32_loaddqa, __builtin_ia32_loaddqu, __builtin_ia32_loadd
__builtin_ia32_storedqa, __builtin_ia32_storedqu, __builtin_ia32_stored
__builtin_ia32_setzero128.
(ix86_expand_builtin): Handle IX86_BUILTIN_CLRTI, IX86_BUILTIN_LOADDQA,
IX86_BUILTIN_LOADDQU, IX86_BUILTIN_LOADD, IX86_BUILTIN_STOREDQA,
IX86_BUILTIN_STOREDQU, IX86_BUILTIN_STORED, Ix86_BUILTIN_MOVQ.
* i386.h (ix86_builtins): Add IX86_BUILTIN_LOADDQA, IX86_BUILTIN_LOADDQU,
IX86_BUILTIN_STOREDQA, IX86_BUILTIN_STOREDQU, IX86_BUILTIN_LOADD,
IX86_BUILTIN_STORED, IX86_BUILTIN_CLRTI, IX86_BUILTIN_MOVDQ2Q,
IX86_BUILTIN_PUNPCKLQDQ128, Ix86_BUILTIN_MOVQ.
* i386.md (sse2_punpcklqdq, sse2_movqsse2_loadd, sse2_stored,
sse2_movq): New patterns.
(sse2_movdqa, sse2_movdqu, sse2_movdq2q): Fix.
* xmmintrin.h (_mm_load_si128, _mm_loadu_si128, _mm_loadl_epi64,
_mm_store_si128, _mm_storeu_si128, _mm_storel_epi64,
_mm_setzero_si128, _mm_set_epi64, _mm_set_epi32, _mm_set_epi16,
_mm_set_epi8, _mm_set1_epi64, _mm_set1_epi32, _mm_set1_epi16,
_mm_set1_epi8, _mm_setr_epi64, _mm_setr_epi32, _mm_setr_epi16,
_mm_setr_epi8, _mm_unpacklo_epi64,_mm_set_moveq): New functions.
(_mm_insert_epi16): Fix.

From-SVN: r58391

21 years agoremove > > > glitch
Dale Johannesen [Mon, 21 Oct 2002 21:58:15 +0000 (21:58 +0000)]
remove > > > glitch

From-SVN: r58390

21 years agoFix fastmath-specific crash PR 7133.
Dale Johannesen [Mon, 21 Oct 2002 21:56:40 +0000 (21:56 +0000)]
Fix fastmath-specific crash PR 7133.

From-SVN: r58389