Commit Graph

46916 Commits

Author SHA1 Message Date
Kazu Hirata
efbd757f78 * config/h8300/h8300.md (*twoshifts_l16_r1): New.
From-SVN: r60933
2003-01-06 14:14:33 +00:00
Richard Sandiford
727b9b8cf5 * config/mips/mips.md (leadi): Use dla rather than la.
From-SVN: r60932
2003-01-06 13:34:56 +00:00
GCC Administrator
c4fe1427a6 Daily bump.
From-SVN: r60931
2003-01-06 08:19:57 +00:00
Mark Mitchell
ec194454c5 defarg-1.C: New test.
* g++.dg/template/defarg-1.C: New test.
	* g++.dg/template/local2.C: Likewise.

From-SVN: r60924
2003-01-06 02:40:31 +00:00
Svein E. Seldal
cebdac46e4 c4x.h: Updated specs for new gas format.
* config/c4x/c4x.h: Updated specs for new gas format.  Fixed bug
	in C33_FLAG.  Added proper C33 support in ASM_FILE_START macro.

From-SVN: r60923
2003-01-06 01:15:46 +00:00
Herman A.J. ten Brugge
fe1e789f3f c4x.h: Remove hwint.h include and HOST_WIDE_INT_PRINT_HEX redefinition.
* c4x.h: Remove hwint.h include and HOST_WIDE_INT_PRINT_HEX
	redefinition.

From-SVN: r60921
2003-01-06 00:11:54 +00:00
Kazu Hirata
dff0ea43a8 * config/h8300/h8300.md (*extzv_8_23): New.
From-SVN: r60920
2003-01-05 23:04:48 +00:00
John David Anglin
94e6fd3e2b pa64-hpux.h (JCR_SECTION_NAME): Define.
* pa64-hpux.h (JCR_SECTION_NAME): Define.
	(PA_INIT_FRAME_DUMMY_ASM_OP): Check EH_FRAME_SECTION_NAME instead of
	USE_EH_FRAME_REGISTRY when defining.

From-SVN: r60918
2003-01-05 18:41:18 +00:00
Toon Moene
de7cbdce2f re PR fortran/9038 (-ffixed-line-length-none -x f77-cpp-input gives: Warning: unknown register name line-length-none)
2003-01-05  Toon Moene  <toon@moene.indiv.nluug.nl>

	* news.texi: Revise history again:
	PR Fortran/9038 will be fixed in 3.4.

From-SVN: r60917
2003-01-05 18:18:06 +00:00
Kazu Hirata
cd9b5ca8cf h8300.c (output_a_shift): Do not output a variable shift.
* config/h8300/h8300.c (output_a_shift): Do not output a
	variable shift.
	* config/h8300/h8300.md (two splitters): New.

From-SVN: r60915
2003-01-05 15:47:36 +00:00
Toon Moene
30e3682e96 re PR fortran/9038 (-ffixed-line-length-none -x f77-cpp-input gives: Warning: unknown register name line-length-none)
2003-01-05  Toon Moene  <toon@moene.indiv.nluug.nl>

	* news.texi: Update news to reflect reality:
	PR Fortran/9038 won't be fixed until 3.4.

From-SVN: r60912
2003-01-05 12:51:42 +00:00
Richard Sandiford
1ba8a9c4ec * config/mips/mips.md: Disable the movstrsi define_split.
From-SVN: r60911
2003-01-05 12:02:24 +00:00
GCC Administrator
5c2465500a Daily bump.
From-SVN: r60909
2003-01-05 08:17:19 +00:00
Paolo Carlini
b1599033fa re PR libstdc++/9168 (codecvt<char, char, mbstate_t> overwrites output buffers)
2003-01-05  Paolo Carlini <pcarlini@unitus.it>

	PR libstdc++/9168
	* src/codecvt.cc
	(codecvt<char, char, mbstate_t>::do_in, do_out):
	Implement the resolution of DR19 (TC).
	* testsuite/22_locale/codecvt_members_char_char.cc
	(test01): Tweak.

From-SVN: r60901
2003-01-05 08:04:18 +00:00
Kaveh R. Ghazi
c7c50494be Warning fixes:
* alloc-pool.c: Don't include "libiberty.h".
	* config/sparc/gmon-sol2.c: Include <fcntl.h>.
	* convert.c (convert_to_real): Hide unused variable.

