platform/upstream/gcc.git
23 years agolibgcc-ia64.ver: Add __ia64_backtrace.
Andrew Haley [Mon, 19 Mar 2001 16:02:02 +0000 (16:02 +0000)]
libgcc-ia64.ver: Add __ia64_backtrace.

2001-03-16  Andrew Haley  <aph@cambridge.redhat.com>

        * config/ia64/libgcc-ia64.ver: Add __ia64_backtrace.

From-SVN: r40618

23 years agoDaily bump.
GCC Administrator [Mon, 19 Mar 2001 08:16:39 +0000 (08:16 +0000)]
Daily bump.

From-SVN: r40612

23 years ago* README.X11: Remove obsolete file.
Gerald Pfeifer [Mon, 19 Mar 2001 07:53:03 +0000 (08:53 +0100)]
* README.X11: Remove obsolete file.

From-SVN: r40609

23 years agopj.h: Remove some trailing commas.
Anthony Green [Mon, 19 Mar 2001 02:19:10 +0000 (02:19 +0000)]
pj.h: Remove some trailing commas.

2001-03-18  Anthony Green  <green@redhat.com>

* config/pj/pj.h: Remove some trailing commas.
(ASM_SPEC): Use -EB and -EL, not -mb and -ml.

From-SVN: r40607

23 years agoupdate_web_docs_libstdcxx: New script.
Phil Edwards [Mon, 19 Mar 2001 01:40:04 +0000 (01:40 +0000)]
update_web_docs_libstdcxx: New script.

2001-03-18  Phil Edwards  <pme@sources.redhat.com>

* update_web_docs_libstdcxx:  New script.
* crontab:  Call said script.

From-SVN: r40606

23 years agoRemove conflict markers that I commited by mistake
Mark Wielaard [Sun, 18 Mar 2001 23:17:24 +0000 (23:17 +0000)]
Remove conflict markers that I commited by mistake

From-SVN: r40605

23 years agonatClass.cc (_Jv_CheckCast): add class names to exception
Mark Wielaard [Sun, 18 Mar 2001 23:07:57 +0000 (23:07 +0000)]
natClass.cc (_Jv_CheckCast): add class names to exception

* java/lang/natClass.cc (_Jv_CheckCast): add class names to exception
* gnu/gcj/runtime/FirstThread.java (main): replace / with . in jarMainClassName

From-SVN: r40604

23 years agodefaults.h (ACCUMULATE_OUTGOING_ARGS, PUSH_ARGS): Move from ...
Richard Henderson [Sun, 18 Mar 2001 21:38:33 +0000 (13:38 -0800)]
defaults.h (ACCUMULATE_OUTGOING_ARGS, PUSH_ARGS): Move from ...

        * defaults.h (ACCUMULATE_OUTGOING_ARGS, PUSH_ARGS): Move from ...
        * calls.c: ... here.
        * combine.c, expr.c, final.c, function.c toplev.c: Don't provide
        defaults for them here.

From-SVN: r40603

23 years ago> * config/pj/lib1funcs.S: Fix broken comment.
Anthony Green [Sun, 18 Mar 2001 20:52:02 +0000 (20:52 +0000)]
> * config/pj/lib1funcs.S: Fix broken comment.

>  * config/pj/lib1funcs.S: Fix broken comment.
>  * config/pj/pj.h (LOCAL_LABEL_PREFIX): Prefix internal
>  labels with '.'.

From-SVN: r40602

23 years agogcc.texi: Remove obsolete information relating to build and installation problems...
Joseph Myers [Sun, 18 Mar 2001 18:53:54 +0000 (18:53 +0000)]
gcc.texi: Remove obsolete information relating to build and installation problems with...

* gcc.texi: Remove obsolete information relating to build and
installation problems with enquire or the Pyramid C compiler.

From-SVN: r40599

23 years agoAdd alan@linuxcare.com.au
Alan Modra [Sun, 18 Mar 2001 11:43:37 +0000 (11:43 +0000)]
Add alan@linuxcare.com.au

From-SVN: r40597

23 years agoDaily bump.
GCC Administrator [Sun, 18 Mar 2001 08:16:38 +0000 (08:16 +0000)]
Daily bump.

From-SVN: r40596

23 years agodwarf2out.c (queue_reg_save): New.
Richard Henderson [Sun, 18 Mar 2001 05:09:55 +0000 (21:09 -0800)]
dwarf2out.c (queue_reg_save): New.

        * dwarf2out.c (queue_reg_save): New.
        (flush_queued_reg_saves, clobbers_queued_reg_save): New.
        (dwarf2out_frame_debug_expr): Call queue_reg_save instead of
        dwarf2out_reg_save.
        (dwarf2out_frame_debug): Call flush_queued_reg_saves when needed.
        (cfa, cfa_store, cfa_temp): Make static.
        * final.c (final_scan_insn): Always call dwarf2out_frame_debug.

From-SVN: r40594

23 years agonatString.cc (rehash): Don't bother with memset; _Jv_AllocBytes returns zero'd memory.
Tom Tromey [Sun, 18 Mar 2001 00:57:13 +0000 (00:57 +0000)]
natString.cc (rehash): Don't bother with memset; _Jv_AllocBytes returns zero'd memory.

* java/lang/natString.cc (rehash): Don't bother with memset;
_Jv_AllocBytes returns zero'd memory.  Use _Jv_AllocBytesChecked.
Use UNMASK_PTR.
(UNMASK_PTR): New macro.
(intern): Unmask pointer before returning it.  Register finalizer
for the string.
(unintern): Handle case where
(MASK_PTR): New macro.
(PTR_MAKSED): Likewise.
(_Jv_NewStringUtf8Const): Use UNMASK_PTR.

From-SVN: r40593

23 years agoupdate_version, [...]: Check out with gcc directory instead of using egcs link.
Joseph Myers [Sun, 18 Mar 2001 00:08:56 +0000 (00:08 +0000)]
update_version, [...]: Check out with gcc directory instead of using egcs link.

* update_version, update_branch_version: Check out with gcc
directory instead of using egcs link.

From-SVN: r40591

