platform/upstream/gcc.git
22 years agoFix the typo for real now.
Alexandre Oliva [Thu, 18 Oct 2001 18:43:20 +0000 (18:43 +0000)]
Fix the typo for real now.

From-SVN: r46336

22 years agoattr-noinline.c, [...]: New tests.
Alexandre Oliva [Thu, 18 Oct 2001 18:29:25 +0000 (18:29 +0000)]
attr-noinline.c, [...]: New tests.

* gcc.dg/attr-noinline.c, gcc.dg/attr-used.c: New tests.
* gcc.dg/attr-invalid.c: Likewise.

From-SVN: r46335

22 years agoattribs.c (handle_noinline_attribute): New function.
Alexandre Oliva [Thu, 18 Oct 2001 18:29:02 +0000 (18:29 +0000)]
attribs.c (handle_noinline_attribute): New function.

* attribs.c (handle_noinline_attribute): New function.
(handle_used_attribute): Likewise.
(c_common_attribute_table): Added noinline and used.
* doc/extend.texi (Function Attributes): Document them.
* c-decl.c (duplicate_decls): Propagate DECL_UNINLINABLE.
Warn when merging inline with attribute noinline.
(start_decl, start_function): Warn if inline and attribute
noinline appear in the same declaration.

From-SVN: r46334

22 years agodecl.c (duplicate_decls): Propagate DECL_UNINLINABLE.
Alexandre Oliva [Thu, 18 Oct 2001 18:27:48 +0000 (18:27 +0000)]
decl.c (duplicate_decls): Propagate DECL_UNINLINABLE.

* decl.c (duplicate_decls): Propagate DECL_UNINLINABLE.
Warn when merging inline with attribute noinline.
(start_decl, start_function): Warn if inline and attribute
noinline appear in the same declaration.

From-SVN: r46333

22 years agoSecurity.java (loadProviders): Removed unused `pname' variable.
Tom Tromey [Thu, 18 Oct 2001 17:51:47 +0000 (17:51 +0000)]
Security.java (loadProviders): Removed unused `pname' variable.

* java/security/Security.java (loadProviders): Removed unused
`pname' variable.  Don't create `File' object.  Don't update
`providerCount'.
(providerCount): Removed.
(insertProviderAt): Don't use `providerCount'.
(addProvider(Provider,int)): Likewise.
(removeProvider): Likewise.
(addProvider(Provider)): Rewrote.
(getProviders): Rewrote.
(getProvider): Don't use `providerCount'.

From-SVN: r46332

22 years ago* testsuite/gcc.dg/20011015-1.c: New test.
Jakub Jelinek [Thu, 18 Oct 2001 08:28:33 +0000 (10:28 +0200)]
* testsuite/gcc.dg/20011015-1.c: New test.

From-SVN: r46331

22 years agoDaily bump.
GCC Administrator [Thu, 18 Oct 2001 07:16:22 +0000 (07:16 +0000)]
Daily bump.

From-SVN: r46329

22 years agostd.c (ffestd_labeldef_format): Fix variable/stmt ordering.
Richard Henderson [Thu, 18 Oct 2001 03:57:51 +0000 (20:57 -0700)]
std.c (ffestd_labeldef_format): Fix variable/stmt ordering.

        * std.c (ffestd_labeldef_format): Fix variable/stmt ordering.
        (ffestd_R737A): Likewise.

From-SVN: r46328

22 years agoSHA1PRNG.java (engineNextBytes): Rewrote.
Tom Tromey [Thu, 18 Oct 2001 00:05:29 +0000 (00:05 +0000)]
SHA1PRNG.java (engineNextBytes): Rewrote.

* gnu/java/security/provider/SHA1PRNG.java (engineNextBytes):
Rewrote.
* java/security/SecureRandom.java (setSeed(long)): Don't set seed
if secureRandomSpi is not initialized.

From-SVN: r46327

22 years agoMakefile.in: Rebuilt.
Tom Tromey [Thu, 18 Oct 2001 00:03:48 +0000 (00:03 +0000)]
Makefile.in: Rebuilt.

* Makefile.in: Rebuilt.
* Makefile.am (secdir): New macro.
(install-data-local): Install new data files.
* java/security/classpath.security: New file.
* java/security/libgcj.security: New file.

From-SVN: r46326

22 years agoSecurity.java (loadProviders): Added `vendor' argument.
Tom Tromey [Thu, 18 Oct 2001 00:01:49 +0000 (00:01 +0000)]
Security.java (loadProviders): Added `vendor' argument.

* java/security/Security.java (loadProviders): Added `vendor'
argument.
Load both `classpath' and `java.vm.name' providers.

From-SVN: r46325

22 years agocom.h: Remove FFECOM_targetCURRENT...
Richard Henderson [Wed, 17 Oct 2001 22:34:54 +0000 (15:34 -0700)]
com.h: Remove FFECOM_targetCURRENT...

        * com.h: Remove FFECOM_targetCURRENT, FFECOM_ONEPASS, BUILT_FOR_270,
        BUILT_FOR_280, FFECOM_GCC_INCLUDE, all derivitive defines, and all
        related conditional compilation directives.
        * bad.c, bld.c, bld.h, com.c, equiv.c, equiv.h, global.h, intdoc.c,
        intrin.c, intrin.h, lex.c, parse.c, sta.c, std.c, ste.c, ste.h, stt.c,
        stt.h, stw.h, symbol.c, symbol.h, target.h, top.c: Likewise.

From-SVN: r46324

22 years agoargv.c, [...]: Improve manual formatting.
DJ Delorie [Wed, 17 Oct 2001 21:15:41 +0000 (17:15 -0400)]
argv.c, [...]: Improve manual formatting.

* argv.c, asprintf.c, choose-temp.c, concat.c, cplus-dem.c,
ffs.c, fnmatch.txh, getruntime.c, make-temp-file.c,
mkstemps.c, pexecute.c, random.c, strsitnal.c, vasprintf.c:
Improve manual formatting.
* functions.texi: Regenerate.

From-SVN: r46323

22 years agoconfig.gcc: Update c4x and i370 for C front end-specific dependencies.
Neil Booth [Wed, 17 Oct 2001 20:39:13 +0000 (20:39 +0000)]
config.gcc: Update c4x and i370 for C front end-specific dependencies.

