Commit Graph

41419 Commits

Author SHA1 Message Date
Richard Henderson f4a126533c Fix typo in comment.
From-SVN: r50699
2002-03-12 16:36:45 -08:00
Tom Tromey 8a611251a9 re PR java/5923 (gcj -C generates incorrect bytecode)
* jcf-parse.c (get_constant) [CONSTANT_String]: String values are
	UTF-8, not UCS-2.  Fixes PR java/5923.

From-SVN: r50695
2002-03-12 23:37:11 +00:00
Bob Wilson 0ae02efa21 xtensa.c (xtensa_expand_block_move): Use validize_mem() instead of change_address to avoid clobbering memory attributes.
* config/xtensa/xtensa.c (xtensa_expand_block_move): Use
        validize_mem() instead of change_address to avoid clobbering
        memory attributes.

From-SVN: r50693
2002-03-12 23:33:11 +00:00
Nathan Sidwell df867456d7 re PR c++/5659 (default access for class/struct bug)
cp:
	PR c++/5659
	* decl.c (xref_tag): Don't set CLASSTYPE_DECLARED_CLASS here.
	* decl2.c (handle_class_head): Set CLASSTYPE_DECLARED_CLASS for
	definitions.
testsuite:
	* g++.dg/other/access1.C: New test.

From-SVN: r50692
2002-03-12 23:32:47 +00:00
Neil Booth 35bb2beeac * c-lex.h (position_after_whitespace): Remove.
From-SVN: r50691
2002-03-12 23:30:32 +00:00
Jakub Jelinek 62ae25292b c-lex.c (cb_ident, c_lex): Remove unnecessary cast.
* c-lex.c (cb_ident, c_lex): Remove unnecessary cast.
	(lex_string): Use unsigned char pointers.

	* gcc.c-torture/execute/wchar_t-1.c: New test.

From-SVN: r50689
2002-03-12 23:36:55 +01:00
Andreas Tobler 46f56f54c4 configure.host (powerpc*-darwin*): Enable interpreter.
2002-03-12  Andreas Tobler  <a.tobler@schweiz.ch>

	* configure.host (powerpc*-darwin*): Enable interpreter.

