gcc.git
23 years agoDaily bump.
GCC Administrator [Thu, 3 May 2001 07:16:09 +0000 (07:16 +0000)]
Daily bump.

From-SVN: r41780

23 years ago* doc/*.texi: Remove generated documentation.
Bryce McKinlay [Thu, 3 May 2001 03:01:44 +0000 (03:01 +0000)]
* doc/*.texi: Remove generated documentation.

From-SVN: r41778

23 years agoobjc-act.c (STRING_OBJECT_CLASS_NAME): Default to NSConstantString for NeXT-style...
Stan Shebs [Wed, 2 May 2001 21:51:54 +0000 (21:51 +0000)]
objc-act.c (STRING_OBJECT_CLASS_NAME): Default to NSConstantString for NeXT-style runtimes.

        * objc/objc-act.c (STRING_OBJECT_CLASS_NAME): Default to
        NSConstantString for NeXT-style runtimes.
        (STRING_OBJECT_GLOBAL_NAME): New macro.
        (enum objc_tree_index): Add values OCTI_CNST_STR_GLOB_ID and
        OCTI_STRING_CLASS_DECL.
        (constant_string_global_id): New macro.
        (string_class_decl): Ditto.
        (setup_string_decl): New function.
        (build_objc_string_object): Use it to build a NeXT runtime
        compatible string initializer.

From-SVN: r41776

23 years agocatch13.C: New test.
Jakub Jelinek [Wed, 2 May 2001 21:00:00 +0000 (23:00 +0200)]
catch13.C: New test.

* g++.old-deja/g++.eh/catch13.C: New test.
* g++.old-deja/g++.eh/catch14.C: New test.

From-SVN: r41774

23 years agotradcpp.c (do_define): Make sure we don't walk past limit.
Jakub Jelinek [Wed, 2 May 2001 20:50:01 +0000 (22:50 +0200)]
tradcpp.c (do_define): Make sure we don't walk past limit.

* tradcpp.c (do_define): Make sure we don't walk past limit.

* gcc.dg/cpp/tr-define.c: New test.

From-SVN: r41773

23 years agors6000.c (rs6000_legitimate_address): Allow any stack offsets if not REG_OK_STRICT.
Franz Sirl [Wed, 2 May 2001 20:30:19 +0000 (20:30 +0000)]
rs6000.c (rs6000_legitimate_address): Allow any stack offsets if not REG_OK_STRICT.

        2000-05-01  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>

        * config/rs6000/rs6000.c (rs6000_legitimate_address): Allow any stack
        offsets if not REG_OK_STRICT.

        * config/rs6000/rs6000.h (REG_OK_STRICT_FLAG): New macro.
        (INT_REG_OK_FOR_INDEX_P): Likewise.
        (INT_REG_OK_FOR_BASE_P): Likewise.
        (REG_OK_FOR_INDEX_P): Use INT_REG_OK_FOR_INDEX_P.
        (REG_OK_FOR_BASE_P): Use INT_REG_OK_FOR_BASE_P.
        (LEGITIMATE_OFFSET_ADDRESS_P): Use INT_REG_OK_FOR_INDEX_P and
        INT_REG_OK_FOR_BASE_P instead of REG_OK_FOR_INDEX_P and
        REG_OK_FOR_BASE_P. Take an additional parameter.
        (LEGITIMATE_INDEXED_ADDRESS_P): Likeewise.
        (LEGITIMATE_INDIRECT_ADDRESS_P): Likewise.
        (LEGITIMATE_LO_SUM_ADDRESS_P): Likewise.
        (GO_IF_LEGITIMATE_ADDRESS): Move code into new function
        rs6000_legitimate_address() and use it.
        * config/rs6000/rs6000.c: Update all callers.
        (rs6000_legitimate_address): New function.

From-SVN: r41772

23 years ago[multiple changes]
David Edelsohn [Wed, 2 May 2001 18:21:06 +0000 (14:21 -0400)]
[multiple changes]

2001-05-02  David Edelsohn  <edelsohn@gnu.org>

* config/rs6000/rs6000.c (rs6000_emit_move): Merge
special_constant conditional blocks together.

2001-05-02  Dale Johannesen  <dalej@apple.com>

* config/rs6000/rs6000.h (RS6000_ARG_SIZE): Remove unused NAMED
parameter.
(STRICT_ARGUMENT_NAMING): Define.
* config/rs6000/rs6000.c (function_arg_advance, function_arg,
function_arg_partial_nregs, setup_incoming_varargs): Remove
args logic which depends on "named" now that STRICT_ARGUMENT_NAMING
is defined.

From-SVN: r41771

23 years agodecl.c (compute_array_index_type): Don't try to do anything with the indices when...
Mark Mitchell [Wed, 2 May 2001 18:04:18 +0000 (18:04 +0000)]
decl.c (compute_array_index_type): Don't try to do anything with the indices when processing a template.

* decl.c (compute_array_index_type): Don't try to do anything with
the indices when processing a template.

From-SVN: r41770

23 years ago* config/i386/i386.h (FUNCTION_BOUNDARY): Result is unsigned.
Richard Kenner [Wed, 2 May 2001 17:37:26 +0000 (17:37 +0000)]
* config/i386/i386.h (FUNCTION_BOUNDARY): Result is unsigned.

From-SVN: r41767

23 years agofunction.c (fixup_var_regs_1, [...]): Use promoted mode for replacement.
Richard Kenner [Wed, 2 May 2001 17:31:19 +0000 (17:31 +0000)]
function.c (fixup_var_regs_1, [...]): Use promoted mode for replacement.

* function.c (fixup_var_regs_1, case SUBREG): Use promoted mode
for replacement.

From-SVN: r41765

23 years agoexpr.c (store_field): Do nothing except elaborate side-effects if zero-bit field.
Richard Kenner [Wed, 2 May 2001 17:08:19 +0000 (17:08 +0000)]
expr.c (store_field): Do nothing except elaborate side-effects if zero-bit field.

* expr.c (store_field): Do nothing except elaborate side-effects if
zero-bit field.

From-SVN: r41763

23 years agocall.c: NULL_PTR -> NULL.
Kaveh R. Ghazi [Wed, 2 May 2001 14:38:35 +0000 (14:38 +0000)]
call.c: NULL_PTR -> NULL.

cp:
* call.c: NULL_PTR -> NULL.
* class.c: Likewise.
* cvt.c: Likewise.
* decl.c: Likewise.
* decl2.c: Likewise.
* except.c: Likewise.
* init.c: Likewise.
* rtti.c: Likewise.
* search.c: Likewise.
* tree.c: Likewise.
* typeck.c: Likewise.
* typeck2.c: Likewise.

f:
* com.c: NULL_PTR -> NULL.

java:
* decl.c: NULL_PTR -> NULL.
* jcf-write.c: Likewise.

From-SVN: r41762

23 years agoc-lex.c: NULL_PTR -> NULL.
Kaveh R. Ghazi [Wed, 2 May 2001 14:31:45 +0000 (14:31 +0000)]
c-lex.c: NULL_PTR -> NULL.

* c-lex.c: NULL_PTR -> NULL.
* cse.c: Likewise.
* emit-rtl.c: Likewise.
* gcse.c: Likewise.
* genpeep.c: Likewise.
* jump.c: Likewise.
* mips-tdump.c: Likewise.
* reload1.c: Likewise.
* rtlanal.c: Likewise.
* stmt.c: Likewise.
* stor-layout.c: Likewise.
* toplev.c: Likewise.

From-SVN: r41761

23 years ago* decl2.c (do_using_directive): Revert previous patch.
Mark Mitchell [Wed, 2 May 2001 12:23:08 +0000 (12:23 +0000)]
* decl2.c (do_using_directive): Revert previous patch.

From-SVN: r41759

23 years agoDaily bump.
GCC Administrator [Wed, 2 May 2001 07:16:08 +0000 (07:16 +0000)]
Daily bump.

From-SVN: r41757

23 years agocxa_vec.C: Get malloc() from <stdlib.h>, not <malloc.h>.
Loren J. Rittle [Wed, 2 May 2001 06:55:39 +0000 (06:55 +0000)]
cxa_vec.C: Get malloc() from <stdlib.h>, not <malloc.h>.

* g++.old-deja/g++.abi/cxa_vec.C: Get malloc() from
<stdlib.h>, not <malloc.h>.

From-SVN: r41756

23 years agosbuf_iter.h (istreambuf_iterator): Correct.
Benjamin Kosnik [Wed, 2 May 2001 05:50:20 +0000 (05:50 +0000)]
sbuf_iter.h (istreambuf_iterator): Correct.

2001-05-01  Benjamin Kosnik  <bkoz@redhat.com>

* include/bits/sbuf_iter.h (istreambuf_iterator): Correct.
* testsuite/24_iterators/istreambuf_iterator.cc (test02): Add test.

* include/bits/std_sstream.h (stringbuf): Leak
copied string.
* testsuite/24_iterators/ostreambuf_iterator.cc: Correct.

From-SVN: r41755

23 years agoexpr.c (expand_expr): When compiling LABELED_BLOCK_EXPR...
Per Bothner [Wed, 2 May 2001 02:04:27 +0000 (19:04 -0700)]
expr.c (expand_expr): When compiling LABELED_BLOCK_EXPR...

* expr.c (expand_expr):  When compiling LABELED_BLOCK_EXPR,
call do_pending_stack_adjust before emiting label.

From-SVN: r41753

23 years agohowto.html: Fix typo.
Tom Browder [Wed, 2 May 2001 01:39:03 +0000 (01:39 +0000)]
howto.html: Fix typo.

2001-05-01  Tom Browder  <tbrowder@home.com>

* docs/html/ext/howto.html:  Fix typo.

From-SVN: r41752

23 years agoFix typo
Mark Mitchell [Wed, 2 May 2001 00:58:46 +0000 (00:58 +0000)]
Fix typo

From-SVN: r41750

23 years ago* extend.texi: Fix typo.
Mark Mitchell [Wed, 2 May 2001 00:52:58 +0000 (00:52 +0000)]
* extend.texi: Fix typo.

From-SVN: r41749

23 years agofdl.texi: New file.
Mark Mitchell [Wed, 2 May 2001 00:39:01 +0000 (00:39 +0000)]
fdl.texi: New file.

* fdl.texi: New file.
* objc-features.texi: Simplify.
* Makefile.in: Adjust accordingly.

From-SVN: r41747

23 years agoMake-lang.in ($(srcdir)/java/gcj.info): Added `-I..'.
Tom Tromey [Tue, 1 May 2001 22:21:01 +0000 (22:21 +0000)]
Make-lang.in ($(srcdir)/java/gcj.info): Added `-I..'.

* Make-lang.in ($(srcdir)/java/gcj.info): Added `-I..'.
(java/gcj.dvi): Added $(srcdir) to TEXINPUTS.
* gcj.texi: Updated copyright text.  Include fdl.texi.
(Top): Link to new node.

From-SVN: r41743

23 years ago* parse.h (REGISTER_IMPORT): Use tree_cons instead of chainon.
Per Bothner [Tue, 1 May 2001 22:13:31 +0000 (15:13 -0700)]
* parse.h (REGISTER_IMPORT):  Use tree_cons instead of chainon.

From-SVN: r41741

23 years agoparse.y (java_pop_parser_context): The TREE_VALUE of a link in the import_list contai...
Per Bothner [Tue, 1 May 2001 22:05:46 +0000 (15:05 -0700)]
parse.y (java_pop_parser_context): The TREE_VALUE of a link in the import_list contains the name, not the TREE_PURPOSE.

* parse.y (java_pop_parser_context):  The TREE_VALUE of a link in the
import_list contains the name, not the TREE_PURPOSE.

From-SVN: r41739

23 years agogc_priv.h (UNLOCK): Change type of GC_noop1 argument.
Jeffrey Oldham [Tue, 1 May 2001 21:44:02 +0000 (21:44 +0000)]
gc_priv.h (UNLOCK): Change type of GC_noop1 argument.

2001-05-01  Jeffrey Oldham  <oldham@codesourcery.com>

* gc_priv.h (UNLOCK): Change type of GC_noop1 argument.
(GC_noop1): Change declaration to take one argument.

From-SVN: r41738

23 years agoobjc-act.c (build_module_descriptor): Clear DECL_CONTEXT of UOBJC_MODULES_decl.
Stan Shebs [Tue, 1 May 2001 20:45:55 +0000 (20:45 +0000)]
objc-act.c (build_module_descriptor): Clear DECL_CONTEXT of UOBJC_MODULES_decl.

        * objc/objc-act.c (build_module_descriptor): Clear DECL_CONTEXT
        of UOBJC_MODULES_decl.
        (generate_strings): Clear DECL_CONTEXT of new decl nodes.
        (generate_descriptor_table): Ditto.
        (generate_protocols): Ditto.
        (generate_protocol_list): Ditto.
        (generate_classref_translation_entry): Ditto.

From-SVN: r41736

23 years agoinvoke.texi (Optimize Options): Add documentation for `--param max-delay-slot-insn...
Jeffrey Oldham [Tue, 1 May 2001 18:51:06 +0000 (18:51 +0000)]
invoke.texi (Optimize Options): Add documentation for `--param max-delay-slot-insn-search' and `--param...

2001-05-01  Jeffrey Oldham  <oldham@codesourcery.com>

* invoke.texi (Optimize Options): Add documentation for `--param
max-delay-slot-insn-search' and `--param
max-delay-slot-live-search' and reorder --param section.
* params.def: Modify initial comment.
* params.h (param_info): Add `help' member.
* toplev.c (lang_independent_params): Include `help' description.
(display_help): Print --param parameters.

From-SVN: r41734

23 years agolibgcj.spec.in (jc1): Add EXCEPTIONSPEC.
Andrew Haley [Tue, 1 May 2001 17:45:11 +0000 (17:45 +0000)]
libgcj.spec.in (jc1): Add EXCEPTIONSPEC.

2001-04-30  Andrew Haley  <aph@cambridge.redhat.com>

        * libgcj.spec.in (jc1): Add EXCEPTIONSPEC.
        * configure.host (EXCEPTIONSPEC): New.
        * configure.in (EXCEPTIONSPEC): New.
        * configure: Rebuilt.

From-SVN: r41733

23 years agoconfig.gcc: Don't default xmake_file to ${cpu_type}/x-${cpu_type}.
Zack Weinberg [Tue, 1 May 2001 17:45:05 +0000 (17:45 +0000)]
config.gcc: Don't default xmake_file to ${cpu_type}/x-${cpu_type}.

2001-05-01  Zack Weinberg  <zackw@stanford.edu>

* config.gcc: Don't default xmake_file to ${cpu_type}/x-${cpu_type}.
Remove references to deleted files.
(*-*-openbsd): No need to override xmake_file.
(*-*-sysv4): Treat like *-*-sysv.

* configure.in: Probe for ldopen in various places, and set up
collect2 to be linked with them if found.
Don't dink with Windows registry stuff unless $host_os is a
Win32 os name.  Check to see if we need -ladvapi32.
* configure: Regenerate.

* Makefile: Get rid of CLIB and HOST_CLIB.
Substitute in COLLECT2_LIBS and link collect2 against its contents.
* build-make: Get rid of HOST_CLIB.

* config/a29k/x-unix, config/alpha/x-osf, config/i386/x-aix,
config/i386/x-osfrose, config/m68k/x-dpx2, config/mips/x-iris3,
config/mips/x-mips, config/mips/x-osfrose, config/mips/x-sony,
config/mips/x-sysv, config/rs6000/x-aix31, config/rs6000/x-aix41,
config/rs6000/x-rs6000: Delete.

* config/i386/x-cygwin, config/m68k/t-aux, config/mips/x-iris:
Don't set CLIB.

24 x-host fragments remain, 0 x-cpu, 3 top level.

2001-05-01  Zack Weinberg  <zackw@stanford.edu>

* aclocal.m4 (gcc_AC_C_CHAR_BIT): Correct test program.
* configure: Regenerate.

From-SVN: r41732

23 years ago* testsuite/libstdc++.tests/tests.exp: Add comment.
Gabriel Dos Reis [Tue, 1 May 2001 17:28:02 +0000 (17:28 +0000)]
* testsuite/libstdc++.tests/tests.exp: Add comment.

From-SVN: r41730

23 years ago* Makefile.in (install-headers): Remove redundant dependency.
Angela Marie Thomas [Tue, 1 May 2001 16:58:40 +0000 (16:58 +0000)]
* Makefile.in (install-headers): Remove redundant dependency.

From-SVN: r41729

23 years ago* testsuite/libstdc++.tests/tests.exp: Set ulimits.
Gabriel Dos Reis [Tue, 1 May 2001 15:01:50 +0000 (15:01 +0000)]
* testsuite/libstdc++.tests/tests.exp: Set ulimits.

From-SVN: r41727

23 years ago* c-tree.texi (USING_STMT): Document.
Nathan Sidwell [Tue, 1 May 2001 14:43:17 +0000 (14:43 +0000)]
* c-tree.texi (USING_STMT): Document.

From-SVN: r41726

23 years agocp-tree.def (USING_STMT): New statement node.
Nathan Sidwell [Tue, 1 May 2001 12:56:12 +0000 (12:56 +0000)]
cp-tree.def (USING_STMT): New statement node.

cp:
* cp-tree.def (USING_STMT): New statement node.
* cp-tree.h (USING_STMT_NAMESPACE): New macro.
* decl2.c (do_using_directive): Add USING_STMT to statement
tree. Don't emit errors when processing template decl.
* pt.c (tsubst_expr, USING_STMT case): New case.
* semantics.c (cp_expand_stmt, USING_STMT case): New case.
testsuite:
* g++.old-deja/g++.ns/template17.C: New test.

From-SVN: r41724

23 years agobitmap.c: Change NULL_PTR to NULL or "(rtx*)0".
Kaveh R. Ghazi [Tue, 1 May 2001 12:11:35 +0000 (12:11 +0000)]
bitmap.c: Change NULL_PTR to NULL or "(rtx*)0".

* bitmap.c: Change NULL_PTR to NULL or "(rtx*)0".
* c-common.c: Likewise.
* c-decl.c: Likewise.
* combine.c: Likewise.
* rs6000.c: Likewise.
* except.c: Likewise.
* explow.c: Likewise.
* expr.c: Likewise.
* fold-const.c: Likewise.
* function.c: Likewise.
* gcc.c: Likewise.
* gcse.c: Likewise.
* integrate.c: Likewise.
* loop.c: Likewise.
* objc/objc-act.c: Likewise.
* recog.c: Likewise.
* reg-stack.c: Likewise.
* reload.c: Likewise.
* reload1.c: Likewise.
* simplify-rtx.c: Likewise.
* stmt.c: Likewise.
* varasm.c: Likewise.

From-SVN: r41722

23 years agocall.c (build_new_op): Convert args from reference here.
Nathan Sidwell [Tue, 1 May 2001 11:47:49 +0000 (11:47 +0000)]
call.c (build_new_op): Convert args from reference here.

cp:
* call.c (build_new_op): Convert args from reference here.
(build_conditional_expr): Don't convert here.
testsuite:
* g++.old-deja/g++.pt/ref4.C: New test.

From-SVN: r41721

23 years agospew.c (last_token_id): New static variable.
Nathan Sidwell [Tue, 1 May 2001 10:53:09 +0000 (10:53 +0000)]
spew.c (last_token_id): New static variable.

cp:
* spew.c (last_token_id): New static variable.
(read_token): Set it here.
(yyerror): Use it here.

From-SVN: r41719

23 years agodiagnostic.def: New file.
Gabriel Dos Reis [Tue, 1 May 2001 08:19:45 +0000 (08:19 +0000)]
diagnostic.def: New file.

      * diagnostic.def: New file.
      * diagnostic.h (diagnostic_t): New enum.
      * Makefile.in (diagnostic.o): Depend on diagnostic.def

From-SVN: r41717

23 years agoDaily bump.
GCC Administrator [Tue, 1 May 2001 07:16:43 +0000 (07:16 +0000)]
Daily bump.

From-SVN: r41716

23 years agotsystem.h: Test only POSIX for availability of string.h and time.h.
Zack Weinberg [Tue, 1 May 2001 03:48:04 +0000 (03:48 +0000)]
tsystem.h: Test only POSIX for availability of string.h and time.h.

* tsystem.h: Test only POSIX for availability of string.h
and time.h.
* config.gcc (all systems): If USG appeared in xm_defines,
change it to POSIX.  If both USG and POSIX appeared, just
delete USG. Remove unnecessary quotes around xm_defines
settings.
(m68k-crds-unos*): Don't #define unos - tested nowhere.
(m68k-apple-aux*): Don't #define AUX - tested nowhere.
(alpha*-*-linux*ecoff*, powerpc-*-linux*libc1,
powerpc-*-linux*): No need to set xm_defines - handled by
global settings for *-*-linux*.

From-SVN: r41714

23 years agodbxout.c, [...]: Always include gstab.h, not system stab.h.
Zack Weinberg [Tue, 1 May 2001 01:58:32 +0000 (01:58 +0000)]
dbxout.c, [...]: Always include gstab.h, not system stab.h.

* dbxout.c, mips-tfile.c, config/mips/mips.c, xcoffout.c:
Always include gstab.h, not system stab.h.  Don't provide
default definitions of N_CATCH or N_OPT.  Always use the
gstab.h variant of STAB_CODE_TYPE.
* final.c: Don't include stab.h/gstab.h at all, or provide
defaults for N_SLINE and N_SOL.

* xcoffout.c: Can assume N_MAIN, N_DSLINE, N_BSLINE, N_BINCL,
N_EINCL, N_EXCL, N_M2C, N_SCOPE, N_CATCH, and N_OPT are
available.
* sdbout.c: Always include gsyms.h instead of system syms.h.

* configure.in: No need to check for stab.h.
* configure, config.in: Regenerate.
* Makefile.in (final.o): Don't depend on gstab.h.

From-SVN: r41713

23 years agoextend.texi: Improve documentation of volatile asms.
Mark Mitchell [Tue, 1 May 2001 00:39:59 +0000 (00:39 +0000)]
extend.texi: Improve documentation of volatile asms.

* extend.texi: Improve documentation of volatile asms.

* c-tree.texi: Fix thinko.
* gcc.texi: Likewise.

Co-Authored-By: Richard Henderson <rth@redhat.com>
From-SVN: r41712

23 years agoc-common.c (c_promoting_integer_type_p): New function, from the corpse of old macro.
Richard Henderson [Mon, 30 Apr 2001 23:59:10 +0000 (16:59 -0700)]
c-common.c (c_promoting_integer_type_p): New function, from the corpse of old macro.

        * c-common.c (c_promoting_integer_type_p): New function, from the
        corpse of old macro.  Properly promote too-small enumerations and
        booleans.  Adjust all callers.
        * c-common.h (C_PROMOTING_INTEGER_TYPE_P): Remove.
        (c_promoting_integer_type_p): Declare.
        * c-decl.c: Adjust C_PROMOTING_INTEGER_TYPE_P invocations.
        * c-typeck.c: Likewise.
        (default_conversion): Remove now redundant boolean check.

        * cvt.c: Downcase C_PROMOTING_INTEGER_TYPE_P invocations.
        * decl.c: Likewise.

From-SVN: r41709

23 years agoRevert last change.
Richard Henderson [Mon, 30 Apr 2001 23:28:23 +0000 (16:28 -0700)]
Revert last change.

From-SVN: r41708

23 years agoregmove.c (try_apply_stack_adjustment): Remove now redundant sanity checks.
Jan Hubicka [Mon, 30 Apr 2001 23:27:22 +0000 (01:27 +0200)]
regmove.c (try_apply_stack_adjustment): Remove now redundant sanity checks.

        * regmove.c (try_apply_stack_adjustment): Remove now redundant
        sanity checks.
        (combine_stack_adjustments_for_block): Don't combine stack
        allocation followed by deallocations.  Handle grow-up stacks.

Co-Authored-By: Richard Henderson <rth@redhat.com>
From-SVN: r41707

23 years agonatFile.cc (performSetReadOnly): Fix #ifdef test.
Matt Kraai [Mon, 30 Apr 2001 23:09:39 +0000 (23:09 +0000)]
natFile.cc (performSetReadOnly): Fix #ifdef test.

2001-04-30  Matt Kraai  <kraai@alumni.carnegiemellon.edu>

* java/io/natFile.cc (performSetReadOnly): Fix #ifdef test.
(performDelete): Fix #endif placement.

From-SVN: r41703

23 years agofdl.texi: New file.
Mark Mitchell [Mon, 30 Apr 2001 22:46:47 +0000 (22:46 +0000)]
fdl.texi: New file.

* fdl.texi: New file.
* c-tree.texi: Use the GFDL.
* gcc.texi: Likewise.

From-SVN: r41701

23 years agofdl.texi: New file.
Mark Mitchell [Mon, 30 Apr 2001 22:46:01 +0000 (22:46 +0000)]
fdl.texi: New file.

* fdl.texi: New file.
* c-tree.texi: Use the GFDL.
* gcc.texi: Likewise.

* porting.texi: Use the GFDL.

* objc-features.texi: Use the GFDL.

* gxxint.texi: Remove.
* Make-lang.in: Remove all traces of gxxint.texi.

From-SVN: r41700

23 years agodecl2.c (start_static_initialization_or_destruction): Correct logic to handle the...
Mark Mitchell [Mon, 30 Apr 2001 22:20:03 +0000 (22:20 +0000)]
decl2.c (start_static_initialization_or_destruction): Correct logic to handle the -fno-use-cxa-atexit case.

* decl2.c (start_static_initialization_or_destruction): Correct
logic to handle the -fno-use-cxa-atexit case.

From-SVN: r41697

23 years ago20010430.f: New test.
Toon Moene [Mon, 30 Apr 2001 21:51:57 +0000 (23:51 +0200)]
20010430.f: New test.

2001-04-30  Toon Moene  <toon@moene.indiv.nluug.nl>

* g77.f-torture/execute/20010430.f: New test.

From-SVN: r41695

23 years agoostreambuf_iterator.cc: New file.
Benjamin Kosnik [Mon, 30 Apr 2001 20:53:31 +0000 (20:53 +0000)]
ostreambuf_iterator.cc: New file.

2001-04-30  Benjamin Kosnik  <bkoz@redhat.com>

libstdc++/2627
* testsuite/24_iterators/ostreambuf_iterator.cc: New file.
* include/bits/sbuf_iter.h (ostreambuf_iterator): Remove bogus
specializations.

From-SVN: r41694

23 years ago* invoke.texi: Add a section documenting Objective-C options.
Stan Shebs [Mon, 30 Apr 2001 18:17:13 +0000 (18:17 +0000)]
* invoke.texi: Add a section documenting Objective-C options.

From-SVN: r41692

23 years agostl_iterator_base_funcs.h (__advance): Fix.
Benjamin Kosnik [Mon, 30 Apr 2001 18:07:51 +0000 (18:07 +0000)]
stl_iterator_base_funcs.h (__advance): Fix.

2001-04-30  Benjamin Kosnik  <bkoz@redhat.com>

libstdc++/2964
* include/bits/stl_iterator_base_funcs.h (__advance): Fix.

From-SVN: r41691

23 years agostl_iterator_base_funcs.h (__advance): Fix.
Benjamin Kosnik [Mon, 30 Apr 2001 17:48:41 +0000 (17:48 +0000)]
stl_iterator_base_funcs.h (__advance): Fix.

2001-04-30  Benjamin Kosnik  <bkoz@redhat.com>

libstdc++/2964
* include/bits/stl_iterator_base_funcs.h (__advance): Fix.

From-SVN: r41690

23 years agostl_iterator_base_funcs.h (__advance): Fix.
Benjamin Kosnik [Mon, 30 Apr 2001 17:41:29 +0000 (17:41 +0000)]
stl_iterator_base_funcs.h (__advance): Fix.

2001-04-30  Benjamin Kosnik  <bkoz@redhat.com>

libstdc++/2964
* include/bits/stl_iterator_base_funcs.h (__advance): Fix.

From-SVN: r41689

23 years agoemit-rtl.c (try_split): Copy EH notes to sequence.
Andrew Haley [Mon, 30 Apr 2001 16:07:26 +0000 (16:07 +0000)]
emit-rtl.c (try_split): Copy EH notes to sequence.

2001-04-27  Andrew Haley  <aph@cambridge.redhat.com>

        * emit-rtl.c (try_split):  Copy EH notes to sequence.

From-SVN: r41688

23 years agoregmove.c (record_stack_memrefs): Catch all references to the stack pointer.
Mark Mitchell [Mon, 30 Apr 2001 15:09:51 +0000 (15:09 +0000)]
regmove.c (record_stack_memrefs): Catch all references to the stack pointer.

* regmove.c (record_stack_memrefs): Catch all references to the
stack pointer.

* optimize.c (update_cloned_parm): New function.
(maybe_clone_body): Use it.  Update the `this' parameter too.

* gcc.dg/20000724-1.c: Add a clobber of `esp'.

From-SVN: r41687

23 years agoDaily bump.
GCC Administrator [Mon, 30 Apr 2001 07:16:39 +0000 (07:16 +0000)]
Daily bump.

From-SVN: r41679

23 years agoquote shell assignment values
Toomas Rosin [Sun, 29 Apr 2001 21:24:16 +0000 (23:24 +0200)]
quote shell assignment values

From-SVN: r41676

23 years agoc-aux-info.c: NULL_PTR->NULL in calls to `concat'.
Kaveh R. Ghazi [Sun, 29 Apr 2001 12:43:20 +0000 (12:43 +0000)]
c-aux-info.c: NULL_PTR->NULL in calls to `concat'.

* c-aux-info.c: NULL_PTR->NULL in calls to `concat'.

* gcc.c: Likewise.

* prefix.c: Likewise.

From-SVN: r41675

23 years agodecl2.c (unsupported_options): Add new-abi.
Joseph Myers [Sun, 29 Apr 2001 11:48:40 +0000 (12:48 +0100)]
decl2.c (unsupported_options): Add new-abi.

cp:
* decl2.c (unsupported_options): Add new-abi.
* lang-options.h: Remove no longer supported options.

testsuite:
* g++.old-deja/g++.other/crash14.C: Remove -fnew-abi.

From-SVN: r41673

23 years agojcf-io.c (read_zip_member): Cast to long in comparison with signed value.
Kaveh R. Ghazi [Sun, 29 Apr 2001 11:24:37 +0000 (11:24 +0000)]
jcf-io.c (read_zip_member): Cast to long in comparison with signed value.

* jcf-io.c (read_zip_member): Cast to long in comparison with
signed value.

* jvspec.c (lang_specific_driver): Initialize variables.

* mangle.c (find_compression_record_match): Likewise.

* typeck.c (build_null_signature): Provide static prototype.  Mark
parameter with ATTRIBUTE_UNUSED.

* verify.c (verify_jvm_instructions): Initialize variable.

From-SVN: r41671

23 years agoDaily bump.
GCC Administrator [Sun, 29 Apr 2001 07:16:07 +0000 (07:16 +0000)]
Daily bump.

From-SVN: r41669

23 years agorun_doxygen: Minor tweaks.
Phil Edwards [Sun, 29 Apr 2001 01:40:34 +0000 (01:40 +0000)]
run_doxygen: Minor tweaks.

2001-04-28  Phil Edwards  <pme@sources.redhat.com>

* docs/doxygen/run_doxygen:  Minor tweaks.
* docs/doxygen/style.css:  New file.
* docs/doxygen/user.cfg.in:  Update using "doxygen -u" to get the
latest parameters available.  Use style.css.

From-SVN: r41668

23 years agoobjc-act.c (handle_class_ref): Rewrite to flush target specific code and use new...
Stan Shebs [Sun, 29 Apr 2001 00:12:51 +0000 (00:12 +0000)]
objc-act.c (handle_class_ref): Rewrite to flush target specific code and use new macro...

        * objc/objc-act.c (handle_class_ref): Rewrite to flush target
        specific code and use new macro ASM_DECLARE_UNRESOLVED_REFERENCE.
        * config/darwin.h (ASM_DECLARE_UNRESOLVED_REFERENCE): Define.
        * tm.texi (ASM_DECLARE_UNRESOLVED_REFERENCE): Document.

From-SVN: r41666

23 years agodarwin.h (STANDARD_EXEC_PREFIX): Don't define.
Stan Shebs [Sat, 28 Apr 2001 22:18:06 +0000 (22:18 +0000)]
darwin.h (STANDARD_EXEC_PREFIX): Don't define.

        * config/darwin.h (STANDARD_EXEC_PREFIX): Don't define.
        (NEXT_OBJC_RUNTIME): Define.

From-SVN: r41665

23 years agortl.h (simplify_gen_relational): Add cmp_mode parameter.
Jan Hubicka [Sat, 28 Apr 2001 19:16:30 +0000 (21:16 +0200)]
rtl.h (simplify_gen_relational): Add cmp_mode parameter.

* rtl.h (simplify_gen_relational): Add cmp_mode parameter.
* simplify-rtx.c (simplify_gen_relational): Likewise.

* simplify-rtx.c (simplify_replace_rtx): Handle relationals and MEMs.

* i386.h (VALID_SSE_REG_MODE): Accept MMX modes if SSE2
* i386.md (movsi_1, movdi2, movdi_1_rex64): Handle SSE2 moves.

* i386.md (negsf2, negdf2, abssf2, absdf2): Force operands to
registers in SSE case; fix handling of the immediates.
(negsf2_ifs, abssf2_ifs): Tweak constraints; require
operands to be in regsiters before reload.
(negdf2_ifs, absdf2_ifs): Likewise; disable for 64bit
(negdf2_ifs_rex64, absdf2_ifs_rtx64): New.
(abstf,absxf,negtf,negxf splitters): Compute
properly the regnum for x86_64.
(avsdf2_if_rex64): New.

From-SVN: r41664

23 years agoflow.c (propagate_block_delete_insn): Handle deletion of ADDR_VEC and ADDR_DIFF_VEC...
Jeffrey A Law [Sat, 28 Apr 2001 16:53:00 +0000 (16:53 +0000)]
flow.c (propagate_block_delete_insn): Handle deletion of ADDR_VEC and ADDR_DIFF_VEC insns when...

        * flow.c (propagate_block_delete_insn): Handle deletion of ADDR_VEC
        and ADDR_DIFF_VEC insns when the proceeding CODE_LABEL was put
        into the constant pool.
        * jump.c (jump_optimize_1): Remove barrier successors after all
        the LABEL_NUSES counds have been computed.
        (delete_barrier_successors): When deleting a tablejump insn, also
        delete the jump table it uses.
        * varasm.c (force_const_mem): Set LABEL_PRESERVE_P when forcing a
        label into memory.

From-SVN: r41662

23 years ago* pa.c (FRP): Remove erroneous white space in macro definition.
Martin Kalen [Sat, 28 Apr 2001 14:23:34 +0000 (14:23 +0000)]
* pa.c (FRP): Remove erroneous white space in macro definition.

From-SVN: r41661

23 years agoinvoke.texi: Use XX-bit instead of XXbit or XX bit where appropriate.
Andreas Jaeger [Sat, 28 Apr 2001 11:35:04 +0000 (13:35 +0200)]
invoke.texi: Use XX-bit instead of XXbit or XX bit where appropriate.

* invoke.texi: Use XX-bit instead of XXbit or XX bit where
appropriate.
* extend.texi: Likewise.
* tm.texi: Likewise.

From-SVN: r41659

23 years agomd.texi: Use XX-bit instead of XXbit or XX bit where appropriate.
Andreas Jaeger [Sat, 28 Apr 2001 08:54:31 +0000 (10:54 +0200)]
md.texi: Use XX-bit instead of XXbit or XX bit where appropriate.

        * md.texi: Use XX-bit instead of XXbit or XX bit where
        appropriate.

From-SVN: r41656

23 years agore PR c/2347 (gcc does not accept "-l m" as POSIX permits (wants -lm))
Jens Schweikhardt [Sat, 28 Apr 2001 08:08:03 +0000 (08:08 +0000)]
re PR c/2347 (gcc does not accept "-l m" as POSIX permits (wants -lm))

* gcc.c (process_command): Allow -l lib in addition to -llib
for POSIX compliance. This fixes PR c/2347.

* invoke.texi: Update section on Link Options accordingly.

From-SVN: r41655

23 years agoDaily bump.
GCC Administrator [Sat, 28 Apr 2001 07:16:11 +0000 (07:16 +0000)]
Daily bump.

From-SVN: r41653

23 years agonew
Jason Merrill [Sat, 28 Apr 2001 05:11:21 +0000 (01:11 -0400)]
new

From-SVN: r41652

23 years ago* java/lang/natClassLoader.cc (_Jv_RegisterInitiatingLoader): Use _Jv_Malloc.
Zack Weinberg [Sat, 28 Apr 2001 01:39:15 +0000 (01:39 +0000)]
* java/lang/natClassLoader.cc (_Jv_RegisterInitiatingLoader): Use _Jv_Malloc.

From-SVN: r41651

23 years agoprims.cc (_Jv_ThisExecutable): Use _Jv_Malloc.
Zack Weinberg [Sat, 28 Apr 2001 00:04:55 +0000 (00:04 +0000)]
prims.cc (_Jv_ThisExecutable): Use _Jv_Malloc.

* prims.cc (_Jv_ThisExecutable): Use _Jv_Malloc.
* posix-threads.cc (_Jv_ThreadInitData): Use _Jv_Malloc.
(_Jv_ThreadDestroyData): Use _Jv_Free.

From-SVN: r41650

23 years agofunction.c (purge_addressof_1): Remove the duplicate if (code == SET) block.
Zack Weinberg [Fri, 27 Apr 2001 23:55:03 +0000 (23:55 +0000)]
function.c (purge_addressof_1): Remove the duplicate if (code == SET) block.

* function.c (purge_addressof_1): Remove the duplicate
if (code == SET) block.  Fold the two if (code == ADDRESSOF)
blocks together.

From-SVN: r41649

23 years agomainpage.doxy: New.
Benjamin Kosnik [Fri, 27 Apr 2001 23:38:14 +0000 (23:38 +0000)]
mainpage.doxy: New.

2001-04-27  Benjamin Kosnik  <bkoz@redhat.com>

* docs/doxygen/mainpage.doxy: New.
* docs/doxygen/user.cfg.in: Change default configuration. Single
frame, other tweaks.

From-SVN: r41648

23 years agoexcept.c (expand_eh_region_start): Don't start a new block.
Jason Merrill [Fri, 27 Apr 2001 23:25:20 +0000 (19:25 -0400)]
except.c (expand_eh_region_start): Don't start a new block.

        * except.c (expand_eh_region_start): Don't start a new block.
        (expand_eh_region_end): Don't end a block.
        * stmt.c (expand_end_bindings): Don't end EH blocks.
        (expand_decl_cleanup): Starting an EH region won't change the block.
        (mark_block_as_eh_region, mark_block_as_not_eh_region): Lose.
        (is_eh_region): Lose.
        * tree.h: Adjust.

From-SVN: r41647

23 years agoAdd forgotten entry.
Franz Sirl [Fri, 27 Apr 2001 21:32:31 +0000 (21:32 +0000)]
Add forgotten entry.

From-SVN: r41646

23 years ago*** empty log message ***
Jeffrey Oldham [Fri, 27 Apr 2001 19:59:53 +0000 (19:59 +0000)]
*** empty log message ***

From-SVN: r41645

23 years agomd.texi (Machine Constraints): Document additional i386 constraints and fix descripti...
Andreas Jaeger [Fri, 27 Apr 2001 19:35:03 +0000 (21:35 +0200)]
md.texi (Machine Constraints): Document additional i386 constraints and fix description of "A".

        * md.texi (Machine Constraints): Document additional i386
        constraints and fix description of "A".

From-SVN: r41642

23 years agoparse.y (java_expand_classes): Don't change ctxp_for_generation while iterating...
Per Bothner [Fri, 27 Apr 2001 19:12:20 +0000 (12:12 -0700)]
parse.y (java_expand_classes): Don't change ctxp_for_generation while iterating...

* parse.y (java_expand_classes):  Don't change ctxp_for_generation
while iterating, since that could cause gc to lose stuff.

From-SVN: r41640

23 years ago20000629-1.x: Really commit removal.
Toon Moene [Fri, 27 Apr 2001 17:33:13 +0000 (17:33 +0000)]
20000629-1.x: Really commit removal.

2001-04-27  Toon Moene  <toon@moene.indiv.nluug.nl>

* g77.f-torture/compile/20000629-1.x: Really commit removal.

From-SVN: r41638

23 years ago* tm.texi (TARGET_MEM_FUNCTIONS): Update text.
Jeffrey A Law [Fri, 27 Apr 2001 16:42:07 +0000 (16:42 +0000)]
* tm.texi (TARGET_MEM_FUNCTIONS): Update text.

From-SVN: r41636

23 years agojni.cc (_Jv_JNI_GetPrimitiveArrayRegion): Fixed bounds checking.
Tom Tromey [Fri, 27 Apr 2001 16:09:54 +0000 (16:09 +0000)]
jni.cc (_Jv_JNI_GetPrimitiveArrayRegion): Fixed bounds checking.

* jni.cc (_Jv_JNI_GetPrimitiveArrayRegion): Fixed bounds
checking.
(_Jv_JNI_SetPrimitiveArrayRegion): Likewise.

From-SVN: r41634

23 years agojni.h (struct JNINativeInterface): Fixed types in Get/Set*ArrayRegion declarations.
Tom Tromey [Fri, 27 Apr 2001 16:09:10 +0000 (16:09 +0000)]
jni.h (struct JNINativeInterface): Fixed types in Get/Set*ArrayRegion declarations.

2001-04-27  Martin Kahlert  <martin.kahlert@infineon.com>

* include/jni.h (struct JNINativeInterface): Fixed types in
Get/Set*ArrayRegion declarations.
(class _Jv_JNIEnv): Likewise.

From-SVN: r41633

23 years agoexcept.c (can_convert_eh): Don't check template parms, typename types etc.
Nathan Sidwell [Fri, 27 Apr 2001 13:33:46 +0000 (13:33 +0000)]
except.c (can_convert_eh): Don't check template parms, typename types etc.

cp:
* except.c (can_convert_eh): Don't check template parms,
typename types etc.
testsuite:
* g++.old-deja/g++.eh/crash6.C: New test.

From-SVN: r41628

23 years agooptimize.c (maybe_clone_body): Copy parameter names and locations.
Nathan Sidwell [Fri, 27 Apr 2001 12:47:22 +0000 (12:47 +0000)]
optimize.c (maybe_clone_body): Copy parameter names and locations.

cp:
* optimize.c (maybe_clone_body): Copy parameter names and locations.
testsuite:
* g++.old-deja/g++.other/warn7.C: New test.

From-SVN: r41627

23 years agocp-tree.h (adjust_clone_args): Prototype new function.
Nathan Sidwell [Fri, 27 Apr 2001 10:47:36 +0000 (10:47 +0000)]
cp-tree.h (adjust_clone_args): Prototype new function.

cp:
* cp-tree.h (adjust_clone_args): Prototype new function.
* class.c (adjust_clone_args): New function.
* decl.c (start_function): Call it for in charge ctors.
testsuite:
* g++.old-deja/g++.other/defarg9.C: New test.

From-SVN: r41625

23 years agoDaily bump.
GCC Administrator [Fri, 27 Apr 2001 07:16:41 +0000 (07:16 +0000)]
Daily bump.

From-SVN: r41623

23 years agomethod.c (use_thunk): Make sure that thunks really are emitted when requested.
Mark Mitchell [Fri, 27 Apr 2001 05:08:39 +0000 (05:08 +0000)]
method.c (use_thunk): Make sure that thunks really are emitted when requested.

* method.c (use_thunk): Make sure that thunks really are emitted
when requested.

From-SVN: r41621

23 years agolibjava.exp (libjava_init): Use UTF-8 encoding.
Tom Tromey [Fri, 27 Apr 2001 00:56:16 +0000 (00:56 +0000)]
libjava.exp (libjava_init): Use UTF-8 encoding.

* lib/libjava.exp (libjava_init): Use UTF-8 encoding.
(test_libjava_from_javac): Likewise.

From-SVN: r41617

23 years ago* except.c (get_exception_filter): word_mode, not Pmode.
Jason Merrill [Thu, 26 Apr 2001 23:32:49 +0000 (19:32 -0400)]
* except.c (get_exception_filter): word_mode, not Pmode.

From-SVN: r41616

23 years ago20010426.f: New test.
Toon Moene [Thu, 26 Apr 2001 21:13:29 +0000 (23:13 +0200)]
20010426.f: New test.

2001-04-26  Toon Moene  <toon@moene.indiv.nluug.nl>

* g77.f-torture/compile/20010426.f: New test.
* g77.f-torture/execute/20010426.f: New test.

From-SVN: r41615

23 years ago*** empty log message ***
Toon Moene [Thu, 26 Apr 2001 21:02:07 +0000 (21:02 +0000)]
*** empty log message ***

From-SVN: r41614

23 years agosparc.md (movsf_no_f_insn): Add more alternatives common to other movsf patterns.
Geoffrey Keating [Thu, 26 Apr 2001 20:56:08 +0000 (20:56 +0000)]
sparc.md (movsf_no_f_insn): Add more alternatives common to other movsf patterns.

* config/sparc/sparc.md (movsf_no_f_insn): Add more alternatives
common to other movsf patterns.  Move up so that in future
people who change the other patterns will change it too.
(movsf_lo_sum): Allow even for soft-float; add appropriate
constraints.
(movsf_high): Likewise.
(movsf_high+1): Allow even for soft-float.

From-SVN: r41613

23 years agofunction.c (expand_function_end): Always clobber the return registers, even if there...
Geoffrey Keating [Thu, 26 Apr 2001 20:54:51 +0000 (20:54 +0000)]
function.c (expand_function_end): Always clobber the return registers, even if there is no return label.

* function.c (expand_function_end): Always clobber the
return registers, even if there is no return label.

From-SVN: r41612

23 years agoBADNAMES: Remove EGCS reference.
Mark Mitchell [Thu, 26 Apr 2001 20:13:47 +0000 (20:13 +0000)]
BADNAMES: Remove EGCS reference.

* docs/html/17_intro/BADNAMES: Remove EGCS reference.
Indicate obsolete nature of thelist for G++ 3.0.

From-SVN: r41611