* config.gcc: Update c4x and i370 for C front end-specific
dependencies.
* config/c4x/c4x-c.c: New.
* config/c4x/c4x-protos.h (c4x_handle_pragma): Remove.
(code_tree, data_tree, pure_tree, noreturn_tree, interrupt_tree):
New declarations.
* config/c4x/c4x.c: Don't include c-lex.h or c-pragma.h.
(code_tree, data_tree, pure_tree, noreturn_tree, interrupt_tree):
Make extern.
(c4x_init_pragma): Remove.
(c4x_parse_pragma, c4x_pr_CODE_SECTION, c4x_pr_DATA_SECTION,
c4x_pr_FUNC_IS_PURE, c4x_pr_FUNC_NEVER_RETURNS, c4x_pr_INTERRUPT,
c4x_pr_ignored): Move to c4x-c.c.
* config/c4x/c4x.h (REGISTER_TARGET_PRAGMAS): Update.
* config/c4x/t-c4x: Update.
* config/i370/i370-c.c: New.
* config/i370/i370.c: Don't include c-lex.h or c-pragma.h.
(i370_pr_map): Move to i370-c.c.
* config/i370/t-i370: New.

* doc/tm.texi: Update.

From-SVN: r46322

22 years agohowto.html: Remove 1999 links (and explain why).
Phil Edwards [Wed, 17 Oct 2001 18:14:58 +0000 (18:14 +0000)]
howto.html: Remove 1999 links (and explain why).

2001-10-17  Phil Edwards  <pme@gcc.gnu.org>

* docs/html/17_intro/howto.html:  Remove 1999 links (and explain
why).  Add link to recent message.
* docs/html/faq/index.html (5.6):  Reformat text only; fixup <pre>
markup.
* docs/html/faq/index.txt:  Regenerate.

From-SVN: r46321

22 years agors6000.c: Make assorted mechanical formatting and typo fixes throughout.
Stan Shebs [Wed, 17 Oct 2001 18:08:39 +0000 (18:08 +0000)]
rs6000.c: Make assorted mechanical formatting and typo fixes throughout.

        * config/rs6000/rs6000.c: Make assorted mechanical formatting and
        typo fixes throughout.
        (machopic_output_stub): Remove some dead code.

From-SVN: r46320

22 years agoSecurity.java (loadProviders): Fix bug in how providers are loaded.
Anthony Green [Wed, 17 Oct 2001 18:03:41 +0000 (18:03 +0000)]
Security.java (loadProviders): Fix bug in how providers are loaded.

2001-10-17  Anthony Green  <green@redhat.com>

* java/security/Security.java (loadProviders): Fix bug in how
providers are loaded.

From-SVN: r46319

22 years agoMakefile.in (misc.o): Depend on langhooks.h.
Richard Henderson [Wed, 17 Oct 2001 17:19:18 +0000 (10:19 -0700)]
Makefile.in (misc.o): Depend on langhooks.h.

ada/
        * Makefile.in (misc.o): Depend on langhooks.h.
        * misc.c: Include it.
        (LANG_HOOKS_INIT, LANG_HOOKS_INIT_OPTIONS): New.
        (LANG_HOOKS_DECODE_OPTION): New.
        (lang_hooks): Use LANG_HOOKS_INITIALIZER.
f/
        * Make-lang.in (f/com.o): Depend on langhooks.h.
        * com.c: Include it.
        (LANG_HOOKS_INIT, LANG_HOOKS_FINISH): New.
        (LANG_HOOKS_INIT_OPTIONS, LANG_HOOKS_DECODE_OPTION): New.
        (lang_hooks): Use LANG_HOOKS_INITIALIZER.
java/
        * Make-lang.in (java/lang.o): Depend on langhooks.h.

From-SVN: r46318

22 years agocpplex.c (_cpp_get_buff): Fix off-by-one error that caused memory leak.
Richard Earnshaw [Wed, 17 Oct 2001 16:20:04 +0000 (16:20 +0000)]
cpplex.c (_cpp_get_buff): Fix off-by-one error that caused memory leak.

* cpplex.c (_cpp_get_buff): Fix off-by-one error that caused memory
leak.

From-SVN: r46317

22 years agoFor PR java/4295:
Tom Tromey [Wed, 17 Oct 2001 15:57:03 +0000 (15:57 +0000)]
For PR java/4295:

* aclocal.m4, configure, Makefile.in: Rebuilt.
* configure.in: Added AC_EXEEXT.

From-SVN: r46316

22 years agoMakefile.in (print-rtl.o): Depend on TREE_H.
Richard Kenner [Wed, 17 Oct 2001 09:40:21 +0000 (09:40 +0000)]
Makefile.in (print-rtl.o): Depend on TREE_H.

* Makefile.in (print-rtl.o): Depend on TREE_H.
* alias.c (get_alias_set): Make two passes over objects to first
see if inner object is access via restricted pointer.
Defer allocating alias set for restricted pointer until here.
Call find_placeholder with second arg nonzero.
Minor cleanups.
* c-common.c (c_apply_type_quals_to_decl): Defer getting alias
set for restricted pointer types.
* emit-rtl.c (set_mem_attributes): Set more attributes.
(set_mem_align, change_address, adjust_address_1): New functions.
(change_address_1): Now static.
(adjust_address, adjust_address_nv): Deleted.
(replace_equiv_address): Call change_address_1.
* expr.c (get_inner_reference): Handle PLACEHOLDER_EXPR.
(find_placeholder): Get starting point from PLIST arg.
(expand_expr, case PLACEHOLDER_EXPR): Initialize find_placeholder arg.
* expr.h (set_mem_align, change_address, adjust_address_1): New decls.
(adjust_address, adjust_address_nv): New macros.
* print-rtl.c (tree.h): New include.
(print_rtx, case MEM): Print all memory attributes.

From-SVN: r46314

22 years agoMakefile.in (print-rtl.o): Depend on TREE_H.
Richard Kenner [Wed, 17 Oct 2001 09:31:36 +0000 (09:31 +0000)]
Makefile.in (print-rtl.o): Depend on TREE_H.

* Makefile.in (print-rtl.o): Depend on TREE_H.
* alias.c (get_alias_set): Make two passes over objects to first
see if inner object is access via restricted pointer.
Defer allocating alias set for restricted pointer until here.
Call find_placeholder with second arg nonzero.
Minor cleanups.
* emit-rtl.c (set_mem_attributes): Set more attributes.
(set_mem_align, change_address, adjust_address_1): New functions.
(change_address_1): Now static.
(adjust_address, adjust_address_nv): Deleted.
(replace_equiv_address): Call change_address_1.
* expr.c (get_inner_reference): Handle PLACEHOLDER_EXPR.
(find_placeholder): Get starting point from PLIST arg.
(expand_expr, case PLACEHOLDER_EXPR): Initialize find_placeholder arg.
* expr.h (set_mem_align, change_address, adjust_address_1): New decls.
(adjust_address, adjust_address_nv): New macros.
* print-rtl.c (tree.h): New include.
(print_rtx, case MEM): Print all memory attributes.

From-SVN: r46313

22 years ago* config/alpha/alpha.c (direct_call_operand): Don't fall off end.
Richard Henderson [Wed, 17 Oct 2001 09:05:18 +0000 (02:05 -0700)]
* config/alpha/alpha.c (direct_call_operand): Don't fall off end.

