platform/upstream/gcc.git
25 years agoDaily bump.
Jeff Law [Sun, 3 Oct 1999 07:45:08 +0000 (01:45 -0600)]
Daily bump.

From-SVN: r29780

25 years agoxmalloc.c (xmalloc): Fix spelling error.
Mark Mitchell [Sun, 3 Oct 1999 01:55:59 +0000 (01:55 +0000)]
xmalloc.c (xmalloc): Fix spelling error.

* xmalloc.c (xmalloc): Fix spelling error.
(xcalloc, xrealloc): Likewise.

From-SVN: r29779

25 years agoFix copyright.
Kaveh Ghazi [Sat, 2 Oct 1999 20:16:10 +0000 (20:16 +0000)]
Fix copyright.

From-SVN: r29778

25 years agograph.h: New file to prototype functions exported by graph.c.
Kaveh R. Ghazi [Sat, 2 Oct 1999 20:13:24 +0000 (20:13 +0000)]
graph.h: New file to prototype functions exported by graph.c.

* graph.h: New file to prototype functions exported by graph.c.

* Makefile.in (graph.o, toplev.o): Depend on graph.h.

* graph.c: Include graph.h.

* toplev.c: Likewise.  Remove redundant prototypes.

From-SVN: r29777

25 years agocplus-dem.c (fancy_abort, [...]): Add prototype.
Kaveh R. Ghazi [Sat, 2 Oct 1999 20:03:15 +0000 (20:03 +0000)]
cplus-dem.c (fancy_abort, [...]): Add prototype.

* cplus-dem.c (fancy_abort, demangle_integral_value,
demangle_arm_hp_template, recursively_demangle,
standard_symbol_characters, hp_symbol_characters, main): Add prototype.
(program_name, program_version, fatal): Constify a char*.
(usage, fatal): Mark with ATTRIBUTE_NORETURN.
(main): Call return, not exit.

From-SVN: r29776

25 years agoFix typo in peep2 example.
Richard Henderson [Sat, 2 Oct 1999 18:45:42 +0000 (11:45 -0700)]
Fix typo in peep2 example.

From-SVN: r29775

25 years agoKrister Walfridsson <cato@df.lth.se>
Krister Walfridsson [Sat, 2 Oct 1999 18:29:08 +0000 (20:29 +0200)]
Krister Walfridsson <cato@df.lth.se>

        * invoke.texi: Removed duplicated description for -Q.

From-SVN: r29774

25 years agoJim Kingdon <http://developer.redhat.com>
Jim Kingdon [Sat, 2 Oct 1999 18:16:33 +0000 (11:16 -0700)]
Jim Kingdon  <http://developer.redhat.com>

        * extend.texi: Grammar fix in __extension__ text.

From-SVN: r29773

25 years ago* md.texi (define_peephole2): New section.
Richard Henderson [Sat, 2 Oct 1999 18:07:49 +0000 (11:07 -0700)]
* md.texi (define_peephole2): New section.

From-SVN: r29772

25 years agoJan Hubicka <hubicka@freesoft.cz>
Jan Hubicka [Sat, 2 Oct 1999 17:59:37 +0000 (19:59 +0200)]
Jan Hubicka  <hubicka@freesoft.cz>

        * i386.md (mov?i patterns): Fix handling of TARGET_USE_MOV0
        (mov $-1 to or peepholer): Enable for pentium when optimizing for
        speed.

From-SVN: r29771

25 years agoJan Hubicka <hubicka@freesoft.cz>
Jan Hubicka [Sat, 2 Oct 1999 17:56:05 +0000 (19:56 +0200)]
Jan Hubicka  <hubicka@freesoft.cz>

        * builtins.c (expand_builtin_strlen): Fix best mode searching loop.

From-SVN: r29770

25 years agoJan Hubicka <hubicka@freesoft.cz>
Jan Hubicka [Sat, 2 Oct 1999 17:54:05 +0000 (19:54 +0200)]
Jan Hubicka  <hubicka@freesoft.cz>

        * i386.md (ffs expander): Emit Pentium friendly code for
        TARGET_PENTIUM.

From-SVN: r29769

25 years agoRefreshed from htdocs
Anthony Green [Sat, 2 Oct 1999 16:39:36 +0000 (16:39 +0000)]
Refreshed from htdocs

From-SVN: r29768

25 years agoI am committing the following changes to enable the picojava port.
Steve Chamberlain [Sat, 2 Oct 1999 15:50:57 +0000 (15:50 +0000)]
I am committing the following changes to enable the picojava port.

I am committing the following changes to enable the picojava port.  I
will also forward them to Boehm.

From-SVN: r29767

25 years agoMissing file from last commit
Steve Chamberlain [Sat, 2 Oct 1999 15:46:27 +0000 (15:46 +0000)]
Missing file from last commit

From-SVN: r29766

25 years agoThe following patches include a couple of fixes for cross toolchains,
Steve Chamberlain [Sat, 2 Oct 1999 15:44:24 +0000 (15:44 +0000)]
The following patches include a couple of fixes for cross toolchains,

and endian bits for the picojava port.  I am committing this (and the
rebuilt Makefile.in/configure files).

From-SVN: r29765

