Neil Booth
2010d38458
* g++.dg/parse/parse1.C: New test.
...
From-SVN: r60723
2003-01-01 00:13:48 +00:00
Tom Tromey
9f17a7afd2
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
2002-12-31 22:50:10 +00:00
Neil Booth
3d1252a94a
* .cvsignore: Update.
...
From-SVN: r60720
2002-12-31 22:11:33 +00:00
Kazu Hirata
bc455f9ce7
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
2002-12-31 21:06:43 +00:00
Mark Mitchell
f1aba0a566
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
2002-12-31 20:28:27 +00:00
Tom Tromey
89a7012aca
Makefile.in: Rebuilt.
...
* Makefile.in: Rebuilt.
* Makefile.def (target_modules) [libffi]: Allow installation.
From-SVN: r60717
2002-12-31 20:10:53 +00:00
Janis Johnson
5dc25517f9
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
2002-12-31 20:00:44 +00:00
Nathan Sidwell
3cfabe60d4
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
2002-12-31 19:43:16 +00:00
Tom Tromey
3b41afd944
* doc/install.texi (Testing): Fixed typo.
...
From-SVN: r60709
2002-12-31 19:16:24 +00:00
Mark Mitchell
92bc132346
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
2002-12-31 18:58:09 +00:00
Mark Mitchell
abda8efeda
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
2002-12-31 18:48:19 +00:00
Kazu Hirata
9e56a932f9
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
2002-12-31 18:31:59 +00:00
Andreas Schwab
3f4f56e27a
configure.in: Fix use of $program_transform_name.
...
* configure.in: Fix use of $program_transform_name.
* configure: Regenerated.
From-SVN: r60704
2002-12-31 18:01:38 +00:00
Tom Tromey
7d60eb23b7
For PR libgcj/8933:
...
* include/Makefile.in: Rebuilt.
* include/Makefile.am (noinst_HEADERS): Renamed from
include_HEADERS.
From-SVN: r60702
2002-12-31 17:52:25 +00:00
Tom Tromey
35a94bdca8
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
2002-12-31 17:43:47 +00:00
Mark Mitchell
731e8b3886
* c-common.h (pending_lang_change): Declare.
...
From-SVN: r60699
2002-12-31 17:34:17 +00:00
Jerry Quinn
147d1cd3bb
invoke.texi (Optimization Options): Clean up -O flag descriptions.
...
* gcc/doc/invoke.texi (Optimization Options): Clean up -O flag
descriptions.
From-SVN: r60696
2002-12-31 14:59:09 +00:00
Jerry Quinn
fad893da14
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
2002-12-31 14:43:13 +00:00
Gabriel Dos Reis
eddcae5a27
* cp-tree.h (pending_lang_change): Declare.
...
From-SVN: r60687
2002-12-31 11:58:16 +00:00
Gerald Pfeifer
ec5b5ef169
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
2002-12-31 10:39:27 +00:00
Kazu Hirata
59d7c857d2
* config/h8300/h8300.h: Fix comment typos.
...
From-SVN: r60683
2002-12-31 09:07:36 +00:00
GCC Administrator
81ea8a5d3b
Daily bump.
...
From-SVN: r60682
2002-12-31 08:17:44 +00:00
Alexandre Oliva
c512091192
Add missing changelog entry
...
From-SVN: r60675
2002-12-31 03:30:48 +00:00
Daniel Jacobowitz
1b414d319e
* configure: Regenerated.
...
From-SVN: r60674
2002-12-31 03:13:38 +00:00
Daniel Jacobowitz
6c1b8d0a73
* configure.in (baseargs): Don't remove first configure argument.
...
From-SVN: r60673
2002-12-31 03:12:53 +00:00
DJ Delorie
e2f45c3051
Minor typos
...
From-SVN: r60672
2002-12-30 21:04:41 -05:00
David Edelsohn
5b8f586593
* config/rs6000/rs6000.h (WIDEST_HARDWARE_FP_SIZE): Define.
...
From-SVN: r60668
2002-12-30 20:05:21 -05:00
Loren J. Rittle
2f94573a94
Makefile.am: Resolve non-portable use of $<.
...
* src/Makefile.am: Resolve non-portable use of $<.
* src/Makefile.in: Rebuilt.
From-SVN: r60666
2002-12-31 00:58:36 +00:00
Mark Mitchell
e5976695d9
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
2002-12-31 00:11:47 +00:00
Tom Tromey
9f1cf235ef
javaprims.h: Updated.
...
* gcj/javaprims.h: Updated.
* scripts/classes.pl (scan): Removed stray semicolon.
From-SVN: r60659
2002-12-30 22:42:20 +00:00
Mark Wielaard
a88c283f0d
URLStreamHandler.java (toExternalForm): Ignore port if zero or smaller.
...
* java/net/URLStreamHandler.java (toExternalForm): Ignore port
if zero or smaller.
From-SVN: r60657
2002-12-30 22:41:10 +00:00
Tom Tromey
582f6e6d63
* doc/install.texi (Testing): Mention Jacks.
...
From-SVN: r60654
2002-12-30 21:33:42 +00:00
DJ Delorie
121cb775c1
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
2002-12-30 16:32:30 -05:00
DJ Delorie
9a280a6ed2
i* Make-lang.in: Protect against texi2pod/pod2man failing.
...
From-SVN: r60652
2002-12-30 16:32:07 -05:00
Joseph Myers
f75db6bc00
* doc/gcc.texi, doc/gccint.texi: Update last modification dates.
...
From-SVN: r60651
2002-12-30 21:29:39 +00:00
Kazu Hirata
2d75548f61
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
2002-12-30 21:08:42 +00:00
Joseph Myers
b351c1d905
* doc/service.texi: Uncomment and update FAQ link.
...
From-SVN: r60648
2002-12-30 21:07:17 +00:00
Daniel Jacobowitz
b0e0b1f375
* gcc.c-torture/compile/20021230-1.c: New test.
...
From-SVN: r60645
2002-12-30 20:33:42 +00:00
Mark Mitchell
c838d82f7b
* parser.c (cp_parser_declaration_seq_opt): Handle pending_lang_change.
...
From-SVN: r60644
2002-12-30 20:18:38 +00:00
Mark Mitchell
afd9b9dd9d
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
2002-12-30 19:02:11 +00:00
Joseph Myers
a47a68100f
* gcc.pot: Regenerate.
...
From-SVN: r60641
2002-12-30 19:01:28 +00:00
Andreas Jaeger
47ab0cbb90
* unwind-dw2-fde.h (last_fde): Add unused attribute for obj.
...
From-SVN: r60640
2002-12-30 19:22:36 +01:00
David Edelsohn
c73aecdfc0
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
2002-12-30 13:21:49 -05:00
Nathanael Nerode
b599b13591
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
2002-12-30 18:06:39 +00:00
Mark Mitchell
946d5e4529
decl.c (grokdeclarator): Diagnost "extern thread" and "static thread" correctly.
...
* decl.c (grokdeclarator): Diagnost "extern thread" and "static
thread" correctly.
From-SVN: r60637
2002-12-30 17:47:15 +00:00
Nathanael Nerode
1c3139456d
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
2002-12-30 16:25:45 +00:00
Nathan Sidwell
8e268f721e
add missing Changelogs
...
From-SVN: r60635
2002-12-30 16:21:40 +00:00
Phil Edwards
645419c8bc
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
2002-12-30 15:50:52 +00:00
Kazu Hirata
3cc3e1cd36
* config/h8300/h8300.md (*addsi3_lshiftrt_16_zexthi): New.
...
From-SVN: r60633
2002-12-30 15:35:20 +00:00
Kazu Hirata
a6e8d1139d
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
2002-12-30 15:28:31 +00:00