Andreas Jaeger
c77c5f2e38
7sosprim.adb: tv_usec of struct_timeval and time_t are long integer.
...
* 7sosprim.adb: tv_usec of struct_timeval and time_t are long
integer.
From-SVN: r73419
2003-11-10 16:54:35 +01:00
Arnaud Charlet
5c90f17f66
Add handling of -nostdlib, now recognized/needed by gnat1.
...
From-SVN: r73413
2003-11-10 12:20:03 +01:00
Arnaud Charlet
139f0d1eb8
Makefile.in, [...]: Remove build of gnat_wrapper and gnatpsta, no longer needed.
...
* Makefile.in, Make-lang.in: Remove build of gnat_wrapper and gnatpsta,
no longer needed.
* gnatpsta.adb, gnat_wrapper.adb: Removed, no longer needed.
* sysdep.c: Add handling of cygwin.
From-SVN: r73412
2003-11-10 11:25:21 +01:00
GNAT Script
f3e4c05ca9
* Make-lang.in: Makefile automatically updated
...
From-SVN: r73411
2003-11-10 10:57:06 +01:00
Arnaud Charlet
36f737df20
Complete previous change.
...
From-SVN: r73409
2003-11-10 10:45:58 +01:00
Arnaud Charlet
2cdc8909d3
re PR ada/12950 (Ada runtime is not relocatable)
...
PR 12950
* osint.ads, osint.adb (Relocate_Path, Executable_Suffix): New
functions. Used to handle dynamic prefix relocation, via set_std_prefix.
Replace GNAT_ROOT by GCC_ROOT.
* Make-lang.in: Use new function Relocate_Path to generate sdefault.adb
From-SVN: r73407
2003-11-10 10:42:57 +01:00
Gabriel Dos Reis
64323f62a6
re PR c++/12832 (ICE: tree check: expected class 'd', have 'x' (error_mark) in location_of, at cp/error.c:1962)
...
PR c++/12832
* name-lookup.c (supplement_binding): Gracefully handle names
used at non-class scope prior declaration.
From-SVN: r73406
2003-11-10 08:32:16 +00:00
Waldek Hebisch
1ec0c6076c
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
2003-11-10 08:11:47 +00:00
GCC Administrator
9883226bc5
Daily bump.
...
From-SVN: r73400
2003-11-10 00:16:06 +00:00
Tom Tromey
b425ed522b
* java/net/Inet4Address.java (serialVersionUID): Updated.
...
From-SVN: r73398
2003-11-09 23:07:11 +00:00
Andrew Pinski
a5fdcda848
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
2003-11-09 13:27:16 -08:00
Paolo Carlini
f6a7db9ee1
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
2003-11-09 19:15:25 +00:00
Andreas Tobler
647af4a91c
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
2003-11-09 18:05:10 +01:00
Roger Sayle
ce4191eed1
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
2003-11-09 14:33:20 +00:00
Kaveh R. Ghazi
8b93ca2dd2
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
2003-11-09 14:05:10 +00:00
Paolo Carlini
7c752655e6
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
2003-11-09 10:47:58 +00:00
Richard Henderson
757dc040ce
* Makefile.in (rtlanal.o): Depend on BASIC_BLOCK_H.
...
From-SVN: r73386
2003-11-09 01:27:29 -08:00
Jan Hubicka
ec89843ee6
* tree-optimize.c (tree_rest_of_compilation): Fix warning.
...
From-SVN: r73385
2003-11-09 03:06:21 +00:00
Jan Hubicka
bd04ab3253
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
2003-11-09 02:37:54 +00:00
Jan Hubicka
f7a018474d
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
2003-11-09 01:52:59 +00:00
GCC Administrator
f10fe8f022
Daily bump.
...
From-SVN: r73380
2003-11-09 00:16:08 +00:00
Joseph Myers
c76f4e8ef4
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
2003-11-08 22:42:00 +00:00
Paolo Carlini
41d3a0c3d8
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
2003-11-08 21:17:30 +00:00
Tom Tromey
b9bc36658c
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
2003-11-08 20:44:04 +00:00
John David Anglin
cdc9103cba
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
2003-11-08 20:36:30 +00:00
Andreas Tobler
ac47cc13ab
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
2003-11-08 20:03:58 +01:00
Tom Tromey
49b8ea5ab0
* libjava.jacks/jacks.xfail: Updated.
...
From-SVN: r73371
2003-11-08 18:56:51 +00:00
Andreas Schwab
e139ff5bda
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
2003-11-08 18:49:00 +00:00
Andreas Tobler
f145ed6b90
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
2003-11-08 19:32:16 +01:00
Kaveh R. Ghazi
a37336cf73
* dbxout.c (current_file): Wrap declaration in DBX_USE_BINCL.
...
From-SVN: r73363
2003-11-08 15:08:51 +00:00
Roger Sayle
587a98546a
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
2003-11-08 14:43:30 +00:00
Jeff Sturm
edf6d50b51
FirstThread.java (Klocale, Kcalendar): New fields.
...
* gnu/gcj/runtime/FirstThread.java (Klocale, Kcalendar):
New fields.
From-SVN: r73360
2003-11-08 13:43:12 +00:00
Jeff Sturm
773d424b52
ByteArrayOutputStream.java (resize): Fix off-by-one error.
...
* java/io/ByteArrayOutputStream.java (resize):
Fix off-by-one error.
From-SVN: r73359
2003-11-08 13:41:20 +00:00
Geoffrey Keating
8a1977f38c
rs6000.c (rs6000_legitimize_address): Remove redundant parens.
...
* config/rs6000/rs6000.c (rs6000_legitimize_address): Remove
redundant parens.
From-SVN: r73354
2003-11-08 02:21:01 +00:00
Geoffrey Keating
3d67ba1e3b
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
2003-11-08 02:17:51 +00:00
Joseph Myers
30321c396e
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
2003-11-08 01:38:48 +00:00
Bryce McKinlay
9b574a7758
* gnu/gcj/xlib/XAnyEvent.java (XAnyEvent): Make constructor public.
...
From-SVN: r73351
2003-11-08 01:23:47 +00:00
Jonathan Wakely
3ab3dca624
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
2003-11-08 00:36:13 +00:00
GCC Administrator
4eedccc489
Daily bump.
...
From-SVN: r73348
2003-11-08 00:16:08 +00:00
Geoffrey Keating
047c6eac11
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
2003-11-07 22:12:39 +00:00
Falk Hueffner
1cd93a2a2b
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
2003-11-07 19:57:32 +01:00
Nathanael Nerode
4241d31258
* config/arm/pe.h: Convert to ISO C90.
...
From-SVN: r73341
2003-11-07 18:45:26 +00:00
Carlo Wood
bfc8fe1a20
Ugh, copied the wrong date from previous test case.
...
From-SVN: r73340
2003-11-07 17:59:23 +00:00
Carlo Wood
2d369f351f
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
2003-11-07 17:55:27 +00:00
J"orn Rennecke
bcc8cc820a
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
2003-11-07 17:44:57 +00:00
Robert Millan
b938ad89a5
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
2003-11-07 16:49:18 +00:00
Jan Hubicka
d7222e384a
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
2003-11-07 09:26:06 +00:00
Richard Sandiford
235d0d663c
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
2003-11-07 08:14:32 +00:00
Carlo Wood
eb622d37cf
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
2003-11-07 03:53:44 +00:00
Carlo Wood
2215f7320e
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
2003-11-07 03:49:43 +00:00