From-SVN: r46311

22 years agoc-tree.texi: Eliminate duplicated word.
Matt Kraai [Wed, 17 Oct 2001 08:44:09 +0000 (08:44 +0000)]
c-tree.texi: Eliminate duplicated word.

* c-tree.texi: Eliminate duplicated word.
* cpp.texi: Likewise.
* install.texi: Likewise.
* invoke.texi: Likewise.
* tm.texi: Likewise.

From-SVN: r46310

22 years agoDaily bump.
GCC Administrator [Wed, 17 Oct 2001 07:16:59 +0000 (07:16 +0000)]
Daily bump.

From-SVN: r46309

22 years agogc_pthread_redirects.h: Generalize test to use GC_PTHREADS.
Loren J. Rittle [Wed, 17 Oct 2001 04:55:30 +0000 (04:55 +0000)]
gc_pthread_redirects.h: Generalize test to use GC_PTHREADS.

* include/gc_pthread_redirects.h: Generalize test to use GC_PTHREADS.
* linux_threads.c (WRAP_FUNC(pthread_join)): Conditionalized on
GC_FREEBSD_THREADS, handle strange interaction between system
pthread implementation and boehm-gc signal-handler architecture.
* tests/test.c (main): Conditionalized on GC_FREEBSD_THREADS,
set stack.
* include/private/gcconfig.h (configuration keyed off FREEBSD):
Define SIG_SUSPEND, SIG_THR_RESTART.  Do not define
MPROTECT_VDB when GC_FREEBSD_THREADS is defined.

From-SVN: r46307

22 years agoAdd ChangeLog entry for dsp16xx/dsp16xx.c change.
Michael Collison [Wed, 17 Oct 2001 04:38:50 +0000 (04:38 +0000)]
Add ChangeLog entry for dsp16xx/dsp16xx.c change.

From-SVN: r46306

22 years agodsp16xx.c: Fix comment formatting to match GNU standards.
Michael Collison [Wed, 17 Oct 2001 04:36:18 +0000 (04:36 +0000)]
dsp16xx.c: Fix comment formatting to match GNU standards.

* dsp16xx.c: Fix comment formatting to match GNU standards.
(dsp16xx_output_function_prologue): Change type of 'size'
parameter from 'int' to HOST_WIDE_INT.
(dsp16xx_output_function_epilogue): Change type of 'size'
parameter from 'int' to HOST_WIDE_INT.

From-SVN: r46305

22 years agoMakefile.am (test.o): Find tests/test.c in $(srcdir).
Loren J. Rittle [Wed, 17 Oct 2001 04:17:09 +0000 (04:17 +0000)]
Makefile.am (test.o): Find tests/test.c in $(srcdir).

* Makefile.am (test.o): Find tests/test.c in $(srcdir).
* Makefile.in: Rebuilt.

From-SVN: r46304

22 years agoconfigure.in (HAVE_AS_GOTOFF_IN_DATA): New x86 check.
Richard Henderson [Wed, 17 Oct 2001 01:39:47 +0000 (18:39 -0700)]
configure.in (HAVE_AS_GOTOFF_IN_DATA): New x86 check.

        * configure.in (HAVE_AS_GOTOFF_IN_DATA): New x86 check.
        * configure, config.in: Rebuild.

        * config/i386/i386.c (ix86_output_addr_vec_elt): New.
        (ix86_output_addr_diff_elt): New.
        * config/i386/i386.h (ASM_OUTPUT_ADDR_VEC_ELT): Use them.
        (ASM_OUTPUT_ADDR_DIFF_ELT): Likewise.
        (JUMP_TABLES_IN_TEXT_SECTION): New.
        * config/i386/i386.md (tablejump): Handle HAVE_AS_GOTOFF_IN_DATA.
        * config/i386/i386-protos.h: Update.

        * config/i386/386bsd.h, config/i386/beos-elf.h,
        config/i386/freebsd-aout.h, config/i386/freebsd.h,
        config/i386/i386-interix.h, config/i386/i386elf.h,
        config/i386/linux.h, config/i386/netbsd-elf.h,
        config/i386/netbsd.h, config/i386/openbsd.h,
        config/i386/ptx4-i.h, config/i386/rtemself.h,
        config/i386/sco5.h, config/i386/sysv4.h, config/i386/x86-64.h
        (ASM_OUTPUT_ADDR_DIFF_ELT, JUMP_TABLES_IN_TEXT_SECTION): Remove.

From-SVN: r46303

22 years agocp-tree.h (BOUND_TEMPLATE_TEMPLATE_PARM_TYPE_CHECK): Defined for tree checking disabled.
H.J. Lu [Wed, 17 Oct 2001 01:00:40 +0000 (01:00 +0000)]
cp-tree.h (BOUND_TEMPLATE_TEMPLATE_PARM_TYPE_CHECK): Defined for tree checking disabled.

        * cp-tree.h (BOUND_TEMPLATE_TEMPLATE_PARM_TYPE_CHECK): Defined
        for tree checking disabled.

From-SVN: r46302

22 years ago* stmt.c (expand_asm_operands): Update commentary.
Florian Weimer [Wed, 17 Oct 2001 00:32:56 +0000 (02:32 +0200)]
* stmt.c (expand_asm_operands): Update commentary.

From-SVN: r46301

22 years agodarwin.h (GCC_NAME): Remove, no longer used.
Stan Shebs [Tue, 16 Oct 2001 23:22:27 +0000 (23:22 +0000)]
darwin.h (GCC_NAME): Remove, no longer used.

        * config/darwin.h (GCC_NAME): Remove, no longer used.
        (NO_MATH_LIBRARY): Ditto.
        (MATH_LIBRARY): Define to emptiness.
        (DWARF2_DEBUGGING_INFO): Define.
        (PREFERRED_DEBUGGING_TYPE): Define.
        (EXTRA_SECTION_FUNCTIONS): Add darwin_exception_section.
        (EXCEPTION_SECTION): Define.
        (ASM_PREFERRED_EH_DATA_FORMAT): Define.
        * config/darwin.c (darwin_encode_section_info): Handle case of
        DECL_INITIAL being error_mark_node.

From-SVN: r46300

22 years agoalpha.c (current_file_function_operand): Don't fail for profiling.
Richard Henderson [Tue, 16 Oct 2001 22:44:39 +0000 (15:44 -0700)]
alpha.c (current_file_function_operand): Don't fail for profiling.

        * alpha.c (current_file_function_operand): Don't fail for profiling.
        (direct_call_operand): New.
        * alpha-protos.h: Declare it.
        * alpha.h (EXTRA_CONSTRAINT): Use it.
        (PREDICATE_CODES): Add it.
        (ASM_OUTPUT_MI_THUNK): Remove.
        * alpha32.h (ASM_OUTPUT_MI_THUNK): Remove.
        * alpha.md (sibcall_osf_1, sibcall_value_osf_1): Add 's' alternative.

