Bryce McKinlay
0b055ea1d8
parse.y (resolve_qualified_expression_name): Clear "from_super" flag after using it to patch CALL_EXPR.
...
* parse.y (resolve_qualified_expression_name): Clear "from_super" flag
after using it to patch CALL_EXPR.
From-SVN: r52015
2002-04-08 07:41:36 +01:00
Bryce McKinlay
92c76eba66
* gcj.texi (Invocation): Document CNI invocation API.
...
From-SVN: r52012
2002-04-08 07:37:26 +01:00
David S. Miller
19fe522aa3
config.gcc (sparc64-*-linux*): Add t-crtfm to tmake_file.
...
2002-04-07 David S. Miller <davem@redhat.com>
* config.gcc (sparc64-*-linux*): Add t-crtfm to tmake_file.
From-SVN: r52011
2002-04-07 17:30:07 -07:00
Mark Wielaard
ecc2337579
AbstractMap.java (putAll): Use entrySet size.
...
* java/util/AbstractMap.java (putAll): Use entrySet size.
(toString): Explicitly use getKey() and getValue().
From-SVN: r52008
2002-04-08 00:23:28 +00:00
Mark Wielaard
298f6e4bdc
xfails: Add CASE_INSENSITIVE_ORDER...
...
* libjava.mauve/xfails: Add CASE_INSENSITIVE_ORDER, result was
unspecified and test should be updated to match latest spec.
Add AcuniaPropertiesTest, known bug #6219 . Add test_getClassLoader,
what we do seems to be not really right or wrong.
From-SVN: r52006
2002-04-07 22:33:09 +00:00
John David Anglin
bf2d0b8e62
re PR c++/5933 (HP-UX: broken MI of virtual classes)
...
PR 5933
* pa.h (ASM_OUTPUT_MI_THUNK): Use indirect jump to target function when
generating 32-bit pic code.
From-SVN: r52004
2002-04-07 21:29:01 +00:00
Franz Sirl
eeec38a804
re PR rtl-optimization/6086 (Reload misoptimizes DImode PREINC on PPC)
...
2002-04-07 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
PR optimization/6086
* g++.dg/opt/preinc1.C: New test.
From-SVN: r52001
2002-04-07 18:23:19 +00:00
Mark Wielaard
0dccd146ba
Hashtable.java (contains): Remove NullPointer check.
...
* java/util/Hashtable.java (contains): Remove NullPointer check.
(containsValue): Add NullPointer check.
(remove): Always throw NullPointerException when key is null.
From-SVN: r51994
2002-04-07 12:18:58 +00:00
Bryce McKinlay
3b1d8b3be3
typo
...
From-SVN: r51991
2002-04-07 12:30:35 +01:00
Adam King
455cd615c2
natSystem.cc (init_properties): Call new function _Jv_platform_initProperties.
...
2002-04-07 Adam King <aking@dreammechanics.com>
* java/lang/natSystem.cc (init_properties): Call new function
_Jv_platform_initProperties.
* win32 (_Jv_platform_initProperties): New function that adds Win32
support for the System properties os.name, os.arch, os.version,
user.name, user.home, and user.dir.
* include/posix.h, include/win32.h, posix.cc: New function
_Jv_platform_initProperties.
From-SVN: r51989
2002-04-07 12:27:00 +01:00
Mark Wielaard
1abbe5b516
mauve.exp: Use libgcj.jar not libgcj.zip.
...
* libjava.mauve/mauve.exp: Use libgcj.jar not libgcj.zip.
* libjava.mauve/xfails: add Character.classify12 (number 1),
Character.getType (number 11), Character.getType (number 20) and
Character.getType (number 22). We implement 1.4 Character.
From-SVN: r51987
2002-04-07 09:21:27 +00:00
GCC Administrator
197e436aea
Daily bump.
...
From-SVN: r51986
2002-04-07 08:16:51 +00:00
Mark Wielaard
e45a3a5910
* java/lang/Character,java (isDefined): getType() != UNASSIGNED.
...
From-SVN: r51982
2002-04-07 07:45:06 +00:00
Mark Wielaard
236fc6a041
ArrayList.java (addAll(int,Collection)): System.arraycopy all of the remaining elements.
...
* java/util/ArrayList.java (addAll(int,Collection)): System.arraycopy
all of the remaining elements.
* java/util/Vector.java (addAll(int,Collection)): Likewise.
(removeRange): If toIndex == fromIndex do
nothing, if toIndex < fromIndex throw IndexOutIfBoundsException.
(removeAll): Always throw NullPointerException when collection is
null.
(retrainAll): Likewise.
From-SVN: r51979
2002-04-07 07:40:49 +00:00
Mark Mitchell
0154eaa812
re PR c++/5571 (crash in initialization of a static variable)
...
PR c++/5571
* stor-layout.c (layout_decl): Reset the RTL for the decl.
* class.c (layout_class_type): Remember incomplete static
variables.
(finish_struct_1): Call complete_vars, not
hack_incomplete_structures.
* cp-tree.h (hack_incomplete_structures): Rename to ...
(complete_vars): ... this.
(struct saved_scope): Remove incomplete.
(namespace_scope_incomplete): Remove.
* decl.c (struct binding_level): Remove incomplete.
(incomplete_vars): New variable.
(mark_binding_level): Don't mark incomplete.
(print_binding_level): Don't print it.
(mark_saved_scope): Don't mark incomplete.
(pushdecl): Use maybe_register_incopmlete_var.
(cxx_init_decl_processing): Register incomplete_vars for GC.
(start_decl_1): Clarify error message.
(hack_incomplete_vars): Remove.
(maybe_register_incomplete_var): New function.
(complete_vars): Likewise.
* g++.dg/opt/static2.C: New test.
From-SVN: r51978
2002-04-07 06:09:27 +00:00
Jason Thorpe
da00eaab0b
configure.in (alpha*-*-netbsd*): Add target.
...
* configure.in (alpha*-*-netbsd*): Add target.
* configure: Regenerate.
From-SVN: r51976
2002-04-07 04:19:31 +00:00
Jason Thorpe
477cdac754
cppinit.c (cpp_create_reader): Initialize discard_comments_in_macro_exp.
...
* cppinit.c (cpp_create_reader): Initialize
discard_comments_in_macro_exp.
(COMMAND_LINE_OPTIONS): Add "-CC" option.
(cpp_handle_option): Handle "-CC" option.
* cpplex.c (save_comment): If saving a C++ comment in
a directive, convert it to a C comment.
(_cpp_lex_direct): Pass second comment start character to
save_comment to indicate comment type.
* cpplib.c (_cpp_handle_directive): If processing
a "#define" directive and discard_comments_in_macro_exp
is false, re-enable saving of comments.
(lex_macro_node): If discard_comments_in_macro_exp is false,
discard any comments before the macro identifier.
* cpplib.h (struct cpp_options): Add discard_comments_in_macro_exp
member.
* cppmacro.c (cpp_get_token): If expanding a macro while
processing a directive, discard any comments we might encounter.
(parse_params): If discard_comments_in_macro_exp is false,
ignore comments in the macro parameter list.
* gcc.c (cpp_unique_options): Add "-CC" option.
(option_map): Map "--comments-in-macros" to "-CC".
* doc/cppopts.texi: Document "-CC" option.
* f/lang-specs.h: Add "-CC" option.
* testsuite/gcc.dg/cpp/maccom1.c: New test.
* testsuite/gcc.dg/cpp/maccom2.c: New test.
* testsuite/gcc.dg/cpp/maccom3.c: New test.
* testsuite/gcc.dg/cpp/maccom4.c: New test.
* testsuite/gcc.dg/cpp/maccom5.c: New test.
* testsuite/gcc.dg/cpp/maccom6.c: New test.
From-SVN: r51975
2002-04-07 03:12:23 +00:00
Jason Merrill
03da52864c
re PR c++/4934 (Seg fault on legal code)
...
PR c++/4934
* error.c (dump_expr) [CONVERT_EXPR]: Make sure TREE_TYPE (t) is
set before checking it.
From-SVN: r51972
2002-04-06 17:22:00 -05:00
John David Anglin
f1526122aa
* reorg.c (dbr_schedule): Don't reposition prologue and epilogue notes.
...
From-SVN: r51971
2002-04-06 22:10:54 +00:00
Mark Mitchell
b1896e6103
re PR rtl-optimization/5120 (tail recursion incorrect using -O2)
...
PR opt/5120
* sibcall.c (optimize_sibling_and_tail_recursive_call): Clear
RTX_UNCHANGING_P for the functions arguments when a tail call
is made.
From-SVN: r51969
2002-04-06 19:42:22 +00:00
Jason Merrill
b014888471
toplev.c (flag_no_inline, [...]): Default to 2.
...
* toplev.c (flag_no_inline, flag_really_no_inline): Default to 2.
(parse_options_and_default_flags): Set them appropriately.
* c-common.c (c_common_post_options): Don't set flag_really_no_inline.
From-SVN: r51959
2002-04-06 11:57:23 -05:00
Jason Merrill
a29e103468
re PR c++/525 (Problem with Multiple Inheritance and -pedantic)
...
PR c++/525
* init.c (build_member_call): Use build_scoped_ref.
(resolve_offset_ref): Likewise.
* call.c (build_scoped_method_call): Likewise.
* tree.c (maybe_dummy_object): Kludge around current_class_type being
wrong.
* typeck2.c (build_scoped_ref): Return the binfo via binfo_p parm.
* cp-tree.h: Adjust.
* init.c (push_base_cleanups): Just use build_scoped_method_call.
From-SVN: r51956
2002-04-06 11:15:20 -05:00
Jason Merrill
f62ea15730
re PR c++/6179 (EH regression test failure for STLport-4.5.3)
...
PR c++/6179
* method.c (implicitly_declare_fn): Pass unqualified type to
synthesize_exception_spec.
From-SVN: r51954
2002-04-06 10:59:14 -05:00
Mark Wielaard
8e9603b0c2
ArrayList.jva (removeRange): If toIndex == fromIndex do nothing...
...
* java/util/ArrayList.jva (removeRange): If toIndex == fromIndex do
nothing, if toIndex < fromIndex throw IndexOutIfBoundsException.
From-SVN: r51947
2002-04-06 08:26:08 +00:00
Hans-Peter Nilsson
392fc5b068
t-mmix (TARGET_LIBGCC2_CFLAGS): Don't -Dinhibit_libc here.
...
* config/mmix/t-mmix (TARGET_LIBGCC2_CFLAGS): Don't -Dinhibit_libc
here.
* config/mmix/mmix.h (INITIAL_ELIMINATION_OFFSET): Remove spurious
semicolon.
* config/mmix/mmix.c (mmix_expand_builtin_va_arg): Variable-size
types come in by-reference. Fix typo in comment.
From-SVN: r51946
2002-04-06 08:20:35 +00:00
GCC Administrator
36e408e6ca
Daily bump.
...
From-SVN: r51945
2002-04-06 08:17:39 +00:00
David S. Miller
2d69e3cb6a
freebsd.h (ENDFILE_SPEC): Add crtfastmath bits.
...
2002-04-05 David S. Miller <davem@redhat.com>
* config/sparc/freebsd.h (ENDFILE_SPEC): Add crtfastmath bits.
* config.gcc (sparc64-wrs-vxworks, sparc-*-chorusos,
sparc-*-rtems*, sparclite-*-elf* sparc86x-*-elf*, sparc64-*-elf*,
{sparc64,ultrasparc}-*-freebsd*): Add sparc/t-crtfm to tmake_file.
From-SVN: r51940
2002-04-05 20:55:28 -08:00
Adam Megacz
9df224790b
exception.cc (abort): added static modifier
...
2002-04-05 Adam Megacz <adam@xwt.org>
* exception.cc (abort): added static modifier
From-SVN: r51938
2002-04-06 04:20:02 +00:00
Adam Megacz
c950ddc382
exception.cc (abort): added static modifier
...
2002-04-05 Adam Megacz <adam@xwt.org>
* exception.cc (abort): added static modifier
From-SVN: r51937
2002-04-06 04:19:10 +00:00
Richard Henderson
5f9fb0e305
* doc/rtl.texi (Regs and Memory): Document (mem:BLK (scratch)).
...
From-SVN: r51936
2002-04-05 17:14:42 -08:00
Jonathan Wakely
39b945d23b
stl_algo.h (unique_copy, [...]): Doxygenate.
...
2002-04-05 Jonathan Wakely <jw@kayari.org>
* include/bits/stl_algo.h (unique_copy, __gcd, rotate, rotate_copy,
random_shuffle, partition, stable_partition, sort, stable_sort,
partial_sort, partial_sort_copy, nth_element): Doxygenate.
From-SVN: r51927
2002-04-05 17:58:41 +00:00
David S. Miller
03381059f7
2002-04-05 David S. Miller <davem@redhat.com>
...
* config/os/gnu-linux/bits/os_defines.h
(__glibcpp_long_double_bits): Set to 64 on 32-bit Sparc.
From-SVN: r51921
2002-04-05 05:46:50 -08:00
Jakub Jelinek
49f37a0d72
* mklibgcc.in: Use $tmpmapfile, not tmp-$@.
...
From-SVN: r51918
2002-04-05 13:43:40 +02:00
Alexandre Oliva
974a31010f
mips.h (ISA_HAS_BRANCHLIKELY, [...]): Disable if TARGET_MIPS16.
...
* config/mips/mips.h (ISA_HAS_BRANCHLIKELY, ISA_HAS_CONDMOVE,
ISA_HAS_FP4, ISA_HAS_MADD_MSUB, ISA_HAS_NMADD_NMSUB,
ISA_HAS_CLZ_CLO, ISA_HAS_DCLZ_DCLO): Disable if TARGET_MIPS16.
From-SVN: r51917
2002-04-05 09:26:38 +00:00
Andreas Schwab
a40179bd4f
Fix last change: c-common.h instead of c-convert.h.
...
From-SVN: r51916
2002-04-05 09:06:04 +00:00
Andreas Schwab
2e04a69495
c-convert.c: Include c-convert.h.
...
* c-convert.c: Include c-convert.h.
* Makefile.in (c-convert.o): Updated.
From-SVN: r51915
2002-04-05 08:52:58 +00:00
Jakub Jelinek
1f785b7c76
mklibgcc.in: Use separate libgcc.map for each multilib.
...
* mklibgcc.in: Use separate libgcc.map for each multilib.
* Makefile.in (distclean): Don't remove libgcc.map here.
From-SVN: r51914
2002-04-05 10:23:36 +02:00
Jakub Jelinek
4d2fb38b47
Makefile.in (s-mlib): Handle --disable-multilib by separate genmultilib invocation.
...
* Makefile.in (s-mlib): Handle --disable-multilib by separate
genmultilib invocation.
From-SVN: r51912
2002-04-05 10:20:02 +02:00
GCC Administrator
23dbaedae9
Daily bump.
...
From-SVN: r51910
2002-04-05 08:17:03 +00:00
Richard Sandiford
bb63e5a07f
mips.h (CUMULATIVE_ARGS): Rename fp_regs to num_fprs to avoid clash with Irix header file sys/ucontext.h.
...
* config/mips/mips.h (CUMULATIVE_ARGS): Rename fp_regs to num_fprs
to avoid clash with Irix header file sys/ucontext.h. Rename gp_regs
to num_gprs for symmetry.
* config/mips/mips.c: Adjust accordingly.
From-SVN: r51906
2002-04-05 08:00:32 +00:00
Neil Booth
8ab80eaa69
* ChangeLog: Forgotten commit.
...
From-SVN: r51903
2002-04-05 06:17:16 +00:00
Alan Modra
a2e9374ac3
t-linux64 (EXTRA_MULTILIB_PARTS): Add crtsavres.o Add rules to make null object file.
...
* config/rs6000/t-linux64 (EXTRA_MULTILIB_PARTS): Add crtsavres.o
Add rules to make null object file.
From-SVN: r51901
2002-04-05 14:12:17 +09:30
Adam Megacz
c77567790f
win32.h (_Jv_platform_close_on_exec): added inline modifier.
...
2002-04-04 Adam Megacz <adam@xwt.org>
* include/win32.h (_Jv_platform_close_on_exec): added inline
modifier.
From-SVN: r51899
2002-04-05 04:22:28 +00:00
Loren J. Rittle
ef3d3c968e
Fix cut-n-paste typo.
...
From-SVN: r51897
2002-04-05 04:18:25 +00:00
Loren J. Rittle
c090488760
configure.host: Add case statement to support generic port properties.
...
* configure.host: Add case statement to support generic port
properties. Add *-*-freebsd* section.
From-SVN: r51896
2002-04-05 04:17:11 +00:00
Mark Wielaard
f74761cd7e
mauve-libgcj: Add JLS1.0 and JLS1.1 tags, ignore Character.unicode test.
...
* mauve-libgcj: Add JLS1.0 and JLS1.1 tags, ignore Character.unicode
test.
* testsuite/libjava.mauve/xfails: Remove working tests DoubleTest,
FloatTest and ObjectStreamClass. Add FAIL for Introspector.jdk11 tests
that depend on awt code and BufferedByteOutputStream.interrupt.
From-SVN: r51893
2002-04-05 00:47:34 +00:00
Jim Blandy
64d082630e
cppmacro.c (cpp_macro_definition): Do not emit spaces after macro formal parameter names.
...
* cppmacro.c (cpp_macro_definition): Do not emit spaces after
macro formal parameter names.
From-SVN: r51890
2002-04-05 00:12:40 +00:00
David S. Miller
3ca5f4443d
20020404-1.c: New test.
...
2002-04-04 David S. Miller <davem@redhat.com>
* gcc.c-torture/execute/20020404-1.c: New test.
From-SVN: r51889
2002-04-04 15:54:01 -08:00
David S. Miller
aa7634ddf7
calls.c (store_one_arg): If ECF_SIBCALL, use tail_call_reg.
...
2002-04-04 David S. Miller <davem@redhat.com>
* calls.c (store_one_arg): If ECF_SIBCALL, use tail_call_reg.
From-SVN: r51886
2002-04-04 15:30:18 -08:00
Richard Henderson
ecc114f755
re PR inline-asm/5099 (m68k-aout/3.0.2/cc1 aborts on asm("movw sr,%0":"=hd"(a));)
...
PR middle-end/5099
* stmt.c (expand_asm_operands): Validate outputs vs asm_operand_ok.
Support copies into and out of memory. Don't accept allows_reg
and allows_mem as gospel.
From-SVN: r51884
2002-04-04 15:13:36 -08:00