23 years agoupdate_web_docs: Don't strip leading -r from argument following -r...
Joseph Myers [Sat, 17 Mar 2001 23:59:21 +0000 (23:59 +0000)]
update_web_docs: Don't strip leading -r from argument following -r...

* update_web_docs: Don't strip leading -r from argument following
-r, or leading -d from argument following -d.  Bug pointed out by
Matt Kraai.

From-SVN: r40590

23 years agoupdate_web_docs: Handle -r and -d options to generate docs for a release or branch...
Joseph Myers [Sat, 17 Mar 2001 23:05:06 +0000 (23:05 +0000)]
update_web_docs: Handle -r and -d options to generate docs for a release or branch in a subdirectory.

* update_web_docs: Handle -r and -d options to generate docs for a
release or branch in a subdirectory.  Determine names of G77 news
and bugs files and contributors file after updated docs have been
installed, not before.  Don't remove files from a subdirectory.
Don't generate manuals for gcov (included in the GCC manual) or
iostream (obsolete).  Do generate manuals for cppinternals, gcj
and porting.  Update regular expressions for detecting whether
files have really changed when regenerated.

From-SVN: r40589

23 years agoChange descriptions were jumbled.
Per Bothner [Sat, 17 Mar 2001 21:35:17 +0000 (13:35 -0800)]
Change descriptions were jumbled.

From-SVN: r40587

23 years ago* decl.c (clear_binding_level): Fix initializer (broke 03-15).
Per Bothner [Sat, 17 Mar 2001 20:48:35 +0000 (12:48 -0800)]
* decl.c (clear_binding_level):  Fix initializer (broke 03-15).

From-SVN: r40586

23 years agojcf-write.c (generate_bytecode_insns): Handle emitting iinc when result is is needed...
Per Bothner [Sat, 17 Mar 2001 20:44:24 +0000 (12:44 -0800)]
jcf-write.c (generate_bytecode_insns): Handle emitting iinc when result is is needed (target is STACK_TARGET).

* jcf-write.c (generate_bytecode_insns):  Handle emitting iinc
when result is is needed (target is STACK_TARGET).

From-SVN: r40585

23 years agoparse.h (JDEP_SOLV): Removed.
Per Bothner [Sat, 17 Mar 2001 20:25:10 +0000 (12:25 -0800)]
parse.h (JDEP_SOLV): Removed.

* parse.h (JDEP_SOLV):  Removed.
* parse.y (incomplete_class_list):  Removed.
(register_incomplete_type):  Use JDEP_TO_RESOLVE instead of JDEP_SOLV.

* parse.y (obtain_incomplete_type): Removed.  It doesn't work if
resolve_class changes the name of an array type that is on the list
and then someone else looks for the modified name.  Also, seems liable
to break when compiling multiple source files at once.  So the simplest
is to just remove incomplete_class_list - it is only a minor
space win and it is not even clear it saves time.

* parse.y (resolve_class):  Remove unneeded promote_type.

From-SVN: r40584

23 years agointegrate.h (struct inline_remap): Add local_return_label.
Richard Henderson [Sat, 17 Mar 2001 18:37:25 +0000 (10:37 -0800)]
integrate.h (struct inline_remap): Add local_return_label.

        * integrate.h (struct inline_remap): Add local_return_label.
        * integrate.c (expand_inline_function): Initialize it and emit
        it after copy_insn_notes.
        (copy_insn_list): Don't store local_return_label here.
        (copy_insn_notes): New function split out from copy_insn_list.

From-SVN: r40581

23 years ago* g++.old-deja/g++.other/eh4.C: Add expected error text.
Richard Henderson [Sat, 17 Mar 2001 18:29:55 +0000 (10:29 -0800)]
* g++.old-deja/g++.other/eh4.C: Add expected error text.

From-SVN: r40579

23 years agodwarf2out.c (lookup_filename): Emit .file if the assembler is generating .debug_line.
Richard Henderson [Sat, 17 Mar 2001 18:18:12 +0000 (10:18 -0800)]
dwarf2out.c (lookup_filename): Emit .file if the assembler is generating .debug_line.

        * dwarf2out.c (lookup_filename): Emit .file if the assembler
        is generating .debug_line.
        (dwarf2out_init): Add main_input_filename to the file table first.
        * configure.in (as_dwarf2_debug_line): Test with file number 1
        instead of file number 0.

From-SVN: r40578

23 years agocombine.c (undobuf): Remove field previous_undos; all refs deleted.
Richard Kenner [Sat, 17 Mar 2001 17:00:23 +0000 (17:00 +0000)]
combine.c (undobuf): Remove field previous_undos; all refs deleted.

* combine.c (undobuf): Remove field previous_undos; all refs deleted.
(gen_rtx_combine): Deleted; all references changed as appropriate.
(gen_unary): Deleted; all refs changed to call simplify_gen_unary.

From-SVN: r40577

23 years ago* print-tree.c (print_node): Print DECL_NONADDRESSABLE_P.
Richard Kenner [Sat, 17 Mar 2001 16:52:05 +0000 (16:52 +0000)]
* print-tree.c (print_node): Print DECL_NONADDRESSABLE_P.

From-SVN: r40576

23 years agoDaily bump.
GCC Administrator [Sat, 17 Mar 2001 08:16:40 +0000 (08:16 +0000)]
Daily bump.

From-SVN: r40575

23 years agoUpdate my email address
Zack Weinberg [Sat, 17 Mar 2001 06:56:18 +0000 (06:56 +0000)]
Update my email address

From-SVN: r40573

23 years ago* config/i386/xm-cygwin.h: Include <sys/cygwin.h. Remove unused variable.
David Billinghurst [Sat, 17 Mar 2001 04:59:14 +0000 (04:59 +0000)]
* config/i386/xm-cygwin.h: Include <sys/cygwin.h.  Remove unused variable.

From-SVN: r40572

23 years agoFix glibc dl-sysdeps.c abort from Jes Sorensen.
Jim Wilson [Sat, 17 Mar 2001 02:56:23 +0000 (02:56 +0000)]
Fix glibc dl-sysdeps.c abort from Jes Sorensen.

* config/ia64/ia64.c (ia64_compute_frame_size): If reg_fp is zero,
then set it to LOC_REG (79) instead of aborting.

From-SVN: r40569