From-SVN: r46299

22 years agonetbsd-elf.h (ASM_OUTPUT_ADDR_DIFF_ELT): Define.
Krister Walfridsson [Tue, 16 Oct 2001 22:38:40 +0000 (00:38 +0200)]
netbsd-elf.h (ASM_OUTPUT_ADDR_DIFF_ELT): Define.

        * config/i386/netbsd-elf.h (ASM_OUTPUT_ADDR_DIFF_ELT): Define.
        (JUMP_TABLES_IN_TEXT_SECTION): Define.

From-SVN: r46298

22 years agocfg.c (free_edge): Break out from ....
Jan Hubicka [Tue, 16 Oct 2001 22:24:16 +0000 (00:24 +0200)]
cfg.c (free_edge): Break out from ....

* cfg.c (free_edge): Break out from ....
(remove_edge): ... here.
(clear_edges): Use free_edge.

* att.h (ASM_QUAD): Add comment.
* bsd.h, sco5.h, sun386.h (ASM_QUAD): Define.

From-SVN: r46297

22 years agoi386.c (split_ti): New function.
Jan Hubicka [Tue, 16 Oct 2001 22:04:20 +0000 (00:04 +0200)]
i386.c (split_ti): New function.

* i386.c (split_ti): New function.
(ix86_split_to_parts): Support TImodes.
* i386.h (VALID_INT_MODE_P): Add TImode.
* i386.md (movdi splitter): Fix.
(movti): Support 64bit integer registers.
(movti_rex64): New function and splitter.

* i386.c (*_cost): Add movsx/movzx cost.
* i386.h (struct processor_costs): Add movsx/movzx fields.
(RTX_COSTS): Handle zero/sign extend + avoid believing that
64bit operations require split on 64bit machine.
(CONST_COST): Make large 64bit constants expensive on 64bit compilation.

* i386.c (ix86_setup_incomming_varargs): Fix mode of PLUS.
(ix86_expand_move): Avoid pushes of memory if size does not match;
move long constants to register.
(x86_initialize_trampoline): Fix mode.
* i386.h (ASM_OUTPUT_ADDR_VEC_ELT, ASM_OUTPUT_ADDR_DIFF_ELT):
Use ASM_QUAD on 64bit.
* i386.md (test pattern): Disallow impossible constants.
(tablejump PIC expander): Fix emitting of sum.
(movdicc_rex64): Rename to movdicc.
* linux64.h (LINK_SPEC): Add missing '%'.

From-SVN: r46296

22 years agojavaprims.h: Updated class list.
Tom Tromey [Tue, 16 Oct 2001 22:00:32 +0000 (22:00 +0000)]
javaprims.h: Updated class list.

* gcj/javaprims.h: Updated class list.
* java/util/Hashtable.java: Re-merged with Classpath.

From-SVN: r46295

22 years agocp-tree.h (VFIELD_NAME_FORMAT): Adjust to match VFIELD_NAME.
Hans-Peter Nilsson [Tue, 16 Oct 2001 21:19:34 +0000 (21:19 +0000)]
cp-tree.h (VFIELD_NAME_FORMAT): Adjust to match VFIELD_NAME.

* cp-tree.h (VFIELD_NAME_FORMAT) [NO_DOLLAR_IN_LABEL &&
NO_DOT_IN_LABEL]: Adjust to match VFIELD_NAME.

From-SVN: r46293

22 years agotree-inline.c (inlinable_function_p): Leave it up to the front-end to turn -finline...
Alexandre Oliva [Tue, 16 Oct 2001 21:17:59 +0000 (21:17 +0000)]
tree-inline.c (inlinable_function_p): Leave it up to the front-end to turn -finline-functions into DECL_INLINE set...

* tree-inline.c (inlinable_function_p): Leave it up to the
front-end to turn -finline-functions into DECL_INLINE set for all
functions.

From-SVN: r46292

22 years ago* config/rs6000/darwin.h (ASM_COMMENT_START): Define.
Stan Shebs [Tue, 16 Oct 2001 20:16:45 +0000 (20:16 +0000)]
* config/rs6000/darwin.h (ASM_COMMENT_START): Define.

From-SVN: r46291

22 years agotrans.c (tree_transform): Adjust to recent change in expand_asm_operands to implement...
Florian Weimer [Tue, 16 Oct 2001 19:12:53 +0000 (21:12 +0200)]
trans.c (tree_transform): Adjust to recent change in expand_asm_operands to implement named asm operands.

* trans.c (tree_transform): Adjust to recent change in
expand_asm_operands to implement named asm operands.

From-SVN: r46289

22 years ago* g++.dg/template/unify2.C: New test.
Richard Sandiford [Tue, 16 Oct 2001 13:09:17 +0000 (13:09 +0000)]
* g++.dg/template/unify2.C: New test.

From-SVN: r46288

22 years agopt.c (UNIFY_ALLOW_MAX_CORRECTION): Define.
Richard Sandiford [Tue, 16 Oct 2001 13:07:29 +0000 (13:07 +0000)]
pt.c (UNIFY_ALLOW_MAX_CORRECTION): Define.

* pt.c (UNIFY_ALLOW_MAX_CORRECTION): Define.
(unify): Only handle MINUS_EXPR specially if the above flag is set
and the subtracted constant is 1.  Clear the flag on recursive calls.
Set it when unifying the maximum value in an INTEGER_TYPE's range.

From-SVN: r46287

22 years ago* g++.dg/other/exception-specification.C: New test
Richard Sandiford [Tue, 16 Oct 2001 13:02:39 +0000 (13:02 +0000)]
* g++.dg/other/exception-specification.C: New test

From-SVN: r46286

22 years agodecl.c (bad_specifiers): Don't allow exception specifications on any typedefs.
Richard Sandiford [Tue, 16 Oct 2001 13:01:44 +0000 (13:01 +0000)]
decl.c (bad_specifiers): Don't allow exception specifications on any typedefs.

* decl.c (bad_specifiers): Don't allow exception specifications
on any typedefs.

From-SVN: r46285

22 years agoForgot this file in last commit.
Bryce McKinlay [Tue, 16 Oct 2001 11:18:03 +0000 (12:18 +0100)]
Forgot this file in last commit.

From-SVN: r46284

22 years agoMakefile.am, [...]: Imported GC 6.1 Alpha 1 and merged local changes.
Bryce McKinlay [Tue, 16 Oct 2001 09:01:40 +0000 (09:01 +0000)]
Makefile.am, [...]: Imported GC 6.1 Alpha 1 and merged local changes.

* Makefile.am, acinclude.m4, configure.in: Imported GC 6.1 Alpha 1
and merged local changes.

From-SVN: r46283

