Steve Ellcey
794186cab2
* config/ia64/hpux.h (BITS_BIG_ENDIAN): Remove.
...
From-SVN: r58543
2002-10-25 22:18:37 +00:00
Zack Weinberg
f65e118396
re PR c++/7266 (pedantic segfaults on missing typename)
...
PR c++/7266
cp:
* decl.c (grokdeclarator): Check that TREE_OPERAND 0 of a
SCOPE_REF is not null before dereferencing it.
testsuite:
* g++.dg/template/typename3.C: New test.
From-SVN: r58540
2002-10-25 22:01:44 +00:00
Richard Henderson
cd60b4b8e7
real.c (real_to_decimal): If the >1 tens reduction loop results in a negative exponent...
...
* real.c (real_to_decimal): If the >1 tens reduction loop results
in a negative exponent, fall into the <1 pten computation.
From-SVN: r58538
2002-10-25 14:58:12 -07:00
Gerald Pfeifer
06bd49b10b
MAINTAINERS: Add Wolfgang Bangerth and Volker Reichelt under GNATS only accounts.
...
* MAINTAINERS: Add Wolfgang Bangerth and Volker Reichelt under
GNATS only accounts.
From-SVN: r58537
2002-10-25 19:47:32 +00:00
Mark Mitchell
bb5e8a7ffc
class.c (build_vtbl_initializer): Don't use build_vtable_entry.
...
* class.c (build_vtbl_initializer): Don't use build_vtable_entry.
(build_vtable_entry): Remove.
* cp-tree.h (BINFO_VIRTUALS): Expand documentation.
(lang_decl): Add thunks.
(DECL_THUNKS): New macro.
* decl.c (duplicate_decls): Copy it.
* method.c (make_thunk): Simplify, and add thunks to DECL_THUNKS.
* semantics.c (emit_associated_thunks): Simplify.
* g++.dg/abi/vthunk2.C: New test.
From-SVN: r58536
2002-10-25 19:39:47 +00:00
Zack Weinberg
f3763a442e
re PR c++/6994 (ICE in find_function_data)
...
PR middle-end/6994
* c-objc-common.c (inline_forbidden_p): Can not inline
functions containing structures or unions containing VLAs.
* tree-inline.c (walk_tree): For all class 't' nodes, walk
TYPE_SIZE and TYPE_SIZE_UNIT.
(copy_tree_r): Copy types if they are variably modified.
* g++.dg/ext/vla1.C, gcc.dg/vla-2.c: New tests.
From-SVN: r58535
2002-10-25 17:26:52 +00:00
David Edelsohn
6eb359685e
re PR c++/7228 (ICE when using member template and template function)
...
PR c++/7228
* cp-tree.h (CLASSTYPE_READONLY_FIELDS_NEED_INIT): Check that
lang_type structure exists before accessing field.
(SET_CLASSTYPE_READONLY_FIELDS_NEED_INIT): New macro.
(CLASSTYPE_REF_FIELDS_NEED_INIT): Similar.
(SET_CLASSTYPE_REF_FIELDS_NEED_INIT): New macro.
* class.c (check_field_decls): Use new macros.
* typeck2.c (process_init_constructor): Remove redundant check for
existence of lang_type structure.
From-SVN: r58532
2002-10-25 11:13:05 -04:00
Ulrich Weigand
8c40b097ec
* config/s390/s390.md: Remove old-style peepholes.
...
From-SVN: r58531
2002-10-25 12:28:17 +00:00
Ulrich Weigand
522ec94ec5
s390.c (s390_decompose_address): Do not range check the displacement if base or index is the argument pointer...
...
* config/s390/s390.c (s390_decompose_address): Do not range check the
displacement if base or index is the argument pointer register.
From-SVN: r58530
2002-10-25 12:26:40 +00:00
GCC Administrator
0bfd1ad0f8
Daily bump.
...
From-SVN: r58527
2002-10-25 07:18:27 +00:00
Mark Mitchell
ba9a991fd3
class.c (end_of_base): New method.
...
* class.c (end_of_base): New method.
(end_of_class): Use it. Check indirect virtual bases.
* g++.dg/abi/empty9.C: New test.
From-SVN: r58521
2002-10-25 06:01:55 +00:00
Tom Tromey
ca7c2b8529
natRuntime.cc (_Jv_SetDLLSearchPath): New function.
...
* java/lang/natRuntime.cc (_Jv_SetDLLSearchPath): New function.
(_Jv_FindSymbolInExecutable): Removed argument name.
(insertSystemProperties): Call _Jv_SetDLLSearchPath if
java.library.path is set.
* gij.cc (help): Document --showversion.
(version): Don't exit.
(main): Handle --showversion. Exit if --version given.
From-SVN: r58520
2002-10-25 03:28:00 +00:00
Tom Tromey
3752ac0803
gcj.texi (Invoking gij): Document --showversion.
...
* gcj.texi (Invoking gij): Document --showversion.
(Standard Properties): java.library.path now set.
From-SVN: r58519
2002-10-25 03:27:02 +00:00
Mark Mitchell
aa06d37bea
* class.c (check_field_decls): Fix typo.
...
From-SVN: r58517
2002-10-24 23:43:48 +00:00
Mark Mitchell
0cee073d49
class.c (check_field_decls): Fix typo.
...
* class.c (check_field_decls): Fix typo.
[[Split portion of a mixed commit.]]
From-SVN: r58516.2
2002-10-24 23:43:47 +00:00
Hans-Peter Nilsson
9db4d34be2
re PR other/3337 (build on linux-gnulibc1 fails: no sys/ucontext.h)
...
PR other/3337
PR bootstrap/6763
PR bootstrap/8122
* testsuite/testsuite_hooks.cc (__set_testsuite_memlimit): Use
__typeof__ (r.rlim_cur), not rlim_t in declaration of limit.
(Forgot to add PR markers. Doh!)
From-SVN: r58515
2002-10-24 23:39:38 +00:00
Hans-Peter Nilsson
85c8799492
re PR other/3337 (build on linux-gnulibc1 fails: no sys/ucontext.h)
...
PR other/3337
PR bootstrap/6763
PR bootstrap/8122
* fixinc/inclhack.def (libc1_G_va_list): New fix.
* fixinc/fixincl.x: Regenerate.
* config/i386/linux.h: Move MD_FALLBACK_FRAME_STATE_FOR inside
ifndef IN_LIBGCC2. Wrap it together with signal.h and
sys/ucontext.h inclusion in ifndef USE_GNULIBC_1.
* configure.in (gcc_AC_CHECK_DECLS): Check vasprintf too.
* config.in, configure: Regenerate.
(Forgot to add PR markers. Doh!)
From-SVN: r58514
2002-10-24 23:38:27 +00:00
Nathan Tallent
e4aaa2f87d
ansidecl.h (__STDC__): Add (__alpha && __cplusplus) to the list of platform compilers that may look...
...
* ansidecl.h (__STDC__): Add (__alpha && __cplusplus) to the
list of platform compilers that may look, smell and act
like __STDC__ but that may not define it.
From-SVN: r58513
2002-10-24 19:36:25 -04:00
Hans-Peter Nilsson
2068a050ab
testsuite_hooks.cc (__set_testsuite_memlimit): Use __typeof__ (r.rlim_cur), not rlim_t in declaration of limit.
...
* testsuite/testsuite_hooks.cc (__set_testsuite_memlimit): Use
__typeof__ (r.rlim_cur), not rlim_t in declaration of limit.
From-SVN: r58512
2002-10-24 23:27:27 +00:00
Hans-Peter Nilsson
d0af82b0ce
configure.in (i[3456]86-*-linux*): Add check to disable ${libgcj} for glibc1.
...
* configure.in (i[3456]86-*-linux*): Add check to disable
${libgcj} for glibc1.
From-SVN: r58511
2002-10-24 23:25:07 +00:00
Hans-Peter Nilsson
a7475ab1fd
inclhack.def (libc1_G_va_list): New fix.
...
* fixinc/inclhack.def (libc1_G_va_list): New fix.
* fixinc/fixincl.x: Regenerate.
* config/i386/linux.h: Move MD_FALLBACK_FRAME_STATE_FOR inside
ifndef IN_LIBGCC2. Wrap it together with signal.h and
sys/ucontext.h inclusion in ifndef USE_GNULIBC_1.
* configure.in (gcc_AC_CHECK_DECLS): Check vasprintf too.
* config.in, configure: Regenerate.
From-SVN: r58510
2002-10-24 23:22:47 +00:00
Igor Shevlyakov
7a360cce09
* varasm.c (struct rtx_const): Array size 16 for V16QImode.
...
From-SVN: r58509
2002-10-24 16:00:32 -07:00
Richard Henderson
fcbe3b8922
* config/i386/i386.c (x86_output_mi_thunk): Fix x86_64 pic jump.
...
From-SVN: r58508
2002-10-24 15:36:25 -07:00
Kazu Hirata
1a86c85041
h8300.c (initial_offset): Simplify by using round_frame_size.
...
* config/h8300/h8300.c (initial_offset): Simplify by using
round_frame_size.
From-SVN: r58507
2002-10-24 21:58:21 +00:00
Marek Michalkiewicz
de7999baae
install.texi (avr): Update required binutils version.
...
* doc/install.texi (avr): Update required binutils version.
* doc/install.texi: Point avr users at more up-to-date information.
From-SVN: r58505
2002-10-24 20:32:28 +00:00
Ulrich Weigand
84817c5d5b
s390.md (movdi, [...]): Add peepholes2 to pull operands out of the literal pool where possible.
...
* config/s390/s390.md (movdi, movsi, movhi, movqi): Add peepholes2
to pull operands out of the literal pool where possible.
From-SVN: r58504
2002-10-24 20:19:10 +00:00
Denis Chertykov
d074905352
* config/avr/avr.c (init_cumulative_args): Test fntype for zero.
...
From-SVN: r58503
2002-10-25 00:07:21 +04:00
Steve Ellcey
37d0b2542c
expr.c (convert_move): If unsignedp is less then zero there is no equivalent code.
...
* expr.c (convert_move): If unsignedp is less then zero there
is no equivalent code.
From-SVN: r58502
2002-10-24 19:52:23 +00:00
Denis Chertykov
1078265406
* MAINTAINERS: Add myself as ip2k port maintainer.
...
From-SVN: r58501
2002-10-24 23:50:09 +04:00
Zack Weinberg
7af907e9a3
* tree.def: Delete mention of nonexistent ARRAY_TYPE fields.
...
From-SVN: r58500
2002-10-24 18:01:37 +00:00
Zack Weinberg
ba3b27385a
Regenerated
...
From-SVN: r58499
2002-10-24 17:55:16 +00:00
Tom Tromey
f7d11ebda1
Primes.java: Removed.
...
* libjava.lang/Primes.java: Removed.
* libjava.lang/Primes.out: Removed.
From-SVN: r58498
2002-10-24 17:45:23 +00:00
Ulrich Weigand
862a2d830e
s390.h: Rework comments...
...
* config/s390/s390.h: Rework comments; re-sort target macro definitions
according to the sequence they are defined in the manual.
(POINTER_BOUNDARY): Remove.
From-SVN: r58495
2002-10-24 17:07:11 +00:00
Kazu Hirata
489eda6518
h8300.c (round_frame_size): Replace 8 with BITS_PER_UNIT.
...
* config/h8300/h8300.c (round_frame_size): Replace 8 with
BITS_PER_UNIT.
From-SVN: r58493
2002-10-24 14:08:23 +00:00
Kazu Hirata
2ba08201d7
h8300.h (EIGHTBIT_CONSTANT_ADDRESS_P): Make it 64-bit safe.
...
* config/h8300/h8300.h (EIGHTBIT_CONSTANT_ADDRESS_P): Make it
64-bit safe.
(TINY_CONSTANT_ADDRESS_P): Likewise.
From-SVN: r58492
2002-10-24 10:45:19 +00:00
Richard Henderson
5f13cfc617
ia64.c (TARGET_ASM_CAN_OUTPUT_MI_THUNK): True.
...
* config/ia64/ia64.c (TARGET_ASM_CAN_OUTPUT_MI_THUNK): True.
(ia64_output_mi_thunk): Rewrite to use rtl, and to handle the
vcall offset.
* g++.dg/inherit/thunk1.C: Enable for ia64.
From-SVN: r58491
2002-10-24 02:16:36 -07:00
Richard Henderson
3bd216f201
reload.c (find_reloads_toplev): Mode of X is not important when simplifying subregs of constants.
...
* reload.c (find_reloads_toplev): Mode of X is not important
when simplifying subregs of constants.
* g++.dg/opt/reload1.C: New.
From-SVN: r58490
2002-10-24 02:02:24 -07:00
Richard Sandiford
60bc2b4b9c
config.gcc (mips64vr-*-elf*, [...]): Add MIPS_MARCH_CONTROLS_SOFT_FLOAT=1 to $tm_defines.
...
* config.gcc (mips64vr-*-elf*, mips64vrel-*-elf*): Add
MIPS_MARCH_CONTROLS_SOFT_FLOAT=1 to $tm_defines.
* config/mips/mips.c (MIPS_MARCH_CONTROLS_SOFT_FLOAT): Default to 0.
(override_options): Base default setting of MASK_SOFT_FLOAT on -march
if MIPS_MARCH_CONTROLS_SOFT_FLOAT.
From-SVN: r58488
2002-10-24 08:51:00 +00:00
Richard Sandiford
5be5c8d463
optabs.c (expand_binop): Don't reuse the shift target in the middle of shift sequences.
...
* optabs.c (expand_binop): Don't reuse the shift target in the
middle of shift sequences.
From-SVN: r58487
2002-10-24 08:48:27 +00:00
GCC Administrator
dc871fd328
Daily bump.
...
From-SVN: r58486
2002-10-24 07:17:50 +00:00
Ziemowit Laski
196e1ae3c1
objc-act.c (get_static_reference): Remove unneeded TYPE_BINFO initialization.
...
2002-10-23 Ziemowit Laski <zlaski@apple.com>
* objc/objc-act.c (get_static_reference): Remove unneeded
TYPE_BINFO initialization.
(get_object-reference): Likewise.
(build_constructor): Tighten precondition check.
(finish_message_expr): Likewise.
From-SVN: r58480
2002-10-24 00:46:02 +00:00
Mark Mitchell
6b607ffd46
re PR c++/8067 (g++ 3.2 internal error: Segmentation fault)
...
PR c++/8067
* decl.c (maybe_inject_for_scope_var): Ignore __FUNCTION__ and
related variables.
PR c++/8067
* g++.dg/lookup/pretty1.C: New test.
From-SVN: r58477
2002-10-24 00:01:37 +00:00
Tom Tromey
b0af98d793
jni.cc (_Jv_JNI_AllocObject): Removed old FIXME comment.
...
* jni.cc (_Jv_JNI_AllocObject): Removed old FIXME comment.
(array_from_valist): Correctly handle promotion for jint, jlong,
jfloat, and jdouble.
From-SVN: r58476
2002-10-23 23:19:55 +00:00
Tom Tromey
6ddbb7ebba
For PR java/6388:
...
* libjava.lang/pr6388.java: New file.
* libjava.lang/pr6388.out: New file.
From-SVN: r58475
2002-10-23 22:56:13 +00:00
Tom Tromey
0d3911c904
re PR java/8296 (gcjh generates incorrect JNI header)
...
* gjavah.c (decode_signature_piece): In JNI mode, print
`jobjectArray' when array depth is nonzero.
Fixes PR java/8296.
From-SVN: r58474
2002-10-23 22:47:31 +00:00
Jakub Jelinek
8bfb45f864
i386.c (local_symbolic_operand): Move LABEL_REF test after CONST test.
...
* config/i386/i386.c (local_symbolic_operand): Move LABEL_REF test
after CONST test.
* gcc.dg/20021023-1.c: New test.
From-SVN: r58469
2002-10-23 23:20:08 +02:00
Ranjit Mathew
963f08a97f
natFileWin32.cc (attr): Use FindFirstFile( ) instead of GetFileAttributesEx( ) to find file length and...
...
2002-10-23 Ranjit Mathew <rmathew@hotmail.com>
* java/io/natFileWin32.cc (attr): Use FindFirstFile( ) instead of
GetFileAttributesEx( ) to find file length and modification times,
as the latter is not present on Windows 95.
From-SVN: r58466
2002-10-23 20:44:24 +00:00
Mark Mitchell
e6f052b7e6
re PR c++/7679 (The compiler crashes wen a right parentesis is missing)
...
PR c++/7679
* spew.c (next_token): Do not return an endless stream of
END_OF_SAVED_INPUT tokens.
(snarf_method): Add three END_OF_SAVED_INPUT tokens to the end of
the cached token stream.
(snarf_defarg): Likewise.
PR c++/7679
* g++.dg/parse/inline1.C: New test.
From-SVN: r58465
2002-10-23 18:38:23 +00:00
Steve Ellcey
16448fd4f0
ia64.c (hfa_element_mode): Don't allow 128 bit floats in HFAs.
...
* config/ia64/ia64.c (hfa_element_mode): Don't allow 128 bit floats
in HFAs.
From-SVN: r58464
2002-10-23 18:18:31 +00:00
Richard Henderson
619703c61f
* g++.dg/inherit/thunk1.C: Enable for x86_64.
...
From-SVN: r58463
2002-10-23 11:00:17 -07:00