rth [Mon, 4 Feb 2002 17:44:26 +0000 (17:44 +0000)]
* config/alpha/alpha.c (current_function_is_thunk): Don't check
current_function_is_thunk.
(alpha_sa_mask): Distinguish between current_function_is_thunk
called from ASM_OUTPUT_MI_THUNK and not.
(alpha_does_function_need_gp): Thunks always need gp.
(alpha_start_function, alpha_output_function_end_prologue): Likewise.
(alpha_output_mi_thunk_osf): New.
* config/alpha/alpha-protos.h: Update.
* config/alpha/alpha.h (ASM_OUTPUT_MI_THUNK): New.
cp/
* method.c (use_thunk): Always initialize the block tree. Reindent.
* semantics.c (expand_body): Emit thunks after function, not before.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@49484
138bc75d-0d04-0410-961f-
82ee72b054a4
zack [Mon, 4 Feb 2002 17:05:24 +0000 (17:05 +0000)]
* gcc.pot: Regenerate.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@49483
138bc75d-0d04-0410-961f-
82ee72b054a4
rsandifo [Mon, 4 Feb 2002 17:02:39 +0000 (17:02 +0000)]
* gcc.dg/cast-qual-2.c: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@49482
138bc75d-0d04-0410-961f-
82ee72b054a4
rsandifo [Mon, 4 Feb 2002 17:01:30 +0000 (17:01 +0000)]
* c-typeck.c (build_c_cast): Warn when qualifiers are added to
function types, not when they're taken away.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@49481
138bc75d-0d04-0410-961f-
82ee72b054a4
jason [Mon, 4 Feb 2002 16:28:40 +0000 (16:28 +0000)]
* decl.c (start_function): Call cplus_decl_attributes immediately
after grokdeclarator.
* decl.c (start_function): Combine DECL_RESULT handling code.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@49480
138bc75d-0d04-0410-961f-
82ee72b054a4
pthomas [Mon, 4 Feb 2002 16:07:59 +0000 (16:07 +0000)]
Update copyright dates.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@49479
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Mon, 4 Feb 2002 16:03:14 +0000 (16:03 +0000)]
* cfgrtl.c (try_redirect_by_replacing_jump): Remove associated
CODE_LABEL and jump table when replacing a table jump with a
simple jump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@49478
138bc75d-0d04-0410-961f-
82ee72b054a4
pthomas [Mon, 4 Feb 2002 15:58:51 +0000 (15:58 +0000)]
2002-02-04 Philipp Thomas <pthomas@suse.de>
* bad.def com.c expr.c implic.c lex.c stb.c ste.c stu.c:
Insert comments to mark messages as not being printf style
where appropriate.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@49477
138bc75d-0d04-0410-961f-
82ee72b054a4
uweigand [Mon, 4 Feb 2002 15:51:18 +0000 (15:51 +0000)]
* config/s390/s390-protos.h (legitimize_la_operand,
s390_secondary_input_reload_class, s390_plus_operand,
s390_expand_plus_operand): Add prototypes.
config/s390/s390.c (s390_secondary_input_reload_class,
s390_plus_operand, s390_expand_plus_operand): New functions.
(struct s390_address): New member 'pointer'.
(s390_decompose_address): Compute it.
(legitimate_la_operand_p): Use it.
(legitimize_la_operand): New function.
(movti, movdi, movdf splitters): Call it.
config/s390/s390.h (SECONDARY_INPUT_RELOAD_CLASS): Define.
(PREDICATE_CODES): Add s390_plus_operand.
config/s390/s390.md (adddi3_inv_64, addaddr_ccclobber): Delete.
(la_ccclobber): Allow GENERAL_REGS as output operand.
(reload_load_address, *reload_load_address_reg_0, *la, *do_la_reg_0,
*reload_la_64, *reload_la_31 and splitters): Delete, replace by ...
(*la_64, *la_31, reload_indi, reload_insi): ... these.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@49476
138bc75d-0d04-0410-961f-
82ee72b054a4
uweigand [Mon, 4 Feb 2002 15:43:02 +0000 (15:43 +0000)]
* gcc/config/s390/s390.h (CRT_CALL_STATIC_FUNCTION): Fixed
register names for regular asm () construct.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@49475
138bc75d-0d04-0410-961f-
82ee72b054a4
jakub [Mon, 4 Feb 2002 09:48:34 +0000 (09:48 +0000)]
* config/i386/i386.md (movsf_1): Allow moving SF values in MMX
registers.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@49474
138bc75d-0d04-0410-961f-
82ee72b054a4
jakub [Mon, 4 Feb 2002 09:40:57 +0000 (09:40 +0000)]
* combine.c (recog_for_combine): Create a dummy insn with PATTERN
pat for recog.
* gcc.dg/
20020201-4.c: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@49473
138bc75d-0d04-0410-961f-
82ee72b054a4
jason [Mon, 4 Feb 2002 08:55:43 +0000 (08:55 +0000)]
* xref.c: Remove.
* Make-lang.in (CXX_OBJS): Remove cp/xref.o
(cp/xref.o): Remove dependencies.
* class.c (finish_struct_1, check_methods): Don't call xref fns.
(finish_struct_1): Likewise.
* friend.c (make_friend_class): Likewise.
* lex.c (cxx_init, cxx_finish, extract_interface_info): Likewise.
* spew.c (read_process_identifier): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@49472
138bc75d-0d04-0410-961f-
82ee72b054a4
hpenner [Mon, 4 Feb 2002 08:29:08 +0000 (08:29 +0000)]
* varasm.c (decode_rtx_const): Allow unspec (symbol_ref) in
constant pool to be identical by string address and index.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@49471
138bc75d-0d04-0410-961f-
82ee72b054a4
bje [Mon, 4 Feb 2002 05:00:25 +0000 (05:00 +0000)]
* lib/gcc.exp (gcc_init): Check that the need_status_wrapper
target_info attribute != 0, in addition to the empty string.
(gcc_target_compile): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@49470
138bc75d-0d04-0410-961f-
82ee72b054a4
bryce [Mon, 4 Feb 2002 03:03:44 +0000 (03:03 +0000)]
2002-02-04 Anthony Green <green@redhat.com>
* output.h (SECTION_OVERRIDE): Define.
* varasm.c (named_section): Obey SECTION_OVERRIDE.
java:
2002-02-04 Anthony Green <green@redhat.com>
* class.c (build_utf8_ref): Put UTF-8 constants into merged
sections if available.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@49469
138bc75d-0d04-0410-961f-
82ee72b054a4
bryce [Mon, 4 Feb 2002 02:38:16 +0000 (02:38 +0000)]
* parse.y (java_expand_classes): Fix typo in static field loop.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@49468
138bc75d-0d04-0410-961f-
82ee72b054a4
thorpej [Sun, 3 Feb 2002 21:52:34 +0000 (21:52 +0000)]
* config.gcc (arm*-*-netbsdelf*): Placeholder to prevent match
by existing arm*-*-netbsd* (a.out) target.
(ns32k-*-netbsdelf*): Likewise.
(sparc-*-netbsdelf*): Likewise.
(vax-*-netbsdelf*): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@49467
138bc75d-0d04-0410-961f-
82ee72b054a4
thorpej [Sun, 3 Feb 2002 21:36:46 +0000 (21:36 +0000)]
Fix typo in date of most recent entry.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@49466
138bc75d-0d04-0410-961f-
82ee72b054a4
cgf [Sun, 3 Feb 2002 20:58:51 +0000 (20:58 +0000)]
* gthr-win32.h: Protect against conflicting typedef for BOOL in windows headers
and libobjc headers.
* gthr-win32.h (__mingwthr_key_dtor): Use extern "C" linkage for C++.
(_mingw.h): Remove duplicate include.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@49465
138bc75d-0d04-0410-961f-
82ee72b054a4
thorpej [Sun, 3 Feb 2002 20:53:44 +0000 (20:53 +0000)]
* config.gcc: Set cpu_type to m68k for 68010, as well.
(m68010-*-netbsdelf*): New...
(m68k*-*-netbsdelf*): ...targets.
* config/m68k/netbsd-elf.h: New file.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@49464
138bc75d-0d04-0410-961f-
82ee72b054a4
cagney [Sun, 3 Feb 2002 15:58:08 +0000 (15:58 +0000)]
* gcc.dg/Wswitch.c: New test.
PR gcc/4475. PR gcc/3780.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@49462
138bc75d-0d04-0410-961f-
82ee72b054a4
dj [Sun, 3 Feb 2002 13:10:29 +0000 (13:10 +0000)]
minor typo
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@49461
138bc75d-0d04-0410-961f-
82ee72b054a4
toon [Sun, 3 Feb 2002 12:57:21 +0000 (12:57 +0000)]
2002-02-03 Toon Moene <toon@moene.indiv.nluug.nl>
* g77.f-torture/execute/5122.f: New test for regressions
against PR fortran/5122.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@49460
138bc75d-0d04-0410-961f-
82ee72b054a4
toon [Sun, 3 Feb 2002 12:54:09 +0000 (12:54 +0000)]
2002-02-03 Toon Moene <toon@moene.indiv.nluug.nl>
* expr.c (ffeexpr_sym_impdoitem_): Allow other than
default INTEGER implied-do loop counts.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@49459
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Sun, 3 Feb 2002 06:23:37 +0000 (06:23 +0000)]
* class.c (add_field): Mark static fields external.
(build_class_ref): Remove redundant set.
* parse.y (java_expand_classes): Mark static fields of classes
to be compiled as local.
* jcf-parse.c (parse_class_file): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@49458
138bc75d-0d04-0410-961f-
82ee72b054a4
hjl [Sun, 3 Feb 2002 04:00:36 +0000 (04:00 +0000)]
2002-02-02 H.J. Lu (hjl@gnu.org)
* cp-demangle.c (cp_demangle_type): Do not protect with
IN_LIBGCC2.
(cplus_demangle_v3_all): New.
(cplus_demangle_v3): Call cplus_demangle_v3_all.
(cplus_demangle_v3_type): Call cplus_demangle_v3_all.
* cplus-dem.c (cplus_demangle_v3_p): New function pointer.
Initialized to cplus_demangle_v3.
(cplus_demangle_with_style): Call cplus_demangle_v3_p instead
of cplus_demangle_v3.
(main): Set cplus_demangle_v3_p to cplus_demangle_v3_type for
command line symbol.
* testsuite/regress-demangle: Pass the mangled name at the
command line.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@49456
138bc75d-0d04-0410-961f-
82ee72b054a4
hjl [Sun, 3 Feb 2002 03:59:23 +0000 (03:59 +0000)]
2002-02-02 H.J. Lu (hjl@gnu.org)
* demangle.h (cplus_demangle_v3_type): New prototype.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@49455
138bc75d-0d04-0410-961f-
82ee72b054a4
kazu [Sun, 3 Feb 2002 01:36:13 +0000 (01:36 +0000)]
* config/h8300/h8300.c (hand_list): Move inside function_arg.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@49454
138bc75d-0d04-0410-961f-
82ee72b054a4
kazu [Sun, 3 Feb 2002 01:29:16 +0000 (01:29 +0000)]
* config/h8300/h8300.c (h8_push_ops): Move inside
h8300_init_once.
(h8_pop_ops): Likewise.
(h8_move_ops): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@49453
138bc75d-0d04-0410-961f-
82ee72b054a4
kazu [Sun, 3 Feb 2002 01:24:11 +0000 (01:24 +0000)]
* config/h8300/h8300.c (os_task): Make it static.
(monitor): Likewise.
(pragma_saveall): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@49452
138bc75d-0d04-0410-961f-
82ee72b054a4
aoliva [Sun, 3 Feb 2002 00:50:50 +0000 (00:50 +0000)]
* config/sh/sh.md (ic_invalidate_line): Make sure the immediate
constant is a valid sign-extension for Pmode.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@49451
138bc75d-0d04-0410-961f-
82ee72b054a4
billingd [Sun, 3 Feb 2002 00:43:23 +0000 (00:43 +0000)]
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@49450
138bc75d-0d04-0410-961f-
82ee72b054a4
kazu [Sat, 2 Feb 2002 21:38:49 +0000 (21:38 +0000)]
* config/h8300/h8300.c: Fix formatting.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@49449
138bc75d-0d04-0410-961f-
82ee72b054a4
kazu [Sat, 2 Feb 2002 21:15:24 +0000 (21:15 +0000)]
* config/h8300/h8300.md: Fix formatting.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@49448
138bc75d-0d04-0410-961f-
82ee72b054a4
tromey [Sat, 2 Feb 2002 21:14:29 +0000 (21:14 +0000)]
* Makefile.in: Rebuilt.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@49447
138bc75d-0d04-0410-961f-
82ee72b054a4
kazu [Sat, 2 Feb 2002 20:57:06 +0000 (20:57 +0000)]
* config/h8300/h8300.md (one_cmpl patterns): Tighten the
predicates of operands[1]. Split the patterns for each
processor variant.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@49446
138bc75d-0d04-0410-961f-
82ee72b054a4
kazu [Sat, 2 Feb 2002 20:48:38 +0000 (20:48 +0000)]
* config/h8300/h8300.md (xor patterns): Tighten the predicates
of operands[1] to register_operand.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@49445
138bc75d-0d04-0410-961f-
82ee72b054a4
neil [Sat, 2 Feb 2002 18:56:37 +0000 (18:56 +0000)]
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@49444
138bc75d-0d04-0410-961f-
82ee72b054a4
jason [Sat, 2 Feb 2002 18:23:02 +0000 (18:23 +0000)]
* Makefile.am (clean-nat): New target.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@49443
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Sat, 2 Feb 2002 17:57:33 +0000 (17:57 +0000)]
* gcc.c-torture/execute/991118-1.c: Revert 2002-01-29 change.
* gcc.c-torture/execute/bf64-1.c: Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@49442
138bc75d-0d04-0410-961f-
82ee72b054a4
paolo [Sat, 2 Feb 2002 13:46:47 +0000 (13:46 +0000)]
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@49441
138bc75d-0d04-0410-961f-
82ee72b054a4
paolo [Sat, 2 Feb 2002 13:13:00 +0000 (13:13 +0000)]
2002-02-01 Paolo Carlini <pcarlini@unitus.it>
* testsuite/27_io/ostream_manip.cc: Enable test02.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@49440
138bc75d-0d04-0410-961f-
82ee72b054a4
toon [Sat, 2 Feb 2002 11:42:19 +0000 (11:42 +0000)]
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@49439
138bc75d-0d04-0410-961f-
82ee72b054a4
jakub [Sat, 2 Feb 2002 09:28:25 +0000 (09:28 +0000)]
* gcc.c-torture/execute/bitfld-2.c: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@49438
138bc75d-0d04-0410-961f-
82ee72b054a4
jakub [Sat, 2 Feb 2002 09:22:00 +0000 (09:22 +0000)]
* gcc.dg/
20020201-3.c: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@49437
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Sat, 2 Feb 2002 08:16:46 +0000 (08:16 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@49436
138bc75d-0d04-0410-961f-
82ee72b054a4
tromey [Sat, 2 Feb 2002 07:45:50 +0000 (07:45 +0000)]
* java/io/natFile.cc: Removed old "FIXME" comments.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@49434
138bc75d-0d04-0410-961f-
82ee72b054a4
tromey [Sat, 2 Feb 2002 07:43:16 +0000 (07:43 +0000)]
* java/lang/natPosixProcess.cc (myclose): New function.
(fail): Use it.
(startProcess): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@49433
138bc75d-0d04-0410-961f-
82ee72b054a4
geoffk [Sat, 2 Feb 2002 05:23:34 +0000 (05:23 +0000)]
Contribute regression tester scripts
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@49432
138bc75d-0d04-0410-961f-
82ee72b054a4
megacz [Sat, 2 Feb 2002 04:39:26 +0000 (04:39 +0000)]
*** empty log message ***
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@49431
138bc75d-0d04-0410-961f-
82ee72b054a4
megacz [Sat, 2 Feb 2002 04:37:54 +0000 (04:37 +0000)]
2002-02-01 Adam Megacz <adam@xwt.org>
* prims.cc: Added #undef STRICT after #include<windows.h>.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@49430
138bc75d-0d04-0410-961f-
82ee72b054a4
megacz [Sat, 2 Feb 2002 04:34:15 +0000 (04:34 +0000)]
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
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@49429
138bc75d-0d04-0410-961f-
82ee72b054a4
megacz [Sat, 2 Feb 2002 04:31:34 +0000 (04:31 +0000)]
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@49428
138bc75d-0d04-0410-961f-
82ee72b054a4
megacz [Sat, 2 Feb 2002 04:27:34 +0000 (04:27 +0000)]
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@49427
138bc75d-0d04-0410-961f-
82ee72b054a4
megacz [Sat, 2 Feb 2002 04:23:13 +0000 (04:23 +0000)]
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
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@49426
138bc75d-0d04-0410-961f-
82ee72b054a4
megacz [Sat, 2 Feb 2002 04:19:24 +0000 (04:19 +0000)]
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@49425
138bc75d-0d04-0410-961f-
82ee72b054a4
megacz [Sat, 2 Feb 2002 04:11:01 +0000 (04:11 +0000)]
*** empty log message ***
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@49424
138bc75d-0d04-0410-961f-
82ee72b054a4
echristo [Sat, 2 Feb 2002 03:54:39 +0000 (03:54 +0000)]
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@49423
138bc75d-0d04-0410-961f-
82ee72b054a4
pme [Sat, 2 Feb 2002 00:18:24 +0000 (00:18 +0000)]
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@49422
138bc75d-0d04-0410-961f-
82ee72b054a4
jakub [Sat, 2 Feb 2002 00:16:39 +0000 (00:16 +0000)]
* gcc.dg/
20020201-2.c: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@49421
138bc75d-0d04-0410-961f-
82ee72b054a4
neil [Sat, 2 Feb 2002 00:14:41 +0000 (00:14 +0000)]
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@49420
138bc75d-0d04-0410-961f-
82ee72b054a4
jakub [Sat, 2 Feb 2002 00:05:11 +0000 (00:05 +0000)]
* config/i386/i386.h (CPP_CPUCOMMON_SPEC): Add missing | separators.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@49419
138bc75d-0d04-0410-961f-
82ee72b054a4
nferrier [Fri, 1 Feb 2002 23:46:11 +0000 (23:46 +0000)]
added change for gcj manual.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@49418
138bc75d-0d04-0410-961f-
82ee72b054a4
nferrier [Fri, 1 Feb 2002 23:43:35 +0000 (23:43 +0000)]
* gcj.texi (About CNI): New node.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@49417
138bc75d-0d04-0410-961f-
82ee72b054a4
jakub [Fri, 1 Feb 2002 23:43:19 +0000 (23:43 +0000)]
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@49416
138bc75d-0d04-0410-961f-
82ee72b054a4
janis [Fri, 1 Feb 2002 23:38:46 +0000 (23:38 +0000)]
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@49415
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Fri, 1 Feb 2002 23:19:29 +0000 (23:19 +0000)]
Fix year typos.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@49414
138bc75d-0d04-0410-961f-
82ee72b054a4
toon [Fri, 1 Feb 2002 22:43:03 +0000 (22:43 +0000)]
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@49413
138bc75d-0d04-0410-961f-
82ee72b054a4
dj [Fri, 1 Feb 2002 21:54:39 +0000 (21:54 +0000)]
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@49412
138bc75d-0d04-0410-961f-
82ee72b054a4
rodrigc [Fri, 1 Feb 2002 21:16:05 +0000 (21:16 +0000)]
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@49411
138bc75d-0d04-0410-961f-
82ee72b054a4
rodrigc [Fri, 1 Feb 2002 21:07:31 +0000 (21:07 +0000)]
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@49410
138bc75d-0d04-0410-961f-
82ee72b054a4
hjl [Fri, 1 Feb 2002 20:37:13 +0000 (20:37 +0000)]
2002-02-01 H.J. Lu <hjl@gnu.org>
* cp-demangle.c (cp_demangle_type): Call demangling_new with
DMGL_GNU_V3.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@49409
138bc75d-0d04-0410-961f-
82ee72b054a4
jason [Fri, 1 Feb 2002 19:51:42 +0000 (19:51 +0000)]
fix typo
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@49408
138bc75d-0d04-0410-961f-
82ee72b054a4
jason [Fri, 1 Feb 2002 19:32:51 +0000 (19:32 +0000)]
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@49407
138bc75d-0d04-0410-961f-
82ee72b054a4
jason [Fri, 1 Feb 2002 19:31:23 +0000 (19:31 +0000)]
* typeck.c (build_component_ref): Always complain about offsetof
constructs on non-PODs. Only make it an error for members of
virtual bases.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@49406
138bc75d-0d04-0410-961f-
82ee72b054a4
obrien [Fri, 1 Feb 2002 19:30:01 +0000 (19:30 +0000)]
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>
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@49405
138bc75d-0d04-0410-961f-
82ee72b054a4
jason [Fri, 1 Feb 2002 19:19:50 +0000 (19:19 +0000)]
link, expect link errors
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@49404
138bc75d-0d04-0410-961f-
82ee72b054a4
jason [Fri, 1 Feb 2002 19:15:58 +0000 (19:15 +0000)]
use unused attribute for the parm
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@49403
138bc75d-0d04-0410-961f-
82ee72b054a4
janis [Fri, 1 Feb 2002 19:01:55 +0000 (19:01 +0000)]
PR target/5469
* gcc.dg/
20020201-1.c: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@49402
138bc75d-0d04-0410-961f-
82ee72b054a4
janis [Fri, 1 Feb 2002 18:58:39 +0000 (18:58 +0000)]
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@49401
138bc75d-0d04-0410-961f-
82ee72b054a4
rodrigc [Fri, 1 Feb 2002 18:42:37 +0000 (18:42 +0000)]
2002-02-01 Craig Rodrigues <rodrigc@gcc.gnu.org>
* doc/install.texi (avr): Update outdated URL.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@49399
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Fri, 1 Feb 2002 16:56:43 +0000 (16:56 +0000)]
I'm the i386 maintainer.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@49398
138bc75d-0d04-0410-961f-
82ee72b054a4
jason [Fri, 1 Feb 2002 16:06:10 +0000 (16:06 +0000)]
fix typo
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@49397
138bc75d-0d04-0410-961f-
82ee72b054a4
jason [Fri, 1 Feb 2002 15:56:43 +0000 (15:56 +0000)]
* error.c (dump_scope): Don't add TFF_DECL_SPECIFIERS.
(dump_function_decl): Always dump parms.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@49396
138bc75d-0d04-0410-961f-
82ee72b054a4
jason [Fri, 1 Feb 2002 15:50:01 +0000 (15:50 +0000)]
* decl2.c (finish_static_data_member_decl): Complain about a local
class with a static data member.
PR c++/4286
* search.c (lookup_field_1): Don't xref a static data member
just because we looked it up.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@49395
138bc75d-0d04-0410-961f-
82ee72b054a4
aph [Fri, 1 Feb 2002 15:20:16 +0000 (15:20 +0000)]
2002-01-30 Andrew Haley <aph@cambridge.redhat.com>
* config/stormy16/stormy16.md (pushqi): New.
(popqi): New.
(pushhi): New.
(pophi): New.
(movhi): Remove stack operands.
(movqi): Likewise.
* config/stormy16/stormy16.h (PREDICATE_CODES): Add
nonimmediate_nonstack_operand.
* config/stormy16/stormy16.c (nonimmediate_nonstack_operand):
New.
* config/stormy16/stormy16-protos.h (nonimmediate_nonstack_operand)
New.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@49394
138bc75d-0d04-0410-961f-
82ee72b054a4
jason [Fri, 1 Feb 2002 11:48:46 +0000 (11:48 +0000)]
* Makefile.in (c-parse.c): Handle .output file.
* objc/Make-lang.in (objc-parse.c): Likewise.
* cp/Make-lang.in (parse.c): Handle .output file.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@49393
138bc75d-0d04-0410-961f-
82ee72b054a4
aoliva [Fri, 1 Feb 2002 10:27:36 +0000 (10:27 +0000)]
* config/mips/mips.h (ENDIAN_SPEC): Output the endianness flag if
the -me[lb] option is given. Don't output the default flag
twice.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@49392
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Fri, 1 Feb 2002 08:17:03 +0000 (08:17 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@49390
138bc75d-0d04-0410-961f-
82ee72b054a4
tromey [Fri, 1 Feb 2002 05:48:00 +0000 (05:48 +0000)]
* verify.cc (state::enter_subroutine): New method.
(handle_jsr_insn): Use it.
(state::merge): When processing a `ret', correctly use
subroutine's state to determine which local variables have
changed.
(push_exception_jump): Don't let stack overflow.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@49388
138bc75d-0d04-0410-961f-
82ee72b054a4
bkoz [Fri, 1 Feb 2002 03:20:39 +0000 (03:20 +0000)]
2002-01-31 Benjamin Kosnik <bkoz@redhat.com>
* config/locale/codecvt_specializations_ieee_1003.1-200x.h:
Initialize all data members in copy ctor. Make ctors explicit.
(__enc_traits::__enc_traits()): Default ctor does nothing.
(__enc_traits::_M_init): Guard against multiple iconv_opens.
* include/std/std_sstream.h (basic_stringbuf): Make data members
protected.
* include/std/std_fstream.h (basic_filebuf): Same.
* include/std/std_streambuf.h: Tweak.
* include/bits/streambuf.tcc: Same.
* include/bits/sstream.tcc: Same.
* include/bits/fstream.tcc: Same.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@49387
138bc75d-0d04-0410-961f-
82ee72b054a4
pme [Fri, 1 Feb 2002 01:27:21 +0000 (01:27 +0000)]
2002-01-31 Phil Edwards <pme@gcc.gnu.org>
* cp-demangle.c: Revert yesterday's change.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@49386
138bc75d-0d04-0410-961f-
82ee72b054a4
ljrittle [Fri, 1 Feb 2002 00:24:12 +0000 (00:24 +0000)]
* testsuite/22_locale/codecvt_members_char_char.cc: Do not
allow NULL argument to be passed to setenv().
* testsuite/22_locale/codecvt_members_wchar_t_char.cc: Likewise.
* testsuite/22_locale/collate_members_char.cc: Likewise.
* testsuite/22_locale/collate_members_wchar_t.cc: Likewise.
* testsuite/22_locale/ctype_members_char.cc: Likewise.
* testsuite/22_locale/ctype_members_wchar_t.cc: Likewise.
* testsuite/22_locale/messages_members_char.cc: Likewise.
* testsuite/22_locale/money_get_members_char.cc: Likewise.
* testsuite/22_locale/money_get_members_wchar_t.cc: Likewise.
* testsuite/22_locale/money_put_members_char.cc: Likewise.
* testsuite/22_locale/money_put_members_wchar_t.cc: Likewise.
* testsuite/22_locale/moneypunct_members_char.cc: Likewise.
* testsuite/22_locale/moneypunct_members_wchar_t.cc: Likewise.
* testsuite/22_locale/num_get_members_char.cc: Likewise.
* testsuite/22_locale/num_get_members_wchar_t.cc: Likewise.
* testsuite/22_locale/num_put_members_char.cc: Likewise.
* testsuite/22_locale/num_put_members_wchar_t.cc: Likewise.
* testsuite/22_locale/numpunct_members_char.cc: Likewise.
* testsuite/22_locale/numpunct_members_wchar_t.cc: Likewise.
* testsuite/22_locale/time_get_members_char.cc: Likewise.
* testsuite/22_locale/time_get_members_wchar_t.cc: Likewise.
* testsuite/22_locale/time_put_members_char.cc: Likewise.
* testsuite/22_locale/time_put_members_wchar_t.cc: Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@49384
138bc75d-0d04-0410-961f-
82ee72b054a4
zack [Fri, 1 Feb 2002 00:11:30 +0000 (00:11 +0000)]
* c-lex.c (yyparse): Call debug_hooks->start_source_file for
the primary source file; this has not been done yet.
* c-decl.c (c_expand_body): Reset input_filename from
DECL_SOURCE_FILE (fndecl) before calling init_function_start.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@49383
138bc75d-0d04-0410-961f-
82ee72b054a4
billingd [Thu, 31 Jan 2002 23:48:06 +0000 (23:48 +0000)]
2002-02-01 David.Billinghurst <David.Billinghurst@riotinto.com>
PR fortran/3743
* g77.f-torture/execute/f90-intrinsic-bit.x: Remove
* g77.f-torture/compile/pr3743.x: Remove
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@49382
138bc75d-0d04-0410-961f-
82ee72b054a4
kazu [Thu, 31 Jan 2002 23:29:09 +0000 (23:29 +0000)]
* rtlanal.c (subreg_regno_offset): Do not use
SUBREG_REGNO_OFFSET.
* system.h: Add SUBREG_REGNO_OFFSET to the GCC poison list.
* doc/tm.texi (SUBREG_REGNO_OFFSET): Remove.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@49381
138bc75d-0d04-0410-961f-
82ee72b054a4
jason [Thu, 31 Jan 2002 22:52:11 +0000 (22:52 +0000)]
PR c++/3395
* decl.c (xref_tag): Remember early attributes in TYPE_ATTRIBUTES,
not TREE_TYPE.
* semantics.c (finish_class_definition): Adjust.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@49380
138bc75d-0d04-0410-961f-
82ee72b054a4
green [Thu, 31 Jan 2002 22:25:31 +0000 (22:25 +0000)]
Configure changes to enable cross compiling.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@49378
138bc75d-0d04-0410-961f-
82ee72b054a4
jason [Thu, 31 Jan 2002 20:14:37 +0000 (20:14 +0000)]
Allow attributes in parms and casts.
* parse.y (named_parm): Don't strip attrs.
(declmods): Remove 'attributes' production.
(nonempty_cv_qualifiers): Accept attributes.
(ATTRIBUTE): Give precedence.
* decl.c (groktypename): Handle attributes.
(grokparms): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@49373
138bc75d-0d04-0410-961f-
82ee72b054a4