22 years agoEliminate use of C++ static constructors.
Bryce McKinlay [Tue, 16 Oct 2001 08:35:17 +0000 (08:35 +0000)]
Eliminate use of C++ static constructors.

* interpret.cc: Remove static Utf8Consts. Use namespace gcj.
* jni.cc: Likewise.
* resolve.cc: Likewise.
* defineclass.cc: Likewise.
(_Jv_ClassReader::handleClassBegin): Synchronize call to
_Jv_RegisterClass.
* include/jvm.h (void_signature, clinit_name, init_name, finit_name):
Declare in namespace gcj.
* java/lang/Class.h (Class): Remove initialization for primitive
types.
(friend void _Jv_InitPrimClass): This is in prims.cc.
* prims.cc (_Jv_InitPrimClass): Do primitive type initialization
here instead.
(void_signature, clinit_name, init_name, finit_name): Define in
namespace gcj.
(_Jv_CreateJavaVM): Call _Jv_InitThreads, _Jv_InitGC, and
_Jv_InitializeSyncMutex from here. Initialize Utf8 constants.
Initialize primitive types.
* java/lang/natClassLoader.cc (_Jv_RegisterClasses): Don't call
initialization routines. Don't synchronize.
* java/lang/natRuntime.cc (_load): Synchronize on java.lang.Class
across dlopen call.

From-SVN: r46282

22 years ago* name-finder.cc (_Jv_name_finder::lookup): Check for NULL dli_sname.
Bryce McKinlay [Tue, 16 Oct 2001 07:36:12 +0000 (07:36 +0000)]
* name-finder.cc (_Jv_name_finder::lookup): Check for NULL dli_sname.

From-SVN: r46280

22 years agoDaily bump.
GCC Administrator [Tue, 16 Oct 2001 07:16:11 +0000 (07:16 +0000)]
Daily bump.

From-SVN: r46278

22 years ago[multiple changes]
Bryce McKinlay [Tue, 16 Oct 2001 05:47:01 +0000 (06:47 +0100)]
[multiple changes]

2001-10-15  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>

* java/util/HashMap.java (HashEntry.clone): Removed.
(HashMap(Map)): Use putAllInternal.
(clone): Likewise.
(putAllInternal): New method. Efficient counterpart to putAll which
does not call put().
* java/util/LinkedHashMap.java (rethread): Removed.
(putAllInternal): New method. Clear "head" and "tail".
(addEntry): New argument "callRemove". Don't call removeEldestEntry()
if callRemove == false.

* Makefile.am: Add new classes RandomAccess and LinkedHashMap.
* Makefile.in: Rebuilt.

2001-10-15  Eric Blake  <ebb9@email.byu.edu>

* java/util/Collection.java: Updated javadoc.
* java/util/Comparator.java: Updated javadoc.
* java/util/Enumeration.java: Updated javadoc.
* java/util/Iterator.java: Updated javadoc.
* java/util/List.java: Updated javadoc.
* java/util/ListIterator.java: Updated javadoc.
* java/util/Map.java: Updated javadoc.
* java/util/RandomAccess.java: New file.
* java/util/Set.java: Updated javadoc.
* java/util/SortedMap.java: Updated javadoc.
* java/util/SortedSet.java: Updated javadoc.

From-SVN: r46277

22 years ago* recog.c: Formatting and comment typo fixes.
Alan Modra [Tue, 16 Oct 2001 04:19:26 +0000 (04:19 +0000)]
* recog.c: Formatting and comment typo fixes.

From-SVN: r46276

22 years agoconfigure.in (gcc_cv_as_bfd_srcdir): New.
Alan Modra [Tue, 16 Oct 2001 03:33:48 +0000 (03:33 +0000)]
configure.in (gcc_cv_as_bfd_srcdir): New.

* configure.in (gcc_cv_as_bfd_srcdir): New.  Use it to find gas
version in single tree build.
* configure: Regenerate.

From-SVN: r46275

22 years agoMakefile.in (TEXIFILES): Add fnmatch.txh.
DJ Delorie [Tue, 16 Oct 2001 02:50:13 +0000 (22:50 -0400)]
Makefile.in (TEXIFILES): Add fnmatch.txh.

* Makefile.in (TEXIFILES): Add fnmatch.txh.
(maint-undoc): New.
maint-tool: Add "undoc" tool.
* alloca.c, argv.c, asprintf.c, choose-temp.c, concat.c,
fdmatch.c, ffs.c, getruntime.c, insque.c, lbasename.c,
make-temp-file.c, mkstemps.c, pexecute.c, random.c, spaces.c,
strerror.s, strsignal.c, strtol.c, vasprintf.c: Add or update
documentation.
* fnmatch.txh: New.
* functions.texi: Regenerate.

From-SVN: r46274

22 years agors6000.md (cr_logical): Swap order of CODE and MODE arguments to
David Edelsohn [Tue, 16 Oct 2001 00:43:21 +0000 (00:43 +0000)]
rs6000.md (cr_logical): Swap order of CODE and MODE arguments to
        gen_rtx and compare operand with const0_rtx.

From-SVN: r46273

22 years agoAccessibleObject.java (checkPermission): Implemented.
Tom Tromey [Mon, 15 Oct 2001 22:45:03 +0000 (22:45 +0000)]
AccessibleObject.java (checkPermission): Implemented.

* java/lang/reflect/AccessibleObject.java (checkPermission):
Implemented.
Updated copyright information.

From-SVN: r46272

22 years agonatObject.cc (heavy_lock): Moved fields old_client_data, old_finalization_proc near...
Hans Boehm [Mon, 15 Oct 2001 22:42:42 +0000 (22:42 +0000)]
natObject.cc (heavy_lock): Moved fields old_client_data, old_finalization_proc near beginning.

2001-10-15  Hans Boehm <Hans_Boehm@hp.com>