23 years agoMakefile.in: Rebuilt.
Tom Tromey [Sat, 17 Mar 2001 01:01:29 +0000 (01:01 +0000)]
Makefile.in: Rebuilt.

* Makefile.in: Rebuilt.
* Makefile.am (TESTS_ENVIRONMENT): New macro.

From-SVN: r40568

23 years agogccbug.in: Remove high priority.
Phil Edwards [Sat, 17 Mar 2001 00:32:56 +0000 (00:32 +0000)]
gccbug.in: Remove high priority.

2001-03-16  Phil Edwards  <pme@sources.redhat.com>

* gccbug.in:  Remove high priority.

From-SVN: r40566

23 years agoaclocal.m4 (gcc_AC_EXAMINE_OBJECT): Substitute leading od output with a space instead...
Richard Henderson [Fri, 16 Mar 2001 23:57:46 +0000 (15:57 -0800)]
aclocal.m4 (gcc_AC_EXAMINE_OBJECT): Substitute leading od output with a space instead of deleting it.

        * aclocal.m4 (gcc_AC_EXAMINE_OBJECT): Substitute leading od
        output with a space instead of deleting it.
        * configure: Regenerate.

From-SVN: r40565

23 years agolibjava.exp (libjava_arguments): Rewrote computation of LD_LIBRARY_PATH.
Tom Tromey [Fri, 16 Mar 2001 20:54:45 +0000 (20:54 +0000)]
libjava.exp (libjava_arguments): Rewrote computation of LD_LIBRARY_PATH.

* lib/libjava.exp (libjava_arguments): Rewrote computation of
LD_LIBRARY_PATH.  Add gcc build directory if it contains
libgcc_s.so.

From-SVN: r40564

23 years agoaclocal.m4 (gcc_AC_EXAMINE_OBJECT): New utility macro which handles the gory details...
Zack Weinberg [Fri, 16 Mar 2001 20:09:36 +0000 (20:09 +0000)]
aclocal.m4 (gcc_AC_EXAMINE_OBJECT): New utility macro which handles the gory details of converting an object file...

* aclocal.m4 (gcc_AC_EXAMINE_OBJECT): New utility macro which
handles the gory details of converting an object file into
something that's safe to grep.
(gcc_AC_C_COMPILE_BIGENDIAN): Rename to
gcc_AC_C_COMPILE_ENDIAN.  Use gcc_AC_EXAMINE_OBJECT.  Put
newlines at either end of the string we're looking for.
Make 'checking ...' message less stilted.
(gcc_AC_C_FLOAT_FORMAT): Use gcc_AC_EXAMINE_OBJECT.  Handle
ARM in-memory layout and its hypothetical converse.  Don't
define HOST_FLOAT_WORDS_BIG_ENDIAN unless it's different from
HOST_WORDS_BIG_ENDIAN.

* configure.in: Adjust for renamed macro.  Move
gcc_AC_C_FLOAT_FORMAT below gcc_AC_C_COMPILE_ENDIAN.
* configure, config.in: Regenerate.

From-SVN: r40562

23 years agoMakefile.in: Set SHELL.
Laurynas Biveinis [Fri, 16 Mar 2001 19:38:32 +0000 (19:38 +0000)]
Makefile.in: Set SHELL.

* fixinc/Makefile.in: Set SHELL.

        * fixinc/fixincl.c (fix_with_system): Quote file names before
        passing them to shell.

        * Makefile.in: Use fix-header$(build_exeext) instead
        of fix-header.

From-SVN: r40561

23 years agodwarf2asm.c (dw2_asm_output_data): Mask data to the output size.
Richard Henderson [Fri, 16 Mar 2001 19:33:54 +0000 (11:33 -0800)]
dwarf2asm.c (dw2_asm_output_data): Mask data to the output size.

        * dwarf2asm.c (dw2_asm_output_data): Mask data to the output size.
        (dw2_asm_output_data_uleb128): Use space not tab after .uleb128.
        (dw2_asm_output_delta_uleb128): Likewise.
        (dw2_asm_output_delta_sleb128): Similarly.
        (dw2_asm_output_data_sleb128): Similarly.  Print number in decimal.

From-SVN: r40560

23 years agodwarf2out.c: Revert most of 2000-11-25 and 2001-01-24 changes.
Richard Henderson [Fri, 16 Mar 2001 19:31:19 +0000 (11:31 -0800)]
dwarf2out.c: Revert most of 2000-11-25 and 2001-01-24 changes.

        * dwarf2out.c: Revert most of 2000-11-25 and 2001-01-24 changes.
        (LN_PROLOG_AS_LABEL, LN_PROLOG_END_LABEL): New.
        (size_of_line_prolog): Remove.
        (output_line_info): Compute prologue size via label difference.
        (lookup_filename): Return "unspecified" for <internal> and <built-in>.

        * configure.in (HAVE_AS_DWARF2_DEBUG_LINE): Require that the
        assembler error when redefining file numbers.
        * config.in, configure: Rebuild.

From-SVN: r40559

23 years agoMakefile.in (DO_X): Use double quotes for quoting "RANLIB=$${RANLIB}".
Laurynas Biveinis [Fri, 16 Mar 2001 18:34:03 +0000 (18:34 +0000)]
Makefile.in (DO_X): Use double quotes for quoting "RANLIB=$${RANLIB}".

       * Makefile.in (DO_X): Use double quotes for quoting
       "RANLIB=$${RANLIB}".

From-SVN: r40557

23 years agoFix some MIPS warnings
Michael Meissner [Fri, 16 Mar 2001 18:10:12 +0000 (18:10 +0000)]
Fix some MIPS warnings

From-SVN: r40556

23 years agoi386.c (ix86_expand_fp_movcc): Do not attempt to construct SSE based conditional...
Jan Hubicka [Fri, 16 Mar 2001 13:51:49 +0000 (14:51 +0100)]
i386.c (ix86_expand_fp_movcc): Do not attempt to construct SSE based conditional moves on LTGT/UNEQ conditions...

* i386.c (ix86_expand_fp_movcc): Do not attempt to construct
SSE based conditional moves on LTGT/UNEQ conditions;
Canonicalize EQ to NE.
* i386.md (sse_mov?fcc): Disallow EQ and NE in IEEE mode.
(sse_mov?fcc_ne): New.

