GCC Administrator [Sun, 5 Jan 2003 08:17:19 +0000 (08:17 +0000)]
Daily bump.
From-SVN: r60909
Paolo Carlini [Sun, 5 Jan 2003 08:04:18 +0000 (09:04 +0100)]
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
Kaveh R. Ghazi [Sun, 5 Jan 2003 05:27:45 +0000 (05:27 +0000)]
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
Kaveh R. Ghazi [Sun, 5 Jan 2003 04:38:58 +0000 (04:38 +0000)]
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
Kaveh R. Ghazi [Sun, 5 Jan 2003 04:37:08 +0000 (04:37 +0000)]
Makefile.in (gtyp-gen.h): Const-ify.
* Makefile.in (gtyp-gen.h): Const-ify.
* gcov-dump.c (tag_table): Likewise.
From-SVN: r60898
Tom Tromey [Sun, 5 Jan 2003 01:18:21 +0000 (01:18 +0000)]
* java/awt/List.java: Merged with Classpath.
From-SVN: r60896
Toon Moene [Sat, 4 Jan 2003 22:13:02 +0000 (23:13 +0100)]
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
Bruce Korb [Sat, 4 Jan 2003 21:17:01 +0000 (21:17 +0000)]
When wrapping files, guard with both the fix name and the file name
From-SVN: r60893
John David Anglin [Sat, 4 Jan 2003 21:13:45 +0000 (21:13 +0000)]
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
John David Anglin [Sat, 4 Jan 2003 20:49:49 +0000 (20:49 +0000)]
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
Mark Mitchell [Sat, 4 Jan 2003 20:00:44 +0000 (20:00 +0000)]
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
Bruce Korb [Sat, 4 Jan 2003 18:44:04 +0000 (18:44 +0000)]
remove obsolete fixes
From-SVN: r60883
Kazu Hirata [Sat, 4 Jan 2003 17:46:24 +0000 (17:46 +0000)]
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
Jason Merrill [Sat, 4 Jan 2003 16:13:13 +0000 (11:13 -0500)]
* call.c (build_conditional_expr): Stabilize lvalues properly.
From-SVN: r60881
Kriang Lerdsuwanakij [Sat, 4 Jan 2003 14:30:59 +0000 (14:30 +0000)]
namespace3.C: Remove extra semicolons.
* g++.dg/parse/namespace3.C: Remove extra semicolons.
* g++.dg/parse/namespace4.C: Likewise.
From-SVN: r60880
GCC Administrator [Sat, 4 Jan 2003 08:17:20 +0000 (08:17 +0000)]
Daily bump.
From-SVN: r60877
Mark Wielaard [Sat, 4 Jan 2003 03:53:00 +0000 (03:53 +0000)]
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
Mark Wielaard [Sat, 4 Jan 2003 03:44:07 +0000 (03:44 +0000)]
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
Mark Wielaard [Sat, 4 Jan 2003 00:08:11 +0000 (00:08 +0000)]
FileInputStream.java (finalize): Don't explicitly finalize FileDescriptor.
* java/io/FileInputStream.java (finalize): Don't explicitly
finalize FileDescriptor.
From-SVN: r60863
Jeff Sturm [Fri, 3 Jan 2003 23:36:42 +0000 (23:36 +0000)]
* configure.host (sparc*-*): Enable bytecode interpreter.
From-SVN: r60862
Nathanael Nerode [Fri, 3 Jan 2003 23:13:09 +0000 (23:13 +0000)]
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
Tom Tromey [Fri, 3 Jan 2003 23:09:33 +0000 (23:09 +0000)]
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
Dale Johannesen [Fri, 3 Jan 2003 23:09:33 +0000 (23:09 +0000)]
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
Jeff Sturm [Fri, 3 Jan 2003 23:08:56 +0000 (23:08 +0000)]
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
Tom Tromey [Fri, 3 Jan 2003 23:07:23 +0000 (23:07 +0000)]
* libjava.compile/pr8712.java: New file, for PR java/8712.
From-SVN: r60856
Dhek Bhun Kho [Fri, 3 Jan 2003 22:57:25 +0000 (23:57 +0100)]
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
Toon Moene [Fri, 3 Jan 2003 22:02:29 +0000 (22:02 +0000)]
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
Jason Merrill [Fri, 3 Jan 2003 20:04:38 +0000 (15:04 -0500)]
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
Matt Austern [Fri, 3 Jan 2003 19:48:55 +0000 (19:48 +0000)]
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
Jason Merrill [Fri, 3 Jan 2003 19:29:51 +0000 (14:29 -0500)]
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
Joerg Brunsmann [Fri, 3 Jan 2003 18:05:00 +0000 (18:05 +0000)]
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
Tom Tromey [Fri, 3 Jan 2003 18:04:25 +0000 (18:04 +0000)]
gcj.texi (Standard Properties): Document http.proxyHost and http.proxyPort.
* gcj.texi (Standard Properties): Document http.proxyHost and
http.proxyPort.
From-SVN: r60844
Tom Tromey [Fri, 3 Jan 2003 17:33:20 +0000 (17:33 +0000)]
* gcj.texi (GNU Classpath Properties): Document new properties.
From-SVN: r60840
Nathan Sidwell [Fri, 3 Jan 2003 17:21:14 +0000 (17:21 +0000)]
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
Eric Blake [Fri, 3 Jan 2003 17:00:03 +0000 (17:00 +0000)]
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
Kazu Hirata [Fri, 3 Jan 2003 16:44:55 +0000 (16:44 +0000)]
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
Jason Merrill [Fri, 3 Jan 2003 16:41:23 +0000 (11:41 -0500)]
fix comment spello
From-SVN: r60835
Anthony Green [Fri, 3 Jan 2003 16:34:37 +0000 (16:34 +0000)]
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
Nathanael Nerode [Fri, 3 Jan 2003 16:07:26 +0000 (16:07 +0000)]
* g++.dg/parse/extern-C-1.C: New test.
From-SVN: r60833
Nathanael Nerode [Fri, 3 Jan 2003 15:50:11 +0000 (15:50 +0000)]
* g++.dg/parse/namespace4.C: New test.
From-SVN: r60832
Nathanael Nerode [Fri, 3 Jan 2003 15:29:44 +0000 (15:29 +0000)]
* g++.dg/template/nested1.C: New test.
From-SVN: r60831
Nathanael Nerode [Fri, 3 Jan 2003 12:52:34 +0000 (12:52 +0000)]
* g++.dg/parse/namespace3.C: New test.
From-SVN: r60828
Gerald Pfeifer [Fri, 3 Jan 2003 10:16:30 +0000 (11:16 +0100)]
install.texi (Configuration): Fix markup for reference to gcc/config.gcc.
* doc/install.texi (Configuration): Fix markup for reference to
gcc/config.gcc.
From-SVN: r60826
GCC Administrator [Fri, 3 Jan 2003 08:19:49 +0000 (08:19 +0000)]
Daily bump.
From-SVN: r60825
Kaveh R. Ghazi [Fri, 3 Jan 2003 06:05:11 +0000 (06:05 +0000)]
gcc_update (files_and_dependencies): Add gcc/cp/cfns.h depends on gcc/cp/cfns.gperf and gcc/java/keyword.h depends...
* gcc_update (files_and_dependencies): Add gcc/cp/cfns.h depends
on gcc/cp/cfns.gperf and gcc/java/keyword.h depends on
gcc/java/keyword.gperf
From-SVN: r60817
Nathanael Nerode [Fri, 3 Jan 2003 02:13:46 +0000 (02:13 +0000)]
* g++.dg/lookup/two-stage1.C: New test.
From-SVN: r60814
Graham Stott [Fri, 3 Jan 2003 02:11:55 +0000 (02:11 +0000)]
parser.c (struct cp_parser): Add access_checks_lists field
* parser.c (struct cp_parser): Add access_checks_lists field
(cp_parser_simple_declaration): Use.
(cp_parser_init_declarator): Likewise.
From-SVN: r60813
Kaveh R. Ghazi [Fri, 3 Jan 2003 01:44:30 +0000 (01:44 +0000)]
900404_04.C: Remove XFAIL.
* g++.old-deja/g++.bugs/900404_04.C: Remove XFAIL.
* g++.old-deja/g++.jason/access8.C: Likewise.
* g++.old-deja/g++.other/decl5.C: Likewise.
From-SVN: r60811
Mark Wielaard [Fri, 3 Jan 2003 00:49:31 +0000 (00:49 +0000)]
HttpURLConnection.java (HTTP_NOT_IMPLEMENTED): Must be public.
* java/net/HttpURLConnection.java (HTTP_NOT_IMPLEMENTED): Must be
public.
(HTTP_USE_PROXY): Add field.
(getResponseVals): Only set responseCode when not yet explicitly
set by subclass.
From-SVN: r60809
Jason Merrill [Thu, 2 Jan 2003 22:48:21 +0000 (17:48 -0500)]
atomicity.h (__exchange_and_add, [...]): *__mem is also an output.
* config/cpu/i486/atomicity.h (__exchange_and_add, __atomic_add):
*__mem is also an output.
* config/cpu/m68k/atomicity.h (__exchange_and_add): Likewise.
From-SVN: r60807
Neil Booth [Thu, 2 Jan 2003 21:06:38 +0000 (21:06 +0000)]
* g++.dg/parse/parse7.C: New test.
From-SVN: r60805
Artur Biesiadowski [Thu, 2 Jan 2003 21:01:24 +0000 (22:01 +0100)]
ZipFile.java (entries): Now HashMap.
* java/util/zip/ZipFile.java (entries): Now HashMap.
(readLeShort(DataInput, byte[])): Read from given byte array.
(readLeInt(DataInput, byte[]): Likewise.
(readLeShort(byte[] b, int off)): New method.
(readLeInt(byte[] b, int off)): Likewise.
(readEntries): Use byte arrays to read info in bigger chunks.
(getEntries): Return HashMap.
(getEntry): Use HashMap.
(locBuf): New private field.
(checkLocalHeader): Use locBuf to read info in one chunk.
(getInputStream): Use entries HashMap, wrap PartialInputStream
in BufferedInputStream.
(ZipEntryEnumeration): Use HashMap and Interator.
Co-Authored-By: Mark Wielaard <mark@klomp.org>
From-SVN: r60803
Mark Mitchell [Thu, 2 Jan 2003 20:30:45 +0000 (20:30 +0000)]
parser.c (cp_parser_declaration): Accept the __extension__ keyword before the declaration.
* parser.c (cp_parser_declaration): Accept the __extension__
keyword before the declaration.
From-SVN: r60802
Mark Mitchell [Thu, 2 Jan 2003 20:04:56 +0000 (20:04 +0000)]
re PR c++/2843 (parser: __attribute__ on parameter declarations)
PR c++/2843
* parser.c (cp_parser_parameter_declaration): Allow attributes to
appear after the declarator.
PR c++/2843
* g++.dg/ext/attrib7.C: New test.
From-SVN: r60801
Mark Mitchell [Thu, 2 Jan 2003 19:57:34 +0000 (19:57 +0000)]
call.c (build_new_method_call): Fix typo in message format string.
* call.c (build_new_method_call): Fix typo in message format
string.
From-SVN: r60800
Mark Mitchell [Thu, 2 Jan 2003 19:45:12 +0000 (19:45 +0000)]
parser.c (cp_lexer_next_token_is): Declare it inline.
* parser.c (cp_lexer_next_token_is): Declare it inline.
(cp_lexer_set_source_position_from_token): Likewise.
(cp_lexer_debugging_p): Likewise.
(cp_parser_parsing_tentatively): Likewise.
(cp_parser_nested_name_specifier_opt): Reduce the number of calls
to the cp_lexer_peek_token.
From-SVN: r60797
Neil Booth [Thu, 2 Jan 2003 19:27:31 +0000 (19:27 +0000)]
* g++.dg/parse/parse6.C: New test.
From-SVN: r60795
Kazu Hirata [Thu, 2 Jan 2003 18:53:35 +0000 (18:53 +0000)]
h8300.md (*iorhi3_zext): Relax the condition.
* config/h8300/h8300.md (*iorhi3_zext): Relax the condition.
(*iorhi3_two_qi): Likewise.
(*iorsi3_zexthi): Likewise.
(*xorhi3_zextqi): Likewise.
(*xorsi3_zexthi): Likewise.
(*xorsi3_zextqi): Likewise.
From-SVN: r60793
Mark Mitchell [Thu, 2 Jan 2003 18:12:28 +0000 (18:12 +0000)]
parser.c (cp_parser_sizeof_operand): Do not evaluate the expression.
* parser.c (cp_parser_sizeof_operand): Do not evaluate the
expression.
From-SVN: r60791
Kazu Hirata [Thu, 2 Jan 2003 15:01:14 +0000 (15:01 +0000)]
* gcc.dg/h8300-stack-1.c: New.
From-SVN: r60785
Kazu Hirata [Thu, 2 Jan 2003 14:59:30 +0000 (14:59 +0000)]
h8300.c (stack_pointer_operand): New.
* config/h8300/h8300.c (stack_pointer_operand): New.
(const_int_gt_2_operand): Likewise.
(const_int_ge_8_operand): Likewise.
* config/h8300/h8300.md (a splitter): Likewise.
(a peephole2): Likewise.
* config/h8300/h8300-protos.h: Add prototypes for the new
functions above.
From-SVN: r60784
Steven Bosscher [Thu, 2 Jan 2003 11:39:56 +0000 (12:39 +0100)]
except.c, [...]: Fix Copyright years.
2003-01-02 Steven Bosscher <s.bosscher@student.tudelft.nl>
* cp/except.c, cp/expr.c, cp/friend.c, cp/g++spec.c,
cp/lang-options.h, cp/lang-specs.h, cp/lex.h,
cp/ptree.c, cp/repo.c,
java/jcf-reader.c, java/jvgenmain.c,
java/keyword.gperf, java/lang-options.h,
java/mangle.c, java/mangle_name.c,
java/xref.c, java/zextract.c,java/zipfile.h,
objc/Make-lang.in, objc/config-lang.in,
objc/lang-specs.h, objc/objc-act.h: Fix
Copyright years.
From-SVN: r60783
Steven Bosscher [Thu, 2 Jan 2003 10:30:43 +0000 (11:30 +0100)]
* doc/passes.texi: Fix documentation for -fssa-ccp
From-SVN: r60782
Mark Wielaard [Thu, 2 Jan 2003 09:34:34 +0000 (09:34 +0000)]
URLClassLoader.java (Resource.getCodeSource): Fix check certs == null.
* java/net/URLClassLoader.java (Resource.getCodeSource):
Fix check certs == null.
(getCanonicalFileURL): Removed method.
(JarURLLoader): Don't call removed method.
(FileURLLoader): Likewise.
(FileURLLoader.getResource): Don't canonicalize file name.
Co-Authored-By: Jeroen Frijters <jeroen@sumatra.nl>
From-SVN: r60780
GCC Administrator [Thu, 2 Jan 2003 08:17:22 +0000 (08:17 +0000)]
Daily bump.
From-SVN: r60779
Neil Booth [Thu, 2 Jan 2003 05:10:27 +0000 (05:10 +0000)]
* gccbug.in: Update.
From-SVN: r60771
Kazu Hirata [Thu, 2 Jan 2003 02:42:57 +0000 (02:42 +0000)]
* config/h8300/h8300.md: Reorder some patterns.
From-SVN: r60770
Kazu Hirata [Thu, 2 Jan 2003 02:19:59 +0000 (02:19 +0000)]
* config/h8300/h8300.c (output_logical_op): Fix a warning.
From-SVN: r60769
Tom Tromey [Thu, 2 Jan 2003 00:14:24 +0000 (00:14 +0000)]
Makefile.in: Rebuilt.
* Makefile.in: Rebuilt.
* Makefile.am (rmi_java_source_files): Added RMIClassLoaderSpi.
* java/awt/AlphaComposite.java, java/awt/BasicStroke.java,
java/awt/BufferCapabilities.java, java/awt/Button.java,
java/awt/CheckboxMenuItem.java, java/awt/Choice.java,
java/awt/Container.java, java/awt/Cursor.java,
java/awt/EventQueue.java, java/awt/FileDialog.java,
java/awt/Graphics2D.java, java/awt/Label.java, java/awt/Menu.java,
java/awt/MenuBar.java, java/awt/MenuComponent.java,
java/awt/PopupMenu.java, java/awt/ScrollPane.java,
java/awt/Scrollbar.java, java/awt/TextArea.java,
java/awt/TextField.java, java/awt/color/CMMException.java,
java/awt/color/ColorSpace.java, java/awt/color/ICC_Profile.java,
java/awt/color/ProfileDataException.java,
java/awt/datatransfer/Clipboard.java,
java/awt/datatransfer/DataFlavor.java,
java/awt/datatransfer/FlavorMap.java,
java/awt/datatransfer/SystemFlavorMap.java,
java/awt/dnd/DragGestureEvent.java,
java/awt/dnd/DragGestureRecognizer.java,
java/awt/dnd/DragSource.java, java/awt/dnd/DropTarget.java,
java/awt/event/WindowEvent.java, java/awt/geom/PathIterator.java,
java/awt/im/InputMethodHighlight.java,
java/io/PipedOutputStream.java, java/io/PipedWriter.java,
java/rmi/server/RMIClassLoader.java: Merged from Classpath.
* gnu/awt/j2d/Graphics2DImpl.java (drawImage): Changed type of
`op' to BufferedImageOp.
From-SVN: r60768
Tom Tromey [Thu, 2 Jan 2003 00:05:14 +0000 (00:05 +0000)]
* libjava.compile/pr8955.java: New test, for PR java/8955.
From-SVN: r60764
Nathanael Nerode [Wed, 1 Jan 2003 21:03:50 +0000 (21:03 +0000)]
g++.dg/lookup/exception1.C: New test.
From-SVN: r60763
Neil Booth [Wed, 1 Jan 2003 20:39:12 +0000 (20:39 +0000)]
darwin-protos.h, [...]: Use struct, and don't conditionally compile on GCC_C_PRAGMA_H.
* config/darwin-protos.h, config/c4x/c4x-protos.h,
config/cris/cris-protos.h, config/i370/i370-protos.h,
config/i960/i960-protos.h, config/ia64/ia64-protos.h,
config/v850/v850-protos.h: Use struct, and don't conditionally
compile on GCC_C_PRAGMA_H.
From-SVN: r60762
Nathanael Nerode [Wed, 1 Jan 2003 20:36:49 +0000 (20:36 +0000)]
g++.dg/lookup/template1.C: New test.
From-SVN: r60761
Kazu Hirata [Wed, 1 Jan 2003 20:23:02 +0000 (20:23 +0000)]
arm-protos.h: Remove #ifdef GCC_C_PRAGMA_H.
* config/arm/arm-protos.h: Remove #ifdef GCC_C_PRAGMA_H.
* config/h8300/h8300-protos.h: Likewise.
* config/sh/sh-protos.h: Likewise.
From-SVN: r60760
Kazu Hirata [Wed, 1 Jan 2003 20:15:51 +0000 (20:15 +0000)]
arm-protos.h: Use struct cpp_reader instead of cpp_reader.
* config/arm/arm-protos.h: Use struct cpp_reader instead of
cpp_reader.
* config/h8300/h8300-protos.h: Likewise.
* config/sh/sh-protos.h: Likewise.
From-SVN: r60759
Nathanael Nerode [Wed, 1 Jan 2003 20:00:36 +0000 (20:00 +0000)]
g++.dg/parse/namespace2.C: New test.
From-SVN: r60758
Neil Booth [Wed, 1 Jan 2003 19:39:19 +0000 (19:39 +0000)]
arm.c (arm_pr_long_calls, [...]): Use struct.
* config/arm/arm.c (arm_pr_long_calls, arm_pr_no_long_calls,
arm_pr_long_calls_off): Use struct.
* config/h8300/h8300.c (h8300_pr-interrupt, h8300_pr_saveall)
: Similarly.
Don't include cpplib.h.
* config/sh/sh.c (sh_pr_interrupt, sh_pr_trapa,
sh_pr_nosave_low_regs): Similarly.
From-SVN: r60757
Kazu Hirata [Wed, 1 Jan 2003 16:39:35 +0000 (16:39 +0000)]
* config/h8300/h8300.c: Include cpplib.h.
From-SVN: r60754
Nathanael Nerode [Wed, 1 Jan 2003 16:32:15 +0000 (16:32 +0000)]
g++.dg/parse/parens2.C: New test.
From-SVN: r60753
Neil Booth [Wed, 1 Jan 2003 15:58:43 +0000 (15:58 +0000)]
* g++.dg/lookup/scoped4.C: New test.
From-SVN: r60751
Neil Booth [Wed, 1 Jan 2003 15:43:19 +0000 (15:43 +0000)]
* g++.dg/parse/parse5.C: New test.
From-SVN: r60750
Andreas Jaeger [Wed, 1 Jan 2003 15:26:07 +0000 (16:26 +0100)]
Make-lang.in ($(srcdir)/f/BUGS): Add include path for gcc-common.texi.
* f/Make-lang.in ($(srcdir)/f/BUGS): Add include path for
gcc-common.texi.
($(srcdir)/f/NEWS): Likewise.
From-SVN: r60748
Steven Bosscher [Wed, 1 Jan 2003 15:10:03 +0000 (16:10 +0100)]
Make-lang.in, [...]: Replace "GNU CC" with "GCC" in the copyright header.
* Make-lang.in, boehm.c, buffer.c,
buffer.h, builtins.c, class.c,
config-lang.in, constants.c,
convert.h, decl.c, except.c,
expr.c, java-except.h,
java-tree.h, javaop.def,
jcf-parse.c, jcf-write.c,
jv-scan.c, jvgenmain.c,
jvspec.c, keyword.gperf,
keyword.h, lang-options.h,
lang-specs.h, lang.c, lex.c,
lex.h, mangle.c, mangle_name.c,
parse-scan.y, parse.h, parse.y,
typeck.c, verify.c, xref.c,
xref.h: Replace "GNU CC" with
"GCC" in the copyright header.
* check-init.c, gjavah.c, javaop.h,
jcf-depend.c, jcf-dump.c, jcf-io.c,
jcf-path.c, jcf-reader.c, jcf.h,
zextract.c, zipfile.h: These files are
"part of GCC". Also say "GCC" not "GNU CC".
From-SVN: r60747
Nathanael Nerode [Wed, 1 Jan 2003 15:03:00 +0000 (15:03 +0000)]
* g++.dg/parse/parens1.C: New test.
From-SVN: r60746
Nathanael Nerode [Wed, 1 Jan 2003 14:59:07 +0000 (14:59 +0000)]
parens2.C: Removed, turned out to duplicate angle-bracket1.C.
* g++.dg/parse/parens2.C: Removed, turned out to duplicate
angle-bracket1.C.
From-SVN: r60745
Nathanael Nerode [Wed, 1 Jan 2003 14:30:43 +0000 (14:30 +0000)]
* g++.dg/parse/parens2.C: New test.
From-SVN: r60744
Nathanael Nerode [Wed, 1 Jan 2003 12:54:09 +0000 (12:54 +0000)]
* g++.dg/lookup/scope-operator1.C: New test.
From-SVN: r60743
Steven Bosscher [Wed, 1 Jan 2003 12:49:14 +0000 (13:49 +0100)]
Make-lang.in, [...]: Replace "GNU CC" with "GCC" in the copyright header.
* objc/Make-lang.in, objc/config-lang.in, objc/lang-options.h,
objc/lang-specs.h, objc/objc-act.c, objc/objc-act.h,
objc/objc-lang.c, objc/objc-tree.def: Replace "GNU CC" with
"GCC" in the copyright header.
From-SVN: r60742
Nathanael Nerode [Wed, 1 Jan 2003 12:36:31 +0000 (12:36 +0000)]
* g++.dg/parse/operator1.C: New test.
From-SVN: r60741
Neil Booth [Wed, 1 Jan 2003 12:27:02 +0000 (12:27 +0000)]
c-pragma.c (c_register_pragma): New.
* c-pragma.c (c_register_pragma): New.
(init_pragma): Use it.
* c-pragma.h (cpp_register_pragma): Don't declare.
(c_register_pragma): New.
* cpplib.h: Remove #ifdef GCC_C_PRAGMA_H.
* config/darwin.h (REGISTER_TARGET_PRAGMAS): Update.
* config/arm/arm.h (REGISTER_TARGET_PRAGMAS): Update.
* config/c4x/c4x.h (REGISTER_TARGET_PRAGMAS): Update.
* config/h8300/h8300.h (REGISTER_TARGET_PRAGMAS): Update.
* config/i370/i370.h (REGISTER_TARGET_PRAGMAS): Update.
* config/i960/i960.h (REGISTER_TARGET_PRAGMAS): Update.
* config/ia64/hpux.h (REGISTER_TARGET_PRAGMAS): Update.
* config/rs6000/rs6000.h (REGISTER_TARGET_PRAGMAS): Update.
* config/sh/sh.h (REGISTER_TARGET_PRAGMAS): Update.
* config/v850/v850.h (REGISTER_TARGET_PRAGMAS): Update.
* doc/tm.texi (REGISTER_TARGET_PRAGMAS): Update
cp:
* lex.c: Remove superfluous include of cpplib.h.
(CONSTRAINT): Define without conditions.
(init_cp_pragma): Use c_register_pragma.
From-SVN: r60740
Neil Booth [Wed, 1 Jan 2003 12:00:11 +0000 (12:00 +0000)]
* .cvsignore: Remove.
From-SVN: r60739
Steven Bosscher [Wed, 1 Jan 2003 11:58:58 +0000 (12:58 +0100)]
call.c, [...]: Replace "GNU CC" with "GCC" in the copyright header.
* call.c, class.c, cp-lang.c, cp-tree.h, cvt.c, dump.c, error.c,
except.c, expr.c friend.c, g++spec.c, init.c, lang-options.h,
lang-specs.h, lex.c, mangle.c, method.c, optimize.c, parser.c,
pt.c, ptree.c, repo.c, rtti.c, search.c, semantics.c, tree.c,
typeck.c, typeck2.c: Replace "GNU CC" with "GCC" in the
copyright header.
* lex.h: parse.y is dead, so don't mention it. Also replace the
copyright header with the default GNU copyright header.
From-SVN: r60738
GCC Administrator [Wed, 1 Jan 2003 08:17:19 +0000 (08:17 +0000)]
Daily bump.
From-SVN: r60737
Kriang Lerdsuwanakij [Wed, 1 Jan 2003 07:43:35 +0000 (07:43 +0000)]
ambig3.C: Remove XFAIL.
* g++.old-deja/g++.jason/ambig3.C: Remove XFAIL.
* g++.old-deja/g++.other/access6.C: Likewise.
* g++.old-deja/g++.other/decl1.C: Likewise.
* g++.old-deja/g++.pt/typename12.C: Likewise.
From-SVN: r60730
Mark Mitchell [Wed, 1 Jan 2003 03:16:16 +0000 (03:16 +0000)]
cp-tree.h (LOOKUP_TEMPLATES_EXPECTED): Remove.
* cp-tree.h (LOOKUP_TEMPLATES_EXPECTED): Remove.
(lookup_name_namespace_only): Likewise.
(begin_only_namespace_names): Likewise.
(end_only_namespace_names): Likewise.
* decl.c (only_namespace_names): Remove.
(qualify_lookup): Do not check LOOKUP_TEMPLATES_EXPECTED.
(lookup_name_real): Do not check only_namespace_names.
(lookup_name_namespace_only): Remove.
(begin_only_namespace_names): Likewise.
(end_only_namespace_names): Likewise.
* parser.c (cp_parser_nested_name_specifier_opt): Handle erroneous
nested-name-specifiers more gracefully.
(cp_parser_class_or_namespace_name): Avoid looking up namespace
names when they cannot possibly appear.
(cp_parser_template_name): Adjust call to cp_parser_lookup_name.
(cp_parser_elaborated_type_specifier): Likewise.
(cp_parser_namespace_name): Only look for namespace names.
(cp_parser_lookup_name): Add is_namespace parameter.
(cp_parser_lookup_name_simple): Adjust call to
cp_parser_lookup_name.
* g++.dg/parse/namespace1.C: New test.
From-SVN: r60729
Neil Booth [Wed, 1 Jan 2003 00:49:36 +0000 (00:49 +0000)]
* g++.dg/parse/parse4.C: New test.
From-SVN: r60728
Neil Booth [Wed, 1 Jan 2003 00:43:53 +0000 (00:43 +0000)]
* g++.dg/parse/parse3.C: New test.
From-SVN: r60727
Neil Booth [Wed, 1 Jan 2003 00:38:07 +0000 (00:38 +0000)]
* g++.dg/parse/parse2.C: New test.
From-SVN: r60726
Neil Booth [Wed, 1 Jan 2003 00:27:14 +0000 (00:27 +0000)]
* g++.dg/template/friend11.C: New test.
From-SVN: r60725
Neil Booth [Wed, 1 Jan 2003 00:14:57 +0000 (00:14 +0000)]
*** empty log message ***
From-SVN: r60724