java:
	* lang.c (dump_compound_expr): Prototype.

From-SVN: r60900
2003-01-05 05:27:45 +00:00
Kaveh R. Ghazi
39b1af70da parser.c (cp_parser_binary_expression, [...]): Const-ify.
* parser.c (cp_parser_binary_expression,
	cp_parser_multiplicative_expression,
	cp_parser_additive_expression, cp_parser_shift_expression,
	cp_parser_relational_expression, cp_parser_equality_expression,
	cp_parser_and_expression, cp_parser_exclusive_or_expression,
	cp_parser_inclusive_or_expression,
	cp_parser_logical_and_expression, cp_parser_logical_or_expression,
	cp_parser_binary_expression): Const-ify.

From-SVN: r60899
2003-01-05 04:38:58 +00:00
Kaveh R. Ghazi
83fa8d7a7f Makefile.in (gtyp-gen.h): Const-ify.
* Makefile.in (gtyp-gen.h): Const-ify.
	* gcov-dump.c (tag_table): Likewise.

From-SVN: r60898
2003-01-05 04:37:08 +00:00
Tom Tromey
3128dd5cbd * java/awt/List.java: Merged with Classpath.
From-SVN: r60896
2003-01-05 01:18:21 +00:00
Toon Moene
7c288b7346 re PR fortran/9038 (-ffixed-line-length-none -x f77-cpp-input gives: Warning: unknown register name line-length-none)
2003-01-04  Toon Moene  <toon@moene.indiv.nluug.nl>

	PR Fortran/9038
	* lang-specs.h: Remove -f options before preprocessing.
	* news.texi: Document fixing of PR Fortran/9038.

From-SVN: r60895
2003-01-04 22:13:02 +00:00
Bruce Korb
871dab3eb6 When wrapping files, guard with both the fix name and the file name
From-SVN: r60893
2003-01-04 21:17:01 +00:00
John David Anglin
35d434edd9 config.gcc (hppa*64*-*-hpux11*): Define extra_parts.
* config.gcc (hppa*64*-*-hpux11*): Define extra_parts.  Don't use
	collect2.
	* pa-hpux11.h (LDD_SUFFIX, PARSE_LDD_OUTPUT): Undefine.
	(HAS_INIT_SECTION, LD_INIT_SWITCH, LD_FINI_SWITCH): Define.
	* pa64-hpux.h (HP_INIT_ARRAY_SECTION_ASM_OP,
	GNU_INIT_ARRAY_SECTION_ASM_OP, HP_FINI_ARRAY_SECTION_ASM_OP,
	GNU_FINI_ARRAY_SECTION_ASM_OP): Define.
	(CTORS_SECTION_ASM_OP, DTORS_SECTION_ASM_OP): Define when not using
	elfos.h.
	(EH_FRAME_IN_DATA_SECTION): Delete define.
	(HAS_INIT_SECTION, LD_INIT_SWITCH, LD_FINI_SWITCH): Undefine.
	(STARTFILE_SPEC): Use crtbegin.o.
	(ENDFILE_SPEC): Use crtend.o.
	(INIT_SECTION_ASM_OP, FINI_SECTION_ASM_OP, CRT_CALL_STATIC_FUNCTION,
	SUPPORTS_INIT_PRIORITY, PA_CXA_FINALIZE_STUB, PA_INIT_FINI_HACK,
	PA_INIT_FRAME_DUMMY_ASM_OP, PA_JV_REGISTERCLASSES_STUB,
	DTOR_LIST_BEGIN): Define.
	* pa.c (TARGET_ASM_CONSTRUCTOR): Define.
	(pa_asm_out_constructor, pa_asm_out_destructor): New functions.
	* som.h (SUPPORTS_INIT_PRIORITY): Delete define.

From-SVN: r60892
2003-01-04 21:13:45 +00:00
John David Anglin
7057154564 configure.in (LD): Improve test for gcc.
* configure.in (LD): Improve test for gcc.  Try to set LD to the ld used
	by gcc if LD is not defined and we are not doing a Canadian Cross.
	* configure: Rebuilt.