25 years agotree.c (build): Don't look at TREE_SIDE_EFFECTS or TREE_RAISES for non-trees.
Mark Mitchell [Sat, 2 Oct 1999 08:52:17 +0000 (08:52 +0000)]
tree.c (build): Don't look at TREE_SIDE_EFFECTS or TREE_RAISES for non-trees.

* tree.c (build): Don't look at TREE_SIDE_EFFECTS or TREE_RAISES
for non-trees.
(build1): Likewise.

From-SVN: r29764

25 years agoDaily bump.
Jeff Law [Sat, 2 Oct 1999 07:45:08 +0000 (01:45 -0600)]
Daily bump.

From-SVN: r29763

25 years ago* typeck.c (decay_conversion): Strip cv-quals from non-class rvalues.
Jason Merrill [Sat, 2 Oct 1999 01:09:54 +0000 (01:09 +0000)]
* typeck.c (decay_conversion): Strip cv-quals from non-class rvalues.

From-SVN: r29762

25 years agonew
Jason Merrill [Sat, 2 Oct 1999 00:41:00 +0000 (20:41 -0400)]
new

From-SVN: r29761

25 years agore GNATS gcj/56 (gcj segfaults in jc1 on OK java file)
Tom Tromey [Sat, 2 Oct 1999 00:39:04 +0000 (00:39 +0000)]
re GNATS gcj/56 (gcj segfaults in jc1 on OK java file)

* libjava.lang/PR56.out: New file.
* libjava.lang/PR56.java: New file.

From-SVN: r29760

25 years agoconfigure: Rebuilt.
Tom Tromey [Sat, 2 Oct 1999 00:19:01 +0000 (00:19 +0000)]
configure: Rebuilt.

* configure: Rebuilt.
* configure.in: Set classpath when invoking gcj.  Use changequote
around sed invocation.

