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
Neil Booth [Wed, 1 Jan 2003 00:13:48 +0000 (00:13 +0000)]
* g++.dg/parse/parse1.C: New test.
From-SVN: r60723
Tom Tromey [Tue, 31 Dec 2002 22:50:10 +0000 (22:50 +0000)]
re PR libgcj/7416 (java.security startup refs "GNU libgcj.security")
Fix for PR libgcj/7416:
* javax/naming/InitialContext.java (init): Use
gnu.classpath.home.url.
* java/security/Security.java: Use new properties.
(loadProviders): Accept base url; use it.
* java/lang/System.java: Document gnu.classpath.vm.shortname, and
gnu.classpath.home.url.
(gnu.classpath.home.url): Define.
(gnu.classpath.vm.shortname): Likewise.
From-SVN: r60722
Neil Booth [Tue, 31 Dec 2002 22:11:33 +0000 (22:11 +0000)]
* .cvsignore: Update.
From-SVN: r60720
Kazu Hirata [Tue, 31 Dec 2002 21:06:43 +0000 (21:06 +0000)]
h8300-protos.h: Update the prototypes.
* config/h8300/h8300-protos.h: Update the prototypes.
* config/h8300/h8300.c (const_le_2_operand): Change to
const_int_le_2_operand.
(const_int_le_6_operand): Change to const_int_le_6_operand.
* config/h8300/h8300.md (two peepholes): Update the function
names.
From-SVN: r60719
Mark Mitchell [Tue, 31 Dec 2002 20:28:27 +0000 (20:28 +0000)]
parser.c (cp_parser_dependent_type_p): Fix thinko.
* parser.c (cp_parser_dependent_type_p): Fix thinko.
* g++.dg/init/array9.C: New test.
From-SVN: r60718
Tom Tromey [Tue, 31 Dec 2002 20:10:53 +0000 (20:10 +0000)]
Makefile.in: Rebuilt.
* Makefile.in: Rebuilt.
* Makefile.def (target_modules) [libffi]: Allow installation.
From-SVN: r60717
Janis Johnson [Tue, 31 Dec 2002 20:00:44 +0000 (20:00 +0000)]
profopt.exp: Change the name of a global variable to avoid possible clashes with other test...
* lib/profopt.exp: Change the name of a global variable to avoid
possible clashes with other test suites.
From-SVN: r60711
Nathan Sidwell [Tue, 31 Dec 2002 19:43:16 +0000 (19:43 +0000)]
class.c (modify_vtable_entry): Remove unused variable.
cp:
* class.c (modify_vtable_entry): Remove unused variable.
(get_vcall_index): Always expect a non-thunk.
(update_vtable_entry_for_fn): Combine covariant adjustments, when
overriding a thunk. Pass get_vcall_index a non-thunk.
* decl2.c (finish_file): Mark undefined inlines as extern.
testsuite:
* g++.dg/inherit/covariant8.C: New test.
From-SVN: r60710
Tom Tromey [Tue, 31 Dec 2002 19:16:24 +0000 (19:16 +0000)]
* doc/install.texi (Testing): Fixed typo.
From-SVN: r60709
Mark Mitchell [Tue, 31 Dec 2002 18:58:09 +0000 (18:58 +0000)]
cp-tree.def (RETURN_INIT): Remove.
* cp-tree.def (RETURN_INIT): Remove.
* cp-tree.h (DECL_IN_MEMORY_P): Remove.
(scope_kind): Add sk_block, sk_try, sk_catch, sk_for.
(note_level_for_for): Remove.
(note_level_for_try): Likewise.
(note_level_for_catch): Likewise.
(finish_named_return_value): Likewise.
(do_pushlevel): Change prototype.
(pending_lang_change): Remove.
* decl.c (begin_scope): Handle sk_block, sk_try, sk_catch,
sk_for.
(note_level_for_for): Remove.
(note_level_for_try): Likewise.
(note_level_for_catch): Likewise.
(maybe_inject_for_scope_var): Remove use of DECL_IN_MEMORY_P.
* parser.c (cp_parser_context_free_list): Make it "deletable".
(cp_parser_template_argument): Remove misleading comment.
* pt.c (tsubst_expr): Remove RETURN_INIT code.
* semantics.c (genrtl_named_return_value): Remove.
(do_pushlevel): Take a scope kind as an argument.
(begin_if_stmt): Adjust.
(begin_while_stmt): Likewise.
(begin_for_stmt): Likewise.
(finish_for_init_stmt): Likewise.
(begin_switch_stmt): Likewise.
(begin_handler): Likewise.
(begin_compound_stmt): Likewise.
(finish_named_return_value): Remove.
(cp_expand_stmt): Remove RETURN_INIT case.
* tree.c (cp_statement_code_p): Remove RETURN_INIT case.
* g++.dg/init/array9.C: New test.
From-SVN: r60707
Mark Mitchell [Tue, 31 Dec 2002 18:48:19 +0000 (18:48 +0000)]
re PR c++/9112 (new C++ parser rejects code older parsers accepted)
PR c++/9112
* parser.c (cp_parser_direct_declarator): Handle erroneous
parenthesized declarators correctly.
PR c++/9112
* g++.dg/parse/expr1.C: New test.
From-SVN: r60706
Kazu Hirata [Tue, 31 Dec 2002 18:31:59 +0000 (18:31 +0000)]
h8300.h (TRAMPOLINE_TEMPLATE): Remove.
* config/h8300/h8300.h (TRAMPOLINE_TEMPLATE): Remove.
(TRAMPOLINE_SIZE): Support the normal mode.
(INITIALIZE_TRAMPOLINE): Emit the entire trampoline.
From-SVN: r60705
Andreas Schwab [Tue, 31 Dec 2002 18:01:38 +0000 (18:01 +0000)]
configure.in: Fix use of $program_transform_name.
* configure.in: Fix use of $program_transform_name.
* configure: Regenerated.
From-SVN: r60704
Tom Tromey [Tue, 31 Dec 2002 17:52:25 +0000 (17:52 +0000)]
For PR libgcj/8933:
* include/Makefile.in: Rebuilt.
* include/Makefile.am (noinst_HEADERS): Renamed from
include_HEADERS.
From-SVN: r60702
Tom Tromey [Tue, 31 Dec 2002 17:43:47 +0000 (17:43 +0000)]
re PR libgcj/8997 (spin() calls Thread.sleep)
2002-12-31 Tom Tromey <tromey@redhat.com>
Ranjit Mathew <rmathew@hotmail.com>
Fix for PR libgcj/8997:
* java/lang/natObject.cc (spin): Use _Jv_platform_usleep.
Include platform.h.
* include/posix.h (_Jv_platform_usleep): New function.
* include/win32.h (_Jv_platform_usleep): New function.
Co-Authored-By: Ranjit Mathew <rmathew@hotmail.com>
From-SVN: r60700
Mark Mitchell [Tue, 31 Dec 2002 17:34:17 +0000 (17:34 +0000)]
* c-common.h (pending_lang_change): Declare.
From-SVN: r60699
Jerry Quinn [Tue, 31 Dec 2002 14:59:09 +0000 (14:59 +0000)]
invoke.texi (Optimization Options): Clean up -O flag descriptions.
* gcc/doc/invoke.texi (Optimization Options): Clean up -O flag
descriptions.
From-SVN: r60696
Jerry Quinn [Tue, 31 Dec 2002 14:43:13 +0000 (14:43 +0000)]
invoke.texi (Optimization Options): List the options enabled by each -O flag.
* gcc/doc/invoke.texi (Optimization Options): List the options
enabled by each -O flag.
From-SVN: r60692
Gabriel Dos Reis [Tue, 31 Dec 2002 11:58:16 +0000 (11:58 +0000)]
* cp-tree.h (pending_lang_change): Declare.
From-SVN: r60687
Gerald Pfeifer [Tue, 31 Dec 2002 10:39:27 +0000 (11:39 +0100)]
install.texi (Configuration): Explicitly refer gcc/config.gcc for a list of cpu models.
* doc/install.texi (Configuration): Explicitly refer
gcc/config.gcc for a list of cpu models.
From-SVN: r60684
Kazu Hirata [Tue, 31 Dec 2002 09:07:36 +0000 (09:07 +0000)]
* config/h8300/h8300.h: Fix comment typos.
From-SVN: r60683
GCC Administrator [Tue, 31 Dec 2002 08:17:44 +0000 (08:17 +0000)]
Daily bump.
From-SVN: r60682
Alexandre Oliva [Tue, 31 Dec 2002 03:30:48 +0000 (03:30 +0000)]
Add missing changelog entry
From-SVN: r60675
Daniel Jacobowitz [Tue, 31 Dec 2002 03:13:38 +0000 (03:13 +0000)]
* configure: Regenerated.
From-SVN: r60674
Daniel Jacobowitz [Tue, 31 Dec 2002 03:12:53 +0000 (03:12 +0000)]
* configure.in (baseargs): Don't remove first configure argument.
From-SVN: r60673
DJ Delorie [Tue, 31 Dec 2002 02:04:41 +0000 (21:04 -0500)]
Minor typos
From-SVN: r60672
David Edelsohn [Tue, 31 Dec 2002 01:05:21 +0000 (01:05 +0000)]
* config/rs6000/rs6000.h (WIDEST_HARDWARE_FP_SIZE): Define.
From-SVN: r60668
Loren J. Rittle [Tue, 31 Dec 2002 00:58:36 +0000 (00:58 +0000)]
Makefile.am: Resolve non-portable use of $<.
* src/Makefile.am: Resolve non-portable use of $<.
* src/Makefile.in: Rebuilt.
From-SVN: r60666
Mark Mitchell [Tue, 31 Dec 2002 00:11:47 +0000 (00:11 +0000)]
parser.c (cp_parser_context_free_list): New variable.
* parser.c (cp_parser_context_free_list): New variable.
(cp_parser_context_new): Use it.
(cp_parser_error): Check return code from
cp_parser_simulate_error.
(cp_parser_simulate_error): Return a value.
(cp_parser_id_expression): Optimize common case.
(cp_parser_class_name): Likewise.
(cp_parser_class_specifier): Adjust call to
cp_parser_late_parsing_default_args.
(cp_parser_lookup_name): Optimize common case.
(cp_parser_late_parsing_for_member): Adjust call to
cp_parser_late_parsing_default_args.
(cp_parser_late_parsing_default_args): Add scope parameter.
(cp_parser_require): Avoid creating the error message unless it's
needed.
(cp_parser_parse_definitely): Place free'd contexts on the free
list.
From-SVN: r60665
Tom Tromey [Mon, 30 Dec 2002 22:42:20 +0000 (22:42 +0000)]
javaprims.h: Updated.
* gcj/javaprims.h: Updated.
* scripts/classes.pl (scan): Removed stray semicolon.
From-SVN: r60659
Mark Wielaard [Mon, 30 Dec 2002 22:41:10 +0000 (22:41 +0000)]
URLStreamHandler.java (toExternalForm): Ignore port if zero or smaller.
* java/net/URLStreamHandler.java (toExternalForm): Ignore port
if zero or smaller.
From-SVN: r60657
Tom Tromey [Mon, 30 Dec 2002 21:33:42 +0000 (21:33 +0000)]
* doc/install.texi (Testing): Mention Jacks.
From-SVN: r60654
DJ Delorie [Mon, 30 Dec 2002 21:32:30 +0000 (16:32 -0500)]
Makefile.am (jar.1, grepjar.1): Protect against texi2pod/pod2man failing.
* Makefile.am (jar.1, grepjar.1): Protect against
texi2pod/pod2man failing.
* Makefile.in: Regenerated.
From-SVN: r60653
DJ Delorie [Mon, 30 Dec 2002 21:32:07 +0000 (16:32 -0500)]
i* Make-lang.in: Protect against texi2pod/pod2man failing.
From-SVN: r60652
Joseph Myers [Mon, 30 Dec 2002 21:29:39 +0000 (21:29 +0000)]
* doc/gcc.texi, doc/gccint.texi: Update last modification dates.
From-SVN: r60651
Kazu Hirata [Mon, 30 Dec 2002 21:08:42 +0000 (21:08 +0000)]
h8300.c (output_logical_op): Use extu.w in more cases.
* config/h8300/h8300.c (output_logical_op): Use extu.w in more
cases.
(compute_logical_op_length): Update to reflect the change in
output_logical_op.
(compute_logical_op_cc): Likewise.
From-SVN: r60649
Joseph Myers [Mon, 30 Dec 2002 21:07:17 +0000 (21:07 +0000)]
* doc/service.texi: Uncomment and update FAQ link.
From-SVN: r60648
Daniel Jacobowitz [Mon, 30 Dec 2002 20:33:42 +0000 (20:33 +0000)]
* gcc.c-torture/compile/
20021230-1.c: New test.
From-SVN: r60645
Mark Mitchell [Mon, 30 Dec 2002 20:18:38 +0000 (20:18 +0000)]
* parser.c (cp_parser_declaration_seq_opt): Handle pending_lang_change.
From-SVN: r60644
Mark Mitchell [Mon, 30 Dec 2002 19:02:11 +0000 (19:02 +0000)]
parse.y: Remove.
* parse.y: Remove.
* spew.c: Likewise.
* Make-lang.in (gt-cp-spew.h): Remove.
* cp-tree.h (do_pending_lang_change): Remove.
(do_identifier): Change prototype.
(finish_id_expr): Remove.
* decl.c (lookup_name_real): Remove yylex variable.
* decl2.c (build_expr_from_tree): Adjust call to do_identifier.
* lex.c (init_cpp_parse): Remove.
(reduce_cmp): Likewise.
(token_cmp): Likewise.
(yychar): Likewise.
(lastiddecl): Likewise.
(token_count): Likewise.
(reduce_count): Likewise.
(yyhook): Likewise.
(print_parse_statistics): Likewise.
(do_pending_lang_change): Likewise.
(do_identifier): Remove parsing parameter.
* lex.h (lastiddecl): Remove.
(looking_for_typename): Remove.
(looking_for_template): Likewise.
(pending_lang_change): Likewise.
(yylex): Likewise.
* semantics.c (finish_id_expr): Remove.
From-SVN: r60642
Joseph Myers [Mon, 30 Dec 2002 19:01:28 +0000 (19:01 +0000)]
* gcc.pot: Regenerate.
From-SVN: r60641
Andreas Jaeger [Mon, 30 Dec 2002 18:22:36 +0000 (19:22 +0100)]
* unwind-dw2-fde.h (last_fde): Add unused attribute for obj.
From-SVN: r60640
David Edelsohn [Mon, 30 Dec 2002 18:21:49 +0000 (18:21 +0000)]
parser.c (cp_parser_parameter_declaration_clause): Treat system header as extern "C" if NO_IMPLICIT_EXTERN_C undefined.
* parser.c (cp_parser_parameter_declaration_clause): Treat system
header as extern "C" if NO_IMPLICIT_EXTERN_C undefined.
From-SVN: r60639
Nathanael Nerode [Mon, 30 Dec 2002 18:06:39 +0000 (18:06 +0000)]
config-lang.in, [...]: GCC, not GNU CC.
* config-lang.in, Make-lang.in, operators.def, cp-tree.def:
GCC, not GNU CC.
From-SVN: r60638
Mark Mitchell [Mon, 30 Dec 2002 17:47:15 +0000 (17:47 +0000)]
decl.c (grokdeclarator): Diagnost "extern thread" and "static thread" correctly.
* decl.c (grokdeclarator): Diagnost "extern thread" and "static
thread" correctly.
From-SVN: r60637
Nathanael Nerode [Mon, 30 Dec 2002 16:25:45 +0000 (16:25 +0000)]
decl.c, [...]: GCC, not GNU CC.
* decl.c, decl2.c, decl.h: GCC, not GNU CC. This is the C++ front
end, not the C front end.
From-SVN: r60636
Nathan Sidwell [Mon, 30 Dec 2002 16:21:40 +0000 (16:21 +0000)]
add missing Changelogs
From-SVN: r60635
Phil Edwards [Mon, 30 Dec 2002 15:50:52 +0000 (15:50 +0000)]
configure.in (GLIBCPP_ENABLE_CXX_FLAGS): Do not pass arguments, let the defaults work.
2002-12-30 Phil Edwards <pme@gcc.gnu.org>
* configure.in (GLIBCPP_ENABLE_CXX_FLAGS): Do not pass arguments,
let the defaults work.
* configure: Regenerate.
From-SVN: r60634
Kazu Hirata [Mon, 30 Dec 2002 15:35:20 +0000 (15:35 +0000)]
* config/h8300/h8300.md (*addsi3_lshiftrt_16_zexthi): New.
From-SVN: r60633
Kazu Hirata [Mon, 30 Dec 2002 15:28:31 +0000 (15:28 +0000)]
h8300.c (output_logical_op): Use extu.w if we are clearing the most significant byte.
* config/h8300/h8300.c (output_logical_op): Use extu.w if we
are clearing the most significant byte.
(compute_logical_op_length): Update to reflect the change in
output_logical_op.
(compute_logical_op_cc): Likewise.
From-SVN: r60632
Phil Edwards [Mon, 30 Dec 2002 14:54:45 +0000 (14:54 +0000)]
acinclude.m4: Remove trailing whitespace.
2002-12-30 Phil Edwards <pme@gcc.gnu.org>
* acinclude.m4: Remove trailing whitespace.
(GLIBCPP_ENABLE_CXX_FLAGS): Fix.
* aclocal.m4, configure: Regenerate.
From-SVN: r60631