From-SVN: r50686
2002-03-12 22:29:52 +00:00
David Edelsohn 2ab57cc911 * gcc.dg/20020103-1.c: Add rs6000 target and macro.
From-SVN: r50684
2002-03-12 17:18:42 -05:00
Benjamin Kosnik fcaa810173 basic_string.tcc (string::_S_construct(_InIter, _InIter, const _Alloc&, forward_iterator_tag): Check for null.
2002-03-12  Benjamin Kosnik  <bkoz@redhat.com>

	* include/bits/basic_string.tcc (string::_S_construct(_InIter,
	_InIter, const _Alloc&, forward_iterator_tag): Check for null.
	(string::basic_string(const _CharT* __s, const _Alloc& __a)): Same.
	* testsuite/21_strings/ctor_copy_dtor.cc (test01): Re-enable, now
	that memory limits are in place.
	(test03): Add tests.

From-SVN: r50683
2002-03-12 22:10:34 +00:00
Ulrich Weigand 6a45951fb2 reload1.c (reload): Ignore MEM REG_EQUIV notes if the equivalent is not a valid memory_operand.
* reload1.c (reload): Ignore MEM REG_EQUIV notes if the equivalent
	is not a valid memory_operand.

From-SVN: r50681
2002-03-12 21:02:24 +00:00
Mark Mitchell b3dd43df63 cp-demangle.c: Add libgcc exception to cp-demangle.c copyright notice.
* cp-demangle.c: Add libgcc exception to cp-demangle.c copyright
	notice.

From-SVN: r50679
2002-03-12 20:34:15 +00:00
Bob Wilson e2fb85daa1 xtensa-config.h: Define XCHAL_HAVE_LOOPS.
* config/xtensa/xtensa-config.h: Define XCHAL_HAVE_LOOPS.
        * config/xtensa/lib1funcs.asm: Fix copyright to include
        special case for libgcc files.
        (__udivsi3): Avoid loop instructions when XCHAL_HAVE_LOOPS is 0.
        (__divsi3): Likewise.
        (__umodsi3): Likewise.
        (__modsi3): Likewise.
        * config/xtensa/lib2funcs.S: Fix copyright to include
        special case for libgcc files.

From-SVN: r50677
2002-03-12 20:02:36 +00:00
Tom Tromey 5a471df6f9 Test for PR java/5848:
* libjava.compile/PR5848.xfail: New file.
	* libjava.compile/PR5848.java: New file.

From-SVN: r50674
2002-03-12 19:51:44 +00:00
Tom Rix 5b8619f82e A fix for cross building aix.
From-SVN: r50672
2002-03-12 19:07:06 +00:00
Adam Megacz 916c46b5ab dyn_load.c: Renamed GC_win32s to GC_no_win32_dlls.
2002-03-12  Adam Megacz  <adam@xwt.org>

        * dyn_load.c: Renamed GC_win32s to GC_no_win32_dlls.
        * misc.c: Renamed GC_is_win32s() to GC_no_win32_dlls
        * os_dep.c: Renamed GC_win32s to GC_no_win32_dlls and
        statically initialized it to TRUE if compiling with GCC.
        * win32_threads.c (thread_start): We no longer use SEH if
        compiling with GCC.
        * mark.c (GC_mark_some): We no longer use SEH if
        compiling with GCC.

From-SVN: r50671
2002-03-12 19:06:36 +00:00
Bob Wilson 089c8f9764 * config/xtensa/t-xtensa (CRTSTUFF_T_CFLAGS_S): Define.
From-SVN: r50665
2002-03-12 18:34:55 +00:00
Bob Wilson 958c70ff9d xtensa.h (ASM_OUTPUT_POOL_PROLOGUE): Switch to function_section before writing out the constant pool.
* config/xtensa/xtensa.h (ASM_OUTPUT_POOL_PROLOGUE): Switch
        to function_section before writing out the constant pool.

From-SVN: r50663
2002-03-12 18:28:50 +00:00
Bob Wilson bcb64245e6 MAINTAINERS: Add myself as maintainer for xtensa port.
* MAINTAINERS: Add myself as maintainer for xtensa port.
        Fix alphabetical order in CPU port maintainer list.
        Remove myself from Write After Approval list.

From-SVN: r50662
2002-03-12 18:11:49 +00:00
Tom Tromey f792bce511 re PR java/5848 (gcj "crashes" on syntax with complex cast)
* parse.y (qualify_ambiguous_name): Handle case where QUAL_WFL is
	a call_expr wrapped in a convert.  Fixes PR java/5848.

From-SVN: r50659
2002-03-12 18:01:23 +00:00
David Edelsohn a65c591c7d rs6000.h (PREDICATE_CODES): Add any_operand and zero_constant.
* config/rs6000/rs6000.h (PREDICATE_CODES): Add any_operand and
	zero_constant.
	* config/rs6000/rs6000.md (addsi3): Optimize sign extension.
	(adddi3): Likewise.
	(movdf): Likewise.
	(movdi): Likewise.
	(cmpsi splitter): Likewise.
	(modsi3): Fail if <= 0.
	* config/rs6000/rs6000.c (reg_or_add_cint64_operand): Remove
	redundant test when HOST_BITS_PER_WIDE_INT != 32.
	(reg_or_sub_cint64_operand): Likewise.
	(num_insns_constant_wide): Optimize sign extension.
	(rs6000_legitimize_address):: Likewise.
	(easy_fp_constant): Fix formatting.

From-SVN: r50658
2002-03-12 13:01:19 -05:00
Andrew MacLeod 17720332ab linux.h (HANDLE_PRAGMA_PACK_PUSH_POP): Define.
2002-03-12  Andrew MacLeod  <amacleod@redhat.com>

	* config/sparc/linux.h (HANDLE_PRAGMA_PACK_PUSH_POP): Define.
	* config/sparc/linux64.h (HANDLE_PRAGMA_PACK_PUSH_POP): Define.

From-SVN: r50656
2002-03-12 15:24:44 +00:00
Andrew MacLeod cd49f0735d sparc.h (RETURN_ADDR_RTX): Include v9 stack bias in address calculation.
* config/sparc/sparc.h (RETURN_ADDR_RTX): Include v9 stack bias in
        address calculation.

From-SVN: r50654
2002-03-12 15:19:40 +00:00
Ulrich Weigand 6a4e49c11d s390.md (reload_insi, [...]): Change mode of scratch register to DImode / TImode.
* config/s390/s390.md (reload_insi, reload_indi): Change mode of
	scratch register to DImode / TImode.
	config/s390/s390.c (s390_expand_plus_operand): Make sure scratch
	register used does not overlap the target.

From-SVN: r50652
2002-03-12 14:32:37 +00:00
Bryce McKinlay acf8bc2567 * jcf-write.c (write_classfile): Improve error strings.
From-SVN: r50649
2002-03-12 10:32:38 +00:00
GCC Administrator 85559bd41b Daily bump.
From-SVN: r50648
2002-03-12 08:18:17 +00:00
Roger Sayle 56f4537eac * gcc.dg/20020312-1.c: New test case.
From-SVN: r50640
2002-03-12 08:53:40 +01:00
Eric Blake 36e5138325 re PR java/5913 (Core dump for String constant instanceof)
2002-03-12  Eric Blake  <ebb9@email.byu.edu>

	* libjava.compile/PR5913.java: Expand test.

From-SVN: r50638
2002-03-12 07:40:46 +00:00
Eric Blake 76a43492ea re PR java/5902 (Gcj fails to parse float)
2002-03-11  Eric Blake  <ebb9@email.byu.edu>

	* libjava.compile/PR5902.java: New file.
	* libjava.compile/PR5913.java: New file.
	* libjava.compile/PR5913.xfail: New file.

From-SVN: r50637
2002-03-12 07:23:25 +00:00
Kaveh R. Ghazi 54b6670a15 Makefile.in (debug.o): Depend on debug.h.
* Makefile.in (debug.o): Depend on debug.h.
	* dbxout.c (dbx_debug_hooks, xcoff_debug_hooks): Const-ify.
	* debug.c (do_nothing_debug_hooks): Likewise.
	* debug.h (debug_hooks, do_nothing_debug_hooks, dbx_debug_hooks,
	sdb_debug_hooks, xcoff_debug_hooks, dwarf_debug_hooks,
	dwarf2_debug_hooks, vmsdbg_debug_hooks): Likewise.
	* dwarf2out.c (dwarf2_debug_hooks): Likewise.
	* dwarfout.c (dwarf_debug_hooks): Likewise.
	* integrate.c (output_inline_function): Likewise.
	* objc/objc-act.c (synth_module_prologue): Likewise.
	* sdbout.c (sdb_debug_hooks): Likewise.
	* toplev.c (debug_hooks): Likewise.
	* vmsdbgout.c (vmsdbg_debug_hooks): Likewise.

From-SVN: r50635
2002-03-12 05:40:36 +00:00
Kaveh R. Ghazi 2465bf7657 1750a.h, [...] (POINTER_SIZE): Delete.
* 1750a.h, a29k.h, arc.h, arm.h, c4x.h, clipper.h, cris.h, d30v.h,
	dsp16xx.h, fr30.h, h8300.h, i370.h, i386.h, i860.h, i960.h,
	m32r.h, m68hc11.h, m68k.h, m88k.h, mcore.h, mmix.h, mn10300.h,
	ns32k.h, pa.h, pdp11.h, pj.h, romp.h, s390.h, stormy16.h,
	v850.h, vax.h, we32k.h, xtensa.h (POINTER_SIZE): Delete.
	* defaults.h (POINTER_SIZE): Define.
	* doc/tm.texi (POINTER_SIZE): Document default.

From-SVN: r50634
2002-03-12 05:28:21 +00:00
Kaveh R. Ghazi 53f3e9ca98 * mn10200.h (PTRDIFF_TYPE): Change it to a signed type.
From-SVN: r50633
2002-03-12 05:23:24 +00:00
Eric Blake e0b1c206b8 re PR java/5902 (Gcj fails to parse float)
2002-03-11  Eric Blake  <ebb9@email.byu.edu>

	* lex.c: Adjust comments to GNU standards.

2002-03-11  Eric Blake  <ebb9@email.byu.edu>

	Fix for PR java/5902:
	* lex.c (java_lex): Fix parsing of literals.

From-SVN: r50630
2002-03-12 03:45:57 +00:00
Richard Henderson 44d3eb5b56 toplev.c (rest_of_compilation): Call purge_all_dead_edges if rebuild_label_notes_after_reload.
* toplev.c (rest_of_compilation): Call purge_all_dead_edges
        if rebuild_label_notes_after_reload.

From-SVN: r50629
2002-03-11 19:12:18 -08:00
Benjamin Kosnik 31f93f905f acinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPORT): Check for wctype.h.
2002-03-11  Benjamin Kosnik  <bkoz@redhat.com>

	* acinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPORT): Check for wctype.h.
	* aclocal.m4: Regenerate.
	* config.h.in: Regenerate.
	* configure: Regenerate.
	* include/c_std/std_cwctype.h: Guard.

