Commit Graph

45921 Commits

Author SHA1 Message Date
Hans-Peter Nilsson
35fcca95a8 Premature commit: obvious change somehow won't work. Sorry.
From-SVN: r58554
2002-10-26 06:01:20 +00:00
Hans-Peter Nilsson
1f032a995c nest.c, [...]: Expect build failure on mmix-*-*.
* gcc.dg/nest.c, gcc.dg/20021014-1.c: Expect build failure on
	mmix-*-*.

From-SVN: r58553
2002-10-26 05:44:18 +00:00
Hans-Peter Nilsson
7e5037dcb4 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
2002-10-26 02:27:17 +00:00
Mike Stump
da89b956ca Add note about what it fixes.
From-SVN: r58551
2002-10-26 01:21:28 +00:00
Mike Stump
94c1e0e8ce 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
2002-10-26 01:18:52 +00:00
Mike Stump
f0dd122b47 Add gcc.dg/warn-1.c
From-SVN: r58549
2002-10-26 01:15:16 +00:00
Mark Mitchell
e93ee6440d 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
2002-10-26 00:44:44 +00:00
Jan Hubicka
0fb53e681d 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
2002-10-25 23:46:06 +00:00
Phil Edwards
e004b81f6e 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
2002-10-25 22:49:58 +00:00
Steve Ellcey
794186cab2 * config/ia64/hpux.h (BITS_BIG_ENDIAN): Remove.
From-SVN: r58543
2002-10-25 22:18:37 +00:00
Zack Weinberg
f65e118396 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
2002-10-25 22:01:44 +00:00
Richard Henderson
cd60b4b8e7 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
2002-10-25 14:58:12 -07:00
Gerald Pfeifer
06bd49b10b 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
2002-10-25 19:47:32 +00:00
Mark Mitchell
bb5e8a7ffc 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
2002-10-25 19:39:47 +00:00
Zack Weinberg
f3763a442e 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
2002-10-25 17:26:52 +00:00
David Edelsohn
6eb359685e 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
2002-10-25 11:13:05 -04:00
Ulrich Weigand
8c40b097ec * config/s390/s390.md: Remove old-style peepholes.
From-SVN: r58531
2002-10-25 12:28:17 +00:00
Ulrich Weigand
522ec94ec5 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
2002-10-25 12:26:40 +00:00
GCC Administrator
0bfd1ad0f8 Daily bump.
From-SVN: r58527
2002-10-25 07:18:27 +00:00
Mark Mitchell
ba9a991fd3 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
2002-10-25 06:01:55 +00:00
Tom Tromey
ca7c2b8529 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
2002-10-25 03:28:00 +00:00
Tom Tromey
3752ac0803 gcj.texi (Invoking gij): Document --showversion.
* gcj.texi (Invoking gij): Document --showversion.
	(Standard Properties): java.library.path now set.

From-SVN: r58519
2002-10-25 03:27:02 +00:00
Mark Mitchell
aa06d37bea * class.c (check_field_decls): Fix typo.
From-SVN: r58517
2002-10-24 23:43:48 +00:00
Mark Mitchell
0cee073d49 class.c (check_field_decls): Fix typo.
* class.c (check_field_decls): Fix typo.

[[Split portion of a mixed commit.]]

From-SVN: r58516.2
2002-10-24 23:43:47 +00:00
Hans-Peter Nilsson
9db4d34be2 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
2002-10-24 23:39:38 +00:00
Hans-Peter Nilsson
85c8799492 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
2002-10-24 23:38:27 +00:00
Nathan Tallent
e4aaa2f87d 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
2002-10-24 19:36:25 -04:00
Hans-Peter Nilsson
2068a050ab 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
2002-10-24 23:27:27 +00:00
Hans-Peter Nilsson
d0af82b0ce 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
2002-10-24 23:25:07 +00:00
Hans-Peter Nilsson
a7475ab1fd 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
2002-10-24 23:22:47 +00:00
Igor Shevlyakov
7a360cce09 * varasm.c (struct rtx_const): Array size 16 for V16QImode.
From-SVN: r58509
2002-10-24 16:00:32 -07:00
Richard Henderson
fcbe3b8922 * config/i386/i386.c (x86_output_mi_thunk): Fix x86_64 pic jump.
From-SVN: r58508
2002-10-24 15:36:25 -07:00
Kazu Hirata
1a86c85041 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
2002-10-24 21:58:21 +00:00
Marek Michalkiewicz
de7999baae 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
2002-10-24 20:32:28 +00:00
Ulrich Weigand
84817c5d5b 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
2002-10-24 20:19:10 +00:00
Denis Chertykov
d074905352 * config/avr/avr.c (init_cumulative_args): Test fntype for zero.
From-SVN: r58503
2002-10-25 00:07:21 +04:00
Steve Ellcey
37d0b2542c 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
2002-10-24 19:52:23 +00:00
Denis Chertykov
1078265406 * MAINTAINERS: Add myself as ip2k port maintainer.
From-SVN: r58501
2002-10-24 23:50:09 +04:00
Zack Weinberg
7af907e9a3 * tree.def: Delete mention of nonexistent ARRAY_TYPE fields.
From-SVN: r58500
2002-10-24 18:01:37 +00:00
Zack Weinberg
ba3b27385a Regenerated
From-SVN: r58499
2002-10-24 17:55:16 +00:00
Tom Tromey
f7d11ebda1 Primes.java: Removed.
* libjava.lang/Primes.java: Removed.
	* libjava.lang/Primes.out: Removed.

From-SVN: r58498
2002-10-24 17:45:23 +00:00
Ulrich Weigand
862a2d830e 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
2002-10-24 17:07:11 +00:00
Kazu Hirata
489eda6518 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
2002-10-24 14:08:23 +00:00
Kazu Hirata
2ba08201d7 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
2002-10-24 10:45:19 +00:00
Richard Henderson
5f13cfc617 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
2002-10-24 02:16:36 -07:00
Richard Henderson
3bd216f201 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
2002-10-24 02:02:24 -07:00
Richard Sandiford
60bc2b4b9c 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
2002-10-24 08:51:00 +00:00
Richard Sandiford
5be5c8d463 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
2002-10-24 08:48:27 +00:00
GCC Administrator
dc871fd328 Daily bump.
From-SVN: r58486
2002-10-24 07:17:50 +00:00
Ziemowit Laski
196e1ae3c1 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
2002-10-24 00:46:02 +00:00