From-SVN: r60891
2003-01-04 20:49:49 +00:00
Mark Mitchell
1bb2cc34af method.c (use_thunk): Disable access control while building the body of the thunk.
* method.c (use_thunk): Disable access control while building the
	body of the thunk.

From-SVN: r60889
2003-01-04 20:00:44 +00:00
Bruce Korb
b0588013c1 remove obsolete fixes
From-SVN: r60883
2003-01-04 18:44:04 +00:00
Kazu Hirata
68ee6df68a h8300-protos.h: Add prototypes for the new functions defined below.
* config/h8300/h8300-protos.h: Add prototypes for
	the new functions defined below.
	* config/h8300/h8300.c (TARGET_ASM_FUNCTION_PROLOGUE): Do not
	define.
	(dosize): Emit RTL instead of assembly code.
	(push): Likewise.
	(pop): Likewise.
	(h8300_output_function_prologue): Remove.
	(h8300_expand_prologue): New.
	(h8300_expand_epilogue): New.
	(h8300_output_function_epilogue): Do only the reset of
	pragma_saveall.
	* config/h8300/h8300.md (push_h8300): New.
	(push_h8300hs): Likewise.
	(pop_h8300): Likewise.
	(pop_h8300hs): Likewise.
	(*stm_h8300s_2): Change the name to stm_h8300s_2.
	(*stm_h8300s_3): Change the name to stm_h8300s_3.
	(*stm_h8300s_4): Change the name to stm_h8300s_4.
	(*ldm_h8300s_2): New.
	(*ldm_h8300s_3): Likewise.
	(*ldm_h8300s_4): Likewise.
	(return): Likewise.
	(*return_1): Likewise.
	(prologue): Likewise.
	(epilogue): Likewise.
	(monitor_prologue): Likewise.

From-SVN: r60882
2003-01-04 17:46:24 +00:00
Jason Merrill
2094e97d2f * call.c (build_conditional_expr): Stabilize lvalues properly.
From-SVN: r60881
2003-01-04 11:13:13 -05:00
Kriang Lerdsuwanakij
d594521294 namespace3.C: Remove extra semicolons.
* g++.dg/parse/namespace3.C: Remove extra semicolons.
	* g++.dg/parse/namespace4.C: Likewise.

From-SVN: r60880
2003-01-04 14:30:59 +00:00
GCC Administrator
0bfde48763 Daily bump.
From-SVN: r60877
2003-01-04 08:17:20 +00:00
Mark Wielaard
1d5c46dc84 FileDescriptor.java (position): New private field.
* java/io/FileDescriptor.java (position): New private field.
        * java/io/natFileDescriptorPosix.cc (write): Up position.
        (setLength): Use and set position.
        (seek): Set position.
        (getFilePointer): Return position.
        (read): Up position.

From-SVN: r60869
2003-01-04 03:53:00 +00:00
Mark Wielaard
3aa0cc4e82 Merge with Classpath:
* java/io/ObjectStreamClass.java (lookup): Split method and call
	lookupForClassObject().
	(lookupForClassObject): New method.
	(isProxyClass): New field.
	(setClass): Set isProxyClass, add object to classLookupTable, set
	superClass and calculateOffsets.
	(ObjectStreamClass): Set isProxyClass. Only set uid when Serializable
	and not a proxy class.
	(setFields): Set accessible true for serialPersistentFields.
	(getClassUID): Same for suid. And check if suid is of type long.
	(hasClassInitializer): Don't throw NoSuchMethodError.

From-SVN: r60867
2003-01-04 03:44:07 +00:00
Mark Wielaard
2d2d0877ca FileInputStream.java (finalize): Don't explicitly finalize FileDescriptor.
* java/io/FileInputStream.java (finalize): Don't explicitly
        finalize FileDescriptor.

From-SVN: r60863
2003-01-04 00:08:11 +00:00
Jeff Sturm
2eb1ea8323 * configure.host (sparc*-*): Enable bytecode interpreter.
From-SVN: r60862
2003-01-03 23:36:42 +00:00
Nathanael Nerode
3fd5abcf46 cvt.c, [...]: This is the C++ front end, not the C front end.
* cvt.c, decl.c, decl2.c: This is the C++ front end, not the C
	front end.