* java/net/natPlainSocketImpl.cc: Stub native functions if
DISABLE_JAVA_NET is defined.
* java/net/natPlainDatagramSocketImpl.cc (setTimeToLive): Fixed
typo in exception string.
(getTimeToLive): Likewise.
Stub native functions if DISABLE_JAVA_NET is defined.
* java/net/natInetAddress.cc: Stub native functions if
DISABLE_JAVA_NET is defined.
* configure.host: Disable java.net for mips-tx39.
* configure, include/config.h.in: Rebuilt.
* acconfig.h (DISABLE_JAVA_NET): Undefine.
* configure.in: Added --disable-java-net and new define
`DISABLE_JAVA_NET'.

From-SVN: r29759

25 years agoupdate
Jason Merrill [Fri, 1 Oct 1999 22:44:51 +0000 (18:44 -0400)]
update

From-SVN: r29758

25 years agopt.c (tsubst_decl): If the type of a template instantiation is bogus, so is the whole...
Mark Mitchell [Fri, 1 Oct 1999 17:25:05 +0000 (17:25 +0000)]
pt.c (tsubst_decl): If the type of a template instantiation is bogus, so is the whole instantiation.

* pt.c (tsubst_decl): If the type of a template instantiation is
bogus, so is the whole instantiation.

From-SVN: r29757

25 years agoFix i386elf bug
Bernd Schmidt [Fri, 1 Oct 1999 17:02:21 +0000 (17:02 +0000)]
Fix i386elf bug

From-SVN: r29756

25 years agom68k.c (use_return_insn): Return false if the pic register is in use.
Andreas Schwab [Fri, 1 Oct 1999 10:44:28 +0000 (10:44 +0000)]
m68k.c (use_return_insn): Return false if the pic register is in use.

* config/m68k/m68k.c (use_return_insn): Return false if the pic
register is in use.

From-SVN: r29755

25 years agoDelete !REGISTER_CONSTRAINTS code
Bernd Schmidt [Fri, 1 Oct 1999 10:26:46 +0000 (10:26 +0000)]
Delete !REGISTER_CONSTRAINTS code

From-SVN: r29754

25 years agoDelete !REGISTER_CONSTRAINTS code
Bernd Schmidt [Fri, 1 Oct 1999 10:00:33 +0000 (10:00 +0000)]
Delete !REGISTER_CONSTRAINTS code

From-SVN: r29753

25 years agoDaily bump.
Jeff Law [Fri, 1 Oct 1999 07:45:14 +0000 (01:45 -0600)]
Daily bump.

From-SVN: r29752

25 years ago* iris6.h (BUILD_VA_LIST_TYPE): Define.
Mark Mitchell [Fri, 1 Oct 1999 07:03:06 +0000 (07:03 +0000)]
* iris6.h (BUILD_VA_LIST_TYPE): Define.

From-SVN: r29751

25 years agofile-format.exp (gcc_target_object_format): Don't crash if objdump is unavailable.
Mark Mitchell [Fri, 1 Oct 1999 06:55:49 +0000 (06:55 +0000)]
file-format.exp (gcc_target_object_format): Don't crash if objdump is unavailable.

* lib/file-format.exp (gcc_target_object_format): Don't
crash if objdump is unavailable.

From-SVN: r29750

25 years agodecl.c (initialize_local_var): Handle static variables here.
Mark Mitchell [Fri, 1 Oct 1999 04:45:10 +0000 (04:45 +0000)]
decl.c (initialize_local_var): Handle static variables here.

* decl.c (initialize_local_var): Handle static variables here.
(cp_finish_decl): Tweak handling of function-scope static
variables.
* semantics.c (expand_stmt): Handle DECL_STMTs for static
variables.

From-SVN: r29749

25 years ago* method.c (emit_thunk): Don't crash when -fsyntax-only.
Mark Mitchell [Fri, 1 Oct 1999 04:34:24 +0000 (04:34 +0000)]
* method.c (emit_thunk): Don't crash when -fsyntax-only.

From-SVN: r29748

25 years agoFix typo in comment
Mark Mitchell [Fri, 1 Oct 1999 04:31:00 +0000 (04:31 +0000)]
Fix typo in comment

From-SVN: r29747

25 years agoFranz Sirl <Franz.Sirl-kernel@lauterbach.com>
Franz Sirl [Fri, 1 Oct 1999 01:46:41 +0000 (01:46 +0000)]
Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>

        * rs6000.c (rs6000_build_va_list): Create a TYPE_DECL node
        for the va_list record.

From-SVN: r29746

25 years agoJan Hubicka <hubicka@freesoft.cz>
Jan Hubicka [Fri, 1 Oct 1999 01:35:37 +0000 (03:35 +0200)]
Jan Hubicka  <hubicka@freesoft.cz>

        * i386.c (ix86_adjust_cost): Ignore false ebp dependencies in
        prologues.

From-SVN: r29745

25 years agoJan Hubicka <hubicka@freesoft.cz>
Jan Hubicka [Fri, 1 Oct 1999 01:32:18 +0000 (03:32 +0200)]
Jan Hubicka  <hubicka@freesoft.cz>

        * alias.c: Include insn-flags.h.
        * Makefile.in (alias.o): Update.

From-SVN: r29744

25 years agoJan Hubicka <hubicka@freesoft.cz>
Jan Hubicka [Fri, 1 Oct 1999 01:22:24 +0000 (03:22 +0200)]
Jan Hubicka  <hubicka@freesoft.cz>

        * i386.c (ix86_expand_int_movcc): Convert LEU and GTU comparisons
        to LTU and GEU.  Handle more cases using sbb.

From-SVN: r29743

25 years agoJan Hubicka <hubicka@freesoft.cz>
Jan Hubicka [Fri, 1 Oct 1999 01:19:16 +0000 (03:19 +0200)]
Jan Hubicka  <hubicka@freesoft.cz>

        * i386.md (truncatexfdf splitters): Do not use subreg.
        (fop XFmode patterns): Fix mode in operand testing.

From-SVN: r29742

25 years agojump.c (jump_optimize_1): Amend last change to test only the form of the operand...
Richard Henderson [Fri, 1 Oct 1999 01:13:51 +0000 (18:13 -0700)]
jump.c (jump_optimize_1): Amend last change to test only the form of the operand, not the insn.

        * jump.c (jump_optimize_1): Amend last change to test only the
        form of the operand, not the insn.

From-SVN: r29741

25 years agojump.c (jump_optimize_1): Use general_operand not register_operand to determine when...
Richard Henderson [Fri, 1 Oct 1999 01:06:14 +0000 (18:06 -0700)]
jump.c (jump_optimize_1): Use general_operand not register_operand to determine when B may need preloading.

        * jump.c (jump_optimize_1) [conditional_move]: Use general_operand
        not register_operand to determine when B may need preloading.

From-SVN: r29740

25 years agoalpha.md (*): Use nonimmediate not general_operand for SET_DEST.
Richard Henderson [Fri, 1 Oct 1999 00:45:07 +0000 (17:45 -0700)]
alpha.md (*): Use nonimmediate not general_operand for SET_DEST.

        * alpha.md (*): Use nonimmediate not general_operand for SET_DEST.
        (ffsdi2, extxl, insxh, mskxh): Add missing DImode to SET_SRC.
        (call-value patterns): Move to end of file.
        (*): Remove mode from label_ref in (pc) context.
        (movstrqi): Use memory not general_operand for BLKmode operands.
        (prologue_stack_probe_loop, builtin_longjmp): Add missing mode
        to register_operand operands.
        (peep2 patterns): Convert from commented-out peephole patterns.

From-SVN: r29739

25 years agocp-tree.h (lang_decl_flags): Add global_ctor_p and global_dtor_p.
Mark Mitchell [Fri, 1 Oct 1999 00:43:27 +0000 (00:43 +0000)]
cp-tree.h (lang_decl_flags): Add global_ctor_p and global_dtor_p.

* cp-tree.h (lang_decl_flags): Add global_ctor_p and
global_dtor_p.  Add init_priority.
(DECL_ACCESS): Adjust accordingly.
(DECL_GLOBAL_CTOR_P, DECL_GLOBAL_DTOR_P): New macros.
(GLOBAL_INIT_PRIORITY): Likewise.
* decl.c (lang_mark_tree): Adjust accordingly.
(start_objects): Set DECL_GLOBAL_CTOR_P, DECL_GLOBAL_DTOR_P,
and GLOBAL_INIT_PRIORITY.
* dump.c (dequeue_and_dump): Print them.
* ir.texi: Document them.

From-SVN: r29738

25 years ago* java/net/natPlainDatagramSocketImpl.cc: Indentation fix.
Tom Tromey [Thu, 30 Sep 1999 22:20:29 +0000 (22:20 +0000)]
* java/net/natPlainDatagramSocketImpl.cc: Indentation fix.

From-SVN: r29737

25 years agoUpdate copyright dates.
Jeff Law [Thu, 30 Sep 1999 22:08:56 +0000 (16:08 -0600)]
Update copyright dates.

From-SVN: r29736

25 years agoh8300.h (INIT_TARGET_OPTABS): Use init_one_optab instead of generating RTL directly.
Jeffrey A Law [Thu, 30 Sep 1999 18:50:56 +0000 (18:50 +0000)]
h8300.h (INIT_TARGET_OPTABS): Use init_one_optab instead of generating RTL directly.

        * h8300.h (INIT_TARGET_OPTABS): Use init_one_optab instead of
        generating RTL directly.
        * mips.h (INIT_TARGET_OPTABS): Likewise.
        * mn10200.h (INIT_TARGET_OPTABS): Likewise.

From-SVN: r29734

25 years agocp-tree.h (lang_decl_flags): Add global_ctor_p and global_dtor_p.
Mark Mitchell [Thu, 30 Sep 1999 17:43:44 +0000 (17:43 +0000)]
cp-tree.h (lang_decl_flags): Add global_ctor_p and global_dtor_p.

* cp-tree.h (lang_decl_flags): Add global_ctor_p and
global_dtor_p.  Add init_priority.
(DECL_ACCESS): Adjust accordingly.
(DECL_GLOBAL_CTOR_P, DECL_GLOBAL_DTOR_P): New macros.
(GLOBAL_INIT_PRIORITY): Likewise.
* decl.c (lang_mark_tree): Adjust accordingly.
(start_objects): Set DECL_GLOBAL_CTOR_P, DECL_GLOBAL_DTOR_P,
and GLOBAL_INIT_PRIORITY.
* dump.c (dequeue_and_dump): Print them.
* ir.texi: Document them.

From-SVN: r29733

25 years agoMove -Wfloat-equal into the correct location.
Jeff Law [Thu, 30 Sep 1999 17:21:30 +0000 (11:21 -0600)]
Move -Wfloat-equal into the correct location.

From-SVN: r29732

25 years agodecl2.c (struct priority_info_s): Remove initialization_sequence and destruction_sequ...
Mark Mitchell [Thu, 30 Sep 1999 15:48:19 +0000 (15:48 +0000)]
decl2.c (struct priority_info_s): Remove initialization_sequence and destruction_sequence.

* decl2.c (struct priority_info_s): Remove initialization_sequence
and destruction_sequence.
(start_static_storage_duration_function): Return the body of the
function.  Convert for function-at-a-time mode.
(generate_inits_for_priority): Remove.
(finish_static_storage_duration_function): Change prototype.
Adjust for function-at-a-time mode.
(do_static_initialization): Likewise.
(do_static_destruction): Likewise.
(do_static_initialization_and_destruction): Remove.
(start_static_initialization_or_destruction): New function.
(finish_static_initialization_or_destruction): Likewise.
(get_priority_info): Don't manipulation initialization_sequence or
destruction_sequence.
(prune_vars_needing_no_initialization): New function.
(write_out_vars): Likewise.
(finish_file): Use the various new functions instead of the old.

From-SVN: r29731

25 years agoUse lookup table to get register sizes in dwarf2 eh
Bernd Schmidt [Thu, 30 Sep 1999 13:40:41 +0000 (13:40 +0000)]
Use lookup table to get register sizes in dwarf2 eh

From-SVN: r29730

25 years agoc-lang.c (finish_file case ndef ASM_OUTPUT_{CON,DE}STRUCTOR): Correctly build argumen...
Richard Earnshaw [Thu, 30 Sep 1999 09:46:08 +0000 (09:46 +0000)]
c-lang.c (finish_file case ndef ASM_OUTPUT_{CON,DE}STRUCTOR): Correctly build argument list to constructor and destructor functions.

* c-lang.c (finish_file case ndef ASM_OUTPUT_{CON,DE}STRUCTOR):
Correctly build argument list to constructor and destructor functions.

From-SVN: r29728

25 years agoDaily bump.
Jeff Law [Thu, 30 Sep 1999 07:45:12 +0000 (01:45 -0600)]
Daily bump.

From-SVN: r29727

25 years ago* expr.h (init_mov_optab): Delete declaration
Jeffrey A Law [Thu, 30 Sep 1999 07:14:18 +0000 (07:14 +0000)]
* expr.h (init_mov_optab): Delete declaration

From-SVN: r29726

25 years ago* editbuf.cc, parsestream.cc, pfstream.cc: Include string.h.
Jeffrey A Law [Thu, 30 Sep 1999 07:10:07 +0000 (07:10 +0000)]
* editbuf.cc, parsestream.cc, pfstream.cc: Include string.h.

From-SVN: r29725

25 years agoh8300.c (WORD_REG_USED): Update to avoid useless register saves in interrupt function...
Jeffrey A Law [Thu, 30 Sep 1999 07:00:53 +0000 (07:00 +0000)]
h8300.c (WORD_REG_USED): Update to avoid useless register saves in interrupt functions and functions...

        * h8300.c (WORD_REG_USED): Update to avoid useless register
        saves in interrupt functions and functions which never return.

From-SVN: r29724

25 years ago* invoke.texi: Add docs for -Wfloat-equal warning.
Dirk Zoller [Thu, 30 Sep 1999 06:22:45 +0000 (06:22 +0000)]
* invoke.texi: Add docs for -Wfloat-equal warning.

From-SVN: r29723

25 years agoc-tree.h (warn_float_equal): Declare.
Dirk Zoller [Thu, 30 Sep 1999 06:19:54 +0000 (06:19 +0000)]
c-tree.h (warn_float_equal): Declare.

        * c-tree.h (warn_float_equal): Declare.
        * c-decl.c (warn_float_equal): Define.
        (c_decode_option): Recognize -W[no-]float-equal.
        * c-typeck.c (build_binary_op): Conditionally warn
        about equality tests of floating point types.
        * toplev.c (documented_lan_options): Add -W[no-]float-equal.

From-SVN: r29722

25 years agocp-tree.h (warn_float_equal): Declare.
Dirk Zoller [Thu, 30 Sep 1999 06:15:53 +0000 (06:15 +0000)]
cp-tree.h (warn_float_equal): Declare.

        * cp-tree.h (warn_float_equal): Declare.
        * decl2.c (warn_float_equal): Define.
        (lang_decode_option): Recognize -W[no-]float-equal.
        * typeck.c (build_binary_op_nodefault): Conditionally warn
        about equality tests of floating point types.

From-SVN: r29721

25 years ago* gcc.misc-tests/mg.exp: delete extraneous redirection.
Donn Terry [Thu, 30 Sep 1999 05:50:28 +0000 (05:50 +0000)]
* gcc.misc-tests/mg.exp: delete extraneous redirection.

From-SVN: r29720

25 years agocse.c (struct set): Delete inner_dest_loc field.
Jeffrey A Law [Thu, 30 Sep 1999 05:43:58 +0000 (05:43 +0000)]
cse.c (struct set): Delete inner_dest_loc field.

        * cse.c (struct set): Delete inner_dest_loc field.
        (cse_insn): Remove assignments to inner_dest_loc field.

From-SVN: r29719

25 years agoREADME: New file.
Bryce McKinlay [Thu, 30 Sep 1999 02:17:36 +0000 (02:17 +0000)]
README: New file.

1999-09-29  Bryce McKinlay  <bryce@albatross.co.nz>

        * README: New file.

From-SVN: r29717

25 years agoupdate -fno-rtti
Jason Merrill [Thu, 30 Sep 1999 00:50:37 +0000 (20:50 -0400)]
update -fno-rtti

From-SVN: r29716

25 years agoSupport normal type_info-based EH mechanisms with -fno-rtti.
Jason Merrill [Thu, 30 Sep 1999 00:50:29 +0000 (00:50 +0000)]
Support normal type_info-based EH mechanisms with -fno-rtti.

* except.c (build_eh_type_type): Remove special -fno-rtti handling.
(build_eh_type_type_ref): Likewise.
(build_eh_type): Remove.
(expand_throw): Call build_eh_type_type, not build_eh_type.
* decl2.c (import_export_decl): Don't associate the tinfo fn with
the vtable if -fno-rtti.
* decl.c (init_decl_processing): Always init_rtti_processing.

* rtti.c (get_typeid): Don't complain about -fno-rtti.

From-SVN: r29715

25 years agore GNATS gcj/55 (jc1 dies on implicit String conversion)
Tom Tromey [Wed, 29 Sep 1999 23:10:11 +0000 (23:10 +0000)]
re GNATS gcj/55 (jc1 dies on implicit String conversion)

* libjava.lang/PR55.out: New file.
* libjava.lang/PR55.java: New file.

From-SVN: r29714

25 years agoggc-page.c: Don't include <unistd.h> etc taken care of by "system.h".
Richard Henderson [Wed, 29 Sep 1999 23:08:11 +0000 (16:08 -0700)]
ggc-page.c: Don't include <unistd.h> etc taken care of by "system.h".

        * ggc-page.c: Don't include <unistd.h> etc taken care of
        by "system.h".  Include <sys/mman.h> afterward.

From-SVN: r29713

25 years agors6000.c (rs6000_encode_section_info): If ggc_p, use ggc_alloc_string.
Richard Henderson [Wed, 29 Sep 1999 23:05:46 +0000 (16:05 -0700)]
rs6000.c (rs6000_encode_section_info): If ggc_p, use ggc_alloc_string.

        * rs6000.c (rs6000_encode_section_info): If ggc_p, use
        ggc_alloc_string.

From-SVN: r29712

25 years agoclass.c (class_cache_obstack, [...]): Remove.
Jason Merrill [Wed, 29 Sep 1999 22:52:57 +0000 (22:52 +0000)]
class.c (class_cache_obstack, [...]): Remove.

* class.c (class_cache_obstack, class_obstack): Remove.
(init_class_processing): Don't initialize class_obstack.
(push_cache_obstack): Remove.
(pushclass): Don't call it.
* cp-tree.h: Remove prototype for push_cache_obstack.
* decl.c (decl_obstack, decl_stack, push_decl_level): Remove.
(pushlevel_class): Don't push_decl_level.
(poplevel_class): Don't pop_stack_level.
(push_class_level_binding): Don't push_cache_obstack.
(init_decl_processing): Don't intialize decl_obstack.
* search.c (push_class_decls): Don't push_cache_obstack.
* tree.c (list_hash_add): Put hash node on permanent_obstack.
(hash_tree_cons): Don't mess with obstacks.
(print_lang_statistics): Don't print stats for class_obstack and
decl_obstack.

From-SVN: r29711

25 years agodump.c (dequeue_and_dump): Dump DECL_EXTERNAL.
Mark Mitchell [Wed, 29 Sep 1999 20:07:56 +0000 (20:07 +0000)]
dump.c (dequeue_and_dump): Dump DECL_EXTERNAL.

* dump.c (dequeue_and_dump): Dump DECL_EXTERNAL.
* ir.texi: Document DECL_EXTERNAL.

From-SVN: r29710

25 years agodump.c (dequeue_and_dump): Improve support for dumping THUNK_DECLs.
Mark Mitchell [Wed, 29 Sep 1999 19:00:46 +0000 (19:00 +0000)]
dump.c (dequeue_and_dump): Improve support for dumping THUNK_DECLs.

* dump.c (dequeue_and_dump): Improve support for dumping THUNK_DECLs.
* ir.texi: Document THUNK_DECLs.

From-SVN: r29709

25 years agocp-tree.h (TMPL_ARGS_HAVE_MULTIPLE_LEVELS): Move here from pt.c.
Mark Mitchell [Wed, 29 Sep 1999 17:24:21 +0000 (17:24 +0000)]
cp-tree.h (TMPL_ARGS_HAVE_MULTIPLE_LEVELS): Move here from pt.c.

* cp-tree.h (TMPL_ARGS_HAVE_MULTIPLE_LEVELS): Move here from pt.c.
(TMPL_ARGS_DEPTH, TMPL_ARGS_LEVEL, SET_TMPL_ARGS_LEVEL): Likewise.
(TMPL_ARG, SET_TMPL_ARG, NUM_TMPL_ARGS, TMPL_PARMS_DEPTH): Likewise.
* error.c (dump_template_bindings): Remove unused parameter.
Handle multiple levels of template parameters.
(dump_template_decl): Use `parms', not `args', for template
parameters.  Fix thinko.
(dump_function_decl): Use DECL_TEMPLATE_INSTANTIATION.  Don't pass
flags to dump_template_bindings.
* pt.c (TMPL_ARGS_HAVE_MULTIPLE_LEVELS): Move to cp-tree.h.
(TMPL_ARGS_DEPTH, TMPL_ARGS_LEVEL, SET_TMPL_ARGS_LEVEL): Likewise.
(TMPL_ARG, SET_TMPL_ARG, NUM_TMPL_ARGS, TMPL_PARMS_DEPTH): Likewise.
(tsubst_copy): Clarify variable name.
(most_general_template): Robustify.

