Commit Graph

37942 Commits

Author SHA1 Message Date
Robert Dewar d8d80dcd6c xeinfo.adb: Change int to char in translation of enumeration types.
* xeinfo.adb: Change int to char in translation of enumeration types.
	This fixes a problem in the C representation of component alignment.
	Add 2001 to copyright notice

From-SVN: r46164
2001-10-11 00:27:31 +02:00
Tom Tromey eeedeb5a17 natFinalizerThread.cc: New file.
* gnu/gcj/runtime/natFinalizerThread.cc: New file.
	* java/lang/natRuntime.cc: Include FinalizerThread.h.
	(runFinalization): Call finalizerReady.
	* nogc.cc (_Jv_GCInitializeFinalizers): New function.
	* prims.cc: Include VirtualMachineError.h, FinalizerThread.h.
	(_Jv_CreateJavaVM): Start the finalizer thread.
	* no-threads.cc: Include InternalError.h.
	(_Jv_ThreadStart): Throw InternalError.
	(_Jv_ThreadInitData): Don't throw error if this is not the first
	thread.
	* Makefile.in: Rebuilt.
	* Makefile.am (ordinary_java_source_files): Added
	FinalizerThread.java.
	(nat_source_files): Added natFinalizerThread.cc.
	* include/jvm.h (_Jv_GCInitializeFinalizers): Declare.
	* boehm.cc (_Jv_GCInitializeFinalizers): New function.
	* gnu/gcj/runtime/FirstThread.java (run): Start finalizer thread.
	* gnu/gcj/runtime/FinalizerThread.java: New file.

From-SVN: r46163
2001-10-10 22:25:43 +00:00
Richard Kenner a8fee9482f decl.c: (validate_size): Do check size of object of integral type if...
* decl.c: (validate_size): Do check size of object of integral type
	if it is a packed array type.

From-SVN: r46162
2001-10-11 00:01:14 +02:00
Christopher Faylor 0a97712314 cygwin.h: Avoid adding include files if -nostdinc is used.
* config/i386/cygwin.h: Avoid adding include files if -nostdinc is used.
* config/i386/mingw32.h (WIN32_NO_ABSOLUTE_INST_DIRS): New define.
(Thanks to Chris Faylor for suggesting macro name).
(CPP_PREDEFINES): Define __MINGW32__ but don't set value; add more WIN32
defines.
(STANDARD_INCLUDE_DIR): Remove i386- from directory name.
(STANDARD_INCLUDE_COMPONENT): Change to MINGW.
(MATH_LIBRARY): Undef before definition.
(OUTPUT_QUOTED_STRING): Likewise.
* config/i386/cygwin.h: Use WIN32_NO_ABSOLUTE_INST_DIRS.

