]> gcc.gnu.org Git - gcc.git/log
gcc.git
23 years agom68hc11.h (RETURN_ADDR_RTX): Fix return address when -fomit-frame-pointer is used.
Stephane Carrez [Thu, 5 Jul 2001 21:04:33 +0000 (23:04 +0200)]
m68hc11.h (RETURN_ADDR_RTX): Fix return address when -fomit-frame-pointer is used.

* config/m68hc11/m68hc11.h (RETURN_ADDR_RTX): Fix return address
when -fomit-frame-pointer is used.

From-SVN: r43789

23 years agoflow.c: Reverse Jan Hubicka's patch of 02July2001.
Jeffrey Oldham [Thu, 5 Jul 2001 20:54:29 +0000 (20:54 +0000)]
flow.c: Reverse Jan Hubicka's patch of 02July2001.

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

* flow.c: Reverse Jan Hubicka's patch of 02July2001.
(try_redirect_by_replacing_jump): Reverse updating properly the
count and frequency information.  Reverse removing cc0 setter.
(forwarder_block_p): Reverse fixing for fallthru blocks.

From-SVN: r43788

23 years agogcc.c (TARGET_OPTION_TRANSLATE_TABLE): New.
DJ Delorie [Thu, 5 Jul 2001 20:09:34 +0000 (16:09 -0400)]
gcc.c (TARGET_OPTION_TRANSLATE_TABLE): New.

* gcc.c (TARGET_OPTION_TRANSLATE_TABLE): New.
(translate_options): If the above is defined, use it to map
given options to new options.
* doc/tm.texi: Document it.

From-SVN: r43787

23 years agoinvoke.texi (Optimize Options): Document that -fgcse may cause programs using compute...
Brad Lucier [Thu, 5 Jul 2001 19:38:30 +0000 (19:38 +0000)]
invoke.texi (Optimize Options): Document that -fgcse may cause programs using computed gotos to run more slowly.

* doc/invoke.texi (Optimize Options): Document that -fgcse may
cause programs using computed gotos to run more slowly.

Co-Authored-By: Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
From-SVN: r43786

23 years agoMakefile.in: Add ffs.c dependency.
Mark Klein [Thu, 5 Jul 2001 17:24:39 +0000 (17:24 +0000)]
Makefile.in: Add ffs.c dependency.

* Makefile.in: Add ffs.c dependency.
* configure.in: Add ffs.c.
* ffs.c: New file.

From-SVN: r43784

23 years ago* testsuite_flags.in (--build-includes): backward, not backwards.
Jason Merrill [Thu, 5 Jul 2001 17:18:00 +0000 (13:18 -0400)]
* testsuite_flags.in (--build-includes): backward, not backwards.

From-SVN: r43783

23 years agoFor PR java/3562:
Tom Tromey [Thu, 5 Jul 2001 15:57:09 +0000 (15:57 +0000)]
For PR java/3562:

* java/lang/Class.h (Class(void)): Now private.  Removed
implementation.  From dmorsberger@sensysdl.com.

From-SVN: r43781

23 years agocvt.c (convert_lvalue): New fn.
Jason Merrill [Thu, 5 Jul 2001 15:39:36 +0000 (11:39 -0400)]
cvt.c (convert_lvalue): New fn.

        * cvt.c (convert_lvalue): New fn.
        * cp-tree.h: Declare it.
        * method.c (do_build_assign_ref): Use it.
        (do_build_copy_constructor): Convert parm to base types
        before calling base constructors.

        * typeck.c (check_return_expr): Check DECL_ALIGN instead of
        DECL_USER_ALIGN.  Check flag_elide_constructors instead of
        optimize.
        * semantics.c (cp_expand_stmt): Don't destroy the named return value.

From-SVN: r43780

23 years agoinstall.texi (Specific): Markup, spelling and typo fixes.
Rainer Orth [Thu, 5 Jul 2001 13:10:59 +0000 (13:10 +0000)]
install.texi (Specific): Markup, spelling and typo fixes.

* doc/install.texi (Specific): Markup, spelling and typo fixes.
Fixed sorting.
Consistently require binutils 2.11.2, not prereleases.
(Specific, decstation-*): Canonicalize as mips-dec-*.
(Specific, i?86-*-sco3.2v5*): Remove make bootstrap requirement,
always necessary.
(Specific, m68k-altos): Removed reference to README.altos, deleted.
(Specific, mips-*): Reword MIPS C compiler requirements.
(Specific, powerpc*-*-*): New, mention --with-cpu once.
(Specific, sunv5): Removed, obsolete.

From-SVN: r43779

23 years agodwarf2out.c (output_loc_list): Use an all ones mask for .text asm output and don...
Nathan Sidwell [Thu, 5 Jul 2001 09:39:35 +0000 (09:39 +0000)]
dwarf2out.c (output_loc_list): Use an all ones mask for .text asm output and don't rely on long long literals.

* dwarf2out.c (output_loc_list): Use an all ones mask for
.text asm output and don't rely on long long
literals. Reformat some long lines.

From-SVN: r43777

23 years agoDaily bump.
GCC Administrator [Thu, 5 Jul 2001 07:16:17 +0000 (07:16 +0000)]
Daily bump.

From-SVN: r43775

23 years agogcc.texi (GNU/Linux): Remove accidental re-add of GPL section.
Andreas Jaeger [Thu, 5 Jul 2001 06:53:56 +0000 (08:53 +0200)]
gcc.texi (GNU/Linux): Remove accidental re-add of GPL section.

* doc/gcc.texi (GNU/Linux): Remove accidental re-add of GPL
section.

From-SVN: r43774

23 years agodwarf2out.c (dwarf2out_define): Update comment.
Daniel Berlin [Thu, 5 Jul 2001 02:08:16 +0000 (02:08 +0000)]
dwarf2out.c (dwarf2out_define): Update comment.

2001-07-04  Daniel Berlin  <dan@cgsoftware.com>

* dwarf2out.c (dwarf2out_define): Update comment.
(dwarf2out_undef): Ditto.
(dwarf2out_start_source_file): Ditto.
(dwarf2out_end_source_file): Ditto.
(dwarf2out_finish): Output DW_MACINFO_end_file for primary file,
since we never call the start/end debug hook for the primary file.

From-SVN: r43773

23 years agoh8300.c (get_shift_alg): Remove an extra operand from shll.
Kazu Hirata [Wed, 4 Jul 2001 21:58:04 +0000 (21:58 +0000)]
h8300.c (get_shift_alg): Remove an extra operand from shll.

2001-07-04  Kazu Hirata  <kazu@hxi.com>

* config/h8300/h8300.c (get_shift_alg): Remove an extra operand
from shll.

From-SVN: r43771

23 years agocppinit.c (remove_dup_dirs): Inform if a system include directory is being reordered.
Nathan Sidwell [Wed, 4 Jul 2001 20:06:27 +0000 (20:06 +0000)]
cppinit.c (remove_dup_dirs): Inform if a system include directory is being reordered.

* cppinit.c (remove_dup_dirs): Inform if a system include
        directory is being reordered.
* doc/invoke.texi (Directory Options): GCC warns if you hide a
system include.
* doc/cpp.texi (Search Paths): Likewise.
* doc/gcc.texi (Interoperation): Remove information about
-I/usr/include.