From-SVN: r29708

25 years agoerror.c (dump_template_parms): Don't use TS_PEDANTIC_NAME to change primary template...
Nathan Sidwell [Wed, 29 Sep 1999 14:59:56 +0000 (14:59 +0000)]
error.c (dump_template_parms): Don't use TS_PEDANTIC_NAME to change primary template rendering.

* error.c (dump_template_parms): Don't use TS_PEDANTIC_NAME
to change primary template rendering.

From-SVN: r29707

25 years agocp-tree.h (UPT_TEMPLATE): Remove.
Mark Mitchell [Wed, 29 Sep 1999 08:16:38 +0000 (08:16 +0000)]
cp-tree.h (UPT_TEMPLATE): Remove.

* cp-tree.h (UPT_TEMPLATE): Remove.
(UPT_PARMS): Likewise.
(DECL_NEEDED_P): New macro.
* decl2.c (finish_vtable_vardecl): Use it.
(finish_objects): Don't crash with -fsyntax-only.
(finish_file): Use DECL_NEEDED_P.  Don't prune vtables when
-fsyntax-only.
* pt.c (tsubst_friend_function): Remove FIXME that talks about
obstacks.
(tsubst_expr): Correct handling of function try-blocks.
* semantics.c: Include flags.h.
(expand_body): Don't do RTL generation if -fsyntax-only.
* Makefile.in (semantics.o): Depends on flags.h.

