Waldek Hebisch [Mon, 10 Nov 2003 08:11:47 +0000 (09:11 +0100)]
re PR target/12865 (`mprotect' call to make trampoline executable may fail)
PR target/12865
* config/sparc/sparc.c (sparc_initialize_trampoline): Call
__enable_execute_stack only after writing onto the stack.
(sparc64_initialize_trampoline): Likewise.
From-SVN: r73402
GCC Administrator [Mon, 10 Nov 2003 00:16:06 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r73400
Tom Tromey [Sun, 9 Nov 2003 23:07:11 +0000 (23:07 +0000)]
* java/net/Inet4Address.java (serialVersionUID): Updated.
From-SVN: r73398
Andrew Pinski [Sun, 9 Nov 2003 21:27:16 +0000 (21:27 +0000)]
200031109-1.c: New test.
2003-11-09 Andrew Pinski <pinskia@physics.uc.edu>
* gcc.c-torture/compile/
200031109-1.c: New test.
From-SVN: r73397
Paolo Carlini [Sun, 9 Nov 2003 19:15:25 +0000 (19:15 +0000)]
locale_facets.tcc (_M_insert_int, [...]): Move a couple of vars inside an if block.
2003-11-09 Paolo Carlini <pcarlini@suse.de>
* include/bits/locale_facets.tcc (_M_insert_int,
_M_insert_float): Move a couple of vars inside an if block.
From-SVN: r73395
Andreas Tobler [Sun, 9 Nov 2003 17:05:10 +0000 (18:05 +0100)]
closure_fn0.c: Print result and check with dg-output to make debugging easier.
2003-11-09 Andreas Tobler <a.tobler@schweiz.ch>
* testsuite/libffi.call/closure_fn0.c: Print result and check
with dg-output to make debugging easier.
* testsuite/libffi.call/closure_fn1.c: Likewise.
* testsuite/libffi.call/closure_fn2.c: Likewise.
* testsuite/libffi.call/closure_fn3.c: Likewise.
* testsuite/libffi.call/closure_fn4.c: Likewise.
* testsuite/libffi.call/closure_fn5.c: Likewise.
* testsuite/libffi.call/cls_12byte.c: Likewise.
* testsuite/libffi.call/cls_16byte.c: Likewise.
* testsuite/libffi.call/cls_18byte.c: Likewise.
* testsuite/libffi.call/cls_19byte.c: Likewise.
* testsuite/libffi.call/cls_1_1byte.c: Likewise.
* testsuite/libffi.call/cls_20byte.c: Likewise.
* testsuite/libffi.call/cls_20byte1.c: Likewise.
* testsuite/libffi.call/cls_24byte.c: Likewise.
* testsuite/libffi.call/cls_2byte.c: Likewise.
* testsuite/libffi.call/cls_3_1byte.c: Likewise.
* testsuite/libffi.call/cls_3byte1.c: Likewise.
* testsuite/libffi.call/cls_3byte2.c: Likewise.
* testsuite/libffi.call/cls_4_1byte.c: Likewise.
* testsuite/libffi.call/cls_4byte.c: Likewise.
* testsuite/libffi.call/cls_5byte.c: Likewise.
* testsuite/libffi.call/cls_64byte.c: Likewise.
* testsuite/libffi.call/cls_6byte.c: Likewise.
* testsuite/libffi.call/cls_7byte.c: Likewise.
* testsuite/libffi.call/cls_8byte.c: Likewise.
* testsuite/libffi.call/cls_9byte1.c: Likewise.
* testsuite/libffi.call/cls_9byte2.c: Likewise.
* testsuite/libffi.call/cls_double.c: Likewise.
* testsuite/libffi.call/cls_float.c: Likewise.
* testsuite/libffi.call/cls_schar.c: Likewise.
* testsuite/libffi.call/cls_sint.c: Likewise.
* testsuite/libffi.call/cls_sshort.c: Likewise.
* testsuite/libffi.call/cls_uchar.c: Likewise.
* testsuite/libffi.call/cls_uint.c: Likewise.
* testsuite/libffi.call/cls_ulonglong.c: Likewise.
* testsuite/libffi.call/cls_ushort.c: Likewise.
* testsuite/libffi.call/problem1.c: Likewise.
* testsuite/libffi.special/unwindtest.cc: Make ffi_closure
static.
From-SVN: r73393
Roger Sayle [Sun, 9 Nov 2003 14:33:20 +0000 (14:33 +0000)]
loop.c (check_dbra_loop): Try swapping the comparison operands of the loop condition to identify a...
* loop.c (check_dbra_loop): Try swapping the comparison operands
of the loop condition to identify a suitable induction variable.
* unroll.c (loop_iterations): Likewise.
From-SVN: r73391
Kaveh R. Ghazi [Sun, 9 Nov 2003 14:05:10 +0000 (14:05 +0000)]
sparc.h (TARGET_CPU_CPP_BUILTINS): Fix sparc vs sparc64 #cpu and #machine assertions.
* config/sparc/sparc.h (TARGET_CPU_CPP_BUILTINS): Fix sparc vs
sparc64 #cpu and #machine assertions.
From-SVN: r73390
Paolo Carlini [Sun, 9 Nov 2003 10:47:58 +0000 (10:47 +0000)]
re PR libstdc++/12971 (Resolution of DR 328 [WP] still unimplemented)
2003-11-09 Paolo Carlini <pcarlini@suse.de>
PR libstdc++/12971
* include/bits/locale_facets.tcc
(money_put::do_put(..., long double)): Fix conversion
specification as per DR 328 [WP].
* testsuite/22_locale/money_put/put/char/12971.cc: Add.
* testsuite/22_locale/money_put/put/wchar_t/12971.cc: Ditto.
* docs/html/ext/howto.html: Add entry for DR 328.
From-SVN: r73389
Richard Henderson [Sun, 9 Nov 2003 09:27:29 +0000 (01:27 -0800)]
* Makefile.in (rtlanal.o): Depend on BASIC_BLOCK_H.
From-SVN: r73386
Jan Hubicka [Sun, 9 Nov 2003 03:06:21 +0000 (04:06 +0100)]
* tree-optimize.c (tree_rest_of_compilation): Fix warning.
From-SVN: r73385
Jan Hubicka [Sun, 9 Nov 2003 02:37:54 +0000 (02:37 +0000)]
cgraphunit.c (cgraph_expand_function): Use cgraph_possibly_inlined_p.
* cgraphunit.c (cgraph_expand_function): Use
cgraph_possibly_inlined_p.
* tree-optimize.c (tree_rest_of_compilation): Do not kill saved tree.
* opts.c (common_handle_option): Do not set max-inline-insns.
* params.def: Update comments.
(PARAM_MAX_INLINE_INSNS): Kill.
* invoke.texi (max-inline-insns): Kill.
From-SVN: r73384
Jan Hubicka [Sun, 9 Nov 2003 01:52:59 +0000 (02:52 +0100)]
cgraphunit.c (cgraph_expand_function): Use cgraph_possibly_inlined_p.
* cgraphunit.c (cgraph_expand_function): Use
cgraph_possibly_inlined_p.
* tree-optimize.c (tree_rest_of_compilation): Do not kill saved tree.
* opts.c (common_handle_option): Do not set max-inline-insns.
* params.def: Update comments.
(PARAM_MAX_INLINE_INSNS): Kill.
* invoke.texi (max-inline-insns): Kill.
From-SVN: r73382
GCC Administrator [Sun, 9 Nov 2003 00:16:08 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r73380
Joseph Myers [Sat, 8 Nov 2003 22:42:00 +0000 (22:42 +0000)]
re PR c/3190 (-Wformat-y2k doesn't belong to -Wall - it's hard to avoid)
PR c/3190
PR c/8714
* c-format.c (set_Wformat): Do not enable -Wformat-y2k by default.
* invoke.texi: Update.
testsuite:
PR c/3190
PR c/8714
* gcc.dg/format/c90-strftime-1.c, gcc.dg/format/c90-strftime-2.c,
gcc.dg/format/c99-strftime-1.c, gcc.dg/format/ext3.c,
gcc.dg/format/no-y2k-1.c: Update.
From-SVN: r73378
Paolo Carlini [Sat, 8 Nov 2003 21:17:30 +0000 (21:17 +0000)]
re PR libstdc++/12967 (Resolution of DR 300 [WP] still unimplemented)
2003-11-08 Paolo Carlini <pcarlini@suse.de>
PR libstdc++/12967
* include/bits/list.tcc (merge): Implement resolution of
DR 300 [WP].
* docs/html/ext/howto.html: Add entry for DR 300; tweak entry
for DR 231.
* docs/html/ext/lwg-active.html, docs/html/ext/lwg-defects.html:
Import R27.
From-SVN: r73377
Tom Tromey [Sat, 8 Nov 2003 20:44:04 +0000 (20:44 +0000)]
re PR libgcj/12894 (META-INF entries should be incoluded as --resource entries when compiling jars)
PR java/12894:
* jcf-parse.c (classify_zip_file): Only skip MANIFEST.MF file.
From-SVN: r73376
John David Anglin [Sat, 8 Nov 2003 20:36:30 +0000 (20:36 +0000)]
re PR rtl-optimization/12630 (Various unrecognizable insns and ICEs at -O3)
PR optimization/12630
* pa.c (compute_movstrsi_length): Rename to compute_movstr_length.
Handle length computation 64-bit moves.
(compute_clrstr_length, output_block_clear): Implement block clear.
(output_block_move): Handle 64-bit moves.
(pa_adjust_insn_length): Use compute_movstr_length and
compute_clrstr_length.
* pa.md (movstrsi): Revise operand order and comments. Don't use
match_scratch.
(movstrsi_internal): Delete.
(movstrsi_prereload, movstrsi_postreload): New insns. Define splitter
and peephole2 patterns to transform prereload to postreload form.
(movstrdi, movstrdi_prereload, movstrdi_postreload, clrstrsi,
clrstrsi_prereload, clrstrsi_postreload, clrstrdi, clrstrdi_prereload,
clrstrdi_postreload): New patterns for 64-bit block move, and block
clear.
* pa-protos.h (output_block_clear): New prototype.
From-SVN: r73375
Andreas Tobler [Sat, 8 Nov 2003 19:03:58 +0000 (20:03 +0100)]
cls_9byte2.c: New test case.
2003-11-08 Andreas Tobler <a.tobler@schweiz.ch>
* testsuite/libffi.call/cls_9byte2.c: New test case.
* testsuite/libffi.call/cls_9byte1.c: Likewise.
* testsuite/libffi.call/cls_64byte.c: Likewise.
* testsuite/libffi.call/cls_20byte1.c: Likewise.
* testsuite/libffi.call/cls_19byte.c: Likewise.
* testsuite/libffi.call/cls_18byte.c: Likewise.
* testsuite/libffi.call/closure_fn4.c: Likewise.
* testsuite/libffi.call/closure_fn5.c: Likewise.
* testsuite/libffi.call/cls_schar.c: Likewise.
* testsuite/libffi.call/cls_sint.c: Likewise.
* testsuite/libffi.call/cls_sshort.c: Likewise.
* testsuite/libffi.call/nested_struct2.c: Likewise.
* testsuite/libffi.call/nested_struct3.c: Likewise.
From-SVN: r73372
Tom Tromey [Sat, 8 Nov 2003 18:56:51 +0000 (18:56 +0000)]
* libjava.jacks/jacks.xfail: Updated.
From-SVN: r73371
Andreas Schwab [Sat, 8 Nov 2003 18:49:00 +0000 (18:49 +0000)]
dbxout.c (current_file): Also wrap inside DBX_DEBUGGING_INFO || XCOFF_DEBUGGING_INFO.
* dbxout.c (current_file): Also wrap inside DBX_DEBUGGING_INFO ||
XCOFF_DEBUGGING_INFO.
From-SVN: r73370
Andreas Tobler [Sat, 8 Nov 2003 18:32:16 +0000 (19:32 +0100)]
cls_double.c: Do a check on the result.
2003-11-08 Andreas Tobler <a.tobler@schweiz.ch>
* testsuite/libffi.call/cls_double.c: Do a check on the result.
* testsuite/libffi.call/cls_uchar.c: Likewise.
* testsuite/libffi.call/cls_uint.c: Likewise.
* testsuite/libffi.call/cls_ulonglong.c: Likewise.
* testsuite/libffi.call/cls_ushort.c: Likewise.
* testsuite/libffi.call/return_sc.c: Cleanup whitespaces.
From-SVN: r73369
Kaveh R. Ghazi [Sat, 8 Nov 2003 15:08:51 +0000 (15:08 +0000)]
* dbxout.c (current_file): Wrap declaration in DBX_USE_BINCL.
From-SVN: r73363
Roger Sayle [Sat, 8 Nov 2003 14:43:30 +0000 (14:43 +0000)]
re PR target/10467 ([arm] [3.3/3.4 regression] ICE in pre_insert_copy_insn,)
PR optimization/10467
* gcc.dg/
20031108-1.c: New test case.
From-SVN: r73362
Jeff Sturm [Sat, 8 Nov 2003 13:43:12 +0000 (13:43 +0000)]
FirstThread.java (Klocale, Kcalendar): New fields.
* gnu/gcj/runtime/FirstThread.java (Klocale, Kcalendar):
New fields.
From-SVN: r73360
Jeff Sturm [Sat, 8 Nov 2003 13:41:20 +0000 (13:41 +0000)]
ByteArrayOutputStream.java (resize): Fix off-by-one error.
* java/io/ByteArrayOutputStream.java (resize):
Fix off-by-one error.
From-SVN: r73359
Geoffrey Keating [Sat, 8 Nov 2003 02:21:01 +0000 (02:21 +0000)]
rs6000.c (rs6000_legitimize_address): Remove redundant parens.
* config/rs6000/rs6000.c (rs6000_legitimize_address): Remove
redundant parens.
From-SVN: r73354
Geoffrey Keating [Sat, 8 Nov 2003 02:17:51 +0000 (02:17 +0000)]
cppfiles.c (pch_open_file): New parameter 'invalid_pch', set it.
2003-11-07 Geoffrey Keating <geoffk@apple.com>
* cppfiles.c (pch_open_file): New parameter 'invalid_pch', set it.
(find_file_in_dir): Likewise.
(_cpp_find_file): Print message if no header file is found
but an invalid PCH file was.
2003-11-07 Geoffrey Keating <geoffk@apple.com>
* gcc.dg/pch/warn-1.c: Allow for more helpful error message.
From-SVN: r73353
Joseph Myers [Sat, 8 Nov 2003 01:38:48 +0000 (01:38 +0000)]
c-typeck.c (pedantic_lvalue_warning): Deprecate compound expressions as lvalues.
* c-typeck.c (pedantic_lvalue_warning): Deprecate compound
expressions as lvalues.
(internal_build_compound_expr): Remove special handling for
non-pedantic case.
* doc/extend.texi: Document that all extended lvalues are now
deprecated.
testsuite:
* gcc.dg/compound-lvalue-1.c: New test.
* gcc.dg/c90-const-expr-2.c, gcc.dg/c99-const-expr-2.c: Remove
some XFAILs.
From-SVN: r73352
Bryce McKinlay [Sat, 8 Nov 2003 01:23:47 +0000 (01:23 +0000)]
* gnu/gcj/xlib/XAnyEvent.java (XAnyEvent): Make constructor public.
From-SVN: r73351
Jonathan Wakely [Sat, 8 Nov 2003 00:36:13 +0000 (00:36 +0000)]
vec.cc: Conform to C++STYLE.
2003-11-07 Jonathan Wakely <redi@gcc.gnu.org>
* libsupc++/vec.cc: Conform to C++STYLE.
From-SVN: r73350
GCC Administrator [Sat, 8 Nov 2003 00:16:08 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r73348
Geoffrey Keating [Fri, 7 Nov 2003 22:12:39 +0000 (22:12 +0000)]
re PR pch/11654 (incorrect stabs when using pre-compiled headers)
PR 11654
* dbxout.c (struct dbx_file): Do not save for PCH.
(current_file): Likewise.
(dbxout_init): Don't allocate struct dbx_file using GC.
(dbxout_start_source_file): Likewise.
From-SVN: r73346
Falk Hueffner [Fri, 7 Nov 2003 18:57:32 +0000 (19:57 +0100)]
elf.h, [...]: Convert to ISO C90.
* config/alpha/elf.h, config/alpha/unicosmk.h,
config/alpha/vms.h: Convert to ISO C90.
From-SVN: r73342
Nathanael Nerode [Fri, 7 Nov 2003 18:45:26 +0000 (18:45 +0000)]
* config/arm/pe.h: Convert to ISO C90.
From-SVN: r73341
Carlo Wood [Fri, 7 Nov 2003 17:59:23 +0000 (17:59 +0000)]
Ugh, copied the wrong date from previous test case.
From-SVN: r73340
Carlo Wood [Fri, 7 Nov 2003 17:55:27 +0000 (17:55 +0000)]
re PR libstdc++/12736 (Demangler bug)
PR libstdc++/12736
* bits/demangle.h (qualifier_list<Allocator>::decode_KVrA): Added.
(qualifier_list<Allocator>::decode_qualifiers): Collect concatenated
K, V, r and A qualifiers before processing them as a group.
* testsuite/demangle/abi_text/01.cc: Reordered CV-qualifiers.
* testsuite/demangle/regression/cw-16.cc: New.
From-SVN: r73339
J"orn Rennecke [Fri, 7 Nov 2003 17:44:57 +0000 (17:44 +0000)]
Fix libstdc++-v3 build failure on sh64-elf:
* sh-protos.h (sh_pch_valid_p): Declare.
* sh.c ("intl.h"): Include.
(TARGET_PCH_VALID_P): Override.
(sh_target_switches): New variable.
(target_switches): Define.
(sh_pch_valid_p): New function.
* sh.h (MODE_AFTER): Don't change mode unless TARGET_HITACHI.
From-SVN: r73338
Robert Millan [Fri, 7 Nov 2003 16:49:18 +0000 (16:49 +0000)]
configure.host: Add kfreebsd*-gnu and knetbsd*-gnu.
2003-11-07 Robert Millan <robertmh@gnu.org>
* configure.host: Add kfreebsd*-gnu and knetbsd*-gnu.
* crossconfig.m4: Likewise.
* configure: Regenerate.
From-SVN: r73337
Jan Hubicka [Fri, 7 Nov 2003 09:26:06 +0000 (10:26 +0100)]
i386.c (x86_64_sign_extended_value): Return false from tls variables.
* i386.c (x86_64_sign_extended_value): Return false from tls variables.
(x86_64_zero_extended_value): likewise.
From-SVN: r73334
Richard Sandiford [Fri, 7 Nov 2003 08:14:32 +0000 (08:14 +0000)]
mips.md (loadgp): Take $25 as a second operand.
* config/mips/mips.md (loadgp): Take $25 as a second operand.
* config/mips/mips.c (mips_expand_prologue): Modify accordingly.
From-SVN: r73330
Carlo Wood [Fri, 7 Nov 2003 03:53:44 +0000 (03:53 +0000)]
demangle.h (qualifier_list<Allocator>::decode_qualifiers(string_type&, string_type&, bool member_function_pointer_qualifiers): Always seperate the '[' of an array type with a space from what is left of it...
* include/bits/demangle.h
(qualifier_list<Allocator>::decode_qualifiers(string_type&,
string_type&, bool member_function_pointer_qualifiers):
Always seperate the '[' of an array type with a space from
what is left of it, except when that is the closing bracket
of another array dimension.
From-SVN: r73328
Carlo Wood [Fri, 7 Nov 2003 03:49:43 +0000 (03:49 +0000)]
demangle.h (qualifier_list<Allocator>::decode_qualifiers(string_type&, string_type&, bool) const): Made const.
* include/bits/demangle.h
(qualifier_list<Allocator>::decode_qualifiers(string_type&,
string_type&, bool) const): Made const.
(qualifier_list<Allocator>::M_printing_suppressed): Added mutable.
(_GLIBCXX_DEMANGLER_DOUT_ENTERING3, _GLIBCXX_DEMANGLER_RETURN3,
std::ostream& operator<<(std::ostream&, qualifier const&),
std::ostream& operator<<(std::ostream&, qualifier_list const&),
qualifier_list<Allocator>::decode_qualifiers(string_type&,
string_type&, bool) const,
session<Allocator>::decode_type_with_postfix(string_type&,
string_type&, qualifier_list<Allocator>*))
Added and/or changed debug-only hooks and code.
From-SVN: r73327
Mohan Embar [Fri, 7 Nov 2003 03:16:49 +0000 (03:16 +0000)]
re PR libgcj/12231 ([win32] Console applications spawned via Runtime.exec( ) in a GUI application flash console window)
PR libgcj/12231
* java/lang/Win32Process.java (hasExited) Changed from
public to private.
(startProcess): Likewise.
(cleanup): Likewise.
* java/lang/natWin32Process.cc (cleanup) Don't close
input, output and error streams.
(ChildProcessPipe): New helper class.
(startProcess): Refactored to use ChildProcessPipe.
Use CREATE_NO_WINDOW when launching child process.
From-SVN: r73326
Mohan Embar [Fri, 7 Nov 2003 03:13:56 +0000 (03:13 +0000)]
win32.h (_Jv_platform_close_on_exec): Changed signature and declared extern.
* include/win32.h (_Jv_platform_close_on_exec): Changed
signature and declared extern.
* win32.cc (_Jv_platform_close_on_exec): Implemented.
* gnu/java/net/natPlainDatagramSocketImplWin32.cc
(create): Use new signature of _Jv_platform_close_on_exec.
* gnu/java/net/natPlainSocketImplWin32.cc
(create): Eliminated a few typecasts
Use new signature of _Jv_platform_close_on_exec.
(accept): Eliminated a few typecasts
Use new signature of _Jv_platform_close_on_exec.
* java/io/natFileDescriptorWin32.cc (open): Use
_Jv_platform_close_on_exec.
From-SVN: r73325
GCC Administrator [Fri, 7 Nov 2003 00:16:07 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r73323
Matt Austern [Thu, 6 Nov 2003 22:08:26 +0000 (22:08 +0000)]
c-common.c (handle_visibility_attribute): Set DECL_VISIBILITY field instead of hanging an attribute object off the decl.
* c-common.c (handle_visibility_attribute): Set DECL_VISIBILITY
field instead of hanging an attribute object off the decl.
* tree.h (DECL_VISIBLITY): New accessor macro for
symbol_visibility field in struct tree_decl.
(enum symbol_visibility): Move definition to before tree_decl.
(struct tree_decl): Define new two-bit field, symbol_visibility.
(decl_visibility): Remove declaration.
* varasm.c (maybe_assemble_visibility): Use DECL_VISIBILITY
instead of decl_visibility.
(default_binds_local_p_1): Use DECL_VISIBILITY instead of
decl_visibility.
(decl_visibility): Remove.
* cp/decl.c (duplicate_decls): copy DECL_VISIBILITY field.
* cp/method.c (use_thunk): give thunk same visibility as function.
* cp/optimize.c (maybe_clone_body): copy DECL_VISIBILITY field.
From-SVN: r73320
Ulrich Weigand [Thu, 6 Nov 2003 22:05:38 +0000 (22:05 +0000)]
s390.c (s390_emit_epilogue): Recognize more cases where register 14 will be saved.
* config/s390/s390.c (s390_emit_epilogue): Recognize more cases
where register 14 will be saved.
From-SVN: r73319
Geoffrey Keating [Thu, 6 Nov 2003 21:52:36 +0000 (21:52 +0000)]
rs6000.h (USE_FP_FOR_ARG_P): Move to rs6000.c.
* config/rs6000/rs6000.h (USE_FP_FOR_ARG_P): Move to rs6000.c.
(USE_ALTIVEC_FOR_ARG_P): Likewise.
* config/rs6000/rs6000.c (USE_FP_FOR_ARG_P): Move from rs6000.h.
Take a pointer as the CUM parameter. Update callers.
(USE_ALTIVEC_FOR_ARG_P): Likewise. Also correct for Darwin/AIX
32-bit ABIs.
(function_arg_advance): Use USE_ALTIVEC_FOR_ARG_P. Correct case
of vector parameters as named arguments of stdarg function.
(function_arg): Likewise.
* config/rs6000/darwin.h (ASM_SPEC): Use -force_cpusubtype_ALL when
-maltivec is specified, not the non-existent -faltivec.
From-SVN: r73317
Ulrich Weigand [Thu, 6 Nov 2003 21:35:10 +0000 (21:35 +0000)]
s390-protos.h (s390_function_value): Declare.
* config/s390/s390-protos.h (s390_function_value): Declare.
* config/s390/s390.c (TARGET_RETURN_IN_MEMORY): Define.
(s390_return_in_memory): New function.
(s390_function_value): New function.
(s390_function_arg_float): Return false for all arguments larger
than 8 bytes.
(s390_function_arg_pass_by_reference): Likewise. Return true for
all vector arguments.
(s390_function_arg_integer): New function.
(s390_function_arg_advance): Call it. Add sanity checks.
(s390_function_arg): Likewise.
* config/s390/s390.h (FUNCTION_VALUE): Call s390_function_value.
(LIBCALL_VALUE): Likewise.
(RET_REG): Remove.
(RETURN_IN_MEMORY): Remove.
From-SVN: r73314
Andreas Tobler [Thu, 6 Nov 2003 15:47:41 +0000 (16:47 +0100)]
prep_cif.c (ffi_prep_cif): Move the validity check after the initialization.
2003-11-06 Andreas Tobler <a.tobler@schweiz.ch>
* src/prep_cif.c (ffi_prep_cif): Move the validity check after
the initialization.
From-SVN: r73309
Andrew Haley [Thu, 6 Nov 2003 15:19:49 +0000 (15:19 +0000)]
expr.c (java_stack_swap): Make sure destination stack slots are of the correct type.
2003-11-06 Andrew Haley <aph@redhat.com>
* expr.c (java_stack_swap): Make sure destination stack slots are
of the correct type.
From-SVN: r73306
Richard Sandiford [Thu, 6 Nov 2003 11:22:03 +0000 (11:22 +0000)]
mips-protos.h (mips_initial_elimination_offset): Change return type to HOST_WIDE_INT.
* config/mips/mips-protos.h (mips_initial_elimination_offset): Change
return type to HOST_WIDE_INT.
* config/mips/mips.c (mips_frame_info): Give sizes type HOST_WIDE_INT.
Make initialized a bool. Make register masks unsigned ints.
(compute_frame_size): Make same mask change here. Use HOST_WIDE_INT
where appropriate.
(mips_initial_elimination_offset): Return a HOST_WIDE_INT.
(mips_output_function_prologue): Print sizes as HOST_WIDE_INTs.
From-SVN: r73303
Richard Sandiford [Thu, 6 Nov 2003 10:54:08 +0000 (10:54 +0000)]
frv.c (frv_initial_elimination_offset): Remove bogus negation.
* config/frv/frv.c (frv_initial_elimination_offset): Remove bogus
negation.
From-SVN: r73302
Richard Sandiford [Thu, 6 Nov 2003 10:53:04 +0000 (10:53 +0000)]
* config/frv/frv.h (ASM_OUTPUT_ALIGN_WITH_NOP): Define.
From-SVN: r73301
Momchil Velikov [Thu, 6 Nov 2003 10:31:58 +0000 (12:31 +0200)]
mips.c (override_options): Set MASK_SOFT_FLOAT for VR4111 too.
* config/mips/mips.c (override_options): Set MASK_SOFT_FLOAT
for VR4111 too.
From-SVN: r73300
Momchil Velikov [Thu, 6 Nov 2003 10:29:16 +0000 (10:29 +0000)]
*** empty log message ***
From-SVN: r73299
Jan Hubicka [Thu, 6 Nov 2003 09:00:33 +0000 (10:00 +0100)]
builtins.c (simplify_builtin_strrchr, [...]): Add missing casts.
* builtins.c (simplify_builtin_strrchr, simplify_builtin_strpbrk): Add
missing casts.
From-SVN: r73296
Zack Weinberg [Thu, 6 Nov 2003 08:38:52 +0000 (08:38 +0000)]
genmodes.c: Change the word "bitsize" to "precision" throughout.
* genmodes.c: Change the word "bitsize" to "precision" throughout.
* machmode.def: Likewise.
* machmode.h (GET_MODE_SIZE): Cast value to unsigned short.
(GET_MODE_BITSIZE): Define as GET_MODE_SIZE * BITS_PER_UNIT.
(GET_MODE_PRECISION): New macro.
(mode_bitsize): Renamed mode_precision.
* stor-layout.c (mode_for_size, smallest_mode_for_size):
Use GET_MODE_PRECISION; clarify comments.
ada:
* misc.c (fp_prec_to_size, fp_size_to_prec): Use GET_MODE_PRECISION
and update for changed meaning of GET_MODE_BITSIZE.
From-SVN: r73295
GCC Administrator [Thu, 6 Nov 2003 00:16:07 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r73289
Joseph Myers [Wed, 5 Nov 2003 22:26:58 +0000 (22:26 +0000)]
install-old.texi: Remove old documentation of building cross-compilers.
* doc/install-old.texi: Remove old documentation of building
cross-compilers.
* doc/install.texi: Move some of it to here.
From-SVN: r73283
Andrew Pinski [Wed, 5 Nov 2003 21:24:31 +0000 (13:24 -0800)]
Add PR preprocessor/12891 to Per's last patch.
From-SVN: r73282
Per Bothner [Wed, 5 Nov 2003 21:09:04 +0000 (21:09 +0000)]
c-opts.c (finish_options): Set include_cursor to disable premature calls to push_command_line_include from...
* c-opts.c (finish_options): Set include_cursor to disable premature
calls to push_command_line_include from cpp_scan_nooutput.
Fixes bug reported by DJ Delorie.
From-SVN: r73281
Eric Botcazou [Wed, 5 Nov 2003 20:15:02 +0000 (21:15 +0100)]
20031023-4.c: XFAIL on SPARC64
* gcc.c-torture/compile/
20031023-4.c: XFAIL on SPARC64
* gcc.c-torture/compile/simd-5.c: XFAIL on SPARC64 at -O0 and -O1.
* gcc.c-torture/execute/simd-4.x: New file. XFAIL on SPARC at -O0.
* gcc.c-torture/execute/va-arg-25.x: New file. XFAIL on SPARC.
* gcc.dg/uninit-C.c: XFAIL on non 64-bit Solaris versions.
From-SVN: r73280
Andrew Pinski [Wed, 5 Nov 2003 19:20:48 +0000 (11:20 -0800)]
Add PR optimization/10080 to Zdenek Dvorak's last commit.
From-SVN: r73279
Geoffrey Keating [Wed, 5 Nov 2003 18:24:53 +0000 (18:24 +0000)]
rs6000.c (setup_incoming_varargs): Remove code supporting old-style varargs.
* config/rs6000/rs6000.c (setup_incoming_varargs): Remove
code supporting old-style varargs.
From-SVN: r73278
Geoffrey Keating [Wed, 5 Nov 2003 18:21:30 +0000 (18:21 +0000)]
rs6000.c (rs6000_machopic_legitimize_pic_address): Use an intermediate register for better optimisation.
* config/rs6000/rs6000.c (rs6000_machopic_legitimize_pic_address): Use
an intermediate register for better optimisation.
From-SVN: r73277
Geoffrey Keating [Wed, 5 Nov 2003 18:17:20 +0000 (18:17 +0000)]
rs6000.c (compute_vrsave_mask): Correct off-by-one error.
* config/rs6000/rs6000.c (compute_vrsave_mask): Correct off-by-one
error.
From-SVN: r73276
Zdenek Dvorak [Wed, 5 Nov 2003 18:10:44 +0000 (19:10 +0100)]
cfgloopanal.c (variable_initial_value, [...]): Record the fact that initial value is extended from inner mode.
* cfgloopanal.c (variable_initial_value, variable_initial_values,
simple_loop_exit_p): Record the fact that initial value is extended
from inner mode.
(count_strange_loop_iterations, count_loop_iterations): Handle
ivs that iterate in a narrower mode. Fix handling of overflows.
Improve handling of NE conditions.
(inverse, fits_in_mode_p): New static functions.
(simple_increment): Detect variables that iterate in a narrower mode.
* cfgloop.h (struct loop_desc): Fields inner_mode and extend added.
From-SVN: r73275
Geoffrey Keating [Wed, 5 Nov 2003 18:06:22 +0000 (18:06 +0000)]
darwin.h (SUBTARGET_OVERRIDE_OPTIONS): Darwin needs VRSAVE.
* config/rs6000/darwin.h (SUBTARGET_OVERRIDE_OPTIONS): Darwin
needs VRSAVE.
From-SVN: r73274
Joseph Myers [Wed, 5 Nov 2003 17:53:04 +0000 (17:53 +0000)]
c-typeck.c (pedantic_lvalue_warning): Deprecate use of conditional expressions as lvalues.
* c-typeck.c (pedantic_lvalue_warning): Deprecate use of
conditional expressions as lvalues.
testsuite:
* gcc.dg/cond-lvalue-1.c: New test.
From-SVN: r73273
Andreas Jaeger [Wed, 5 Nov 2003 17:31:17 +0000 (18:31 +0100)]
Fix date.
From-SVN: r73272
Gernot Hillier [Wed, 5 Nov 2003 17:30:50 +0000 (18:30 +0100)]
asm1.C: Enable for e.g.
2003-11-03 Gernot Hillier <gernot.hillier@siemens.com>
* g++.old-deja/g++.pt/asm1.C: Enable for e.g. x86_64-*-linux-gnu.
From-SVN: r73271
Kriang Lerdsuwanakij [Wed, 5 Nov 2003 14:37:57 +0000 (14:37 +0000)]
re PR c++/11616 (Error message "instantiated from here" gives wrong location)
PR c++/11616
* pt.c (instantiate_pending_templates): Save and restore
input_location.
* g++.dg/template/instantiate5.C: New test.
From-SVN: r73269
Kriang Lerdsuwanakij [Wed, 5 Nov 2003 13:56:01 +0000 (13:56 +0000)]
re PR c++/2019 (Wrong line number warning listing the previous declaration of a befriended function)
PR c++/2019
* friend.c (add_friend): Don't display previous declaration in
case of duplicate friend warning.
From-SVN: r73268
Arnaud Charlet [Wed, 5 Nov 2003 13:48:42 +0000 (14:48 +0100)]
Resync Ada changes.
From-SVN: r73267
Kazu Hirata [Wed, 5 Nov 2003 05:17:16 +0000 (05:17 +0000)]
tsystem.h: Add the prototype of strlen.
* tsystem.h: Add the prototype of strlen.
* unwind-pe.h (read_encoded_value_with_base): Add an
appropriate cast to handle a case where the pointer size is
smaller than sizeof (int).
From-SVN: r73265
Jeffrey D. Oldham [Wed, 5 Nov 2003 04:38:44 +0000 (04:38 +0000)]
ChangeLog: Remove extraneous '>>>>'.
2003-11-04 Jeffrey D. Oldham <oldham@codesourcery.com>
* ChangeLog: Remove extraneous '>>>>'.
From-SVN: r73264
Jeffrey D. Oldham [Wed, 5 Nov 2003 04:37:03 +0000 (04:37 +0000)]
vec.cc (__cxa_vec_delete2): If given a NULL pointer, immediately return.
2003-11-04 Jeffrey D. Oldham <oldham@codesourcery.com>
* libsupc++/vec.cc (__cxa_vec_delete2): If given a NULL pointer,
immediately return. This reflects a C++ ABI change 2003 Nov 03.
(__cxa_vec_delete3): Likewise.
From-SVN: r73263
GCC Administrator [Wed, 5 Nov 2003 00:16:07 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r73261
Richard Sandiford [Tue, 4 Nov 2003 22:13:32 +0000 (22:13 +0000)]
mips-protos.h (mips_global_pic_constant_p): Delete.
* config/mips/mips-protos.h (mips_global_pic_constant_p): Delete.
(mips_delegitimize_address): Delete.
(mips_gotoff_global, mips_load_got_page): Declare.
(mips_load_got_global, mips_rewrite_small_data): Declare.
* config/mips/mips.h (FIND_BASE_TERM): Remove definition.
(DANGEROUS_FOR_LA25_P): Use global_got_operand.
(PREDICATE_CODES): Add global_got_operand, local_got_operand and
small_data_pattern. Remove CONST from const_arith_operand's entry.
* config/mips/mips.c (UNSPEC_ADDRESS_P, CONST_GP_P): New macros.
(UNSPEC_ADDRESS, UNSPEC_ADDRESS_TYPE): Likewise.
(mips_constant_type): Delete.
(mips_symbol_type): Add SYMBOL_GOTOFF_PAGE, SYMBOL_GOTOFF_GLOBAL,
SYMBOL_GOTOFF_CALL and SYMBOL_GOTOFF_LOADGP.
(NUM_SYMBOL_TYPES): New macro.
(mips_address_type): Remove ADDRESS_INVALID.
(machine_function): Add has_gp_insn_p.
(mips_constant_info): Delete.
(mips_address_info): Add the address type as an extra field. Replace
the c field with symbol_type.
(mips_split_p, mips_lo_relocs, mips_hi_relocs): New arrays.
(TARGET_DELEGITIMIZE_ADDRESS): Remove definition.
(mips_reloc_offset_ok_p, mips_classify_constant): Delete.
(mips_split_const, mips_symbolic_constant_p): New functions.
(mips_symbolic_address_p): Take the symbol type and mode as arguments.
(mips_classify_address): Return true if the address is valid, storing
its type in INFO. Use mips_symbolic_constant_p. Use mips_lo_relocs[]
to test whether a LO_SUM address is allowed.
(mips_symbol_insns): Return 0 for general mips16 symbols.
Reorder SYMBOL_GOT_GLOBAL case to match mips_symbol_type definition.
Handle the new SYMBOL_GOTOFF_*s.
(mips_address_insns): Update call to mips_classify_address.
(mips_const_insns): Be more fussy about HIGH constants. Remove use
of mips_classify_constant. Be more accurate about CONSTs.
(mips_global_pic_constant_p): Delete.
(const_arith_operand): Only accept CONST_INTs.
(call_insn_operand): Remove call to mips_classify_constant.
Let mips_symbolic_constant_p check for invalid offsets.
(move_operand): Check for general_operands first. Only accept symbolic
constants if they satisfy mips_symbolic_constant_p and cannot be split.
(symbolic_constant): Use mips_symbolic_constant_p.
(global_got_operand, local_got_operand): New predicates.
(stack_operand): Update call to mips_classify_address.
(mips_legitimate_address_p): Likewise.
(mips_reloc, mips_lui_reloc): Delete.
(mips_force_temporary): Only use the given temporary if no_new_pseudos.
Use emit_move_insn.
(mips_split_symbol, mips_unspec_address): New functions.
(mips_unspec_offset_high): New function.
(mips_load_got): Replace reloc argument with a symbol_type.
Use mips_unspec_address to create the address and put it in a
LO_SUM with the base register.
(mips_load_got16, mips_load_got32): Delete.
(mips_emit_high, mips_legitimize_symbol): Delete.
(mips_gotoff_global): New function.
(mips_load_got_page, mips_load_got_global): New functions.
(mips_legitimize_symbol): Inline handling of LO_SUM splits.
(mips_legitimize_const_move): Likewise. Remove HIGH handling.
Inline code to handle constants plus invalid offsets. Use
mips_split_symbol to legitimize constant pool addresses.
(mips_delegitimize_address): Delete.
(mips_rtx_costs): Give legitimate symbolic constants and CONST_DOUBLEs
a cost of 1 insn. Give the rest a cost of CONSTANT_POOL_ADDRESS.
(mips_subword): Pass memrefs through mips_rewrite_small_data.
(mips_output_move): Remove use of mips_classify_constant.
(mips_expand_call): Use mips_unspec_offset_high to calculate the
high part of the GOT address for calls to global functions.
(override_options): Initialize mips_split_p[], mips_lo_relocs[]
and mips_hi_relocs[].
(print_operand): Use print_operand_reloc to handle '%h' and '%R'.
Remove use of mips_classify_constant.
(mips_reloc_string): Delete.
(print_operand_reloc): New function.
(print_operand_address): Update call to mips_classify_address.
(mips_rewrite_small_data_p, small_data_pattern_1): New functions.
(small_data_pattern): New predicate.
(mips_rewrite_small_data_1, mips_rewrite_small_data): New functions.
(mips_function_has_gp_insn): New function.
(mips_global_pointer): Use it.
(mips_gp_insn): Delete.
(mips_expand_prologue): When compiling for n32/n64 abicalls, use a
single loadgp pattern to initialize $gp. Pass it the offset of _gp
from the start of the current function.
(mips16_gp_pseudo_reg): Revert last patch.
* config/mips/mips.md (RELOC_*): Delete.
(UNSPEC_LOADGP, UNSPEC_FIRST_ADDRESS): New constants.
(got): New insn attribute.
(type): Set to "load" if got == load.
(length): Set to 4 if got == load, 8 if got == xgot_high.
(lui[sd]i): Delete.
(*xgot_hi[sd]i, *xgot_lo[sd]i): New patterns.
(*got_disp[sd]i, *got_page[sd]i): Likewise.
(*low[sd]i): Change constraints to "d". Add a new define_split to
rewrite small data constants into LO_SUMs.
(loadgp): New insns.
From-SVN: r73259
Rainer Orth [Tue, 4 Nov 2003 20:48:50 +0000 (20:48 +0000)]
* Makefile.in: Remove many duplicate variables.
From-SVN: r73258
Rainer Orth [Tue, 4 Nov 2003 20:12:48 +0000 (20:12 +0000)]
* config/mips/_tilib.c: Use _ABI* in _MIPS_SIM tests.
From-SVN: r73257
DJ Delorie [Tue, 4 Nov 2003 18:22:37 +0000 (13:22 -0500)]
v850.md (mulhisi3): Expand the const_int case separately to avoid trying to sign extend the const.
* config/v850/v850.md (mulhisi3): Expand the const_int case
separately to avoid trying to sign extend the const.
From-SVN: r73256
Arnaud Charlet [Tue, 4 Nov 2003 12:56:59 +0000 (13:56 +0100)]
Remove extra ^M characters introduced in previous commit.
From-SVN: r73251
Arnaud Charlet [Tue, 4 Nov 2003 12:51:47 +0000 (13:51 +0100)]
re PR ada/12806 (Program_Error sinput.adb:397)
* sysdep.c: Problem discovered during IA64 VMS port.
[VMS] #include <unixio.h> to get proper prototypes.
* adaint.c:
Issues discovered/problems fixed during IA64 VMS port.
[VMS] #define _POSIX_EXIT for proper semantics.
[VMS] #include <unixio.h> for proper prototypes.
[VMS] (fork): #define IA64 version.
(__gnat_os_exit): Remove unnecessary VMS specific code.
* 3vtrasym.adb: Minor reformatting
Use terminology encoded/decoded name, rather than C++ specific notion
of mangling (this is the terminology used throughout GNAT).
* einfo.h: Regenerated
* einfo.ads, einfo.adb: Add new flag Is_Thread_Body
* exp_ch6.adb:
(Expand_N_Subprogram_Body): Handle expansion of thread body procedure
* par-prag.adb: Add dummy entry for Thread_Body pragma
* rtsfind.ads:
Add entries for System.Threads entities for thread body processing
* sem_attr.adb:
(Analyze_Pragma, Access attributes): Check these are not applied to a
thread body, since this is not permitted
* sem_prag.adb: Add processing for Thread_Body pragma.
Minor comment fix.
* sem_res.adb:
(Resolve_Call): Check for incorrect attempt to call a thread body
procedure with a direct call.
* snames.ads, snames.adb: Add entry for Thread_Body pragma
Add names associated with thread body expansion
* snames.h: Add entry for Thread_Body pragma
* s-thread.adb: Add entries for thread body processing
These are dummy bodies so far
* s-thread.ads: Add documentation on thread body handling.
Add entries for thread body processing.
* sem_ch10.adb:
(Build_Limited_Views): Return after posting an error in case of limited
with_clause on subprograms, generics, instances or generic renamings
(Install_Limited_Withed_Unit): Do nothing in case of limited with_clause
on subprograms, generics, instances or generic renamings
* raise.c (setup_to_install): Correct mistake in last revision; two
arguments out of order.
* trans.c, cuintp.c, argv.c, aux-io.c, cal.c, errno.c, exit.c,
gnatbl.c, init.c, stringt.h, utils.c, utils2.c: Update copyright
notice, missed in previous change.
Remove trailing blanks and other style errors introduced in previous
change.
* decl.c (gnat_to_gnu_field): Adjust the conditions under which we get
rid of the wrapper for a LJM type, ensuring we don't do that if the
field is addressable. This avoids potential low level type view
mismatches later on, for instance in a by-reference argument passing
process.
* decl.c (gnat_to_gnu_field): No longer check for BLKmode being
aligned at byte boundary.
* decl.c (components_to_record): Do not delete the empty variants from
the end of the union type.
* exp_ch4.adb (Expand_N_Op_Eq): Use base type when locating primitive
operation for a derived type, an explicit declaration may use a local
subtype of Boolean.
* make.adb (Gnatmake): Allow main sources on the command line with a
library project when it is only for compilation (no binding or
linking).
Part of PR ada/12806:
* ada-tree.h (TYPE_DIGITS_VALUE, SET_TYPE_DIGITS_VALUE): Save count as
tree, not integer.
* decl.c:
(gnat_to_gnu_entity, case E_Floating_Point_Type): Save count as tree,
not integer.
* targtyps.c, decl.c, misc.c,
gigi.h (fp_prec_to_size, fp_size_to_prec): Temporary
routines to work around change in FP sizing semantics in GCC.
* utils.c:
(build_vms_descriptor): TYPE_DIGITS_VALUE is tree, not integer.
* gigi.h: (enumerate_modes): New function.
* Make-lang.in: (ada/misc.o): Add real.h.
* misc.c: (enumerate_modes): New function.
From-SVN: r73250
Richard Sandiford [Tue, 4 Nov 2003 09:14:18 +0000 (09:14 +0000)]
emit-rtl.c (copy_rtx_if_shared): Don't allow MEMs with constant addresses to be shared.
* emit-rtl.c (copy_rtx_if_shared): Don't allow MEMs with constant
addresses to be shared.
(force_const_mem): Return a copy of the pool entry.
From-SVN: r73248
Andreas Jaeger [Tue, 4 Nov 2003 05:34:14 +0000 (06:34 +0100)]
Makefile.in (GCC_CFLAGS): Remove @WERROR@ again.
* Makefile.in (GCC_CFLAGS): Remove @WERROR@ again.
Change previous ChangeLog entry to point to me as asked for by Kaveh.
From-SVN: r73246
Petur Runolfsson [Tue, 4 Nov 2003 05:27:41 +0000 (05:27 +0000)]
re PR libstdc++/12790 (basic_filebuf doesn't handle stateful encodings)
2003-11-03 Petur Runolfsson <peturr02@ru.is>
PR libstdc++/12790
* include/bits/fstream.tcc: Delete _M_last_overflowed.
(basic_filebuf::basic_filebuf): Initialize _M_state_last.
(basic_filebuf::open, basic_filebuf::close): Assign
_M_state_beg to _M_state_cur and _M_state_last.
(basic_filebuf::close): Call _M_terminate_output to handle
unshift and flushing.
(basic_filebuf::underflow): Assign _M_state_last, throw
exception instead of calling abort when codecvt::max_length()
is bad.
(basic_filebuf::seekoff): Use _M_state_last when calling
codecvt::length(), pass correct state to _M_seek.
(basic_filebuf::seekpos): Pass __pos.state() to _M_seek.
(basic_filebuf::_M_seek): Add __state_type parameter,
set _M_state_cur correctly, store the resulting state in
the return value and use _M_terminate_output to handle
flushing and unshift.
(basic_filebuf::_M_terminate_output): Flush contents of
output buffer, if any, then call codecvt::unshift as
needed and output the result.
(basic_filebuf::sync): Move here, don't modify _M_writing
or _M_reading.
* include/std/std_fstream.h
(basic_filebuf::_M_state_last): Declare it.
(basic_filebuf::_M_last_overflowed): Delete.
(basic_filebuf::_M_seek): Add __state_type parameter.
(basic_filebuf::sync): Declare only.
(basic_filebuf::_M_output_unshift): Delete.
(basic_filebuf::_M_terminate_output): Declare it.
* testsuite/testsuite_character.h:
Define character class and state class plus char_traits and
codecvt specializations for same for testing support for
stateful encodings.
* testsuite/27_io/basic_filebuf/close/12790-1.cc,
* testsuite/27_io/basic_filebuf/close/char/12790-1.cc,
* testsuite/27_io/basic_filebuf/close/char/12790-2.cc,
* testsuite/27_io/basic_filebuf/close/char/12790-3.cc,
* testsuite/27_io/basic_filebuf/close/char/12790-4.cc,
* testsuite/27_io/basic_filebuf/close/wchar_t/12790-1.cc,
* testsuite/27_io/basic_filebuf/close/wchar_t/12790-2.cc,
* testsuite/27_io/basic_filebuf/close/wchar_t/12790-3.cc,
* testsuite/27_io/basic_filebuf/close/wchar_t/12790-4.cc,
* testsuite/27_io/basic_filebuf/open/12790-1.cc,
* testsuite/27_io/basic_filebuf/seekoff/12790-1.cc,
* testsuite/27_io/basic_filebuf/seekoff/12790-2.cc,
* testsuite/27_io/basic_filebuf/seekoff/12790-3.cc,
* testsuite/27_io/basic_filebuf/seekoff/12790-4.cc,
* testsuite/27_io/basic_filebuf/seekoff/char/12790-1.cc,
* testsuite/27_io/basic_filebuf/seekoff/char/12790-2.cc,
* testsuite/27_io/basic_filebuf/seekoff/char/12790-3.cc,
* testsuite/27_io/basic_filebuf/seekoff/char/12790-4.cc,
* testsuite/27_io/basic_filebuf/seekoff/wchar_t/12790-1.cc,
* testsuite/27_io/basic_filebuf/seekoff/wchar_t/12790-2.cc,
* testsuite/27_io/basic_filebuf/seekoff/wchar_t/12790-3.cc,
* testsuite/27_io/basic_filebuf/seekoff/wchar_t/12790-4.cc,
* testsuite/27_io/basic_filebuf/seekoff/wchar_t/3.cc,
* testsuite/27_io/basic_filebuf/seekpos/12790-1.cc,
* testsuite/27_io/basic_filebuf/seekpos/12790-2.cc,
* testsuite/27_io/basic_filebuf/seekpos/12790-3.cc,
* testsuite/27_io/basic_filebuf/seekpos/char/12790-1.cc,
* testsuite/27_io/basic_filebuf/seekpos/char/12790-2.cc,
* testsuite/27_io/basic_filebuf/seekpos/char/12790-3.cc,
* testsuite/27_io/basic_filebuf/seekpos/char/12790-4.cc,
* testsuite/27_io/basic_filebuf/seekpos/wchar_t/1.cc,
* testsuite/27_io/basic_filebuf/seekpos/wchar_t/12790-1.cc,
* testsuite/27_io/basic_filebuf/seekpos/wchar_t/12790-2.cc,
* testsuite/27_io/basic_filebuf/seekpos/wchar_t/12790-3.cc,
* testsuite/27_io/basic_filebuf/seekpos/wchar_t/12790-4.cc,
* testsuite/27_io/basic_filebuf/sync/char/1.cc,
* testsuite/27_io/basic_filebuf/sync/wchar_t/1.cc:
New tests.
* testsuite/27_io/basic_filebuf/3.cc,
* testsuite/27_io/basic_filebuf/seekoff/10132-2.cc,
* testsuite/27_io/basic_filebuf/seekpos/10132-3.cc,
* testsuite/27_io/basic_fstream/3.cc,
* testsuite/27_io/basic_ifstream/3.cc,
* testsuite/27_io/basic_ofstream/3.cc:
Use streamoff as off_type and fpos<state_type> as pos_type.
* testsuite/27_io/basic_filebuf/seekpos/char/1-io.cc,
* testsuite/27_io/basic_filebuf/seekpos/char/1-out.cc:
Check that sync does *not* set _M_writing to false.
From-SVN: r73245
Bryce McKinlay [Tue, 4 Nov 2003 05:27:10 +0000 (05:27 +0000)]
natClass.cc (newInstance): Throw InstantiationException if class has no null-argument constructor.
* java/lang/natClass.cc (newInstance): Throw InstantiationException
if class has no null-argument constructor.
From-SVN: r73244
Anthony Green [Tue, 4 Nov 2003 05:02:40 +0000 (05:02 +0000)]
stubs.c (sqrtf, sqrtl): Reorder so they appear before they're used.
2003-11-01 Anthony Green <green@redhat.com>
* libmath/stubs.c (sqrtf, sqrtl): Reorder so they appear before
they're used.
From-SVN: r73243
Benjamin Kosnik [Tue, 4 Nov 2003 02:14:05 +0000 (02:14 +0000)]
locale_facets.h (time_get::_M_extract_name): Add ctype argument.
2003-11-03 Benjamin Kosnik <bkoz@redhat.com>
* include/bits/locale_facets.h (time_get::_M_extract_name): Add
ctype argument.
* include/bits/locale_facets.tcc: Same, use it to allow
capitalized names.
* include/bits/fstream.tcc: Spacing tweak.
* include/bits/istream.tcc: Same.
* include/bits/ostream.tcc: Same.
From-SVN: r73242
Benjamin Kosnik [Tue, 4 Nov 2003 02:06:59 +0000 (02:06 +0000)]
locale_facets.h (time_get::_M_extract_name): Add ctype argument.
2003-11-03 Benjamin Kosnik <bkoz@redhat.com>
* include/bits/locale_facets.h (time_get::_M_extract_name): Add
ctype argument.
* include/bits/locale_facets.tcc: Same, use it to allow
capitalized names.
* include/bits/fstream.tcc: Spacing tweak.
* include/bits/istream.tcc: Same.
* include/bits/ostream.tcc: Same.
From-SVN: r73241
Jeff Sturm [Tue, 4 Nov 2003 01:51:15 +0000 (01:51 +0000)]
* libjava.compile/InnerExcept.java: New File.
From-SVN: r73240
Kelley Cook [Tue, 4 Nov 2003 00:25:49 +0000 (00:25 +0000)]
Makefile.in (cpp.dvi): New target split from cpp.info.
2003-11-03 Kelley Cook <kcook@gcc.gnu.org>
* Makefile.in (cpp.dvi): New target split from cpp.info.
(gcc.dvi): New target split from gcc.info.
(gccint.dvi): New target split from gccint.info.
(cppinternals.dvi): New target split from cppinternals.info
(gccinstall.info): New specific rule.
(gccinstall.dvi): Likewise.
(dvi): Move targets to $(docobjdir).
($(docobjdir)/%.dvi): New implicit rule.
ada/
2003-11-03 Kelley Cook <kcook@gcc.gnu.org>
* Make-lang.in (dvi): Move targets to $(docobjdir).
(gnat_ug_vms.dvi): Simplify rule and adjust target.
(gnat_ug_wnt.dvi): Likewise.
(gnat_ug_unx.dvi): Likewise.
(gnat_ug_vxw.dvi): Likewise.
(gnat_rm.dvi): Likewise.
(gnat-style.dvi): Likewise.
f/
2003-11-03 Kelley Cook <kcook@gcc.gnu.org>
* Make-lang.in (dvi): Move targets to $(docobjdir).
(g77.dvi): Simplify rule.
(g77.info): Sinplify rule.
(g77.1): Delete.
(g77.pod): New intermediate rule.
java/
2003-11-03 Kelley Cook <kcook@gcc.gnu.org>
* Make-lang.in (dvi): Move targets to $(docobjdir).
(gcj.dvi): Simplify rule and adjust target.
(gcj.info): Simplify rule.
(gcj.pod): New intermediate rule.
(gcjh.pod): Likewise.
(jv-scan.pod): Likewise.
(jcf-dump.pod): Likewise.
(gij.pod): Likewise.
(jv-convert.pod): Likewise.
(rmic.pod): Likewise.
(rmiregistry.pod): Likewise.
(gcj.1): Delete.
(gcjh.1): Delete.
(jv-scan.1): Delete.
(jcf-dump.1): Delete.
(gij.1): Delete.
(jv-convert.1): Delete.
(rmic.1): Delete.
(rmiregistry.1): Delete.
treelang/
2003-11-03 Kelley Cook <kcook@gcc.gnu.org>
* Make-lang.in (dvi): Move targets to $(docobjdir).
(treelang.dvi): Simplify rule and adjust target.
(treelang.info): Simplify rule.
(parse.o): Correct dependencies.
(TREE_EXE): Delete doubled suffix append.
From-SVN: r73238
GCC Administrator [Tue, 4 Nov 2003 00:16:06 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r73236
Richard Kenner [Mon, 3 Nov 2003 23:47:11 +0000 (23:47 +0000)]
gty.texi (tag, desc): Say more about role of desc values in selecting between tags.
* doc/gty.texi (tag, desc): Say more about role of desc values in
selecting between tags.
From-SVN: r73233
Alexander Kabaev [Mon, 3 Nov 2003 23:27:51 +0000 (23:27 +0000)]
* real.c (encode_ieee_single): Ensure proper promotion.
From-SVN: r73232
Volker Reichelt [Mon, 3 Nov 2003 21:58:31 +0000 (21:58 +0000)]
contrib.texi: Add Giovanni Bajo, Dara Hazeghi, Falk Hueffner, and Andrew Pinski.
* doc/contrib.texi: Add Giovanni Bajo, Dara Hazeghi, Falk Hueffner,
and Andrew Pinski.
From-SVN: r73230
Syd Polk [Mon, 3 Nov 2003 21:44:14 +0000 (21:44 +0000)]
rs6000.c (rs6000_override_options): Add G3, G4, and G5 marketing names to the list of supported processors.
2003-10-28 Syd Polk <spolk@apple.com>
* config/rs6000/rs6000.c (rs6000_override_options): Add G3, G4, and G5
marketing names to the list of supported processors.
* config/rs6000/rs6000.h: Ditto.
* doc/invoke.texi: Ditto.
* config.gcc: Ditto.
From-SVN: r73228