* java/lang/natObject.cc (heavy_lock): Moved fields
old_client_data, old_finalization_proc near beginning.
(heavy_lock_finalization_proc): Now inline; changed type of
argument.
(JV_SYNC_TABLE_SZ): Now 2048.
(mp): New global.
(spin): `mp' now global.
(heavy_lock_obj_finalization_proc): Updated to correctly handle
heavy lock finalization.
(remove_all_heavy): New function.
(maybe_remove_all_heavy): Likewise.
(_Jv_MonitorEnter): Throw exception if object is NULL.
(_Jv_MonitorExit): Likewise.  Also, clear long lists of unlocked
heavy locks.
* include/jvm.h (_Jv_AllocTraceTwo): Declare.
* nogc.cc (_Jv_AllocTraceTwo): New function.
* boehm.cc (trace_two_vtable): New global.
(_Jv_AllocTraceTwo): New function.

From-SVN: r46271

22 years agolang.c (langhooks.h): Included.
Alexandre Petit-Bianco [Mon, 15 Oct 2001 22:10:56 +0000 (15:10 -0700)]
lang.c (langhooks.h): Included.

2001-10-15  Alexandre Petit-Bianco  <apbianco@redhat.com>

        * lang.c (langhooks.h): Included.
        (LANG_HOOKS_INIT): Redefined.
        (LANG_HOOKS_INIT_OPTIONS): Likewise.
        (LANG_HOOKS_DECODE_OPTION): Likewise.
        (struct lang_hooks lang_hooks): New initialization.

( http://gcc.gnu.org/ml/gcc-patches/2001-10/msg00692.html )

From-SVN: r46270

22 years agosystem.h: Poison old unused target macros.
Neil Booth [Mon, 15 Oct 2001 20:10:13 +0000 (20:10 +0000)]
system.h: Poison old unused target macros.

* system.h: Poison old unused target macros.
* config/dsp16xx.h (ASM_OPEN_PAREN, ASM_CLOSE_PAREN): Remove.
* config/stormy16/stormy16.c: Update references to obsolete macros.
* config/stormy16/stormy16.h: Similarly.
* config/stormy16/stormy16.md: Similarly.
* config/cris/cris.h: Similarly.

From-SVN: r46269

22 years agoMakefile.in: Rebuilt.
Tom Tromey [Mon, 15 Oct 2001 17:46:06 +0000 (17:46 +0000)]
Makefile.in: Rebuilt.

* Makefile.in: Rebuilt.
* Makefile.am (awt_java_source_files): Added new file.
* java/beans/AppletInitializer.java: New file.

From-SVN: r46267

22 years agoSocketPermission.java (hostport, actions): Now private.
Tom Tromey [Mon, 15 Oct 2001 16:32:51 +0000 (16:32 +0000)]
SocketPermission.java (hostport, actions): Now private.

* java/net/SocketPermission.java (hostport, actions): Now
private.

From-SVN: r46266

22 years agoDaily bump.
GCC Administrator [Mon, 15 Oct 2001 07:16:13 +0000 (07:16 +0000)]
Daily bump.

From-SVN: r46264

22 years agoDouble.java: Partial merge with Classpath
Mark Wielaard [Mon, 15 Oct 2001 06:31:13 +0000 (06:31 +0000)]
Double.java: Partial merge with Classpath

* java/lang/Double.java: Partial merge with Classpath
(TYPE): initialized through VMClassLoader.getPrimitiveClass()
(value): made final
(static): new static block to load native libary (not used in libgcj)
(Double (String)): call parseDouble()
(byteValue): removed, already defined in superclass Number
(shortValue): likewise
(valueOf (String)): call new Double(String) directly
(compare (double,double)): new 1.4 method
(compareTo (Double)): call new compare(double,double) method
(initIDs): new private method (not used in libgcj)
* java/lang/Float.java: Partial merge with Classpath
(TYPE): initialized through VMClassLoader.getPrimitiveClass()
(value): made final
(static): new static block to load native libary (not used in libgcj)
(Float (String)): call parseFloat()
(byteValue): removed, already defined in superclass Number
(shortValue): likewise
(valueOf (String)): call new Float(String) directly
(compare (float,float)): new 1.4 method
(compareTo (Float)): call new compare(double,double) method

From-SVN: r46263

22 years agoThis commit was generated by cvs2svn to compensate for changes in r46260,
Bryce McKinlay [Mon, 15 Oct 2001 04:58:04 +0000 (05:58 +0100)]
This commit was generated by cvs2svn to compensate for changes in r46260,

which included commits to RCS files with non-trunk default branches.

From-SVN: r46261

22 years agoInitial revision
Bryce McKinlay [Mon, 15 Oct 2001 04:57:59 +0000 (05:57 +0100)]
Initial revision

From-SVN: r46258

22 years agocpplib.c (struct pragma_entry): Store the name as a hashnode.
Neil Booth [Sun, 14 Oct 2001 23:04:13 +0000 (23:04 +0000)]
cpplib.c (struct pragma_entry): Store the name as a hashnode.

* cpplib.c (struct pragma_entry): Store the name as a hashnode.
(lookup_pragma_entry, insert_pragma_entry, do_pragma,
cpp_register_pragma): Update accordingly.

From-SVN: r46255

22 years agoc-pragma.h (cpp_register_pragma_space): Remove.
Neil Booth [Sun, 14 Oct 2001 17:44:00 +0000 (17:44 +0000)]
c-pragma.h (cpp_register_pragma_space): Remove.

* c-pragma.h (cpp_register_pragma_space): Remove.
* cpplib.h (cpp_register_pragma_space): Remove.
* cpplib.c (lookup_pragma_entry, insert_pragma_entry): New.
(cpp_register_pragma_space): Remove.
(cpp_register_pragma): Simplify using lookup_pragma_entry,
add sanity checks.
(do_pragma): Similarly.
(_cpp_init_internal_pragmas): Don't register namespaces.

* config/v850/v850.h (REGISTER_TARGET_PRAGMAS):
Don't register namespaces.
* cp/lex.c (init_cp_pragma): Similarly.
* doc/tm.texi: Update.

From-SVN: r46254

22 years agoDaily bump.
GCC Administrator [Sun, 14 Oct 2001 07:16:41 +0000 (07:16 +0000)]
Daily bump.

From-SVN: r46252

22 years agore PR c/4157 (space missing in gcc-3.0.1/gcc/config/i386/cygwin.h)
Craig Rodrigues [Sun, 14 Oct 2001 04:24:26 +0000 (04:24 +0000)]
re PR c/4157 (space missing in gcc-3.0.1/gcc/config/i386/cygwin.h)

PR c/4157
* config/i386/cygwin.h: Add missing space to MINGW_INCLUDES

From-SVN: r46250

22 years agoAdded changes for dsp16xx port.
Michael Collison [Sun, 14 Oct 2001 02:16:53 +0000 (02:16 +0000)]
Added changes for dsp16xx port.

From-SVN: r46249

22 years agodsp16xx.md: Rewrite for more efficient code and add scheduling support.
Michael Collison [Sun, 14 Oct 2001 02:14:28 +0000 (02:14 +0000)]
dsp16xx.md: Rewrite for more efficient code and add scheduling support.

* config/dsp16xx/dsp16xx.md: Rewrite for more efficient code and
add scheduling support.
* config/dsp16xx/dsp16xx.h: Rewrite for more efficient code.
* config/dsp16xx/dsp16xx.c: Rewrite for more efficient code.
* config/dsp16xx/dsp16xx-protos.h: Add new function prototypes.

From-SVN: r46248

22 years ago* java/lang/SecurityManager.java (SecurityManager): Now public.
Tom Tromey [Sat, 13 Oct 2001 23:23:50 +0000 (23:23 +0000)]
* java/lang/SecurityManager.java (SecurityManager): Now public.

From-SVN: r46247

22 years agoAccessController.java (checkPermission): Now throws AccessControlException.
Tom Tromey [Sat, 13 Oct 2001 23:21:07 +0000 (23:21 +0000)]
AccessController.java (checkPermission): Now throws AccessControlException.

* java/security/AccessController.java (checkPermission): Now
throws AccessControlException.
* java/security/AllPermission.java: Class now final.
* java/security/Permission.java (getName): Now final.
(name): Now private.
(equals): New abstract method.
* java/security/PermissionCollection.java (linesep): Now private.
* java/security/Permissions.java: Class now final.
* java/security/Security.java (Security): New private
constructor.
* java/security/UnresolvedPermission.java: Import
java.security.cert.Certificate.  Class now final.
* java/security/acl/Group.java: Now extends Principal.
(isMember): Added Principal argument.
* java/security/spec/X509EncodedKeySpec.java (getFormat): Now
final.
* java/security/spec/PKCS8EncodedKeySpec.java (getFormat): Now
final.

From-SVN: r46246

22 years agopt.c (lookup_template_class): Build complete template arguments for BOUND_TEMPLATE_TE...
Kriang Lerdsuwanakij [Sat, 13 Oct 2001 15:00:44 +0000 (15:00 +0000)]
pt.c (lookup_template_class): Build complete template arguments for BOUND_TEMPLATE_TEMPLATE_PARM.

* pt.c (lookup_template_class): Build complete template arguments
for BOUND_TEMPLATE_TEMPLATE_PARM.

From-SVN: r46245

22 years agocp-tree.h (TYPE_BINFO): Update comment.
Kriang Lerdsuwanakij [Sat, 13 Oct 2001 13:24:34 +0000 (13:24 +0000)]
cp-tree.h (TYPE_BINFO): Update comment.

* cp-tree.h (TYPE_BINFO): Update comment.
(BOUND_TEMPLATE_TEMPLATE_PARM_TYPE_CHECK): New macro.
(TEMPLATE_TEMPLATE_PARM_TEMPLATE_INFO): Use template_info.
(TYPENAME_TYPE_FULLNAME): Use TYPE_FIELDS.
(copy_type): Prototype new function.
* lex.c (copy_lang_decl): Gather tree node statistics.
(copy_lang_type): New function.
(copy_type): Likewise.
(cp_make_lang_type): Create lang_type for
BOUND_TEMPLATE_TEMPLATE_PARM.  Set TYPE_BINFO for TYPENAME_TYPE
and BOUND_TEMPLATE_TEMPLATE_PARM.
* pt.c (tsubst): Use copy_type instead of copy_node.
* search.c (lookup_field_1): Ignore TYPENAME_TYPE.

From-SVN: r46244

22 years agopt.c (determine_specialization): Ignore functions without DECL_TEMPLATE_INFO.
Kriang Lerdsuwanakij [Sat, 13 Oct 2001 13:11:09 +0000 (13:11 +0000)]
pt.c (determine_specialization): Ignore functions without DECL_TEMPLATE_INFO.

* pt.c (determine_specialization): Ignore functions without
DECL_TEMPLATE_INFO.

From-SVN: r46243

22 years agoDaily bump.
GCC Administrator [Sat, 13 Oct 2001 07:17:10 +0000 (07:17 +0000)]
Daily bump.

From-SVN: r46242

22 years agoXFAIL these tests on AIX when using -msoft-float
Tom Rix [Sat, 13 Oct 2001 06:16:29 +0000 (06:16 +0000)]
XFAIL these tests on AIX when using -msoft-float

From-SVN: r46240

22 years agocris.c (cris_legitimate_pic_operand): Kludge around missing CONSTANT_P test in core...
Hans-Peter Nilsson [Sat, 13 Oct 2001 01:54:37 +0000 (01:54 +0000)]
cris.c (cris_legitimate_pic_operand): Kludge around missing CONSTANT_P test in core GCC.

* config/cris/cris.c (cris_legitimate_pic_operand): Kludge around
missing CONSTANT_P test in core GCC.

From-SVN: r46239

22 years agoindex.html (Is libstdc++-v3 thread-safe?): Update based on Nathan's review.
Loren J. Rittle [Sat, 13 Oct 2001 00:06:21 +0000 (00:06 +0000)]
index.html (Is libstdc++-v3 thread-safe?): Update based on Nathan's review.

* docs/html/faq/index.html (Is libstdc++-v3 thread-safe?): Update
based on Nathan's review.  Use Nathan's words.

From-SVN: r46238

22 years agocppmain.c (struct printer): New member source.
Neil Booth [Fri, 12 Oct 2001 22:31:04 +0000 (22:31 +0000)]
cppmain.c (struct printer): New member source.

* cppmain.c (struct printer): New member source.
(scan_translation_unit): Fix spacing at start of lines.
(cb_line_change): Update.

* gcc.dg/cpp/spacing2.c: New test.

From-SVN: r46237

22 years agoMakefile.in: Rebuilt.
Tom Tromey [Fri, 12 Oct 2001 22:04:07 +0000 (22:04 +0000)]
Makefile.in: Rebuilt.

* Makefile.in: Rebuilt.
* Makefile.am (rmi_java_source_files): Added new files.
* gnu/java/rmi/rmic/RMIC.java (compile): Uncommented; fixed to use
new Compiler class.
* gnu/java/rmi/rmic/Makefile.am (EXTRA_DIST): Updated.
* gnu/java/rmi/rmic/Compile_gcj.java: New file.
* gnu/java/rmi/rmic/CompilerProcess.java: New file.
* gnu/java/rmi/rmic/Compiler.java: New file.

From-SVN: r46235

22 years agoarit.c: Use __builtin_labs, not abs.
Hans-Peter Nilsson [Fri, 12 Oct 2001 19:44:38 +0000 (19:44 +0000)]
arit.c: Use __builtin_labs, not abs.

* config/cris/arit.c: Use __builtin_labs, not abs.

* config/cris/cris.h (SET_STRIPPABLE_EXECUTABLE): Don't define.

* config/cris/cris.c (cris_target_asm_function_epilogue): Move
misplaced sprintf and fprintf argument.

From-SVN: r46234

22 years agoABOUT-NLS, aclocal.m4: Update i18n framework from gettext 0.10.40.
Zack Weinberg [Fri, 12 Oct 2001 17:24:30 +0000 (17:24 +0000)]
ABOUT-NLS, aclocal.m4: Update i18n framework from gettext 0.10.40.

top:
* ABOUT-NLS, aclocal.m4: Update i18n framework from gettext 0.10.40.
* configure.in, Makefile.in: Take out obsolete check-po logic.
* configure, config.in: Regenerate.
intl:
* Update entire directory from gettext 0.10.40.
* cat-compat.c, linux-msg.sed, po2tbl.sed.in, xopen-msg.sed:
Removed.
* config.charset, dcigettext.c, dcngettext.c, libgnuintl.h,
localcharset.c, locale.alias, ngettext.c, plural.c, plural.y,
ref-add.sin, ref-del.sin: New.
po:
* Makefile.in.in: Upgrade to gettext-0.10.40.
* cat-id-tbl.c: Remove file.
* stamp-cat-id: Remove file.

From-SVN: r46233

22 years agoobjc-act.c (finish_objc): Correct precondition for emitting symtab declarations.
Ziemowit Laski [Fri, 12 Oct 2001 16:01:16 +0000 (16:01 +0000)]
objc-act.c (finish_objc): Correct precondition for emitting symtab declarations.

2001-10-12  Ziemowit Laski  <zlaski@apple.com>

        * objc/objc-act.c (finish_objc): Correct precondition for emitting
        symtab declarations.

From-SVN: r46232

22 years agors6000.c: Remove uses of "register" specifier in declarations of arguments and local...
Stan Shebs [Fri, 12 Oct 2001 13:46:50 +0000 (13:46 +0000)]
rs6000.c: Remove uses of "register" specifier in declarations of arguments and local...

        * config/rs6000/rs6000.c: Remove uses of "register" specifier in
        declarations of arguments and local variables.

From-SVN: r46231

22 years agocygwin.h: Revert erroneous checkin of crtbegin and ENDFILE_SPEC definition.
Christopher Faylor [Fri, 12 Oct 2001 13:15:34 +0000 (13:15 +0000)]
cygwin.h: Revert erroneous checkin of crtbegin and ENDFILE_SPEC definition.

* config/i386/cygwin.h: Revert erroneous checkin of crtbegin and ENDFILE_SPEC
definition.

From-SVN: r46230

22 years agogthr-dce.h: Fix comment formatting.
Kazu Hirata [Fri, 12 Oct 2001 13:10:33 +0000 (13:10 +0000)]
gthr-dce.h: Fix comment formatting.

* gthr-dce.h: Fix comment formatting.
* gthr-posix.h: Likewise.
* gthr-single.h: Likewise.
* gthr-solaris.h: Likewise.
* gthr-vxworks.h: Likewise.
* gthr-win32.h: Likewise.

From-SVN: r46229

22 years agofinal.c (output_asm_insn): Make sure assembly dialects are terminated, not nested.
Jakub Jelinek [Fri, 12 Oct 2001 10:51:17 +0000 (12:51 +0200)]
final.c (output_asm_insn): Make sure assembly dialects are terminated, not nested.

* final.c (output_asm_insn): Make sure assembly dialects are
terminated, not nested.  Output `|' and `}' characters if they
don't appear inside assembly dialect selection.
* config/i386/i386.md (rep_movdi_rex64, rep_movsi, rep_movsi_rex64,
rep_movqi, rep_movqi_rex64, rep_stosdi_rex64, rep_stossi,
rep_stossi_rex64, rep_stosqi, rep_stosqi_rex64, strsetsi_1,
strsetsi_rex_1): Add {} braces.