From-SVN: r29706

25 years agocp-tree.h (UPT_TEMPLATE): Remove.
Mark Mitchell [Wed, 29 Sep 1999 08:06:21 +0000 (08:06 +0000)]
cp-tree.h (UPT_TEMPLATE): Remove.

* cp-tree.h (UPT_TEMPLATE): Remove.
(UPT_PARMS): Likewise.
(DECL_NEEDED_P): New macro.
* decl2.c (finish_vtable_vardecl): Use it.
(finish_objects): Don't crash with -fsyntax-only.
(finish_file): Use DECL_NEEDED_P.  Don't prune vtables when
-fsyntax-only.
* pt.c (tsubst_friend_function): Remove FIXME that talks about
obstacks.
(tsubst_expr): Correct handling of function try-blocks.
* semantics.c: Include flags.h.
(expand_body): Don't do RTL generation if -fsyntax-only.
* Makefile.in (semantics.o): Depends on flags.h.

From-SVN: r29705

25 years agoDaily bump.
Jeff Law [Wed, 29 Sep 1999 07:45:09 +0000 (01:45 -0600)]
Daily bump.

From-SVN: r29704

25 years agoCopyright tweaks.
Jeff Law [Wed, 29 Sep 1999 03:40:50 +0000 (21:40 -0600)]
Copyright tweaks.