From-SVN: r46161
2001-10-10 21:57:20 +00:00
Richard Kenner c2d7fe5946 decl.c: (gnat_to_gnu_entity...
* decl.c: (gnat_to_gnu_entity, case object): Also materialize
	VAR_DECL for constant if not Is_Public but -O0.

From-SVN: r46160
2001-10-10 23:48:38 +02:00
Richard Kenner fb75e1008f * misc.c (struct lang_hooks): Add new initializer to match GCC change.
From-SVN: r46159
2001-10-10 23:18:43 +02:00
Richard Henderson bde257ff59 unwind-dw2-fde.c (fde_compare_t): Change return type to int.
* unwind-dw2-fde.c (fde_compare_t): Change return type to int.
        (fde_unencoded_compare): Likewise.  Don't use subtraction to get
        a tristate comparison value.
        (fde_single_encoding_compare, fde_mixed_encoding_compare): Likewise.

From-SVN: r46157
2001-10-10 12:53:29 -07:00
Franz Sirl e10f3d36e5 re PR c++/4512 (New ICE in loop_iterations at unroll.c:3510, regression vs. 3.0.1)
2001-10-10  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>

	PR c++/4512
	* unroll.c (loop_iterations): Ignore insns generated by loop
	unrolling.

From-SVN: r46153
2001-10-10 19:04:09 +00:00
Franz Sirl 6cb3ae1ed6 20011010-1.c: New.
2001-10-10  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>

	* gcc.c-torture/compile/20011010-1.c: New.

From-SVN: r46151
2001-10-10 18:36:46 +00:00
Franz Sirl c156ea3083 config.gcc (mips*-*-gnu*): Delete support.
2001-10-10  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>

	* config.gcc (mips*-*-gnu*): Delete support.
	* config/mips/gnu.h: Remove.

From-SVN: r46150
2001-10-10 16:50:19 +00:00
Geert Bosch 301068864b MAINTAINERS (Various maintainers: Ada front end): Added Robert Dewar.
* MAINTAINERS (Various maintainers: Ada front end):
	Added Robert Dewar.

From-SVN: r46149
2001-10-10 18:45:44 +02:00
Franz Sirl 5b0546b868 Oops, committed early version of the testcase.
From-SVN: r46148
2001-10-10 16:35:56 +00:00
Geert Bosch 1724557a33 xnmake.adb (XNmake): Fix handling of -s/-b options.
* xnmake.adb (XNmake): Fix handling of -s/-b options.  No longer
	use '/' as switch character, allowing for absolute file names.

From-SVN: r46146
2001-10-10 16:48:53 +02:00
Kazu Hirata 6d2f888735 calls.c: Fix formatting.
* calls.c: Fix formatting.
	* c-decl.c: Likewise.
	* cfgcleanup.c: Likewise.
	* combine.c: Likewise.
	* cppfiles.c: Likewise.
	* cpplib.c: Likewise.
	* cppmacro.c: Likewise.
	* crtstuff.c: Likewise.
	* cse.c: Likewise.
	* dwarf2out.c: Likewise.
	* expmed.c: Likewise.
	* expr.c: Likewise.
	* fold-const.c: Likewise.
	* function.c: Likewise.
	* gcse.c: Likewise.
	* genattrtab.c: Likewise.
	* ggc-page.c: Likewise.
	* integrate.c: Likewise.
	* libgcc2.c: Likewise.
	* loop.c: Likewise.
	* optabs.c: Likewise.
	* profile.c: Likewise.
	* protoize.c: Likewise.
	* real.c: Likewise.
	* recog.c: Likewise.
	* reload1.c: Likewise.
	* reload.c: Likewise.
	* reorg.c: Likewise.
	* resource.c: Likewise.
	* sched-rgn.c: Likewise.
	* sdbout.c: Likewise.
	* stmt.c: Likewise.
	* toplev.c: Likewise.
	* varasm.c: Likewise.

From-SVN: r46145
2001-10-10 11:33:39 +00:00
GCC Administrator 3717a97992 Daily bump.
From-SVN: r46143
2001-10-10 07:16:18 +00:00
Janis Johnson 1affb4090d langhooks.c: Include rtl.h, insn-config.h and integrate.h.
* langhooks.c: Include rtl.h, insn-config.h and integrate.h.
* Makefile.in (langhooks.o): Add dependencies.

From-SVN: r46142
2001-10-10 07:02:22 +00:00
John Wehle b999aaebe7 rs6000.c (rs6000_emit_load_toc_table): Don't strdup the toc label.
* rs6000.c (rs6000_emit_load_toc_table): Don't
	strdup the toc label.
	(create_TOC_reference): Likewise.

From-SVN: r46141
2001-10-10 04:43:56 +00:00
Danny Smith 09eaf5a5ff config.gcc (i[34567]86-*-mingw32*): Make msvcrt-dependent version default.
* config.gcc (i[34567]86-*-mingw32*): Make msvcrt-dependent
version default.

From-SVN: r46139
2001-10-09 20:27:21 -04:00
Danny Smith 3da1eb0bd6 i386.c (ix86_attribute_table): Correct min_len, max_len fields for dllimport, dllexport and shared.
* config/i386/i386.c (ix86_attribute_table): Correct
min_len, max_len fields for dllimport, dllexport and shared.

From-SVN: r46137
2001-10-09 20:20:11 -04:00
Joseph Myers 0e4e9e8f54 bcmp.c, setenv.c: Use "nonzero" instead of "non-zero".
* bcmp.c, setenv.c: Use "nonzero" instead of "non-zero".
	* strtod.c: Use "ISO C" instead of "ANSI C".
	* functions.texi: Regenerate.

From-SVN: r46136
2001-10-10 00:33:57 +01:00
Joseph Myers df2a54e945 c-tree.texi, [...]: Consistently use "nonzero" instead of "non-zero".
* doc/c-tree.texi, doc/cppinternals.texi, doc/extend.texi,
	doc/install.texi, doc/md.texi, doc/rtl.texi, doc/tm.texi:
	Consistently use "nonzero" instead of "non-zero".

From-SVN: r46134
2001-10-10 00:11:55 +01:00
Alexandre Petit-Bianco 3fb5c0ebcf [multiple changes]
2001-10-09  Alexandre Petit-Bianco  <apbianco@redhat.com>

	* parse.y (patch_cast): Call patch_string on the first operand of
	the incoming node, update it if necessary. Fixes java/4510.

2001-10-05  Alexandre Petit-Bianco  <apbianco@redhat.com>

	* parse.y (register_incomplete_type): Set JDEP_SUPER to be given
	a NULL enclosing context if appropriate. Fixes java/4466.

2001-09-17  Alexandre Petit-Bianco  <apbianco@redhat.com>

	* parse.y (patch_method_invocation): Inner class creation context
	check not enforced within constructors. Fixes PR java/1873.

( http://gcc.gnu.org/ml/gcc-patches/2001-10/msg00397.html )

From-SVN: r46133
2001-10-09 15:55:35 -07:00
Per Bothner d1d8ed9877 strtod.c (_strtod_r): Logic to check for missing digits after exponent had 'else' attached to wrong 'if'.
* strtod.c (_strtod_r):  Logic to check for missing digits
	after exponent had 'else' attached to wrong 'if'.

From-SVN: r46132
2001-10-09 15:54:26 -07:00
Kazu Hirata 19eb1ad779 acconfig.h: Fix comment formatting.
* acconfig.h: Fix comment formatting.
	* c-dump.h: Likewise.
	* c-tree.h: Likewise.
	* conditions.h: Likewise.
	* expr.h: Likewise.
	* function.h: Likewise.
	* gthr.h: Likewise.
	* hwint.h: Likewise.
	* integrate.h: Likewise.
	* intl.h: Likewise.
	* loop.h: Likewise.
	* optabs.h: Likewise.

From-SVN: r46131
2001-10-09 22:40:12 +00:00
Phil Edwards 60741f92b6 howto.html: Tweak markup and value type.
2001-10-09  Phil Edwards  <pme@gcc.gnu.org>

	* docs/html/17_intro/howto.html:  Tweak markup and value type.
	* docs/html/27_io/howto.html:  Tweak markup, describe setbuf() for
	nonzero arguments, add new note on threading.
	* docs/html/faq/index.html:  Update.
	* docs/html/faq/index.txt:  Regenerate.

From-SVN: r46130
2001-10-09 22:23:52 +00:00
Mark Wielaard 481aae6fc2 * java/net/SocketImpl.java: Merge with Classpath
From-SVN: r46129
2001-10-09 21:44:54 +00:00
Phil Edwards 0435269a76 configopts.html: More HTML->XHTML and lowercasing of tags.
2001-10-09  Phil Edwards  <pme@gcc.gnu.org>

	* docs/html/configopts.html:  More HTML->XHTML and lowercasing of tags.
	* docs/html/documentation.html:  Likewise.
	* docs/html/explanations.html:  Likewise.
	* docs/html/install.html:  Likewise.
	* docs/html/17_intro/howto.html:  Likewise.
	* docs/html/17_intro/license.html:  Likewise.  Tighten up language.
	* docs/html/18_support/howto.html:  Likewise.
	* docs/html/19_diagnostics/howto.html:  Likewise.
	* docs/html/20_util/howto.html:  Likewise.
	* docs/html/21_strings/howto.html:  Likewise.
	* docs/html/22_locale/howto.html:  Likewise.
	* docs/html/23_containers/howto.html:  Likewise.
	* docs/html/24_iterators/howto.html:  Likewise.
	* docs/html/25_algorithms/howto.html:  Likewise.
	* docs/html/26_numerics/howto.html:  Likewise.
	* docs/html/27_io/howto.html:  Likewise.
	* docs/html/ext/howto.html:  Likewise.
	* docs/html/ext/sgiexts.html:  Likewise.
	* docs/html/faq/index.html:  Likewise.  Not so many absolute links.
	* docs/html/faq/index.txt:  Regenerate.

From-SVN: r46128
2001-10-09 20:18:14 +00:00
Mark Wielaard 0d47f08629 * java/net/DatagramSocketImpl.java: Merge with Classpath
From-SVN: r46127
2001-10-09 17:40:13 +00:00
Jason Merrill 48c8b0becf fix dates
From-SVN: r46126
2001-10-09 11:55:12 -04:00
Jason Merrill 12eac81ab0 reorganize
From-SVN: r46125
2001-10-09 11:44:25 -04:00
Jason Merrill 7c4577d93a spew.c (end_input): No longer static.
* spew.c (end_input): No longer static.
        * cp-tree.h: Declare it.
        * parse.y (datadef): Add "error END_OF_SAVED_INPUT" expansion.

From-SVN: r46124
2001-10-09 11:44:17 -04:00
Jason Merrill 72a08131a5 call.c (standard_conversion): Add bad conversion between integers and pointers.
* call.c (standard_conversion): Add bad conversion between
        integers and pointers.
        (convert_like_real): Don't use convert_for_initialization for bad
        conversions; complain here and use cp_convert.
        (build_over_call): Don't handle bad conversions specially.
        (perform_implicit_conversion): Allow bad conversions.
        (can_convert_arg_bad): New fn.
        * cp-tree.h: Declare it.
        * typeck.c (convert_for_assignment): Use it.
        (ptr_reasonably_similar): Any target type is similar to void.

From-SVN: r46123
2001-10-09 11:42:44 -04:00
Kazu Hirata 2ba84f36ea c-common.h: Fix comment formatting.
* c-common.h: Fix comment formatting.
	* c-dump.c: Likewise.
	* cfg.c: Likewise.
	* diagnostic.h: Likewise.
	* except.c: Likewise.
	* gcc.h: Likewise.
	* gcov-io.h: Likewise.
	* genattrtab.c: Likewise.
	* output.h: Likewise.
	* predict.h: Likewise.
	* reload1.c: Likewise.
	* reload.h: Likewise.
	* resource.h: Likewise.
	* scan.h: Likewise.
	* system.h: Likewise.
	* tree.h: Likewise.
	* tree-inline.c: Likewise.
	* tsystem.h: Likewise.
	* varasm.c: Likewise.
	* xcoffout.h: Likewise.

From-SVN: r46122
2001-10-09 14:03:13 +00:00
Joseph Myers 77332b4e0b * doc/gcc.texi: Document preference for "nonzero" over "non-zero".
From-SVN: r46119
2001-10-09 12:44:31 +01:00
Joseph Myers 9f2f9eb62b freebsd.h, [...]: Update FSF address.
* config/alpha/freebsd.h, config/alpha/lib1funcs.asm,
	config/i386/i386elf.h, config/i386/netbsd-elf.h,
	config/i386/netware.h, config/mcore/gfloat.h,
	config/mcore/mcore.c, config/mcore/mcore.h, config/mcore/mcore.md,
	config/netware.h, gccbug.in: Update FSF address.

ada:
	* 4gintnam.ads, Make-lang.in, Makefile.in, config-lang.in: Update
	FSF address.

testsuite:
	* consistency.vlad/vlad.exp, g++.old-deja/g++.mike/p784.C,
	g++.old-deja/old-deja.exp, g77.f-torture/compile/compile.exp,
	g77.f-torture/execute/execute.exp,
	g77.f-torture/noncompile/noncompile.exp,
	gcc.c-torture/compile/compile.exp,
	gcc.c-torture/execute/execute.exp,
	gcc.c-torture/execute/ieee/ieee.exp,
	gcc.c-torture/execute/memcheck/memcheck.exp,
	gcc.c-torture/unsorted/unsorted.exp, gcc.misc-tests/linkage.exp,
	objc/execute/execute.exp: Update FSF address.

From-SVN: r46118
2001-10-09 11:16:27 +01:00
GCC Administrator f35e4d626b Daily bump.
From-SVN: r46116
2001-10-09 07:16:11 +00:00
Neil Booth 24b9d43a64 cmdlne-C.c: Update.
* gcc.dg/cpp/cmdlne-C.c: Update.
	* gcc.dg/cpp/cmdlne-C2.c: New.

From-SVN: r46115
2001-10-09 06:16:25 +00:00
Kazu Hirata 4fe9b91c45 c-common.c: Fix comment typos.
* c-common.c: Fix comment typos.
	* cfgrtl.c: Likewise.
	* collect2.c: Likewise.
	* cpplex.c: Likewise.
	* doloop.c: Likewise.
	* dwarf2out.c: Likewise.
	* dwarfout.c: Likewise.
	* expr.c: Likewise.
	* fold-const.c: Likewise.
	* gcc.c: Likewise.
	* gcov.c: Likewise.
	* gcse.c: Likewise.
	* global.c: Likewise.
	* ifcvt.c: Likewise.
	* loop.c: Likewise.
	* optabs.c: Likewise.
	* protoize.c: Likewise.
	* regclass.c: Likewise.
	* reorg.c: Likewise.
	* rtl.h: Likewise.
	* stmt.c: Likewise.
	* tree.h: Likewise.
	* doc/cpp.texi: Likewise.
	* doc/c-tree.texi: Likewise.
	* doc/extend.texi: Likewise.
	* doc/invoke.texi: Likewise.
	* doc/objc.texi: Likewise.
	* doc/tm.texi: Likewise.

From-SVN: r46114
2001-10-09 06:03:16 +00:00
Bryce McKinlay 908fecca8c parse.y (find_as_inner_class): Don't disregard the enclosing scope when name qualifier matches a package name.
* parse.y (find_as_inner_class): Don't disregard the enclosing scope
        when name qualifier matches a package name.

From-SVN: r46113
2001-10-09 06:40:35 +01:00
John Hornkvist 3c017635c9 Implement Darwin PowerPC ABI.
2001-10-09  John Hornkvist  <john@toastedmarshmallow.com>

        Implement Darwin PowerPC ABI.
        * configure.in: Handle powerpc-*-darwin*.
        * Makefile.am: Set source files for POWERPC_DARWIN.
        * configure: Rebuilt.
        * Makefile.in: Rebuilt.
        * include/ffi.h.in: Define FFI_DARWIN and FFI_DEFAULT_ABI for
        POWERPC_DARWIN.
        * src/powerpc/darwin.S: New file.
        * src/powerpc/ffi_darwin.c: New file.

From-SVN: r46112
2001-10-09 06:32:16 +01:00
Richard Henderson 8d2134aaa8 * varasm.c (set_named_section_flags): Initialize "declared".
From-SVN: r46111
2001-10-08 21:45:18 -07:00
Geert Bosch 8fecf41df2 Makefile.in (treeprs.ads, [...]): Automatically build utilities when files need to be regenerated.
2001-10-08  Geert Bosch  <bosch@gnat.com>

	* Makefile.in (treeprs.ads, einfo.h, sinfo.h, nmake.adb, nmake.ads):
	Automatically build utilities when files need to be regenerated.

From-SVN: r46110
2001-10-09 01:46:22 +02:00
Geert Bosch 589f1edf0d * xsnames.adb: New utility for updating snames.ads and snames.adb
From-SVN: r46109
2001-10-09 01:39:37 +02:00
Robert Lipe a8c01a592b varasm.c (struct in_named_entry): Add declared.
* varasm.c  (struct in_named_entry): Add declared.
	(named_section_first_declaration): New function.
	(default_elf_asm_named_section): Use it.
	* output.h (named_section_first_declaration): New.

From-SVN: r46108
2001-10-08 22:41:55 +00:00
Richard Henderson 646ded90c6 i386.md (movsi_xor): Export.
* i386.md (movsi_xor): Export.
        (setcc peep2): Use it when available; add an alternative to
        match zero_extendhisi2_and.

From-SVN: r46107
2001-10-08 15:38:45 -07:00
Kaveh R. Ghazi e052f1a966 romp-protos.h (romp_initialize_trampoline): New function.
* romp-protos.h (romp_initialize_trampoline): New function.
	* romp.c (romp_initialize_trampoline): Likewise.
	* romp.h (INITIALIZE_TRAMPOLINE): Define in terms of
	romp_initialize_trampoline.

From-SVN: r46104
2001-10-08 21:55:05 +00:00
Kaveh R. Ghazi da905677f1 3b1.h (ASM_OUTPUT_SOURCE_LINE): Don't reference `last_linenum'.
* m68k/3b1.h (ASM_OUTPUT_SOURCE_LINE): Don't reference `last_linenum'.
	* m68k/auxas.h (ASM_OUTPUT_SOURCE_LINE): Likewise.
	* m68k/crds.h (ASM_OUTPUT_SOURCE_LINE): Likewise.
	* m68k/mot3300.h (ASM_OUTPUT_SOURCE_LINE): Likewise.

From-SVN: r46100
2001-10-08 21:23:52 +00:00
Franz Sirl 9d1e9f93a9 unroll.c (loop_iterations): Extend check for multiple back edges.
2001-10-08  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>

	* unroll.c (loop_iterations): Extend check for multiple back edges.

From-SVN: r46099
2001-10-08 21:20:43 +00:00
Mark Wielaard 0bdf7869bf URLDecoder.java: Remerge with Classpath
* java/net/URLDecoder.java: Remerge with Classpath
	* java/net/URLEncoder.java: Merge with Classpath

From-SVN: r46098
2001-10-08 21:03:34 +00:00
Franz Sirl 63dd08e60d 20011008-3.c: New.
2001-10-08  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>

	* gcc.c-torture/execute/20011008-3.c: New.

From-SVN: r46097
2001-10-08 21:01:03 +00:00