From-SVN: r43769

23 years agovarray.h (VARRAY_TOP_GENERIC_PTR): Remove spurious parameter.
Nathan Sidwell [Wed, 4 Jul 2001 19:40:02 +0000 (19:40 +0000)]
varray.h (VARRAY_TOP_GENERIC_PTR): Remove spurious parameter.

* varray.h (VARRAY_TOP_GENERIC_PTR): Remove spurious parameter.
(VARRAY_TOP_CHAR_PTR): Likewise.
correct filenames for 2001-07-03  Stan Shebs  <shebs@apple.com>

From-SVN: r43768

23 years ago* gcc.c (process_command): Don't assign elements of a const char*.
Kaveh R. Ghazi [Wed, 4 Jul 2001 19:35:30 +0000 (19:35 +0000)]
* gcc.c (process_command): Don't assign elements of a const char*.

From-SVN: r43767

23 years agoModified from patch by Julian Hall <jules@acris.co.uk>:
Tom Tromey [Wed, 4 Jul 2001 18:33:53 +0000 (18:33 +0000)]
Modified from patch by Julian Hall <jules@acris.co.uk>:

* jartool.c (errno): Conditionally declare.
(O_BINARY): Conditionally define.
(main): Use open, not creat.  Use O_BINARY everywhere.
(make_manifest): Use O_BINARY.
(add_to_jar): Likewise.

From-SVN: r43766

23 years agoemit-rtl.c (change_address): Don't abort if invalid address while reload is in progress.
Richard Kenner [Wed, 4 Jul 2001 18:20:21 +0000 (14:20 -0400)]
emit-rtl.c (change_address): Don't abort if invalid address while reload is in progress.

* emit-rtl.c (change_address): Don't abort if invalid address while
reload is in progress.

From-SVN: r43765

23 years agoropeimpl.h (_Rope_RopeRep::_M_free_c_string): Replace destroy by _Destroy.
Jeffrey Oldham [Wed, 4 Jul 2001 18:12:08 +0000 (18:12 +0000)]
ropeimpl.h (_Rope_RopeRep::_M_free_c_string): Replace destroy by _Destroy.

2001-07-04  Jeffrey Oldham  <oldham@codesourcery.com>

* include/ext/ropeimpl.h (_Rope_RopeRep::_M_free_c_string):
Replace destroy by _Destroy.
(_Rope_RopeRep::_S_free_string): Likewise.
(rope::c_str()): Likewise.
* include/ext/slist (_Slist_base::_M_erase_after>): Likewise.
(_Slist_base::_M_erase_after): Likewise.
(slist::_M_create_node): Replace construct by _Construct.
(slist::pop_front): Replace destroy by _Destroy.
* include/ext/stl_hashtable.h (hashtable::_M_new_node): Replace
construct by _Construct.
(hashtable::_M_delete_node): Replace destroy by _Destroy.
* include/ext/stl_rope.h (rope::rope): Replace construct by
_Construct.
(rope::copy): Replace destroy by _Destroy.

From-SVN: r43764

23 years agoc-lex.c (cb_file_change): Pass line number to debug_start_source_file.
Daniel Berlin [Wed, 4 Jul 2001 17:55:20 +0000 (17:55 +0000)]
c-lex.c (cb_file_change): Pass line number to debug_start_source_file.

2001-07-04  Daniel Berlin  <dan@cgsoftware.com>

* c-lex.c (cb_file_change): Pass line number to
debug_start_source_file.
(cb_undefine): Pass correct line number to debug_undef.

* toplev.c (debug_start_source_file): Add line number to
parameters. Pass it along to dwarf2out_start_source_file.
(decode_g_option): Stop resetting debug level back to normal when
we change debug formats, unless the current level is
none. (Before, -g3 -gdwarf-2 would use debug level 2, rather than
3).

* toplev.h (debug_start_source_file): Add line number to
parameters.

* dwarf2out.h (dwarf2out_start_source_file): Add line number to parameters.

* dwarf2out.c (dwarf2out_start_source_file): Add line number to
parameters.
Output debug_macinfo data for starting file if requested.
(dwarf2out_end_source_file): Output debug_macinfo data for ending
file if requested.
(dwarf2out_define): Output debug_macinfo data for defining a macro if requested.
(dwarf2out_undef): Output debug_macinfo data for undefining a
macro if requested.
(DEBUG_MACINFO_SECTION): New. DWARF2 macro info section name.
(DEBUG_MACINFO_SECTION_LABEL): New. DWARF2 macro info section label.
(macinfo_section_label): New. DWARF2 macro info section label.
(dwarf2out_init): If we want macro info, output the start label
for the section.
(dwarf2out_finish): If we want macro info, add a DW_AT_macro_info
attribute to the compilation unit die pointing to the macro info.

2001-07-04  Daniel Berlin  <dan@cgsoftware.com>

* dwarf2out.c (new_loc_list): Move to inside #ifdef
DWARF2_DEBUGGING_INFO.
(add_loc_descr_to_loc_list): Ditto.
(output_loc_list): Ditto.
Also, fix thinko in curr not being initialized.
(gen_internal_sym): Ditto.

From-SVN: r43763

23 years agoemit-rtl.c (replace_equiv_address): New function.
Richard Kenner [Wed, 4 Jul 2001 17:43:18 +0000 (17:43 +0000)]
emit-rtl.c (replace_equiv_address): New function.

* emit-rtl.c (replace_equiv_address): New function.
* expr.h (replace_equiv_address): New declaration.
* explow.c (validize_mem): Call it instead of change_address and
also call if -fforce-addr and address is constant.
* expr.c: Replace more calls to change_address with adjust_address
and/or replace_equiv_address or to validize_mem.
* function.c, regmove.c, config/alpha/alpha.c: Likewise.
* config/arm/arm.md, config/clipper/clipper.md: Likewise.
* config/dsp16xx/dsp16xx.md, config/fr30/fr30.c: Likewise.
* config/i370/i370.md, config/i860/i860.md: Likewise.
* config/i960/i960.md, config/mips/mips.c: Likewise.
* config/mips/mips.md, config/pa/pa.md: Likewise.
* config/pdp11/pdp11.md, config/rs6000/rs6000.c: Likewise.
* config/rs6000/rs6000.md, config/sh/sh.md: Likewise.

From-SVN: r43762

23 years ago* Makefile.in: Take PICFLAG and RUNTESTFLAGS out of FLAGS_TO_PASS.
Zack Weinberg [Wed, 4 Jul 2001 17:31:36 +0000 (17:31 +0000)]
* Makefile.in: Take PICFLAG and RUNTESTFLAGS out of FLAGS_TO_PASS.

From-SVN: r43761

23 years agobitmap.c (bitmap_union_of_diff): Don't use BITMAP_ALLOCA.
Kaveh R. Ghazi [Wed, 4 Jul 2001 17:25:58 +0000 (17:25 +0000)]
bitmap.c (bitmap_union_of_diff): Don't use BITMAP_ALLOCA.

* bitmap.c (bitmap_union_of_diff): Don't use BITMAP_ALLOCA.