* i386-protos.h (sign_extended_value, zero_extended_value): Declare.

From-SVN: r40554

23 years agosh.c (sh_expand_prologue): Insns that set up the PIC register may be dead.
Alexandre Oliva [Fri, 16 Mar 2001 12:34:13 +0000 (12:34 +0000)]
sh.c (sh_expand_prologue): Insns that set up the PIC register may be dead.

* config/sh/sh.c (sh_expand_prologue): Insns that set up the PIC
register may be dead.

From-SVN: r40550

23 years ago* Makefile.in (hash.o): Depend on CONFIG_H.
Brad Lucier [Fri, 16 Mar 2001 08:33:03 +0000 (08:33 +0000)]
* Makefile.in (hash.o): Depend on CONFIG_H.

From-SVN: r40549

23 years agoDaily bump.
GCC Administrator [Fri, 16 Mar 2001 08:18:21 +0000 (08:18 +0000)]
Daily bump.

From-SVN: r40548

23 years agogen-num-limits.cc (signal_adapter): Overloaded to match signal_func with an unspecifi...
Alexandre Oliva [Fri, 16 Mar 2001 06:58:58 +0000 (06:58 +0000)]
gen-num-limits.cc (signal_adapter): Overloaded to match signal_func with an unspecified argument list.

* src/gen-num-limits.cc (signal_adapter): Overloaded to match
signal_func with an unspecified argument list.

From-SVN: r40546

23 years ago* dwarf2out.c (rtl_for_decl_location): Use DECL_RTL_IF_SET.
Mark Mitchell [Fri, 16 Mar 2001 06:34:17 +0000 (06:34 +0000)]
* dwarf2out.c (rtl_for_decl_location): Use DECL_RTL_IF_SET.

From-SVN: r40544

23 years agojava-tree.h (BLOCK_IS_IMPLICIT): New flag.
Per Bothner [Fri, 16 Mar 2001 06:30:28 +0000 (22:30 -0800)]
java-tree.h (BLOCK_IS_IMPLICIT): New flag.

* java-tree.h (BLOCK_IS_IMPLICIT):  New flag.
* parse.h (BLOCK_EXPR_ORIGIN):  Removed macro.
* parse.y (declare_local_variables, maybe_absorb_scoping_blocks):
Use BLOCK_IS_IMPLICIT rather than BLOCK_EXPR_ORIGIN.

From-SVN: r40542

23 years agojcf-parse.c (yyparse): Set/reset input_filename for source file.
Per Bothner [Fri, 16 Mar 2001 06:12:53 +0000 (22:12 -0800)]
jcf-parse.c (yyparse): Set/reset input_filename for source file.

* jcf-parse.c (yyparse):  Set/reset input_filename for source file.
* parse.y (java_expand_classes):  Likewise.

From-SVN: r40541

23 years agoparse.y (expand_start_java_method): Was only called once and had a misleading name...
Per Bothner [Fri, 16 Mar 2001 05:57:30 +0000 (21:57 -0800)]
parse.y (expand_start_java_method): Was only called once and had a misleading name...

* parse.y (expand_start_java_method):  Was only called once and had a
misleading name, so inline in caller java_complete_expand_method.
(enter_a_block):  Likewise inline in enter_block and remove.

From-SVN: r40540

23 years agoRemove junk from when gcc/java was created (by copying from C/C++).
Per Bothner [Fri, 16 Mar 2001 05:31:52 +0000 (21:31 -0800)]
Remove junk from when gcc/java was created (by copying from C/C++).

* decl.c (keep_next_level_flag, keep_next_if_subblocks):  Remove.
(struct binding_level):  Remove fields keep, keep_if_subblocks,
more_cleanups_ok, have_cleanups (which have never been used).
(pushlevel, poplevel):  Remove related useless code.

From-SVN: r40539

23 years agoia64.h (ASM_OUTPUT_DWARF_OFFSET): New.
Richard Henderson [Fri, 16 Mar 2001 05:21:42 +0000 (21:21 -0800)]
ia64.h (ASM_OUTPUT_DWARF_OFFSET): New.

        * config/ia64/ia64.h (ASM_OUTPUT_DWARF_OFFSET): New.
        (ASM_OUTPUT_DWARF_PCREL): New.
        * config/ia64/hpux.h (ASM_OUTPUT_DWARF_OFFSET): Remove.

From-SVN: r40537

23 years ago* cppfiles.c (stack_include_file): Use MAX of sysp.
Alexandre Oliva [Fri, 16 Mar 2001 05:19:46 +0000 (05:19 +0000)]
* cppfiles.c (stack_include_file): Use MAX of sysp.

From-SVN: r40536