From-SVN: r29703

25 years agoImplement function template instantiation pretty printing.
Gabriel Dos Reis [Wed, 29 Sep 1999 01:10:44 +0000 (01:10 +0000)]
Implement function template instantiation pretty printing.

1999-09-28  Gabriel Dos Reis  <gdr@codesourcery.com>

Implement function template instantiation pretty printing.

        * pt.c (most_general_template): Adjust declaration.

        * cp-tree.h: (most_general_template): Declare.

        * error.c (dump_template_value): Rename to ...
        (dump_template_argument): This.
        (dump_template_argument_list): New function.
        (dump_type): Use it.
        (dump_template_parameter): New function.
        (dump_template_decl): Use it.
        (dump_template_bindings): New function.
        (dump_function_decl): Use it. Pretty print function template
        instantiations.

From-SVN: r29702

25 years agoFixed deallocation of a mutex in thr-single.c (patch from Chris Ball <cball@fmco...
Chris Ball [Wed, 29 Sep 1999 00:37:49 +0000 (00:37 +0000)]
Fixed deallocation of a mutex in thr-single.c (patch from Chris Ball <cball@fmco.com>).

From-SVN: r29701

25 years agoconfigure: Rebuilt.
Tom Tromey [Tue, 28 Sep 1999 22:16:57 +0000 (22:16 +0000)]
configure: Rebuilt.

* configure: Rebuilt.
* configure.in (PROCESS): In POSIX case, only set if not already
set.
* configure.host (PROCESS): Set in mips-tx39 case.

From-SVN: r29700

25 years agoaclocal.m4, configure: Rebuilt.
Tom Tromey [Tue, 28 Sep 1999 20:37:20 +0000 (20:37 +0000)]
aclocal.m4, configure: Rebuilt.

* aclocal.m4, configure: Rebuilt.
* acinclude.m4 (LIB_AC_PROG_CC): Provide appropriate AC_PROG_ symbol.

From-SVN: r29699

25 years agoaclocal.m4, configure: Rebuilt.
Tom Tromey [Tue, 28 Sep 1999 20:14:11 +0000 (20:14 +0000)]
aclocal.m4, configure: Rebuilt.

* aclocal.m4, configure: Rebuilt.
* acinclude.m4 (LIB_AC_PROG_CC, LIB_AC_PROG_CXX): Provide

From-SVN: r29698

25 years agoxcoffout.c (xcoffout_declare_function): Add documentation.
David Edelsohn [Tue, 28 Sep 1999 18:13:58 +0000 (14:13 -0400)]
xcoffout.c (xcoffout_declare_function): Add documentation.

* xcoffout.c (xcoffout_declare_function): Add documentation.
* rs6000.c (num_insns_constant_wide): Use TARGET_POWERPC64 not
TARGET_64BIT.  Compare constant to -1, not bit pattern.
(easy_fp_constant): Use TARGET_POWERPC64 not TARGET_64BIT.
(expand_block_move): Allow 8 DImode loads for PowerPC64.  Fix
gen_movsi typos.

From-SVN: r29697

25 years agoNew test: check ability to generate debug information for incomplete types in
Nick Clifton [Tue, 28 Sep 1999 17:26:01 +0000 (17:26 +0000)]
New test: check ability to generate debug information for incomplete types in
inline functions.

From-SVN: r29696

25 years agoFix the handling of inline, unresolved type references.
Nick Clifton [Tue, 28 Sep 1999 17:11:44 +0000 (17:11 +0000)]
Fix the handling of inline, unresolved type references.

From-SVN: r29695

25 years agoc-decl.c (init_decl_processing): If MD_INIT_BUILTINS is defined, call it.
Bernd Schmidt [Tue, 28 Sep 1999 13:43:34 +0000 (13:43 +0000)]
c-decl.c (init_decl_processing): If MD_INIT_BUILTINS is defined, call it.

* c-decl.c (init_decl_processing): If MD_INIT_BUILTINS is defined,
call it.
* reg-stack.c (straighten_stack): Copy hard reg set with
COPY_HARD_REG_SET.

From-SVN: r29694

25 years ago* g++.old-deja/g++.other/decl6.C: New test.
Nathan Sidwell [Tue, 28 Sep 1999 12:46:10 +0000 (12:46 +0000)]
* g++.old-deja/g++.other/decl6.C: New test.

From-SVN: r29693

25 years agodecl.c (grokdeclarator): Distinguish parameter context for diagnostics.
Nathan Sidwell [Tue, 28 Sep 1999 12:30:22 +0000 (12:30 +0000)]
decl.c (grokdeclarator): Distinguish parameter context for diagnostics.

* decl.c (grokdeclarator): Distinguish parameter context for
diagnostics. Tidy up missing type diagnostic.
Diagnose `explicit' in one place. Diagnose `mutable' in one place.

From-SVN: r29692

25 years ago* gcc.c-torture/execute/va-arg-10.c: New test.
Franz Sirl [Tue, 28 Sep 1999 08:20:28 +0000 (08:20 +0000)]
* gcc.c-torture/execute/va-arg-10.c: New test.

From-SVN: r29691

25 years agobuiltins.c (stabilize_va_list): Stabilize array type va_list to a pointer type, not...
Richard Henderson [Tue, 28 Sep 1999 08:15:38 +0000 (01:15 -0700)]
builtins.c (stabilize_va_list): Stabilize array type va_list to a pointer type, not the base record type.

        * builtins.c (stabilize_va_list): Stabilize array type va_list
        to a pointer type, not the base record type.
        (expand_builtin_va_copy): Dereference the pointers explicitly;
        use the correct size for the copy.

        * rs6000.c (rs6000_va_start): Dereference valist to get to the record.
        (rs6000_va_arg): Likewise.

From-SVN: r29690

25 years agoDaily bump.
Jeff Law [Tue, 28 Sep 1999 07:45:12 +0000 (01:45 -0600)]
Daily bump.

From-SVN: r29689

25 years ago* ir.texi: Improve documentation for TARGET_EXPR.
Mark Mitchell [Tue, 28 Sep 1999 07:40:15 +0000 (07:40 +0000)]
* ir.texi: Improve documentation for TARGET_EXPR.

From-SVN: r29688

25 years ago* rtl.h (struct rtx_def): Move gc_mark to align mode field.
Richard Henderson [Tue, 28 Sep 1999 06:28:33 +0000 (23:28 -0700)]
* rtl.h (struct rtx_def): Move gc_mark to align mode field.

From-SVN: r29687

25 years agotree.h (struct tree_decl): Use `bclass', not `class', in name of field.
Mark Mitchell [Tue, 28 Sep 1999 06:18:11 +0000 (06:18 +0000)]
tree.h (struct tree_decl): Use `bclass', not `class', in name of field.

* tree.h (struct tree_decl): Use `bclass', not `class', in name of
field.
(DECL_BUILT_IN_CLASS): Adjust accordingly.

From-SVN: r29686

25 years agoggc-page.c (GGC_MIN_LAST_ALLOCATED): New.
Richard Henderson [Tue, 28 Sep 1999 06:05:53 +0000 (23:05 -0700)]
ggc-page.c (GGC_MIN_LAST_ALLOCATED): New.

        * ggc-page.c (GGC_MIN_LAST_ALLOCATED): New.
        (init_ggc): Use it instead of a constant.
        (ggc_collect): Bound allocated_last_gc by it.

From-SVN: r29685

25 years agofixinc.irix (stdio.h): Hack stdio.h to avoid problems with va_list.
Jeffrey A Law [Tue, 28 Sep 1999 01:11:08 +0000 (01:11 +0000)]
fixinc.irix (stdio.h): Hack stdio.h to avoid problems with va_list.

        * fixinc/fixinc.irix (stdio.h): Hack stdio.h to avoid problems
        with va_list.

From-SVN: r29683

25 years agosparc-signal.h (SIGNAL_HANDLER): Third argument now a `void *'.
Tom Tromey [Mon, 27 Sep 1999 21:16:40 +0000 (21:16 +0000)]
sparc-signal.h (SIGNAL_HANDLER): Third argument now a `void *'.

* include/sparc-signal.h (SIGNAL_HANDLER): Third argument now a
`void *'.
(MAKE_THROW_FRAME): Cast third argument back to `ucontext_t *'.

From-SVN: r29682

25 years agoconfigure.in (mips*el-*-openbsd*): Don't duplicate default settings.
Marc Espie [Mon, 27 Sep 1999 20:02:46 +0000 (20:02 +0000)]
configure.in (mips*el-*-openbsd*): Don't duplicate default settings.

* configure.in (mips*el-*-openbsd*):  Don't duplicate default settings.
(mips*-*-openbsd*):  Let big endian configuration be a fragment.
* configure:  Regen.
* config/mips/openbsd.h:  New, OpenBSD little endian target.
* config/mips/openbsd-be.h:  New, OpenBSD big endian target fragment.
* config/mips/xm-openbsd.h:  New, OpenBSD host.

From-SVN: r29681

25 years agoalloca-conf.h (alloca): Don't use Gcc builtin or <alloca.h>.
Richard Henderson [Mon, 27 Sep 1999 17:45:52 +0000 (10:45 -0700)]
alloca-conf.h (alloca): Don't use Gcc builtin or <alloca.h>.

        * alloca-conf.h (alloca) [C_ALLOCA]: Don't use Gcc builtin
        or <alloca.h>.
        * clock.c (GNU_HZ): New definition.
        (clock): Use it.
        * getruntime.c: Likewise.

        * config.table: Use mh-beos.
        * config/mh-beos: New file.

From-SVN: r29680

25 years agoconfigure.in: Recognize target *vxworks* and add fragment vxworks.mt.
Ulrich Drepper [Mon, 27 Sep 1999 17:39:43 +0000 (17:39 +0000)]
configure.in: Recognize target *vxworks* and add fragment vxworks.mt.

        * configure.in: Recognize target *vxworks* and add fragment vxworks.mt.
        * config/vxworks.mt: New file.
        * gen-params: Let configure override HAVE_PRINTF_FP.

From-SVN: r29679

25 years agoKill RCSid strings.
Jeff Law [Mon, 27 Sep 1999 17:36:14 +0000 (11:36 -0600)]
Kill RCSid strings.

From-SVN: r29678

25 years agoUpdate copyright.
Jeff Law [Mon, 27 Sep 1999 17:33:09 +0000 (11:33 -0600)]
Update copyright.

From-SVN: r29677