* bitmap.h (BITMAP_ALLOCA): Don't pass alloca as an argument to a
function.

From-SVN: r43760

23 years agoinclude: New directory.
Joseph Myers [Wed, 4 Jul 2001 16:16:43 +0000 (17:16 +0100)]
include: New directory.

* doc/include: New directory.
* doc/fdl.texi: Move to doc/include/fdl.texi.
* doc/texinfo.tex: Move to doc/include/texinfo.tex.
* doc/include/funding.texi, doc/include/gpl.texi: New files.
* doc/gcc.texi: Use funding.texi and gpl.texi.
* Makefile.in ($(docdir)/cpp.info, $(docdir)/gcc.info,
$(docdir)/cppinternals.info, cpp.dvi. gcc.dvi. cppinternals.dvi):
Update dependencies and use -I $(docdir)/include.

f:
* g77.texi: Use gpl.texi and funding.texi.  Remove Look and Feel
section.  Add Funding Free Software to invariant sections.
* Make-lang.in ($(srcdir)/f/g77.info, f/g77.dvi): Update
dependencies and use doc/include in search path.

java:
* gcj.texi: Use gpl.texi.
* Make-lang.in ($(srcdir)/java/gcj.info, java/gcj.dvi): Update
dependencies and use doc/include in search path.

From-SVN: r43757

23 years agoFix dependencies for parallel builds.
Anthony Green [Wed, 4 Jul 2001 14:11:55 +0000 (14:11 +0000)]
Fix dependencies for parallel builds.

From-SVN: r43756

23 years ago* doc/install.texi (sparc64-*-*): Remove garbage.
Gerald Pfeifer [Wed, 4 Jul 2001 14:04:45 +0000 (16:04 +0200)]
* doc/install.texi (sparc64-*-*): Remove garbage.

From-SVN: r43755

23 years agoi386.c (ix86_expand_builtin, [...]): Fix typo in last change to use adjust_address.
Jan van Male [Wed, 4 Jul 2001 13:07:57 +0000 (15:07 +0200)]
i386.c (ix86_expand_builtin, [...]): Fix typo in last change to use adjust_address.

* i386.c (ix86_expand_builtin, case IX86_BUILTIN_SETPS):
Fix typo in last change to use adjust_address.

From-SVN: r43753

23 years ago* doc/install.texi (Specific): Update information for *-*-solaris*.
Gerald Pfeifer [Wed, 4 Jul 2001 09:06:51 +0000 (11:06 +0200)]
* doc/install.texi (Specific): Update information for *-*-solaris*.

From-SVN: r43751

23 years agoDaily bump.
GCC Administrator [Wed, 4 Jul 2001 07:16:47 +0000 (07:16 +0000)]
Daily bump.

From-SVN: r43749

23 years agolocalefwd.h: Format.
Benjamin Kosnik [Wed, 4 Jul 2001 02:39:02 +0000 (02:39 +0000)]
localefwd.h: Format.

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

* include/bits/localefwd.h: Format.
* include/bits/locale_facts.tcc (locale::combine): Adjust.
* src/locale.cc (locale::locale::(_Impl)): Don't call
_M_add_reference.
(locale::facet::_M_remove_reference): Simplify.
* src/globals.cc (locale_impl_c): New. Format.
(locale_c): New.
* src/ios.cc (ios_base::Init::Init): Increment _S_ios_base_init last.

From-SVN: r43747

23 years agoInstall correct hunks
Richard Kenner [Wed, 4 Jul 2001 02:32:25 +0000 (22:32 -0400)]
Install correct hunks

From-SVN: r43746

23 years ago* explow.c (plus_constant_wide): Reinitialize Y for restart.
Richard Kenner [Wed, 4 Jul 2001 02:29:46 +0000 (02:29 +0000)]
* explow.c (plus_constant_wide): Reinitialize Y for restart.

From-SVN: r43745

23 years agoII.java: New file.
Jeff Sturm [Tue, 3 Jul 2001 23:52:27 +0000 (23:52 +0000)]
II.java: New file.

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

From-SVN: r43744

23 years agoparse.y (fix_constructors): Test if a CALL_EXPR invokes `this'.
Jeff Sturm [Tue, 3 Jul 2001 23:44:07 +0000 (23:44 +0000)]
parse.y (fix_constructors): Test if a CALL_EXPR invokes `this'.

