Commit Graph

40675 Commits

Author SHA1 Message Date
David Billinghurst e7daa976ff pr3743.f: Delete
2002-02-03  David Billinghurst <David.Billinghurst@riotinto.com>

	* g77.f-torture/compile/pr3743.f: Delete
	* g77.dg/pr3743-1.f: New test.
	* g77.dg/pr3743-2.f: New test.
	* g77.dg/pr3743-3.f: New test.
	* g77.dg/pr3743-4.f: New test.

From-SVN: r49450
2002-02-03 00:43:23 +00:00
Kazu Hirata 9cbcd983a9 * config/h8300/h8300.c: Fix formatting.
From-SVN: r49449
2002-02-02 21:38:49 +00:00
Kazu Hirata 7a27efc4eb * config/h8300/h8300.md: Fix formatting.
From-SVN: r49448
2002-02-02 21:15:24 +00:00
Tom Tromey 9b8b2fcfda * Makefile.in: Rebuilt.
From-SVN: r49447
2002-02-02 21:14:29 +00:00
Kazu Hirata 54175a449d h8300.md (one_cmpl patterns): Tighten the predicates of operands[1].
* config/h8300/h8300.md (one_cmpl patterns): Tighten the
	predicates of operands[1].  Split the patterns for each
	processor variant.

From-SVN: r49446
2002-02-02 20:57:06 +00:00
Kazu Hirata eceb175550 h8300.md (xor patterns): Tighten the predicates of operands[1] to register_operand.
* config/h8300/h8300.md (xor patterns): Tighten the predicates
	of operands[1] to register_operand.

From-SVN: r49445
2002-02-02 20:48:38 +00:00
Neil Booth 0fef3fd0ea cpphash.h (struct spec_nodes): Remove n__CHAR_UNSIGNED__.
* cpphash.h (struct spec_nodes): Remove n__CHAR_UNSIGNED__.
	* cpphash.c (_cpp_init_hashtable): Similarly.
	* cppinit.c (cpp_create_reader): Default the signed_char flag.
	(init_builtins): Define __CHAR_UNSIGNED__ appropriately.
	(COMMAND_LINE_OPTIONS): Recognise -f{un,}signed-char.
	(cpp_handle_option): Handle the new options.
	* cpplex.c (cpp_interpret_charconst): Use new flag.
	* cpplib.h (struct cpp_options): New member signed_char.
	* gcc.c (cpp_unique_options): Remove %c spec and documentation.
	(cpp_options): Handle -fsigned-char and -funsigned-char.
	(static_specs): Remove signed_char_spec.
	(do_spec1): Don't handle %c.
	* system.h: Poison SIGNED_CHAR_SPEC.
	* tradcif.y (yylex): Use flag_signed_char.
	* tradcpp.h (flag_signed_char): New.
	* tradcpp.c (flag_signed_char): New.
	(main): Handle new command-line options.
	(initialize_builtins): Define __CHAR_UNSIGNED__ if appropriate.
config:
	* alpha/alpha.h (SIGNED_CHAR_SPEC): Remove.
	* avr/avr.h: Remove old comments.
	* i960/i960.h (CPP_SPEC): Pass -fsigned-char if -mic*.
	(CC1_SPEC): Pass -fsigned-char if -mic*.
	(SIGNED_CHAR_SPEC): Remove.
doc:
	* tm.texi (SIGNED_CHAR_SPEC): Remove documentation.
testsuite:
	* gcc.dg/cpp/uchar-1.c, uchar-2.c, uchar-3.c: New tests.

From-SVN: r49444
2002-02-02 18:56:37 +00:00
Jason Merrill 1acce4c771 * Makefile.am (clean-nat): New target.
From-SVN: r49443
2002-02-02 13:23:02 -05:00
Richard Henderson 444c52f90f 991118-1.c: Revert 2002-01-29 change.
* gcc.c-torture/execute/991118-1.c: Revert 2002-01-29 change.
        * gcc.c-torture/execute/bf64-1.c: Likewise.

From-SVN: r49442
2002-02-02 09:57:33 -08:00
Paolo Carlini b6f642d59c 2002-02-02 Paolo Carlini <pcarlini@unitus.it>
* testsuite/22_locale/operators.cc
	(gnu_collate::do_compare()): Add return statement to
	suppress "no return statement" warning.