From-SVN: r60861
2003-01-03 23:13:09 +00:00
Tom Tromey
f3ce4abad0 re PR java/8712 (ICE at fold-const.c:2934)
Fix for PR java/8712:
	* expr.c (build_instanceof): Build an NE_EXPR, not a COND_EXPR,
	when simply checking against `null'.

From-SVN: r60859
2003-01-03 23:09:33 +00:00
Dale Johannesen
d3c300d238 darwin.h: (EXTRA_SECTIONS): Add machopic_symbol_stub1, machopic_picsymbol_stub1.
2003-01-03  Dale Johannesen  <dalej@apple.com>

        * config/darwin.h:  (EXTRA_SECTIONS):  Add machopic_symbol_stub1,
          machopic_picsymbol_stub1.
          (EXTRA_SECTION_FUNCTIONS):  Ditto.
        * rs6000/rs6000.c:  Update copyright.
          (machopic_output_stub):  Use them.  Remove an insn from stub code.

From-SVN: r60858
2003-01-03 23:09:33 +00:00
Jeff Sturm
c75c7793f5 ffi.h.in: Add closure defines for SPARC, SPARC64.
* include/ffi.h.in: Add closure defines for SPARC, SPARC64.
* src/ffitest.c (main): Use static storage for closure.
* src/sparc/ffi.c (ffi_prep_closure, ffi_closure_sparc_inner): New.
* src/sparc/v8.S (ffi_closure_v8): New.
* src/sparc/v9.S (ffi_closure_v9): New.

From-SVN: r60857
2003-01-03 23:08:56 +00:00
Tom Tromey
1778c8ff34 * libjava.compile/pr8712.java: New file, for PR java/8712.
From-SVN: r60856
2003-01-03 23:07:23 +00:00
Dhek Bhun Kho
5e694fba05 UnicastServerRef.java (unexportObject): Don't throw RemoteException.
2003-01-03  Dhek Bhun Kho  <bhun@chello.nl>

	* gnu/java/rmi/server/UnicastServerRef.java (unexportObject):
	Don't throw RemoteException.
	* java/rmi/server/UnicastRemoteObject.java (unexportObject): Don't
	throw RemoteException.

From-SVN: r60854
2003-01-03 22:57:25 +00:00
Toon Moene
425c134868 stc.c (ffestc_R810): Allow any kind integer in case statements.
2003-01-03  Bud Davis <bdavis11@directvinternet.com>

	* stc.c (ffestc_R810): Allow any kind integer in
	case statements.
	* ste.c (ffeste_R810): Give error message when
	case selector exceeds its valid values.

From-SVN: r60852
2003-01-03 22:02:29 +00:00
Jason Merrill
4e8dca1c3a fold-const.c (fold): Avoid NOP_EXPRs better.
* fold-const.c (fold) [COND_EXPR]: Avoid NOP_EXPRs better.

        * integrate.c (copy_decl_for_inlining): Don't clear the rtl for
        static/external decls.
cp/
        * call.c (build_conditional_expr): Stabilize lvalues properly.
        * cvt.c (ocp_convert): Don't build NOP_EXPRs of class type.
        * tree.c (lvalue_p_1): Don't allow sloppy NOP_EXPRs as lvalues.
        Don't allow CALL_EXPR or VA_ARG_EXPR, either.

        * call.c (convert_like_real): Call decl_constant_value for an
        IDENTITY_CONV even if there are no more conversions.

        * cvt.c (build_up_reference): Don't push unnamed temps.

        * decl2.c (do_namespace_alias): Namespace aliases are DECL_EXTERNAL.

        * dump.c (cp_dump_tree): Don't try to dump class-specific fields
        for a backend struct.

        * except.c (wrap_cleanups_r, build_throw): Make
        MUST_NOT_THROW_EXPRs void.
        * init.c (expand_default_init): Update to handle MUST_NOT_THROW_EXPR.

        * init.c (build_vec_delete_1): Pre-evaluate the base address.

        * init.c (get_temp_regvar): Simplify logic.

        * tree.c (cp_copy_res_decl_for_inlining): Only do debug tweaks if
        our replacement is a decl.

From-SVN: r60851
2003-01-03 15:04:38 -05:00
Matt Austern
9aad8f83a8 cp-tree.h (struct lang_type_class): add field for key method
* cp-tree.h (struct lang_type_class): add field for key method
        (cp_global_trees): rename dynamic_classes to keyed_classes
        (key_method): add definition
        * class.c (finish_struct_1): compute class's key method, and add
        the class to keyed_classes list if there is no key method.
        * decl.c (finish_function): add class to keyed_classes list if we
        see a definition of the class's key method.
        * pt.c (instantiate_class_template): add template specialization
        of a dynamic class to keyed_classes list.
        * decl2.c (key_method): remove
        (finish_file): iterate only through keyed_classes list when
        deciding whether to emit vtables, remove class from its list after
        we do the emission.

From-SVN: r60850
2003-01-03 19:48:55 +00:00
Jason Merrill
6cce57b0d0 c-common.c (finish_fname_decls): Put the DECL_STMTs inside the outermost scope.
* c-common.c (finish_fname_decls): Put the DECL_STMTs inside the
        outermost scope.
        * c-decl.c (c_make_fname_decl): Push the decls there, too.
cp/
        * decl.c (cp_make_fname_decl): Push the decls inside the
        outermost scope.

From-SVN: r60848
2003-01-03 14:29:51 -05:00
Joerg Brunsmann
9c91c80bb7 Connection.java (proxyPort, [...]): New static fields.
2003-01-03  Joerg Brunsmann  <joerg_brunsmann@yahoo.de>

	* gnu/gcj/protocol/http/Connection.java (proxyPort, proxyInUse,
	proxyHost): New static fields.
	(<clinit>): Initialize new fields.
	(connect): Use proxy if necessary.
	(usingProxy): Implement.

From-SVN: r60846
2003-01-03 18:05:00 +00:00
Tom Tromey
0320cac3d8 gcj.texi (Standard Properties): Document http.proxyHost and http.proxyPort.
* gcj.texi (Standard Properties): Document http.proxyHost and
	http.proxyPort.

From-SVN: r60844
2003-01-03 18:04:25 +00:00
Tom Tromey
60db58b266 * gcj.texi (GNU Classpath Properties): Document new properties.
From-SVN: r60840
2003-01-03 17:33:20 +00:00
Nathan Sidwell
317583376d PR c++/45, c++/3784
cp:
	PR c++/45, c++/3784
	* tree.c (cp_tree_equal, TEMPLATE_PARM_INDEX): The types must be
	the same too.
testsuite:
	* g++.dg/template/ntp2.C: New test.

From-SVN: r60839
2003-01-03 17:21:14 +00:00
Eric Blake
29456fb870 TreeMap.java (fabricateTree): Fix off-by-one error.
2003-01-03  Eric Blake  <ebb9@email.byu.edu>

	* java/util/TreeMap.java (fabricateTree): Fix off-by-one error.
	(TreeIterator.remove): Prefer IllegalStateException over
	ConcurrentModificationException, to match Sun.

From-SVN: r60837
2003-01-03 17:00:03 +00:00
Kazu Hirata
e392d36793 h8300-protos.h: Add a prototype for h8300_current_function_interrupt_function_p.
* config/h8300/h8300-protos.h: Add a prototype for
	h8300_current_function_interrupt_function_p.
	* config/h8300/h8300.c (interrupt_handler): Remove.
	(os_task): Likewise.
	(monitor): Likewise.
	(pragma_interrupt): New.
	(WORD_REG_USED): Use
	h8300_current_function_interrupt_function_p.
	(dosize): Likewise.
	(h8300_output_function_prologue): Likewise.
	Do not set interrupt_handler, os_task, monitor.
	(h8300_output_function_prologue): Use
	h8300_current_function_interrupt_function_p.
	Do not set interrupt_handler, os_task, monitor.
	(h8300_current_function_interrupt_function_p): New.
	(h8300_pr_interrupt): Set pragma_interrupt.
	(h8300_insert_attributes): Reset pragma_interrupt.

From-SVN: r60836
2003-01-03 16:44:55 +00:00
Jason Merrill
d3974db05a fix comment spello
From-SVN: r60835
2003-01-03 11:41:23 -05:00
Anthony Green
7125beea7a boehm.cc (_Jv_MarkObj): Mark the protectionDomain of a class.
2002-12-22  Anthony Green  <green@redhat.com>

	* boehm.cc (_Jv_MarkObj): Mark the protectionDomain of a class.

From-SVN: r60834
2003-01-03 16:34:37 +00:00