From-SVN: r50628
2002-03-12 02:42:11 +00:00
Hans-Peter Nilsson 4a085d2edd cris.c (cris_target_asm_function_prologue): Do not emit pic register load if "internal" visibility.
* config/cris/cris.c (cris_target_asm_function_prologue):  Do not
	emit pic register load if "internal" visibility.
	(cris_print_operand): Avoid traditional-warning for 0xffffffff.
	(cris_expand_builtin_va_arg): Do all computations on trees.

From-SVN: r50627
2002-03-12 02:17:30 +00:00
Chris Demetriou cdfda6686e acinclude.m4 (GLIBCPP_ENABLE_SYMVERS): Enhance check for whether GLIBCPP_CHECK_LINKER_FEATURES has been used.
2002-03-11  Chris Demetriou  <cgd@broadcom.com>

	* acinclude.m4 (GLIBCPP_ENABLE_SYMVERS): Enhance check for
	whether GLIBCPP_CHECK_LINKER_FEATURES has been used.
	* aclocal.m4: Regenerate.
	* configure: Regenerate.

From-SVN: r50626
2002-03-12 01:45:50 +00:00
Benjamin Kosnik c2b1bb034b stl_bvector.h: Fix warning.
2002-03-11  Benjamin Kosnik  <bkoz@redhat.com>

	* include/bits/stl_bvector.h: Fix warning.