23 years agoclass.c (make_class_data): The class_dtable_decl (i.e.
Per Bothner [Fri, 16 Mar 2001 04:44:09 +0000 (20:44 -0800)]
class.c (make_class_data): The class_dtable_decl (i.e.

* class.c (make_class_data):  The class_dtable_decl (i.e. the
vtable for Class) should be external, except when compiling Class.

From-SVN: r40534

23 years agoSteve Ellcey's ia64-hpux port.
Steve Ellcey [Fri, 16 Mar 2001 04:39:20 +0000 (04:39 +0000)]
Steve Ellcey's ia64-hpux port.

        * config.gcc (ia64*-*-hpux*): New case.
        * config/ia64/hpux.h: New file for HP-UX support.
        * config/ia64/t-hpux: New file for HP-UX support.

From-SVN: r40531

23 years agojvspec.c (lang_specific_driver): Fix -C handling.
Per Bothner [Fri, 16 Mar 2001 04:32:05 +0000 (20:32 -0800)]
jvspec.c (lang_specific_driver): Fix -C handling.

* jvspec.c (lang_specific_driver):  Fix -C handling.
Check -save-temps to see if temp @FILE should be deleted.
Follow-up to/fix for February 16 patch.

From-SVN: r40530

23 years agoverify.c (verify_jvm_instructions): Better error msgs for dup.
Per Bothner [Fri, 16 Mar 2001 04:16:54 +0000 (20:16 -0800)]
verify.c (verify_jvm_instructions): Better error msgs for dup.

* verify.c (verify_jvm_instructions):  Better error msgs for dup.
(type_stack_dup):  Remove no-longer neded error check.

From-SVN: r40529

23 years agoinclhack.def (irix_stdio_va_list): New.
Bruce Korb [Fri, 16 Mar 2001 03:28:28 +0000 (03:28 +0000)]
inclhack.def (irix_stdio_va_list): New.

* fixinc/inclhack.def (irix_stdio_va_list): New.
* fixinc/fixincl.x: Rebuilt.

From-SVN: r40527

23 years agoFix patch merge error.
Richard Henderson [Fri, 16 Mar 2001 01:25:35 +0000 (17:25 -0800)]
Fix patch merge error.

From-SVN: r40525

23 years agodwarf2asm.c (dw2_asm_output_offset): Use ASM_OUTPUT_DWARF_OFFSET if provided by the...
Richard Henderson [Fri, 16 Mar 2001 01:14:47 +0000 (17:14 -0800)]
dwarf2asm.c (dw2_asm_output_offset): Use ASM_OUTPUT_DWARF_OFFSET if provided by the target.

        * dwarf2asm.c (dw2_asm_output_offset): Use ASM_OUTPUT_DWARF_OFFSET
        if provided by the target.
        (dw2_asm_output_pcrel): Likewise with ASM_OUTPUT_DWARF_PCREL.
        (dw2_asm_output_addr): New.
        * dwarf2asm.h (dw2_asm_output_addr): Declare.
        * dwarf2out.c (output_cfi): Use it for program addresses.
        (output_call_frame_info, output_die): Likewise.
        (output_aranges, output_line_info): Likewise.

From-SVN: r40524

23 years agomore rigorous SIGCHLD guarding
Bruce Korb [Fri, 16 Mar 2001 00:58:40 +0000 (00:58 +0000)]
more rigorous SIGCHLD guarding

From-SVN: r40522

23 years agotests_flags.in (CXXFLAGS): Link libstdc++ before libsupc++.
Benjamin Kosnik [Thu, 15 Mar 2001 22:49:46 +0000 (22:49 +0000)]
tests_flags.in (CXXFLAGS): Link libstdc++ before libsupc++.

2001-03-15  Benjamin Kosnik  <bkoz@redhat.com>

* tests_flags.in (CXXFLAGS): Link libstdc++ before libsupc++.

From-SVN: r40520

23 years agomangle.c (mangle_record_type): Rename 'from_pointer' argument to 'for_pointer'.
Bryce McKinlay [Thu, 15 Mar 2001 22:06:12 +0000 (22:06 +0000)]
mangle.c (mangle_record_type): Rename 'from_pointer' argument to 'for_pointer'.

* mangle.c (mangle_record_type): Rename 'from_pointer' argument
to 'for_pointer'. If this type is for a pointer (argument) mangling,
don't surround the element with 'N..E' if the type name is
unqualified.

From-SVN: r40519

23 years agofix typo
Michael Meissner [Thu, 15 Mar 2001 21:41:13 +0000 (21:41 +0000)]
fix typo

From-SVN: r40517

23 years agomemcheck.exp: Don't try to run these tests on AIX.
Geoffrey Keating [Thu, 15 Mar 2001 20:55:32 +0000 (15:55 -0500)]
memcheck.exp: Don't try to run these tests on AIX.

2001-03-15  Geoff Keating  <geoff@redhat.com>

* gcc.c-torture/execute/memcheck/memcheck.exp: Don't try to run these
tests on AIX.

From-SVN: r40515

23 years agosdbout.c (sdbout_symbol): Use DECL_RTL_SET_P, SET_DECL_RTL.
Mark Mitchell [Thu, 15 Mar 2001 20:48:48 +0000 (20:48 +0000)]
sdbout.c (sdbout_symbol): Use DECL_RTL_SET_P, SET_DECL_RTL.

* sdbout.c (sdbout_symbol): Use DECL_RTL_SET_P, SET_DECL_RTL.
(sdbout_parms): Likewise.

From-SVN: r40514

23 years agoSilence warning
Michael Meissner [Thu, 15 Mar 2001 20:24:59 +0000 (20:24 +0000)]
Silence warning

From-SVN: r40512

23 years agoSilence warning
Michael Meissner [Thu, 15 Mar 2001 20:14:33 +0000 (20:14 +0000)]
Silence warning

From-SVN: r40511

23 years agoreload1.c (reload_cse_simplify_set): For LOAD_EXTEND_OP, do not "widen" a destination...
Jeffrey A Law [Thu, 15 Mar 2001 19:55:43 +0000 (19:55 +0000)]
reload1.c (reload_cse_simplify_set): For LOAD_EXTEND_OP, do not "widen" a destination that is already wider than a word.

        * reload1.c (reload_cse_simplify_set): For LOAD_EXTEND_OP, do not
        "widen" a destination that is already wider than a word.  Also do
        not widen if LOAD_EXTEND_OP is NIL for the given mode.

From-SVN: r40510

23 years agoUse only nonvarying rtxs as known values
Bernd Schmidt [Thu, 15 Mar 2001 17:36:43 +0000 (17:36 +0000)]
Use only nonvarying rtxs as known values

From-SVN: r40505

23 years agoRemove debugging aids
Bernd Schmidt [Thu, 15 Mar 2001 17:02:42 +0000 (17:02 +0000)]
Remove debugging aids

From-SVN: r40504

23 years ago* i960.h (ROUND_TYPE_SIZE_UNIT): Fix typo.
John Wehle [Thu, 15 Mar 2001 16:33:02 +0000 (16:33 +0000)]
* i960.h (ROUND_TYPE_SIZE_UNIT): Fix typo.

From-SVN: r40503

23 years agoi960.h (i960_maxbitalignment, [...]): Declare.
John Wehle [Thu, 15 Mar 2001 16:29:10 +0000 (16:29 +0000)]
i960.h (i960_maxbitalignment, [...]): Declare.

* i960.h (i960_maxbitalignment,
i960_last_maxbitalignment): Declare.
* i960.c (i960_maxbitalignment,
i960_last_maxbitalignment): Make global.
(process_pragma): Delete.
(i960_pr_align, i960_pr_noalign): Move from here ...
* i960-c.c: ... to this new file.
* t-960bare (i960-c.o): New rule.
* t-vxworks960 (i960-c.o): Likewise.
* config.gcc (i960-*-*): Define c_target_objs and
cxx_target_objs.

From-SVN: r40502

23 years agoFix hashing of REG/MEM values.
Bernd Schmidt [Thu, 15 Mar 2001 12:59:26 +0000 (12:59 +0000)]
Fix hashing of REG/MEM values.

From-SVN: r40499

23 years agoFix scheduling abort; stop bits must have selector in range 1..3.
Bernd Schmidt [Thu, 15 Mar 2001 11:02:20 +0000 (11:02 +0000)]
Fix scheduling abort; stop bits must have selector in range 1..3.

From-SVN: r40497

23 years ago* varasm.c (assemble_variable): Use DECL_RTL_SET_P.
Mark Mitchell [Thu, 15 Mar 2001 09:58:59 +0000 (09:58 +0000)]
* varasm.c (assemble_variable): Use DECL_RTL_SET_P.

From-SVN: r40495

23 years ago* include/bits/basic_string.tcc (operator+): Fix thinko.
Gabriel Dos Reis [Thu, 15 Mar 2001 08:46:23 +0000 (08:46 +0000)]
* include/bits/basic_string.tcc (operator+): Fix thinko.

From-SVN: r40493

23 years agoupdate_web_docs: Use /usr/local/bin/texi2html rather than gccadmin's local copy.
Joseph Myers [Thu, 15 Mar 2001 08:16:32 +0000 (08:16 +0000)]
update_web_docs: Use /usr/local/bin/texi2html rather than gccadmin's local copy.

* update_web_docs: Use /usr/local/bin/texi2html rather than
gccadmin's local copy.

From-SVN: r40489

23 years agoDaily bump.
GCC Administrator [Thu, 15 Mar 2001 08:16:09 +0000 (08:16 +0000)]
Daily bump.

From-SVN: r40488

23 years agoCorrect semantics restrictions checking in throw-expression.
Gabriel Dos Reis [Thu, 15 Mar 2001 07:59:53 +0000 (07:59 +0000)]
Correct semantics restrictions checking in throw-expression.

cp/
Correct semantics restrictions checking in throw-expression.
* except.c (is_admissible_throw_operand): New function.
(build_throw): Use it.

testsuite/
* g++.old-deja/g++.other/eh4.C: New test.

From-SVN: r40487

23 years agocpp.texi: Update documentation for -include and -imacros.
Neil Booth [Thu, 15 Mar 2001 07:57:13 +0000 (07:57 +0000)]
cpp.texi: Update documentation for -include and -imacros.

* cpp.texi: Update documentation for -include and -imacros.
* cppfiles.c (struct include_file): Remove "defined" memeber.
(find_or_create_entry): Make a copy of the file name, and
simplify it.
(open_file): Update to ensure we use the simplified filename.
(stack_include_file): Don't set search_from.
(cpp_included): Don't simplify the path name here.
(find_include_file): New prototype.  Call search_from to
get the start of the "" include chain.  Don't simplify the
filenames here.
(_cpp_execute_include): New prototype.  Move diagnostics to
do_include_common.  Update.
(_cpp_pop_file_buffer): Don't set defined.
(search_from): New prototype.  Use the preprocessor's cwd
for files included from the command line.
(read_name_map): Don't simplify the pathname here.
* cpphash.h (enum include_type): New.
(struct buffer): Delete search from.  New search_cached.
(_cpp_execute_include): Update prototype.
* cppinit.c (do_includes): Use _cpp_execute_include.
* cpplib.c (do_include_common): New function.
(do_include, do_include_next, do_import): Use it.

From-SVN: r40486

23 years agodecl.c (cp_make_fnname_decl): Set DECL_IGNORED_P on __FUNCTION__ and its ilk.
Mark Mitchell [Thu, 15 Mar 2001 03:37:14 +0000 (03:37 +0000)]
decl.c (cp_make_fnname_decl): Set DECL_IGNORED_P on __FUNCTION__ and its ilk.

* decl.c (cp_make_fnname_decl): Set DECL_IGNORED_P on __FUNCTION__
and its ilk.

From-SVN: r40485

23 years agovarasm.c (assemble_alias): Use DECL_ASSEMBLER_NAME...
Mark Mitchell [Thu, 15 Mar 2001 02:51:03 +0000 (02:51 +0000)]
varasm.c (assemble_alias): Use DECL_ASSEMBLER_NAME...

* varasm.c (assemble_alias): Use DECL_ASSEMBLER_NAME, not the
contents of the RTL, to determine the name of the object.

* tree.h (DECL_RTL): Allocate RTL lazily.
(SET_DECL_RTL): New macro.
(DECL_RTL_SET_P): Likewise.
(COPY_DECL_RTL): Likewise.
(DECL_RTL_IF_SET): Likewise.
* varasm.c (make_decl_rtl): Add assertions about the kind of
declaration we are processing.
* c-decl.c (duplicate_decls): Use COPY_DECL_RTL, DECL_RTL_SET_P, etc.
(start_decl): Likewise.
(finish_decl): Likewise.
* c-semantics.c (emit_local_var): Likewise.
* calls.c (expand_call): Likewise.
* dbxout.c (dbxout_symbol): Likewise.
* emit-rtl.c (unshare_all_rtl): Likewise.
(unshare_all_decls): Likewise.
(reset_used_decls): Likewise.
* expr.c (store_constructor): Likewise.
(safe_from_p): Likewise.
(expand_expr): Likewise.
* function.c (put_var_into_stack): Likewise.
(instantiate_decls_1): Likewise.
(assign_parms): Likewise.
(expand_function_start): Likewise.
(expand_function_end): Likewise.
* ggc-common.c (gcc_mark_trees): Likewise.
* integrate.c (function_cannot_inline_p): Likewise.
(copy_decl_for_inlining): Likewise.
(expand_inline_function): Likewise.
(integrate_parm_decls): Likewise.
(integrate_decl_tree): Likewise.
* print-tree.c (print_node): Likewise.
* reg-stack.c (stack_result): Likewise.
* stmt.c (label_rtx): Likewise.
(expand_return): Likewise.
(expand_decl): Likewise.
(expand_decl_cleanup): Likewise.
(expand_anon_union_decl): Likewise.
* toplev.c (check_global_declarations): Likewise.
(rest_of_decl_compilation): Likewise.
* tree.c (simple_cst_equal): Likewise.
* objc/objc-act.c (generate_static_references): Likewise.

* class.c (build_clone): Use COPY_DECL_RTL, DECL_RTL_SET_P, etc.
* cp-tree.h (DECL_IN_MEMORY_P): Likewise.
* decl.c (duplicate_decls): Likewise.
(builtin_function): Likewise.
(build_library_fn): Likewise.
(build_cp_library_fn): Likewise.
(check_initializer): Likewise.
(cp_finish_decl): Likewise.
* decl2.c (grokfield): Likewise.
(grok_function_init): Remove #if 0'd code.
(finish_anon_union): Use COPY_DECL_RTL, DECL_RTL_SET_P, etc.
* friend.c (do_friend): Likewise.
* init.c (get_temp_regvar): Likewise.
* method.c (make_thunk): Likewise.
* pt.c (tsubst_friend_function): Likewise.
(tsubst_decl): Likewise.
(regenerate_decl_from_template): Likewise.
* semantics.c (genrtl_named_return_value): Likewise.
(expand_body): Likewise.
(genrtl_finish_function): Likewise.
* tree.c (cp_tree_equal): Likewise.

* com.c (ffecom_member_phase_2): Use COPY_DECL_RTL,
DECL_RTL_SET_P, etc.
(duplicate_decls): Likewise.
(start_decl): Likewise.

* class.c (build_static_field_ref): Likewise.
(make_method_value): Likewise.
(get_dispatch_table): Likewise.

* decl.c (push_jvm_slot): Use COPY_DECL_RTL, DECL_RTL_SET_P, etc.

From-SVN: r40482

23 years agothr.c (objc_thread_add): New function.
Nicola Pero [Thu, 15 Mar 2001 02:18:09 +0000 (03:18 +0100)]
thr.c (objc_thread_add): New function.

2001-03-14  Nicola Pero  <n.pero@mi.flashnet.it>

        * thr.c (objc_thread_add): New function.
        (objc_thread_remove): Ditto.
        * objc/thr.h: Declare them.
        * libobjc.def: Mention them.

From-SVN: r40479

23 years agoaclocal.m4 (gcc_AC_C_CHARSET, [...]): New macros.
Zack Weinberg [Thu, 15 Mar 2001 00:13:37 +0000 (00:13 +0000)]
aclocal.m4 (gcc_AC_C_CHARSET, [...]): New macros.

* aclocal.m4 (gcc_AC_C_CHARSET, gcc_AC_C_COMPILE_BIGENDIAN,
gcc_AC_C_FLOAT_FORMAT): New macros.
* configure.in: Add AC_PROG_CPP after CC tests;
gcc_AC_C_CHARSET and gcc_AC_C_FLOAT_FORMAT after the sizeof
tests; and gcc_AC_C_COMPILE_BIGENDIAN after gcc_AC_C_CHAR_BIT.
* configure, config.in: Regenerate.

* config/a29k/xm-a29k.h, config/arc/xm-arc.h,
config/arm/xm-arm.h, config/c4x/xm-c4x.h,
config/convex/xm-convex.h, config/d30v/xm-d30v.h,
config/i370/xm-linux.h, config/i370/xm-oe.h,
config/ia64/xm-ia64.h, config/m32r/xm-m32r.h,
config/m68k/xm-m68k.h, config/mips/xm-mips.h,
config/pa/xm-linux.h, config/pa/xm-pa.h,
config/rs6000/xm-lynx.h, config/rs6000/xm-mach.h,
config/rs6000/xm-rs6000.h, config/rs6000/xm-sysv4.h,
config/sparc/xm-sparc.h, config/vax/xm-vax.h,
config/we32k/xm-we32k.h: Delete.

* config/i370/xm-mvs.h, config/m88k/m88k.h,
config/romp/xm-romp.h, config/rs6000/xm-beos.h,
config/vax/xm-vms.h: Don't define any of:
HOST_FLOAT_FORMAT, HOST_EBCDIC, HOST_WORDS_BIG_ENDIAN

* config/rs6000/aix.h: Define COLLECT_EXPORT_LIST here.

* config.gcc: Remove references to deleted files.
(i370-*-opened*): Use i370/xm-mvs.h (which now defines only
FATAL_EXIT_CODE, which is the same between oe and mvs).

From-SVN: r40478

23 years agoi960.c (i960_function_prologue): Compute size of frame according to number of registe...
DJ Delorie [Wed, 14 Mar 2001 23:14:10 +0000 (18:14 -0500)]
i960.c (i960_function_prologue): Compute size of frame according to number of registers actually saved there.

* config/i960/i960.c (i960_function_prologue): Compute size of
frame according to number of registers actually saved there.

Co-Authored-By: Vladimir Makarov <vmakarov@redhat.com>
From-SVN: r40477

23 years ago* expr.c (emit_move_insn_1): Fix else if around #endif.
Richard Henderson [Wed, 14 Mar 2001 22:21:55 +0000 (14:21 -0800)]
* expr.c (emit_move_insn_1): Fix else if around #endif.

From-SVN: r40476

23 years agomd.texi (machine constraints): Document 'Q', 'R', 'e' and 'Z' constraints.
Jan Hubicka [Wed, 14 Mar 2001 21:40:22 +0000 (22:40 +0100)]
md.texi (machine constraints): Document 'Q', 'R', 'e' and 'Z' constraints.

* md.texi (machine constraints): Document 'Q', 'R', 'e' and 'Z'
constraints.

From-SVN: r40475

23 years agoi386.c (ix86_cmodel_string, [...]): Define.
Jan Hubicka [Wed, 14 Mar 2001 21:35:58 +0000 (22:35 +0100)]
i386.c (ix86_cmodel_string, [...]): Define.

* i386.c (ix86_cmodel_string, ix86_cmodel): Define.
(override_options): Parse cmodel string.
(x86_64_sign_extended_value, x86_64_zero_extended_value): New.
* i386.h (TARGET_OPTIONS): Add "cmodel".
(EXTRA_CONSTRAINT): Recognize 'e' and 'Z'.
(enum cmodel): New.
(ix86_cmodel_string, ix86_cmodel): Declare.

Spot by Matt Kraai:
* i386.h (GENERAL_REG_P): Add missing REG_P.

From-SVN: r40474

23 years agoFix pathname.
DJ Delorie [Wed, 14 Mar 2001 21:34:39 +0000 (16:34 -0500)]
Fix pathname.

From-SVN: r40473

23 years agostd_streambuf.h: Remove cached locale facets.
Benjamin Kosnik [Wed, 14 Mar 2001 20:46:34 +0000 (20:46 +0000)]
std_streambuf.h: Remove cached locale facets.

2001-03-14  Benjamin Kosnik  <bkoz@redhat.com>

libstdc++/2020
* include/bits/std_streambuf.h: Remove cached locale facets.
(basic_streambuf::_M_buf_fctype): Remove.
(basic_streambuf::~basic_streambuf): Remove here.
(basic_streambuf::basic_streambuf): Same.
(basic_streambuf::imbue): Same.
* include/bits/fstream.tcc (filebuf::imbue): Remove _M_buf_fctype.
* include/bits/std_fstream.h (basic_filebuf::_M_fcvt): Remove.
(basic_filebuf::~basic_filebuf()): Remove here.
* include/bits/fstream.tcc (basic_filebuf::basic_filebuf): Same.
(basic_filebuf::imbue): Same.
* include/bits/localefwd.h (_Count_ones): Remove.
(locale::_S_num_categories): Just use 6, since this doesn't
actually change, ever.
* include/bits/locale_facets.tcc (has_facet): Simplify.
(use_facet): Same.
* testsuite/27_io/filebuf.cc (test06): Add tests.

From-SVN: r40472

23 years agoconfigure.in: Use $gcc_cv_as instead of $as.
Laurynas Biveinis [Wed, 14 Mar 2001 20:12:50 +0000 (20:12 +0000)]
configure.in: Use $gcc_cv_as instead of $as.

       * configure.in: Use $gcc_cv_as instead of $as.
       * configure: Regenerated.

From-SVN: r40470

23 years agoFix copyright dates
Nick Clifton [Wed, 14 Mar 2001 19:44:38 +0000 (19:44 +0000)]
Fix copyright dates

From-SVN: r40469

23 years ago* gcc.dg/cpp/mi1.c: Update.
Neil Booth [Wed, 14 Mar 2001 19:36:15 +0000 (19:36 +0000)]
* gcc.dg/cpp/mi1.c: Update.

From-SVN: r40468

23 years agocppfiles.c (stack_include_file): Only increase the include count if we actually proce...
Neil Booth [Wed, 14 Mar 2001 19:35:08 +0000 (19:35 +0000)]
cppfiles.c (stack_include_file): Only increase the include count if we actually process the file properly...

        * cppfiles.c (stack_include_file): Only increase the include
count if we actually process the file properly, as opposed
to treating it as length zero.  Only call read_include_file
if not DO_NOT_REREAD.  Handle the -H include file output
here.
(read_include_file): Remove now redundant DO_NOT_REREAD check.
(cpp_included, find_include_file): Simplify pathnames after
remapping them.  If remapping, don't use the remapped file
name's buffer as our scratch buffer.
(cpp_pop_file_buffer): Replace the multiple include macro
only if it isn't yet set.
(read_name_map): Simplify remapped names when reading in.
(remap_filename): Move code to code path that uses it.
(_cpp_simplify_pathname): Return the input pointer.
* cpphash.h (_cpp_simplify_pathname): Update prototype.

From-SVN: r40467

23 years ago* expr.c (expand_expr): Revove bogus conditional.
Mark Mitchell [Wed, 14 Mar 2001 18:33:42 +0000 (18:33 +0000)]
* expr.c (expand_expr): Revove bogus conditional.

From-SVN: r40464

23 years agoassignment.xfail: Removed.
Tom Tromey [Wed, 14 Mar 2001 18:32:51 +0000 (18:32 +0000)]
assignment.xfail: Removed.

* libjava.compile/assignment.xfail: Removed.
* libjava.compile/assignment_2.xfail: Removed.

From-SVN: r40463

23 years ago* expr.c (emit_move_insn_1): Guard PUSH_ROUNDING use by ifdef.
Jan Hubicka [Wed, 14 Mar 2001 18:31:48 +0000 (19:31 +0100)]
* expr.c (emit_move_insn_1): Guard PUSH_ROUNDING use by ifdef.

From-SVN: r40462

23 years agoreg-stack.c (stack_result): Unconditionally use FUNCTION_OUTGOING_VALUE resp.
Jakub Jelinek [Wed, 14 Mar 2001 17:59:03 +0000 (18:59 +0100)]
reg-stack.c (stack_result): Unconditionally use FUNCTION_OUTGOING_VALUE resp.

* reg-stack.c (stack_result): Unconditionally use
FUNCTION_OUTGOING_VALUE resp. FUNCTION_VALUE.

* g++.old-deja/g++.other/regstack.C: New test.

From-SVN: r40457

23 years agonatThrowable.cc (printRawStackTrace): Copy the stackTrace buffer to a correctly align...
Andrew Haley [Wed, 14 Mar 2001 15:49:06 +0000 (15:49 +0000)]
natThrowable.cc (printRawStackTrace): Copy the stackTrace buffer to a correctly aligned pointer array.

2001-03-01  Andrew Haley  <aph@redhat.com>

        * java/lang/natThrowable.cc (printRawStackTrace): Copy the
        stackTrace buffer to a correctly aligned pointer array.

From-SVN: r40456

23 years agoexpr.c (emit_move_insn_1): Split push of complex value when no suitable push instruct...
Jan Hubicka [Wed, 14 Mar 2001 15:38:55 +0000 (16:38 +0100)]
expr.c (emit_move_insn_1): Split push of complex value when no suitable push instruction exist.

* expr.c (emit_move_insn_1):  Split push of complex value when
no suitable push instruction exist.

* i386.md (QImode move/add/shift patterns): Use ANY_QI_REG_P
instead of QI_REG_P.

From-SVN: r40454