* testsuite/gcc.dg/20011009-1.c: New test.

From-SVN: r46227

22 years agore PR c++/4476 (g++ does not parse the definition of friend function within a class...
Nathan Sidwell [Fri, 12 Oct 2001 09:06:32 +0000 (09:06 +0000)]
re PR c++/4476 (g++ does not parse the definition of friend function within a class properly)

cp:
PR g++/4476
* typeck2.c (abstract_virtuals_error): Ignore incomplete classes.
testsuite:
PR g++/4476
* g++.dg/other/friend1.C: New test.

From-SVN: r46226

22 years agoDaily bump.
GCC Administrator [Fri, 12 Oct 2001 07:41:11 +0000 (07:41 +0000)]
Daily bump.

From-SVN: r46224

22 years agotoplev.c (compile_file): Ignore return value from yyparse.
Zack Weinberg [Fri, 12 Oct 2001 03:34:39 +0000 (03:34 +0000)]
toplev.c (compile_file): Ignore return value from yyparse.

* toplev.c (compile_file): Ignore return value from yyparse.
Always pop any nested binding levels after yyparse returns.

From-SVN: r46223

22 years agoexp_ch8.adb (Expand_N_Object_Renaming_Declaration): Bugfix in renaming of discriminan...
Ed Schonberg [Fri, 12 Oct 2001 01:11:33 +0000 (01:11 +0000)]
exp_ch8.adb (Expand_N_Object_Renaming_Declaration): Bugfix in renaming of discriminant for mutable record type.

* exp_ch8.adb (Expand_N_Object_Renaming_Declaration): Bugfix in
renaming of discriminant for mutable record type.

From-SVN: r46222

22 years ago* validsw.adb: Properly save -gnatVn status.
Robert Dewar [Fri, 12 Oct 2001 00:59:14 +0000 (00:59 +0000)]
* validsw.adb: Properly save -gnatVn status.

From-SVN: r46221

22 years agojatool.c (extract_jar): Account for null termination when determining whether to...
Bryce McKinlay [Fri, 12 Oct 2001 00:49:42 +0000 (00:49 +0000)]
jatool.c (extract_jar): Account for null termination when determining whether to expand "filename".

        * jatool.c (extract_jar): Account for null termination when
determining whether to expand "filename".

From-SVN: r46220

22 years agousage.adb: Add lines for V switch.
Robert Dewar [Fri, 12 Oct 2001 00:46:56 +0000 (00:46 +0000)]
usage.adb: Add lines for V switch.

* usage.adb: Add lines for V switch.

* gnatcmd.adb (COMPILE): Revise translations for -gnatV
(/VALIDITY_CHECKING).

From-SVN: r46219

22 years ago* doc/c-tree.texi (Expression trees): Add VTABLE_REF.
Richard Henderson [Fri, 12 Oct 2001 00:38:08 +0000 (17:38 -0700)]
* doc/c-tree.texi (Expression trees): Add VTABLE_REF.

From-SVN: r46218

22 years agosem_type.adb (Add_One_Interp): an operator for a type declared in an extension of...
Ed Schonberg [Fri, 12 Oct 2001 00:35:43 +0000 (00:35 +0000)]
sem_type.adb (Add_One_Interp): an operator for a type declared in an extension of System is known to be visible.

* sem_type.adb (Add_One_Interp): an operator for a type declared in
an extension of System is known to be visible.

From-SVN: r46217

22 years agosem_eval.adb (Compare_Fixup): get the bounds of a String_Literal properly.
Ed Schonberg [Fri, 12 Oct 2001 00:32:42 +0000 (00:32 +0000)]
sem_eval.adb (Compare_Fixup): get the bounds of a String_Literal properly.

* sem_eval.adb (Compare_Fixup): get the bounds of a String_Literal
properly. Fixes regression on ACATS C34005G.

From-SVN: r46216