From-SVN: r50625
2002-03-12 01:43:44 +00:00
Aldy Hernandez 55a21c32e7 altivec-1.c: Cleanup and use altivec.h.
2002-03-11  Aldy Hernandez  <aldyh@redhat.com>

        * gcc.dg/altivec-1.c: Cleanup and use altivec.h.

From-SVN: r50624
2002-03-12 01:24:42 +00:00
Richard Henderson bc204393c8 rtlanal.c: Include recog.h.
* rtlanal.c: Include recog.h.
        (keep_with_call_p): Fix thinko.
        * Makefile.in (rtlanal.o): Update dependencies.

From-SVN: r50623
2002-03-11 17:08:11 -08:00
Richard Henderson 63adb4ff83 * Makefile.in (.NOTPARALLEL): Add fake tag.
From-SVN: r50622
2002-03-11 16:48:36 -08:00
Chris Meyer 6b8b9d7bd4 genflags.c (gen_insn): Use IS_VSPACE.
* genflags.c (gen_insn): Use IS_VSPACE.
        * genoutput.c (output_insn_data): Likewise.
        (process_template): Likewise.

From-SVN: r50616
2002-03-11 14:39:35 -08:00
Richard Henderson 172f7610ae * include/bits/stl_bvector.h (_Bit_type): New. Use throughout.
From-SVN: r50615
2002-03-11 14:36:30 -08:00
Tom Tromey e1b56469bf * ChangeLog.gcj: Imported 1.1.4, while preserving local changes.
From-SVN: r50612
2002-03-11 22:11:18 +00:00
Richard Henderson 932b4e3e24 Mark change for PR 5693.
From-SVN: r50610
2002-03-11 14:05:41 -08:00
Tom Tromey 682b8f4ab7 Initial revision
From-SVN: r50606
2002-03-11 21:53:27 +00:00
Tom Tromey 2eb018ff2c Dummy commit in preparation for import
From-SVN: r50605
2002-03-11 21:50:08 +00:00
Richard Henderson 6c40858f8e * toplev.c (rest_of_compilation): Don't compile if we've had errors.
From-SVN: r50604
2002-03-11 13:49:26 -08:00
Neil Booth 40adaa2797 Makefile.in: Update.
* Makefile.in: Update.
doc:
	* cppenv.texi, cppopts.texi: Split out of cpp.texi and gcc.texi.
	Update documentation.
	* gcc.texi: Include cppopts.texi and cppenv.texi.
	* cpp.texi: Include cppopts.texi and cppenv.texi.

From-SVN: r50599
2002-03-11 21:11:36 +00:00
Phil Edwards abd3d6007c libstdc++-v3-dg.exp (libstdc++-v3-list-sourcefiles): New function.
2002-03-11  Phil Edwards  <pme@gcc.gnu.org>

	* testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-list-sourcefiles):
	New function.  Build the list of tests to run in testsuite_files.
	* testsuite/libstdc++-v3.dg/dg.exp:  Use it.

From-SVN: r50598
2002-03-11 21:11:07 +00:00
Phil Edwards 72c9b0629d capacity.cc: Only explicitly instantiate on platforms with no weak support.
2002-03-11  Phil Edwards  <pme@gcc.gnu.org>

	* testsuite/21_strings/capacity.cc:  Only explicitly instantiate on
	platforms with no weak support.
	* testsuite/27_io/ios_init.cc:  Likewise.

From-SVN: r50597
2002-03-11 21:08:06 +00:00