* java/parse.y (fix_constructors): Test if a CALL_EXPR invokes
`this'.  If so, don't build instance initializers.

From-SVN: r43743

23 years agoconfigure: Rebuilt.
Tom Tromey [Tue, 3 Jul 2001 22:33:24 +0000 (22:33 +0000)]
configure: Rebuilt.

* configure: Rebuilt.
* configure.in: Added aux-dir hacks to satisfy automake and
in-tree builds.

From-SVN: r43740

23 years agore PR bootstrap/3281 (Installation failure (mkinstalldirs))
Tom Tromey [Tue, 3 Jul 2001 22:31:43 +0000 (22:31 +0000)]
re PR bootstrap/3281 (Installation failure (mkinstalldirs))

Fix for PR bootstrap/3281:
* aclocal.m4, configure: Rebuilt.
* acinclude.m4 (LIBGCJ_CONFIGURE): Don't set libgcj_flagbasedir.
Correctly compute libgcj_basedir.
(mkinstalldirs): Define and subst.

From-SVN: r43739

23 years agore PR bootstrap/3281 (Installation failure (mkinstalldirs))
Tom Tromey [Tue, 3 Jul 2001 22:30:01 +0000 (22:30 +0000)]
re PR bootstrap/3281 (Installation failure (mkinstalldirs))

Fix for PR bootstrap/3281:
* aclocal.m4, configure, Makefile.in: Rebuilt.
* acinclude.m4: Set mkinstalldirs for in-tree build.

From-SVN: r43738

23 years agore PR bootstrap/3281 (Installation failure (mkinstalldirs))
Tom Tromey [Tue, 3 Jul 2001 22:29:32 +0000 (22:29 +0000)]
re PR bootstrap/3281 (Installation failure (mkinstalldirs))

Fix for PR bootstrap/3281:
* configure, Makefile.in: Rebuilt.
* configure.in: Set mkinstalldirs, for in-tree build.

From-SVN: r43736

23 years agodarwin.h (SECTION_FUNCTION): Remove WAS_TEXT argument, remove case for flag_no_mach_t...
Stan Shebs [Tue, 3 Jul 2001 20:38:37 +0000 (20:38 +0000)]
darwin.h (SECTION_FUNCTION): Remove WAS_TEXT argument, remove case for flag_no_mach_text_sections.

        * darwin.h (SECTION_FUNCTION): Remove WAS_TEXT argument, remove
        case for flag_no_mach_text_sections.
        (EXTRA_SECTION_FUNCTIONS): Remove arg from uses of SECTION_FUNCTION.
        * darwin.c (flag_no_mach_text_sections): Remove.
        * darwin-protos.h (darwin_init_pragma): Remove decl.

From-SVN: r43734

23 years agoexplow.c (plus_constant_wide, case PLUS): Call find_constant_term and avoid checking...
Richard Kenner [Tue, 3 Jul 2001 19:44:20 +0000 (19:44 +0000)]
explow.c (plus_constant_wide, case PLUS): Call find_constant_term and avoid checking for constant as first operand.

* explow.c (plus_constant_wide, case PLUS): Call find_constant_term
and avoid checking for constant as first operand.
* recog.c (find_constant_term_loc): No longer static.
(adj_offettable_operand): Delete.
* rtl.h (adj_offsettable_operand): Delete declaration.
(find_constant_term): Add declaration.
* caller-save.c: Replace calls to adj_offsettable_operand with calls
to adjust_address.
* config/arm/arm.c, config/c4x/c4x.c: Likewise.
* config/clipper/clipper.md, config/h8300/h8300.c: Likewise.
* config/i386/i386.c, config/i386/i386.md: Likewise.
* config/i860/i860.c, config/i960/i960.c: Likewise.
* config/i960/i960.md, config/m68hc11/m68hc11.c: Likewise.
* config/m68k/m68k.c, config/m68k/m68k.md: Likewise.
* config/m88k/m88k.md, config/mcore/mcore.c: Likewise.
* config/mips/mips.c, config/mips/mips.md: Likewise.
* config/mn10200/mn10200.c, config/mn10300/mn10300.c: Likewise.
* config/ns32k/ns32k.c, config/ns32k/ns32k.md: Likewise.
* config/pa/pa.c, config/pdp11/pdp11.c: Likewise.
* config/pdp11/pdp11.md, config/sh/sh.c, config/v850/v850.c: Likewise.
* config/vax/vax.md, config/ns32k/ns32k.c: Likewise.
* config/ns32k/ns32k.md: Likewise.

From-SVN: r43733

23 years agortl.c (copy_rtx): Handle 'T' format letter.
Zack Weinberg [Tue, 3 Jul 2001 19:23:35 +0000 (19:23 +0000)]
rtl.c (copy_rtx): Handle 'T' format letter.

* rtl.c (copy_rtx): Handle 'T' format letter.
* gensupport.c (collect_insn_data): Likewise.
* print-rtl.c (print_rtx): Print 'T' slots like 's'.

From-SVN: r43732

23 years agoSpecifiy range for <N> in -B option.
Nick Clifton [Tue, 3 Jul 2001 14:03:14 +0000 (14:03 +0000)]
Specifiy range for <N> in -B option.

Use 'dir' not 'foo' as example directory name.

From-SVN: r43731

23 years agosol2.h (ASM_PREFERRED_EH_DATA_FORMAT): Define.
Rainer Orth [Tue, 3 Jul 2001 12:35:01 +0000 (12:35 +0000)]
sol2.h (ASM_PREFERRED_EH_DATA_FORMAT): Define.

* config/i386/sol2.h (ASM_PREFERRED_EH_DATA_FORMAT): Define.
Fixes PRs bootstrap/3067, bootstrap/3249, bootstrap/3275.

From-SVN: r43729

23 years ago* doc/cppinternals.texi: Improve formatting and logical markup.
Joseph Myers [Tue, 3 Jul 2001 08:49:10 +0000 (09:49 +0100)]
* doc/cppinternals.texi: Improve formatting and logical markup.

From-SVN: r43726

23 years agoDaily bump.
GCC Administrator [Tue, 3 Jul 2001 07:16:12 +0000 (07:16 +0000)]
Daily bump.

From-SVN: r43723

23 years agoMakefile.in (insn-recog.o): Add dependency on reload.h.
Andreas Jaeger [Tue, 3 Jul 2001 06:22:01 +0000 (08:22 +0200)]
Makefile.in (insn-recog.o): Add dependency on reload.h.

* Makefile.in (insn-recog.o): Add dependency on reload.h.

* genrecog.c (write_header): Include reload.h for prototypes in
insn-recog.c.

From-SVN: r43722

23 years agocygwin.h (VALID_MACHINE_DECL_ATTRIBUTE, [...]): Remove.
Neil Booth [Tue, 3 Jul 2001 05:56:32 +0000 (05:56 +0000)]
cygwin.h (VALID_MACHINE_DECL_ATTRIBUTE, [...]): Remove.

config:
* i386/cygwin.h (VALID_MACHINE_DECL_ATTRIBUTE,
VALID_MACHINE_TYPE_ATTRIBUTE): Remove.
* i386/i386-protos.h (i386_pe_valid_decl_attribute_p,
i386_pe_valid_type_attribute_p): Add.
* i386/i386.c (TARGET_INITIALIZER): Override for cygwin targets.
* i386/winnt.c (i386_valid_decl_attribute_p): Return directly.

From-SVN: r43721

23 years agoexplow.c (plus_constant_wide, [...]): New case.
Richard Kenner [Tue, 3 Jul 2001 01:58:35 +0000 (01:58 +0000)]
explow.c (plus_constant_wide, [...]): New case.

* explow.c (plus_constant_wide, case LO_SUM): New case.
(plus_constant_for_output_wide): Delete.
* rtl.h (plus_constant_for_output): Delete.
* alias.c (canon_rtx, init_alias_analysis): Call plus_constant
instead of plus_constant_for_output.
* recog.c (offsettable_address_p, adj_offsettable_operand): Likewise.
* config/darwin.c, config/arm/arm.c, config/m68k/m68k.c: Likewise.
* config/m88k/m88k.c, config/mips/mips.c, config/pa/pa.c: Likewise.
* config/rs6000/rs6000.c, config/sparc/sparc.c: Likewise.
* config/sparc/sparc.md: Likewise.
Convert some change_address calls to adjust_address.

From-SVN: r43720

23 years agoextend.texi, [...]: Improve formatting.
Joseph Myers [Tue, 3 Jul 2001 00:46:05 +0000 (01:46 +0100)]
extend.texi, [...]: Improve formatting.

gcc:
* doc/extend.texi, doc/gcc.texi, doc/invoke.texi, doc/md.texi,
doc/rtl.texi, doc/tm.texi: Improve formatting.  Improve
documentation of -std and -Wwrite-strings.

contrib:
* texi2pod.pl: Handle @r inside @item.

From-SVN: r43718

23 years agoacinclude.m4 (GLIBCPP_ENABLE_THREADS): Protect variable from shell expansion (thanks...
Loren J. Rittle [Mon, 2 Jul 2001 23:30:01 +0000 (23:30 +0000)]
acinclude.m4 (GLIBCPP_ENABLE_THREADS): Protect variable from shell expansion (thanks to Alexandre Oliva).

* acinclude.m4 (GLIBCPP_ENABLE_THREADS): Protect variable from shell
expansion (thanks to Alexandre Oliva).
* aclocal.m4: Regenerate.
* configure: Regenerate.

Also, re-add last comment since Benjamin accidentally trashed it with
his last check-in.

From-SVN: r43715

23 years agocse.c (canon_hash): Don't register registers in very small register classes...
Geoffrey Keating [Mon, 2 Jul 2001 23:24:02 +0000 (23:24 +0000)]
cse.c (canon_hash): Don't register registers in very small register classes...

* cse.c (canon_hash): Don't register registers in very small
register classes, as extending their lifetime might cause
reload to fail.

From-SVN: r43714

23 years agolocale.cc (locale::locale(const char*)): Make sure global locales are initialized.
Benjamin Kosnik [Mon, 2 Jul 2001 23:08:28 +0000 (23:08 +0000)]
locale.cc (locale::locale(const char*)): Make sure global locales are initialized.

2001-07-02  Benjamin Kosnik  <bkoz@redhat.com>

* src/locale.cc (locale::locale(const char*)): Make sure global
locales are initialized.
* include/bits/locale_facets.tcc (locale::combine): Refcout should
be zero, not one as it's return-by-value.
* testsuite/27_io/ios_base_callbacks.cc (test01): Don't check for
named locales here.
* testsuite/22_locale/ctor_copy_dtor.cc (test01): Instead, check
for it here.
(test02): Add test.
* libsupc++/eh_alloc.cc: Use climits, not limits.h.

From-SVN: r43713

23 years agoacinclude.m4 (GLIBCPP_ENABLE_THREADS): Portability enhancement.
Loren J. Rittle [Mon, 2 Jul 2001 22:24:57 +0000 (22:24 +0000)]
acinclude.m4 (GLIBCPP_ENABLE_THREADS): Portability enhancement.

libstdc++/3284
* acinclude.m4 (GLIBCPP_ENABLE_THREADS): Portability enhancement.
* aclocal.m4: Regenerate.
* configure: Regenerate.

From-SVN: r43711

23 years agoacinclude.m4 (GLIBCPP_ENABLE_THREADS): Add relative path to staged/installed area...
Loren J. Rittle [Mon, 2 Jul 2001 21:30:30 +0000 (21:30 +0000)]
acinclude.m4 (GLIBCPP_ENABLE_THREADS): Add relative path to staged/installed area to support -I-.

libstdc++/3243
* acinclude.m4 (GLIBCPP_ENABLE_THREADS): Add relative path to
staged/installed area to support -I-.  Document.
* aclocal.m4: Regenerate.
* configure: Regenerate.

From-SVN: r43709

23 years agoflow.c (try_redirect_by_replacing_jump): Remove cc0 setter.
Jan Hubicka [Mon, 2 Jul 2001 21:16:50 +0000 (23:16 +0200)]
flow.c (try_redirect_by_replacing_jump): Remove cc0 setter.

* flow.c (try_redirect_by_replacing_jump): Remove cc0 setter.

* flow.c (forwarder_block_p): Fix for fallthru blocks.
(try_redirect_by_replacing_jump): Update properly the count
and frequency information.

From-SVN: r43708

23 years agoios.cc (ios_base::Init::_S_ios_create): Rename __bufsize to __out_bufsize.
Loren J. Rittle [Mon, 2 Jul 2001 20:50:40 +0000 (20:50 +0000)]
ios.cc (ios_base::Init::_S_ios_create): Rename __bufsize to __out_bufsize.

libstdc++/2211
* src/ios.cc (ios_base::Init::_S_ios_create): Rename __bufsize to
__out_bufsize.  Add __in_bufsize, document it and use it.

From-SVN: r43707

23 years agoRotate ChangeLog.
Jeff Law [Mon, 2 Jul 2001 20:23:53 +0000 (14:23 -0600)]
Rotate ChangeLog.

From-SVN: r43706

23 years agotoplev.c (dump_file_index): Move SSA dumps just after first jump dump.
Jeffrey A Law [Mon, 2 Jul 2001 20:21:15 +0000 (20:21 +0000)]
toplev.c (dump_file_index): Move SSA dumps just after first jump dump.

       * toplev.c (dump_file_index): Move SSA dumps just after first
        jump dump.
        (dump_file): Corresponding changes.
        (rest_of_compilation): Move SSA path to just after the first
        jump pass.
        * doc/gcc.texi (Passes): Update due to movement of SSA path.
        * doc/invoke.texi: Update dump file #s as they were completely
        out of date with reality.

From-SVN: r43704

23 years ago[multiple changes]
Geoffrey Keating [Mon, 2 Jul 2001 20:02:54 +0000 (20:02 +0000)]
[multiple changes]

2001-07-02  Geoffrey Keating  <geoffk@redhat.com>

* doc/tm.texi (Frame Layout): Document STACK_PUSH_CODE.

* expr.c (emit_move_insn_1): Deal with non-default
STACK_PUSH_CODE.

* expr.c (emit_single_push_insn): Fix warning.

2001-07-02  Toshiyasu Morita  <toshiyasu.morita@hsa.hitachi.com>

* expr.c (emit_move_insn_1): Avoid modifying
cfun->expr->x_stack_pointer when PUSH_ROUNDING is defined.

From-SVN: r43703

23 years agoemit-rtl.c (adjust_address): New function.
Richard Kenner [Mon, 2 Jul 2001 19:47:44 +0000 (19:47 +0000)]
emit-rtl.c (adjust_address): New function.

* emit-rtl.c (adjust_address): New function.
* expr.h (adjust_address): Add declaration.
* builtins.c: Replace some calls to change_address with calls to it
or to validize_mem.
* caller-save.c, dwarf2out.c, except.c, expmed.c, expr.c: Likewise.
* function.c, config/a29k/a29k.md, config/alpha/alpha.c: Likewise.
* config/arm/arm.c, config/convex/convex.c: Likewise.
* config/dsp16xx/dsp16xx.md, config/fr30/fr30.c: Likewise.
* config/i386/i386.c, config/i386/i386.md: Likewise.
* config/ia64/ia64.c, config/ia64/ia64.md: Likewise.
* config/m32r/m32r.c, config/m68k/m68k.md: Likewise.
* config/m88k/m88k.c, config/mips/mips.md: Likewise.
* config/ns32k/ns32k.c, config/rs6000/rs6000.c: Likewise.
* config/sh/sh.c, config/sparc/sparc.md: Likewise.

From-SVN: r43702

23 years agostl_construct.h (construct): Remove.
Stephen M. Webb [Mon, 2 Jul 2001 19:47:09 +0000 (19:47 +0000)]
stl_construct.h (construct): Remove.

2001-07-01  Stephen M. Webb <stephen@bregmasoft.com>

* include/bits/stl_construct.h (construct): Remove.
       (destroy): Remove.
       (__destroy): Replaced by use of iterator_traits.
* include/bits/stl_deque.h: replaced HP iterator functions with
iterator_traits.
        (construct): changed to _Construct.
(destroy): changed to _Destroy.
* include/bits/stl_tempbuf.h: Same.
* include/bits/stl_tree.h: Same.
* include/bits/stl_vector.h: Same.
* include/backward/iterator.h (construct): moved definition to here.
(destroy): Same.

From-SVN: r43701

23 years agoFix HPUX libgcc_s.so linking problem.
Jim Wilson [Mon, 2 Jul 2001 19:36:58 +0000 (12:36 -0700)]
Fix HPUX libgcc_s.so linking problem.

* config/ia64/ia64.h: Delete obsolete lib1funcs.asm comment.
        * config/ia64/t-ia64: Change LIB1ASMFUNCS to use single underscore.
        * config/ia64/lib1funcs.asm: Change macro names to match t-ia64.

From-SVN: r43700

23 years agocppinit.c (lang_defaults): New table.
Zack Weinberg [Mon, 2 Jul 2001 18:55:35 +0000 (18:55 +0000)]
cppinit.c (lang_defaults): New table.

* cppinit.c (lang_defaults): New table.
(set_lang): Just read from lang_defaults into the live options
structure.

From-SVN: r43699

23 years agoMakefile.in (doc): Depend on $(GENERATED_MANPAGES).
Zack Weinberg [Mon, 2 Jul 2001 18:35:32 +0000 (18:35 +0000)]
Makefile.in (doc): Depend on $(GENERATED_MANPAGES).

gcc:
* Makefile.in (doc): Depend on $(GENERATED_MANPAGES).
* doc/.cvsignore: Add gcc.1, cpp.1, gcov.1.
* doc/gcc.1, doc/cpp.1, doc/gcov.1: Removed.
contrib:
* gcc_update: Remove entries for gcc.1, cpp.1, gcov.1.

From-SVN: r43698

23 years agoinstall.texi: Various spelling and markup fixes.
Rainer Orth [Mon, 2 Jul 2001 18:08:42 +0000 (18:08 +0000)]
install.texi: Various spelling and markup fixes.

* doc/install.texi: Various spelling and markup fixes.
(Installing GCC): Component specific installation instructions are
gone.
Fix reference.
Warn about removing old install dir in the presence of shared libs.
(Configuration): Invoke with options target to match configure
--help.
Consistently refer to gas, gld pathnames.
Invert --enable-multilib documentation.
Remove references to old compiler versions.

From-SVN: r43697

23 years ago* flow.c (try_simplify_condjump): Fix typo in updating fallthru flags.
Richard Kenner [Mon, 2 Jul 2001 16:47:57 +0000 (16:47 +0000)]
* flow.c (try_simplify_condjump): Fix typo in updating fallthru flags.

From-SVN: r43695

23 years agoinstall.texi (Specific, [...]): Split from IRIX 5 section.
Rainer Orth [Mon, 2 Jul 2001 16:46:07 +0000 (16:46 +0000)]
install.texi (Specific, [...]): Split from IRIX 5 section.

* doc/install.texi (Specific, mips*-sgi-irix4): Split from IRIX 5
section.
(Specific, mips*-sgi-irix5): Note IDO download.
Reworded MIPS C hints.
Use GNU as instead of GAS.
Markup fixes.
Removed SGI Freeware reference, IRIX 6 only.
(Specific, mips*-sgi-irix6): Removed ranlib caveats, obsolete.
Note N64 library requirement/workaround.
Update O32 hints.
Complete list of structure passing bug victims.

From-SVN: r43694

23 years ago+ * simplify-rtx.c (simplify_rtx): Use swap_commutative_operands_p.
Jeffrey A Law [Mon, 2 Jul 2001 15:43:38 +0000 (15:43 +0000)]
+ * simplify-rtx.c (simplify_rtx): Use swap_commutative_operands_p.

+       * simplify-rtx.c (simplify_rtx): Use swap_commutative_operands_p.
Forgot to commit Friday.

From-SVN: r43692

23 years ago* doc/install.texi: Remove CVS Id.
Gerald Pfeifer [Mon, 2 Jul 2001 15:33:05 +0000 (17:33 +0200)]
* doc/install.texi: Remove CVS Id.

From-SVN: r43691

23 years agossa-dce.c (note_inherently_necessary_set): Add unused attribute.
Andreas Jaeger [Mon, 2 Jul 2001 14:46:12 +0000 (16:46 +0200)]
ssa-dce.c (note_inherently_necessary_set): Add unused attribute.

        * ssa-dce.c (note_inherently_necessary_set): Add unused attribute.
        (find_inherently_necessary): Remove unused variable.

From-SVN: r43690

23 years agoRevert piece of previous patch about include directories
Nathan Sidwell [Mon, 2 Jul 2001 12:55:33 +0000 (12:55 +0000)]
Revert piece of previous patch about include directories

From-SVN: r43688

23 years agoc-common.h (TDI_inlined): New ast dump phase.
Nathan Sidwell [Mon, 2 Jul 2001 12:16:58 +0000 (12:16 +0000)]
c-common.h (TDI_inlined): New ast dump phase.

* c-common.h (TDI_inlined): New ast dump phase.
(dump_flag_name): New function.
* c-dump.c (dump_files): Add inlined phase.
(dump_flag_name): Define.
* doc/invoke.texi (-fdump-ast-inlined): Document.
cp:
* optimize.c (optimize_inline_calls): New function, broken out
of ...
(optimize_function): ... here. Call it. Don't inline if it is
a thunk.
(dump_function): Print name of dump flag causing this dump.
* semantics.c (expand_body): Move thunk inline check to
optimize_function.

From-SVN: r43687

23 years agostor-layout.c (layout_decl): Revert change to handling of alignment in packed types.
Richard Kenner [Mon, 2 Jul 2001 10:27:17 +0000 (10:27 +0000)]
stor-layout.c (layout_decl): Revert change to handling of alignment in packed types.

* stor-layout.c (layout_decl): Revert change to handling of alignment
in packed types.

From-SVN: r43686

23 years agoDaily bump.
GCC Administrator [Mon, 2 Jul 2001 07:16:12 +0000 (07:16 +0000)]
Daily bump.

From-SVN: r43684

23 years agoFor PR libgcj/3523:
Jeremy Nimmer [Mon, 2 Jul 2001 05:16:24 +0000 (05:16 +0000)]
For PR libgcj/3523:

2001-07-01  Jeremy Nimmer  <jwnimmer@alum.mit.edu>

For PR libgcj/3523:
* java/io/LineNumberReader.java (reset): Pass correct arguments to
countLines.

From-SVN: r43683

23 years agoc-common.c (decl_attributes, [...]): Don't call layout_decl for FIELD_DECL.
Richard Kenner [Sun, 1 Jul 2001 23:23:28 +0000 (23:23 +0000)]
c-common.c (decl_attributes, [...]): Don't call layout_decl for FIELD_DECL.

* c-common.c (decl_attributes, case A_MODE): Don't call layout_decl
for FIELD_DECL.

From-SVN: r43682

23 years agotm.texi (FUNCTION_ARG): Document that the last call is special.
Geoffrey Keating [Sun, 1 Jul 2001 23:21:11 +0000 (23:21 +0000)]
tm.texi (FUNCTION_ARG): Document that the last call is special.

* doc/tm.texi (FUNCTION_ARG): Document that the last call
is special.

From-SVN: r43681

23 years agoexpr.c (expand_expr, [...]): Correct check for side-effects in the value of an array...
Mark Mitchell [Sun, 1 Jul 2001 20:50:03 +0000 (20:50 +0000)]
expr.c (expand_expr, [...]): Correct check for side-effects in the value of an array element.

* expr.c (expand_expr, case ARRAY_REF): Correct check for
side-effects in the value of an array element.

From-SVN: r43680

23 years agofio.h: Include <sys/types.h> for off_t.
Toon Moene [Sun, 1 Jul 2001 20:19:33 +0000 (22:19 +0200)]
fio.h: Include <sys/types.h> for off_t.

2001-07-01  Toon Moene  <toon@moene.indiv.nluug.nl>

* libI77/fio.h: Include <sys/types.h> for off_t.

From-SVN: r43678

23 years agotlink.c (recompile_files): Remove COMPILER_PATH and LIBRARY_PATH from the environment.
Nathan Sidwell [Sun, 1 Jul 2001 20:01:47 +0000 (20:01 +0000)]
tlink.c (recompile_files): Remove COMPILER_PATH and LIBRARY_PATH from the environment.

* tlink.c (recompile_files): Remove COMPILER_PATH and
LIBRARY_PATH from the environment.

From-SVN: r43677

23 years agomg.exp (compiler_output): Support tcl 8.3.1.
Michael Chamberlain [Sun, 1 Jul 2001 18:55:46 +0000 (18:55 +0000)]
mg.exp (compiler_output): Support tcl 8.3.1.

2000-09-10  Michael Chamberlain <michael@chamberlain.net.au>

* gcc.misc-tests/mg.exp (compiler_output): Support tcl 8.3.1.

From-SVN: r43675

23 years agoc-common.h (enum rid): Add RID_FIRST_AT, RID_LAST_AT, RID_LAST_PQ.
Zack Weinberg [Sun, 1 Jul 2001 18:48:13 +0000 (18:48 +0000)]
c-common.h (enum rid): Add RID_FIRST_AT, RID_LAST_AT, RID_LAST_PQ.

* c-common.h (enum rid): Add RID_FIRST_AT, RID_LAST_AT,
RID_LAST_PQ.  Move RID_FIRST_PQ down with the other FIRST/LAST
enumerators.
(OBJC_IS_AT_KEYWORD, OBJC_IS_PQ_KEYWORD): New macros.

* c-parse.in (OBJC_STRING): Kill.
(objc_string): Decompose to [objc_string] '@' STRING.
(reswords): Take the leading '@' off all the Objective C keywords.
(objc_rid_sans_at): Kill.
(init_reswords): Don't initialize it.
(yylexname): Use OBJC_IS_AT_KEYWORD and OBJC_IS_PQ_KEYWORD.
(_yylex): Kill reconsider label.  Look ahead one token after
an '@'; if we get an identifier, check whether it's an
Objective C @-keyword.  If so, return the keyword.  Otherwise,
put back the token and return the '@' as a terminal.

* cpplib.c (lex_macro_node): Remove unnecessary check for
leading '@' on identifier.  Clarify control flow and commentary.

From-SVN: r43674

23 years agoMinor comment and whitespace changes
Richard Kenner [Sun, 1 Jul 2001 16:50:11 +0000 (12:50 -0400)]
Minor comment and whitespace changes

From-SVN: r43673

23 years agocse.c (new_label_ref): Variable deleted.
Richard Kenner [Sun, 1 Jul 2001 15:52:26 +0000 (15:52 +0000)]
cse.c (new_label_ref): Variable deleted.

* cse.c (new_label_ref): Variable deleted.
(insert): Remove set of new_label_ref.
(check_for_label_ref): New function.
(cse_basic_block): Don't check new_label_ref; call check_for_label_ref.

From-SVN: r43672

23 years agoTrivial whitespace changes
Richard Kenner [Sun, 1 Jul 2001 13:34:02 +0000 (09:34 -0400)]
Trivial whitespace changes

From-SVN: r43671

23 years agofio.h: Use off_t when appropriate.
Toon Moene [Sun, 1 Jul 2001 13:18:08 +0000 (15:18 +0200)]
fio.h: Use off_t when appropriate.

2001-07-01  Toon Moene  <toon@moene.indiv.nluug.nl>
            Pedro Vazquez  <vazquez@penelope.iqm.unicamp.br>

* libI77/fio.h: Use off_t when appropriate.
* libI77/backspace.c (f_back): Ditto.
* libI77/endfile.c (t_runc): Ditto.
* libI77/err.c (f__nowreading): Ditto.
* libI77/ftell_.c (unit_chk): Ditto.
* libI77/sue.c (global f__recloc, s_wsue): Ditto.

Co-Authored-By: Pedro Vazquez <vazquez@penelope.iqm.unicamp.br>
From-SVN: r43670

23 years ago* warn_summary: Fix typo in a comment.
Zoltan Felleg [Sun, 1 Jul 2001 10:25:32 +0000 (12:25 +0200)]
* warn_summary: Fix typo in a comment.

From-SVN: r43669

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

From-SVN: r43668

23 years ago* ns32k.md: Remove stray backslash-newline in output template.
Zack Weinberg [Sat, 30 Jun 2001 18:07:44 +0000 (18:07 +0000)]
* ns32k.md: Remove stray backslash-newline in output template.

From-SVN: r43666

23 years agortl.def (DEFINE_INSN, [...]): Change output-template slot to format 'T'.
Zack Weinberg [Sat, 30 Jun 2001 17:23:53 +0000 (17:23 +0000)]
rtl.def (DEFINE_INSN, [...]): Change output-template slot to format 'T'.

* rtl.def (DEFINE_INSN, DEFINE_INSN_AND_SPLIT, DEFINE_PEEPHOLE):
Change output-template slot to format 'T'.
* rtl.h (XTMPL): New.
* read-rtl.c (read_escape): New function.
(read_quoted_string, read_braced_string): Use it.
(read_rtx): Set star_if_braced from the format string.
Use XTMPL where appropriate.
* genoutput.c (gen_insn, gen_peephole): Use XTMPL to get the
template string.

* rtl.c: Include errors.h for sake of rtl_check_failed* routines.
Document 'T' in rtx format strings.
* Makefile.in (rtl.o, $(HOST_PREFIX_1)rtl.o): Depend on errors.h.
* errors.c (internal_error): Add missing ": " at end of string.

* i860.md: Change triple backslashes to double backslashes at
ends of lines in output templates.

From-SVN: r43665

23 years agoAppend a DIR_SEPARATOR to a path specified by the -B switch, if doing so would
Nick Clifton [Sat, 30 Jun 2001 08:46:31 +0000 (08:46 +0000)]
Append a DIR_SEPARATOR to a path specified by the -B switch, if doing so would
create a valid directory name.

From-SVN: r43664

23 years agoDaily bump.
GCC Administrator [Sat, 30 Jun 2001 07:17:41 +0000 (07:17 +0000)]
Daily bump.

From-SVN: r43663

23 years agolocale_facets.tcc (locale::combine): Clone _Impl.
Benjamin Kosnik [Sat, 30 Jun 2001 04:35:49 +0000 (04:35 +0000)]
locale_facets.tcc (locale::combine): Clone _Impl.

2001-06-29  Benjamin Kosnik  <bkoz@redhat.com>

* include/bits/locale_facets.tcc (locale::combine): Clone _Impl.
before replacing facet.
* include/bits/localefwd.h (locale::_Impl::_M_remove_reference):
Correct decrement.
* src/localename.cc (locale::_Impl): Correct ctor initialization
lists. Initialize ref count with one. Simplify.
* src/locale.cc: Add comment.
* testsuite/22_locale/numpunct.cc (test01): Add derivation test.
* testsuite/22_locale/numpunct_char_members.cc (test01): Add tests.
* testsuite/22_locale/members.cc (test02): Fix.

From-SVN: r43661

23 years agogcc.texi (Passes): Update due to recent -fdce -> -fssa-dce changes.
Jeffrey A Law [Fri, 29 Jun 2001 22:04:40 +0000 (22:04 +0000)]
gcc.texi (Passes): Update due to recent -fdce -> -fssa-dce changes.

        * gcc.texi (Passes): Update due to recent -fdce -> -fssa-dce
        changes.  Fix documentation for SSA DCE pass.

From-SVN: r43660

23 years agosimplify-rtx.c (simplify_subreg): When simplifying a CONCAT...
DJ Delorie [Fri, 29 Jun 2001 21:15:01 +0000 (17:15 -0400)]
simplify-rtx.c (simplify_subreg): When simplifying a CONCAT...

* simplify-rtx.c (simplify_subreg): When simplifying a CONCAT, at
least get rid of the CONCAT if we can't simplify further.

From-SVN: r43659

23 years agossa-dce.c (ssa_eliminate_dead_code): Renamed from eliminate_date_code.
Jeffrey A Law [Fri, 29 Jun 2001 20:35:53 +0000 (20:35 +0000)]
ssa-dce.c (ssa_eliminate_dead_code): Renamed from eliminate_date_code.

        * ssa-dce.c (ssa_eliminate_dead_code): Renamed from
        eliminate_date_code.
        * ssa.h (ssa_eliminate_dead_code): Corresponding changes.
        * timevar.def (TV_SSA_DCE): Renamed from TV_DEAD_CODE_ELIM.
        * toplev.c (DFI_ssa_dce): Renamed from DFI_dce.
        (dump_file_info): Similar changes.
        (flag_ssa_dce): Similarly
        (f_options): Similar changes.
        (rest_of_compilation): Corresponding changes.
        * doc/invoke.texi: Update as option is now -fssa-dce instead
        of -fdce.  Update dump file name.

From-SVN: r43658

23 years agossa-dce.c (note_inherently_necessary_set): New function.
Jeffrey A Law [Fri, 29 Jun 2001 18:26:21 +0000 (18:26 +0000)]
ssa-dce.c (note_inherently_necessary_set): New function.

        * ssa-dce.c (note_inherently_necessary_set): New function.
        (find_inherently_necessary): Use it.  Do not consider
        NOTEs, CODE_LABELs or BARRIERS are necessary.  Improve
        handling of asms and unspecs.
        (delete_insn_bb): Only delete INSNs, CALL_INSNs or JUMP_INSNs.

From-SVN: r43656

23 years agotarget.h (struct gcc_target): Add comp_type_attributes and set_default_type_attributes.
Joseph Myers [Fri, 29 Jun 2001 17:21:16 +0000 (18:21 +0100)]
target.h (struct gcc_target): Add comp_type_attributes and set_default_type_attributes.

* target.h (struct gcc_target): Add comp_type_attributes and
set_default_type_attributes.
* target-def.h (TARGET_COMP_TYPE_ATTRIBUTES,
TARGET_SET_DEFAULT_TYPE_ATTRIBUTES): Define.
(TARGET_INITIALIZER): Update.
* doc/tm.texi (COMP_TYPE_ATTRIBUTES, TARGET_COMP_TYPE_ATTRIBUTES,
SET_DEFAULT_TYPE_ATTRIBUTES, TARGET_SET_DEFAULT_TYPE_ATTRIBUTES):
Update documentation of old target macros to describe new target
hooks.
* tree.c (make_node): Use target.set_default_type_attributes.
(default_comp_type_attributes,
default_set_default_type_attributes): New functions.
* tree.h (default_comp_type_attributes,
default_set_default_type_attributes): Declare.
* c-typeck.c (COMP_TYPE_ATTRIBUTES): Don't define.
(comptypes): Use target.comp_type_attributes.
* config/arc/arc-protos.h, config/arc/arc.c, config/arc/arc.h
(arc_comp_type_attributes, arc_set_default_type_attributes,
COMP_TYPE_ATTRIBUTES, SET_DEFAULT_TYPE_ATTRIBUTES): Remove
functions and macros with default behaviour.
* config/m32r/m32r-protos.h, config/m32r/m32r.c,
config/m32r/m32r.h (m32r_comp_type_attributes,
m32r_set_default_type_attributes, COMP_TYPE_ATTRIBUTES,
SET_DEFAULT_TYPE_ATTRIBUTES): Likewise.
* config/m68hc11/m68hc11-protos.h, config/m68hc11/m68hc11.c,
config/m68hc11/m68hc11.h (m68hc11_comp_type_attributes,
m68hc11_set_default_type_attributes, COMP_TYPE_ATTRIBUTES,
SET_DEFAULT_TYPE_ATTRIBUTES): Likewise.
* config/ns32k/ns32k-protos.h, config/ns32k/ns32k.c,
config/ns32k/ns32k.h (ns32k_comp_type_attributes,
COMP_TYPE_ATTRIBUTES): Likewise.
* config/rs6000/rs6000-protos.h, config/rs6000/rs6000.c,
config/rs6000/rs6000.h (rs6000_comp_type_attributes,
rs6000_set_default_type_attributes, COMP_TYPE_ATTRIBUTES,
SET_DEFAULT_TYPE_ATTRIBUTES): Likewise.
* config/d30v/d30v.h (COMP_TYPE_ATTRIBUTES,
SET_DEFAULT_TYPE_ATTRIBUTES): Remove commented out macro
definitions.
* config/i386/i386.h (SET_DEFAULT_TYPE_ATTRIBUTES): Likewise.
* config/ns32k/ns32k.h (SET_DEFAULT_TYPE_ATTRIBUTES): Likewise.
* config/arm/arm.c (arm_comp_type_attributes,
arm_set_default_type_attributes): Make static.
(TARGET_COMP_TYPE_ATTRIBUTES, TARGET_SET_DEFAULT_TYPE_ATTRIBUTES):
Define.
* config/arm/arm.h (COMP_TYPE_ATTRIBUTES,
SET_DEFAULT_TYPE_ATTRIBUTES): Don't define.
* config/arm/arm-protos.h (arm_comp_type_attributes,
arm_set_default_type_attributes): Don't declare.
* config/i386/i386.c (ix86_comp_type_attributes): Make static.
(TARGET_COMP_TYPE_ATTRIBUTES): Define.
* config/i386/i386.h (COMP_TYPE_ATTRIBUTES): Don't define.
* config/i386/i386-protos.h (ix86_comp_type_attributes): Don't
declare.

cp:
* typeck.c (COMP_TYPE_ATTRIBUTES): Don't define.
(comptypes): Use target.comp_type_attributes.

From-SVN: r43655

23 years agodwarf2.h: Add dwarf 2.1 tags/attributes/etc to the enums.
Daniel Berlin [Fri, 29 Jun 2001 16:52:08 +0000 (16:52 +0000)]
dwarf2.h: Add dwarf 2.1 tags/attributes/etc to the enums.

2001-06-28  Daniel Berlin  <dan@cgsoftware.com>

* dwarf2.h: Add dwarf 2.1 tags/attributes/etc to the enums.

From-SVN: r43654

This page took 0.106066 seconds and 5 git commands to generate.