From-SVN: r49441
2002-02-02 13:46:47 +00:00
Paolo Carlini 866c9e660e ostream_manip.cc: Enable test02.
2002-02-01  Paolo Carlini  <pcarlini@unitus.it>

	* testsuite/27_io/ostream_manip.cc: Enable test02.

From-SVN: r49440
2002-02-02 13:13:00 +00:00
Toon Moene 9bc02796d6 g77.texi [...]: Change last update date and/or copyright year.
2002-02-02  Toon Moene  <toon@moene.indiv.nluug.nl>

	* g77.texi proj.h com.c bugs.texi: Change last update date
	and/or copyright year.

From-SVN: r49439
2002-02-02 11:42:19 +00:00
Jakub Jelinek f786ab27b0 * gcc.c-torture/execute/bitfld-2.c: New test.
From-SVN: r49438
2002-02-02 10:28:25 +01:00
Jakub Jelinek ea142788dc * gcc.dg/20020201-3.c: New test.
From-SVN: r49437
2002-02-02 10:22:00 +01:00
GCC Administrator 8315fe3f4d Daily bump.
From-SVN: r49436
2002-02-02 08:16:46 +00:00
Tom Tromey 6c69cbcc69 * java/io/natFile.cc: Removed old "FIXME" comments.
From-SVN: r49434
2002-02-02 07:45:50 +00:00
Tom Tromey 0c91936e40 natPosixProcess.cc (myclose): New function.
* java/lang/natPosixProcess.cc (myclose): New function.
	(fail): Use it.
	(startProcess): Likewise.

From-SVN: r49433
2002-02-02 07:43:16 +00:00
Geoffrey Keating 5ffc350051 Contribute regression tester scripts
From-SVN: r49432
2002-02-02 05:23:34 +00:00
Adam Megacz ce762b4bde *** empty log message ***
From-SVN: r49431
2002-02-02 04:39:26 +00:00
Adam Megacz 6d829370c0 prims.cc: Added #undef STRICT after #include<windows.h>.
2002-02-01  Adam Megacz <adam@xwt.org>

	* prims.cc: Added #undef STRICT after #include<windows.h>.

From-SVN: r49430
2002-02-02 04:37:54 +00:00
Adam Megacz a7006428b6 2002-02-01 Adam Megacz <adam@xwt.org>
* prims.cc
        (_Jv_CreateJavaVM): We now use WIN32 instead of
        USE_WIN32_SIGNALLING and USE_WINSOCK.
        (win32_exception_handler): Now throws an exception out of
        the signal handler; assumes SJLJ

From-SVN: r49429
2002-02-02 04:34:15 +00:00
Adam Megacz a70cb11b6c 2002-02-01 Adam Megacz
* win32-threads.cc:
        (_Jv_CondWait, _Jv_CondNotify, _Jv_CondNotifyAll): Corrected
        wait() algorithm to make it safe.
        (ensure_condvar_initialized, _Jv_CondInit, _Jv_CondDestroy):
        Added lazy creation of Win32 Events for better performance
        (really_start): This now uses GC_CreateThread so boehm-gc
        knows about new threads even when statically linked.

From-SVN: r49428
2002-02-02 04:31:34 +00:00
Adam Megacz 8627cc158d win32-threads.h (_Jv_ConditionVariable_t): Now a struct, to enable safer wait() algorithm.
2002-02-01  Adam Megacz <adam@xwt.org>

        * include/win32-threads.h (_Jv_ConditionVariable_t): Now a struct, to
	enable safer wait() algorithm.
	(_Jv_CondWait, _Jv_CondInit, _Jv_CondDestroy, _Jv_CondNotify,
	_Jv_CondNotifyAll): Implementations moved to win32-threads.cc.
	(_Jv_MutexInit, _Jv_HaveMutexDestroy, _Jv_MutexUnlock,
	_Jv_MutexLock, _Jv_ThreadYield): Reimplement using CRITICAL_SECTIONs
	instead of mutex.
	(_Jv_ThreadYield): Don't call Sleep(), because it crashes win98.

From-SVN: r49427
2002-02-02 04:27:34 +00:00
Adam Megacz 7e57448e82 2002-02-01 Adam Megacz <adam@xwt.org>
* boehm-gc on win32 now automatically detects if it is being built
	as a DLL; see http://gcc.gnu.org/ml/java/2001-12/msg00240.html

From-SVN: r49426
2002-02-02 04:23:13 +00:00
Adam Megacz 54a190dd7b configure.in: Added support for mingw.
2002-02-01  Adam Megacz <adam@xwt.org>

        * configure.in: Added support for mingw.
        * java/lang/Win32Process.java: Created as empty file.
        * java/lang/natWin32Process.cc: Created as empty file.

From-SVN: r49425
2002-02-02 04:19:24 +00:00
Adam Megacz 8ee3759e0b *** empty log message ***
From-SVN: r49424
2002-02-02 04:11:01 +00:00
Eric Christopher 0617ed52b3 2002-02-01 Eric Christopher <echristo@redhat.com>
From Daniel Jacobowitz <dmj+@andrew.cmu.edu>
	* config/mips/mips.h (FUNCTION_PROFILER): Fix function profiling.
	* config/mips/linux.h (ASM_OUTPUT_REG_PUSH): Undefine.
	(ASM_OUTPUT_REG_POP): Ditto.

From-SVN: r49423
2002-02-02 03:54:39 +00:00
Phil Edwards 00181da3af documentation.html: Update for 3.0.96.
2002-02-01  Phil Edwards  <pme@gcc.gnu.org>

	* docs/html/documentation.html:  Update for 3.0.96.
	* docs/html/faq/index.html:  Update for 3.0.96.
	* docs/html/faq/index.txt:  Regenerated.
	* docs/doxygen/TODO:  Update notes.
	* docs/html/17_intro/howto.html:  Initial impl-specific listing.

From-SVN: r49422
2002-02-02 00:18:24 +00:00
Jakub Jelinek b24d861d0e * gcc.dg/20020201-2.c: New test.
From-SVN: r49421
2002-02-02 01:16:39 +01:00
Neil Booth dfd48d76f7 c-decl.c, [...]: Revert bitfield patch.
* c-decl.c, tree.c, tree.h, objc/objc-act.c: Revert bitfield
	patch.
	* gcc.dg/bitfld-1.c: Update.
	* gcc.dg/bitfld-2.c: Update.
	* gcc.c-torture/execute/bitfld-1.x: New.

From-SVN: r49420
2002-02-02 00:14:41 +00:00
Jakub Jelinek 4a23409e6f * config/i386/i386.h (CPP_CPUCOMMON_SPEC): Add missing | separators.
From-SVN: r49419
2002-02-02 01:05:11 +01:00
Nic Ferrier d4ad1c907b added change for gcj manual.
From-SVN: r49418
2002-02-01 23:46:11 +00:00
Nic Ferrier ca6b827f15 * gcj.texi (About CNI): New node.
From-SVN: r49417
2002-02-01 23:43:35 +00:00
Jakub Jelinek d3c5265862 re PR c/5304 (gcc-20011231 generates incorrect divmod code for chars)
PR c/5304:
	* expmed.c (expand_mult_highpart): Use immed_double_const for wide_op1
	unconditionally.

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

From-SVN: r49416
2002-02-02 00:43:19 +01:00
Janis Johnson 02c5a3bd59 cfganal.c: Include tm_p.h.
* cfganal.c: Include tm_p.h.
	(keep_with_call_p): Fix the test that determines if a register holds
	the return value of a call.

From-SVN: r49415
2002-02-01 23:38:46 +00:00
Richard Henderson ead39bdfef Fix year typos.
From-SVN: r49414
2002-02-01 15:19:29 -08:00
Toon Moene 0aa00c7fa1 bad.def: Remove non-historical reference to version 0.6.
2002-02-01  Toon Moene  <toon@moene.indiv.nluug.nl>

	* bad.def: Remove non-historical reference to version 0.6.
	* bugs.texi: Ditto.
	* com.c: Ditto.
	* ffe.texi: Ditto.
	* proj.h: Ditto.
	* g77.texi: Ditto.

From-SVN: r49413
2002-02-01 22:43:03 +00:00
DJ Delorie 3968de80f8 sparc.c (sparc_emit_set_symbolic_const64): If we are given conflicting registers...
* config/sparc/sparc.c (sparc_emit_set_symbolic_const64): If
we are given conflicting registers, switch to the other one we
had allocated for us.
* config/sparc/sparc.md (reload_indi, reload_outdi): Pass op[2]
as TImode so we know when the "other" register is available.

From-SVN: r49412
2002-02-01 16:54:39 -05:00
Craig Rodrigues 1c24f830c5 re PR java/4972 (undefined reference to `libiconv')
2002-02-01  Craig Rodrigues  <rodrigc@gcc.gnu.org>

        PR java/4972
        * aclocal.m4, acinclude.m4 (AM_ICONV): Put linking flags
        for libiconv in LIBICONV variable.
        * configure: Regenerated.

From-SVN: r49411
2002-02-01 21:16:05 +00:00
Craig Rodrigues 58fae3f7ae re PR java/5080 (gcc/java/jcf-parse.c:908: `LC_CTYPE' undeclared (first use in this function))
2002-02-01  Craig Rodrigues  <rodrigc@gcc.gnu.org>

        PR java/5080
        * jcf-parse.c : Check for HAVE_LOCALE_H before using
        setlocale() with LC_CTYPE as a parameter.
        * jv-scan.c: Same.

From-SVN: r49410
2002-02-01 21:07:31 +00:00
H.J. Lu 3a441e3884 cp-demangle.c (cp_demangle_type): Call demangling_new with DMGL_GNU_V3.
2002-02-01  H.J. Lu  <hjl@gnu.org>

	* cp-demangle.c (cp_demangle_type): Call demangling_new with
	DMGL_GNU_V3.

From-SVN: r49409
2002-02-01 12:37:13 -08:00
Jason Merrill f2f6a4b077 fix typo
From-SVN: r49408
2002-02-01 14:51:42 -05:00
Jason Merrill efe49da0ba re PR c++/4872 (missed warning (no return) -- regression from 2.95)
PR c++/4872
        * decl.c (finish_function): Warn about a non-void function with
        no return statement and no abnormal exit.
        * cp-tree.h (struct cp_language_function): Add returns_abnormally.
        (current_function_returns_abnormally): New macro.
        * call.c (build_call): Set it.

From-SVN: r49407
2002-02-01 14:32:51 -05:00
Jason Merrill f2d9afece3 typeck.c (build_component_ref): Always complain about offsetof constructs on non-PODs.
* typeck.c (build_component_ref): Always complain about offsetof
        constructs on non-PODs.  Only make it an error for members of
        virtual bases.

From-SVN: r49406
2002-02-01 14:31:23 -05:00
David O'Brien 1338ea6c7f sol2-sld-64.h: Include sparc/biarch64.h rather than sparc/sparc_bi.h.
2002-02-01  David O'Brien  <obrien@FreeBSD.org>
	* config/sparc/sol2-sld-64.h: Include sparc/biarch64.h rather than
	sparc/sparc_bi.h.

Approved by:  Geoff Keating <geoffk@geoffk.org>
              Message-ID: <jmzo2uma5l.fsf@desire.geoffk.org>

From-SVN: r49405
2002-02-01 19:30:01 +00:00
Jason Merrill f17d060eb7 link, expect link errors
From-SVN: r49404
2002-02-01 14:19:50 -05:00
Jason Merrill a9c898b965 use unused attribute for the parm
From-SVN: r49403
2002-02-01 14:15:58 -05:00
Janis Johnson 91f5782d97 re PR target/5469 ([IA64] ia64 arc profiling can use the wrong global pointer)
PR target/5469
	* gcc.dg/20020201-1.c: New test.

From-SVN: r49402
2002-02-01 19:01:55 +00:00
Janis Johnson f015be23f5 cfganal.c (keep_with_call_p): New function.
* cfganal.c (keep_with_call_p): New function.
	(flow_call_edges_add): Prevent splitting a block between a call and
	a single-set instruction that should be kept in the same block.

From-SVN: r49401
2002-02-01 18:58:39 +00:00
Craig Rodrigues 63708ffc63 install.texi (avr): Update outdated URL.
2002-02-01  Craig Rodrigues  <rodrigc@gcc.gnu.org>

        * doc/install.texi (avr): Update outdated URL.

From-SVN: r49399
2002-02-01 18:42:37 +00:00