OSDN Git Service

pf3gnuchains/gcc-fork.git
22 years agoDaily bump.
gccadmin [Wed, 4 Jul 2001 07:16:47 +0000 (07:16 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@43749 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago2001-07-03 Benjamin Kosnik <bkoz@redhat.com>
bkoz [Wed, 4 Jul 2001 02:39:02 +0000 (02:39 +0000)]
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@43747 138bc75d-0d04-0410-961f-82ee72b054a4

22 years agoInstall correct hunks
kenner [Wed, 4 Jul 2001 02:32:25 +0000 (02:32 +0000)]
Install correct hunks

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@43746 138bc75d-0d04-0410-961f-82ee72b054a4

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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@43745 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago* libjava.lang/II.java: New file.
jsturm [Tue, 3 Jul 2001 23:52:27 +0000 (23:52 +0000)]
* libjava.lang/II.java: New file.
* libjava.lang/II.out: New file.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@43744 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * java/parse.y (fix_constructors): Test if a CALL_EXPR invokes
jsturm [Tue, 3 Jul 2001 23:44:07 +0000 (23:44 +0000)]
* java/parse.y (fix_constructors): Test if a CALL_EXPR invokes
`this'.  If so, don't build instance initializers.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@43743 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * configure: Rebuilt.
tromey [Tue, 3 Jul 2001 22:33:24 +0000 (22:33 +0000)]
* configure: Rebuilt.
* configure.in: Added aux-dir hacks to satisfy automake and
in-tree builds.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@43740 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago Fix for PR bootstrap/3281:
tromey [Tue, 3 Jul 2001 22:31:43 +0000 (22:31 +0000)]
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@43739 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago Fix for PR bootstrap/3281:
tromey [Tue, 3 Jul 2001 22:30:01 +0000 (22:30 +0000)]
Fix for PR bootstrap/3281:
* aclocal.m4, configure, Makefile.in: Rebuilt.
* acinclude.m4: Set mkinstalldirs for in-tree build.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@43738 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago Fix for PR bootstrap/3281:
tromey [Tue, 3 Jul 2001 22:29:32 +0000 (22:29 +0000)]
Fix for PR bootstrap/3281:
* configure, Makefile.in: Rebuilt.
* configure.in: Set mkinstalldirs, for in-tree build.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@43736 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * darwin.h (SECTION_FUNCTION): Remove WAS_TEXT argument, remove
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.
        (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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@43734 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * explow.c (plus_constant_wide, case PLUS): Call find_constant_term
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.
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@43733 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * rtl.c (copy_rtx): Handle 'T' format letter.
zack [Tue, 3 Jul 2001 19:23:35 +0000 (19:23 +0000)]
* rtl.c (copy_rtx): Handle 'T' format letter.
* gensupport.c (collect_insn_data): Likewise.
* print-rtl.c (print_rtx): Print 'T' slots like 's'.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@43732 138bc75d-0d04-0410-961f-82ee72b054a4

22 years agoSpecifiy range for <N> in -B option.
nickc [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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@43731 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * config/i386/sol2.h (ASM_PREFERRED_EH_DATA_FORMAT): Define.
ro [Tue, 3 Jul 2001 12:35:01 +0000 (12:35 +0000)]
* config/i386/sol2.h (ASM_PREFERRED_EH_DATA_FORMAT): Define.
Fixes PRs bootstrap/3067, bootstrap/3249, bootstrap/3275.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@43729 138bc75d-0d04-0410-961f-82ee72b054a4

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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@43726 138bc75d-0d04-0410-961f-82ee72b054a4

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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@43723 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * Makefile.in (insn-recog.o): Add dependency on reload.h.
aj [Tue, 3 Jul 2001 06:22:01 +0000 (06:22 +0000)]
* Makefile.in (insn-recog.o): Add dependency on reload.h.

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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@43722 138bc75d-0d04-0410-961f-82ee72b054a4

22 years agoconfig:
neil [Tue, 3 Jul 2001 05:56:32 +0000 (05:56 +0000)]
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@43721 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * explow.c (plus_constant_wide, case LO_SUM): New case.
kenner [Tue, 3 Jul 2001 01:58:35 +0000 (01:58 +0000)]
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@43720 138bc75d-0d04-0410-961f-82ee72b054a4

22 years agogcc:
jsm28 [Tue, 3 Jul 2001 00:46:05 +0000 (00:46 +0000)]
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@43718 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * acinclude.m4 (GLIBCPP_ENABLE_THREADS): Protect variable from shell
ljrittle [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).
* aclocal.m4: Regenerate.
* configure: Regenerate.

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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@43715 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * cse.c (canon_hash): Don't register registers in very small
geoffk [Mon, 2 Jul 2001 23:24:02 +0000 (23:24 +0000)]
* cse.c (canon_hash): Don't register registers in very small
register classes, as extending their lifetime might cause
reload to fail.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@43714 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago2001-07-02 Benjamin Kosnik <bkoz@redhat.com>
bkoz [Mon, 2 Jul 2001 23:08:28 +0000 (23:08 +0000)]
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@43713 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago libstdc++/3284
ljrittle [Mon, 2 Jul 2001 22:24:57 +0000 (22:24 +0000)]
libstdc++/3284
* acinclude.m4 (GLIBCPP_ENABLE_THREADS): Portability enhancement.
* aclocal.m4: Regenerate.
* configure: Regenerate.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@43711 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago libstdc++/3243
ljrittle [Mon, 2 Jul 2001 21:30:30 +0000 (21:30 +0000)]
libstdc++/3243
* acinclude.m4 (GLIBCPP_ENABLE_THREADS): Add relative path to
staged/installed area to support -I-.  Document.
* aclocal.m4: Regenerate.
* configure: Regenerate.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@43709 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * flow.c (try_redirect_by_replacing_jump): Remove cc0 setter.
hubicka [Mon, 2 Jul 2001 21:16:50 +0000 (21:16 +0000)]
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@43708 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago libstdc++/2211
ljrittle [Mon, 2 Jul 2001 20:50:40 +0000 (20:50 +0000)]
libstdc++/2211
* src/ios.cc (ios_base::Init::_S_ios_create): Rename __bufsize to
__out_bufsize.  Add __in_bufsize, document it and use it.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@43707 138bc75d-0d04-0410-961f-82ee72b054a4

22 years agoRotate ChangeLog.
law [Mon, 2 Jul 2001 20:23:53 +0000 (20:23 +0000)]
Rotate ChangeLog.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@43706 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * toplev.c (dump_file_index): Move SSA dumps just after first
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.
        (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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@43704 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago2001-07-02 Geoffrey Keating <geoffk@redhat.com>
geoffk [Mon, 2 Jul 2001 20:02:54 +0000 (20:02 +0000)]
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@43703 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * emit-rtl.c (adjust_address): New function.
kenner [Mon, 2 Jul 2001 19:47:44 +0000 (19:47 +0000)]
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@43702 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago2001-07-01 Stephen M. Webb <stephen@bregmasoft.com>
bkoz [Mon, 2 Jul 2001 19:47:09 +0000 (19:47 +0000)]
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@43701 138bc75d-0d04-0410-961f-82ee72b054a4

22 years agoFix HPUX libgcc_s.so linking problem.
wilson [Mon, 2 Jul 2001 19:36:58 +0000 (19:36 +0000)]
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@43700 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * cppinit.c (lang_defaults): New table.
zack [Mon, 2 Jul 2001 18:55:35 +0000 (18:55 +0000)]
* cppinit.c (lang_defaults): New table.
(set_lang): Just read from lang_defaults into the live options
structure.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@43699 138bc75d-0d04-0410-961f-82ee72b054a4

22 years agogcc:
zack [Mon, 2 Jul 2001 18:35:32 +0000 (18:35 +0000)]
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@43698 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * doc/install.texi: Various spelling and markup fixes.
ro [Mon, 2 Jul 2001 18:08:42 +0000 (18:08 +0000)]
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@43697 138bc75d-0d04-0410-961f-82ee72b054a4

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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@43695 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * doc/install.texi (Specific, mips*-sgi-irix4): Split from IRIX 5
ro [Mon, 2 Jul 2001 16:46:07 +0000 (16:46 +0000)]
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@43694 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago+ * simplify-rtx.c (simplify_rtx): Use swap_commutative_operands_p.
law [Mon, 2 Jul 2001 15:43:38 +0000 (15:43 +0000)]
+       * simplify-rtx.c (simplify_rtx): Use swap_commutative_operands_p.
Forgot to commit Friday.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@43692 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * doc/install.texi: Remove CVS Id.
gerald [Mon, 2 Jul 2001 15:33:05 +0000 (15:33 +0000)]
* doc/install.texi: Remove CVS Id.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@43691 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * ssa-dce.c (note_inherently_necessary_set): Add unused attribute.
aj [Mon, 2 Jul 2001 14:46:12 +0000 (14:46 +0000)]
    * ssa-dce.c (note_inherently_necessary_set): Add unused attribute.
        (find_inherently_necessary): Remove unused variable.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@43690 138bc75d-0d04-0410-961f-82ee72b054a4

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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@43688 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * c-common.h (TDI_inlined): New ast dump phase.
nathan [Mon, 2 Jul 2001 12:16:58 +0000 (12:16 +0000)]
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@43687 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * stor-layout.c (layout_decl): Revert change to handling of alignment
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@43686 138bc75d-0d04-0410-961f-82ee72b054a4

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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@43684 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago2001-07-01 Jeremy Nimmer <jwnimmer@alum.mit.edu>
tromey [Mon, 2 Jul 2001 05:16:24 +0000 (05:16 +0000)]
2001-07-01  Jeremy Nimmer  <jwnimmer@alum.mit.edu>

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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@43683 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * c-common.c (decl_attributes, case A_MODE): Don't call layout_decl
kenner [Sun, 1 Jul 2001 23:23:28 +0000 (23:23 +0000)]
* c-common.c (decl_attributes, case A_MODE): Don't call layout_decl
for FIELD_DECL.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@43682 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * doc/tm.texi (FUNCTION_ARG): Document that the last call
geoffk [Sun, 1 Jul 2001 23:21:11 +0000 (23:21 +0000)]
* doc/tm.texi (FUNCTION_ARG): Document that the last call
is special.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@43681 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * expr.c (expand_expr, case ARRAY_REF): Correct check for
mmitchel [Sun, 1 Jul 2001 20:50:03 +0000 (20:50 +0000)]
* expr.c (expand_expr, case ARRAY_REF): Correct check for
side-effects in the value of an array element.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@43680 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago2001-07-01 Toon Moene <toon@moene.indiv.nluug.nl>
toon [Sun, 1 Jul 2001 20:19:33 +0000 (20:19 +0000)]
2001-07-01  Toon Moene  <toon@moene.indiv.nluug.nl>

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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@43678 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * tlink.c (recompile_files): Remove COMPILER_PATH and
nathan [Sun, 1 Jul 2001 20:01:47 +0000 (20:01 +0000)]
* tlink.c (recompile_files): Remove COMPILER_PATH and
LIBRARY_PATH from the environment.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@43677 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago2000-09-10 Michael Chamberlain <michael@chamberlain.net.au>
zack [Sun, 1 Jul 2001 18:55:46 +0000 (18:55 +0000)]
2000-09-10  Michael Chamberlain <michael@chamberlain.net.au>

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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@43675 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * c-common.h (enum rid): Add RID_FIRST_AT, RID_LAST_AT,
zack [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.  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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@43674 138bc75d-0d04-0410-961f-82ee72b054a4

22 years agoMinor comment and whitespace changes
kenner [Sun, 1 Jul 2001 16:50:11 +0000 (16:50 +0000)]
Minor comment and whitespace changes

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@43673 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * cse.c (new_label_ref): Variable deleted.
kenner [Sun, 1 Jul 2001 15:52:26 +0000 (15:52 +0000)]
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@43672 138bc75d-0d04-0410-961f-82ee72b054a4

22 years agoTrivial whitespace changes
kenner [Sun, 1 Jul 2001 13:34:02 +0000 (13:34 +0000)]
Trivial whitespace changes

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@43671 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago2001-07-01 Toon Moene <toon@moene.indiv.nluug.nl>
toon [Sun, 1 Jul 2001 13:18:08 +0000 (13:18 +0000)]
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@43670 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * warn_summary: Fix typo in a comment.
gerald [Sun, 1 Jul 2001 10:25:32 +0000 (10:25 +0000)]
* warn_summary: Fix typo in a comment.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@43669 138bc75d-0d04-0410-961f-82ee72b054a4

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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@43668 138bc75d-0d04-0410-961f-82ee72b054a4

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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@43666 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * rtl.def (DEFINE_INSN, DEFINE_INSN_AND_SPLIT, DEFINE_PEEPHOLE):
zack [Sat, 30 Jun 2001 17:23:53 +0000 (17:23 +0000)]
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@43665 138bc75d-0d04-0410-961f-82ee72b054a4

22 years agoAppend a DIR_SEPARATOR to a path specified by the -B switch, if doing so would
nickc [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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@43664 138bc75d-0d04-0410-961f-82ee72b054a4

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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@43663 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago2001-06-29 Benjamin Kosnik <bkoz@redhat.com>
bkoz [Sat, 30 Jun 2001 04:35:49 +0000 (04:35 +0000)]
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@43661 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * gcc.texi (Passes): Update due to recent -fdce -> -fssa-dce
law [Fri, 29 Jun 2001 22:04:40 +0000 (22:04 +0000)]
    * gcc.texi (Passes): Update due to recent -fdce -> -fssa-dce
        changes.  Fix documentation for SSA DCE pass.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@43660 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago* simplify-rtx.c (simplify_subreg): When simplifying a CONCAT, at
dj [Fri, 29 Jun 2001 21:15:01 +0000 (21:15 +0000)]
* simplify-rtx.c (simplify_subreg): When simplifying a CONCAT, at
least get rid of the CONCAT if we can't simplify further.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@43659 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * ssa-dce.c (ssa_eliminate_dead_code): Renamed from
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.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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@43658 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * ssa-dce.c (note_inherently_necessary_set): New function.
law [Fri, 29 Jun 2001 18:26:21 +0000 (18:26 +0000)]
    * 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@43656 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * target.h (struct gcc_target): Add comp_type_attributes and
jsm28 [Fri, 29 Jun 2001 17:21:16 +0000 (17:21 +0000)]
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@43655 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago2001-06-28 Daniel Berlin <dan@cgsoftware.com>
dberlin [Fri, 29 Jun 2001 16:52:08 +0000 (16:52 +0000)]
2001-06-28  Daniel Berlin  <dan@cgsoftware.com>

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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@43654 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * cp-tree.h (flag_dump_class_layout): Remove unneeded declaration.
nathan [Fri, 29 Jun 2001 14:10:31 +0000 (14:10 +0000)]
* cp-tree.h (flag_dump_class_layout): Remove unneeded declaration.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@43653 138bc75d-0d04-0410-961f-82ee72b054a4

22 years agoDaily bump.
gccadmin [Fri, 29 Jun 2001 07:16:59 +0000 (07:16 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@43652 138bc75d-0d04-0410-961f-82ee72b054a4

22 years agoAlso, fix formatting problem in previous ChangeLog commit.
dnovillo [Fri, 29 Jun 2001 04:46:11 +0000 (04:46 +0000)]
Also, fix formatting problem in previous ChangeLog commit.

2001-06-28  Jan van Male  <jan.vanmale@fenk.wau.nl>

* predict.c (dump_prediction): Eliminate fprintf warning.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@43650 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago2001-06-28 Diego Novillo <dnovillo@redhat.com>
dnovillo [Fri, 29 Jun 2001 03:30:17 +0000 (03:30 +0000)]
2001-06-28  Diego Novillo  <dnovillo@redhat.com>

      * flow.c (dump_bb): Remove unused third argument to call
      to fprintf when displaying the basic block header.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@43649 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * Makefile.in (OBJS): Add df.o
law [Thu, 28 Jun 2001 22:11:19 +0000 (22:11 +0000)]
    * Makefile.in (OBJS): Add df.o
        (df.o): Add dependencies.
        * basic-block.h (flow_depth_first_order_compute): Declare.
        * flow.c (flow_depth_first_order_compute): No longer declare.
        Make external.
        * df.c, df.h: New files.
* po/POTFILES.in: Update for new files.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@43647 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * config/i386/i386.md: Global update to use new string syntax
zack [Thu, 28 Jun 2001 21:50:09 +0000 (21:50 +0000)]
* config/i386/i386.md: Global update to use new string syntax
where it will improve readability.  Warning fixes:
(*truncdfsf2_2): Abort if which_alternative is not 0 or 1.
(*adddi_1_rex64, *adddi_2_rex64, *adddi_3_rex64,
*adddi_4_rex64, *adddi_5_rex64): Cast 1 to unsigned int.

* read-rtl.c: Syntactic sugar for C embedded in strings in
machine descriptions.
(read_string): Break inner loop into separate function.  Takes
an int.  Dispatch to read_quoted_string or read_braced_string
as appropriate.  Automatically insert a leading star on braced
strings if STAR_IF_BRACED is true.
(read_quoted_string, read_braced_string): New functions.
* doc/rtl.texi, doc/md.texi: Document new syntax.  Update
examples to match.

* rtl.c: Split RTL reader (read_rtx, read_skip_spaces,
traverse_md_constants, fatal_with_file_and_line,
fatal_expected_char, read_name, read_string, def_hash,
def_name_eq_p, read_constants, and related data) to its own
file.  Weed out now-unnecessary #includes.
* read-rtl.c: New file.
* Makefile.in (HOST_RTL): Add read-rtl.o.
(read-rtl.o): New rule.
(rtl.o, $(HOST_PREFIX_1)rtl.o): Update dependencies.
* doc/gcc.texi (Passes): Talk briefly about the support
library used by genfoo.
* doc/rtl.texi (Reading RTL): read_rtx is not available in the
compiler itself.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@43646 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * config/darwin.h (REGISTER_TARGET_PRAGMAS): Define.
shebs [Thu, 28 Jun 2001 19:55:53 +0000 (19:55 +0000)]
    * config/darwin.h (REGISTER_TARGET_PRAGMAS): Define.
        * config/darwin-c.c: New file.
        * config/darwin-protos.h: Declare new functions.
        * config/rs6000/t-darwin (darwin-c.o): New rule.
        * config.gcc (powerpc-*-darwin*): Define c_target_objs and
        cxx_target_objs.
        * doc/extend.texi (Pragmas): New section.

        * gcc.dg/pragma-darwin.c: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@43645 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * configure: Rebuilt.
tromey [Thu, 28 Jun 2001 19:42:24 +0000 (19:42 +0000)]
* configure: Rebuilt.
* configure.in: Accept --with-system-zlib.  Fixes PR java/3441.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@43644 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * ssa-dce.c (eliminate_dead_code): Properly handle control
law [Thu, 28 Jun 2001 18:24:55 +0000 (18:24 +0000)]
    * ssa-dce.c (eliminate_dead_code): Properly handle control
        dependencies implied by PHI nodes.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@43643 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * flow.c (try_merge_block): Rename to try_optimize_cfg;
hubicka [Thu, 28 Jun 2001 18:14:05 +0000 (18:14 +0000)]
* flow.c (try_merge_block): Rename to try_optimize_cfg;
do basic simplifications on the CFG.
(is_forwarder_block_p, can_fallthru, try_redirect_by_replacing_jump,
 try_simplify_condjump): New.
(redirect_edge_and_branch): Try replace jump insn.
(flow_delete_insn): Handle deleting of ADDR_VEC insns.

* basic-block.h (FALLTHRU_EDGE, BRANCH_EDGE): New macros.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@43642 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * ssa-dce.c (eliminate_dead_code): Remove fake edges from the
law [Thu, 28 Jun 2001 17:18:36 +0000 (17:18 +0000)]
    * ssa-dce.c (eliminate_dead_code): Remove fake edges from the
        CFG after dead code elimination is complete.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@43641 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * gthr-posix.h [LIBOBJC]: Add weak definitions of
ro [Thu, 28 Jun 2001 12:57:55 +0000 (12:57 +0000)]
    * gthr-posix.h [LIBOBJC]: Add weak definitions of
        sched_get_priority_max, sched_get_priority_min.

        testsuite:
        * lib/objc.exp (objc_target_compile): Don't need -lposix4 on any
        Solaris 2.[678] system.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@43640 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * diagnostic.c (default_print_error_function): Tweak.
gdr [Thu, 28 Jun 2001 12:26:38 +0000 (12:26 +0000)]
* diagnostic.c (default_print_error_function): Tweak.
(report_error_function): Likewise.
* toplev.h (default_print_error_function): Move to...
* diagnostic.h: ...here. Add a `diagnostic_context *' parameter.
* tree.h (print_error_function): Move to...
* diagnostic.h: ...here. Add a `diagnostic_context *' parameter.

ch/

* lang.c: #include diagnostic.h
(chill_print_error_function): Add a dummy `diagnostic_context *'.
* Makefile.in (lang.o): Depend on diagnostic.h

cp/

* error.c (lang_print_error_function): Add a `diagnostic_context *'
parameter. Tweak.

f/

* Make-lang.in (f/com.o): Depend on diagnostic.h
* com.c: #include diagnostic.h
(lang_print_error_function): Take a 'diagnostic_context *'.

java/

* lang.c: #include diagnostic.h
(lang_print_error): Add a `diagnostic_context *' parameter.
(java_dummy_print): Likewise.
* Make-lang.in (JAVA_LEX_C): Depend on diagnostic.h

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@43638 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * expr.c (expand_assignment): When have varying-length object,
kenner [Thu, 28 Jun 2001 10:16:03 +0000 (10:16 +0000)]
* expr.c (expand_assignment): When have varying-length object,
make MEM a BLKmode.
(expand_expr, case ADDR_EXPR): Use SAVE_EXPR_RTL after putting
SAVE_EXPR stack in case we had a SUBREG.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@43637 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * i386.md (cmp?i): Simplify; refuse immediate operand
hubicka [Thu, 28 Jun 2001 08:44:16 +0000 (08:44 +0000)]
* i386.md (cmp?i): Simplify; refuse immediate operand
in alternative 0
* i386.c (cmpsi_operand): Refuse constants.

* i386.md (movsi_insv_1, movsi_insv_1_rex64): Allow immediate operand.

* flow.c (block_label, redirect_edge_and_branch): Split out from ....
(split_edge) .... here;

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@43635 138bc75d-0d04-0410-961f-82ee72b054a4

22 years agoDaily bump.
gccadmin [Thu, 28 Jun 2001 07:16:17 +0000 (07:16 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@43630 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * i386/i386.c (ix86_valid_type_attribute_p): Give external
neil [Thu, 28 Jun 2001 06:27:27 +0000 (06:27 +0000)]
* i386/i386.c (ix86_valid_type_attribute_p): Give external
linkage, move declaration to...
* i386/i386-protos.h: ...here.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@43629 138bc75d-0d04-0410-961f-82ee72b054a4

22 years agoAdd CFLAGS_FOR_BUILD for canadian cross build.
hjl [Thu, 28 Jun 2001 04:38:51 +0000 (04:38 +0000)]
Add CFLAGS_FOR_BUILD for canadian cross build.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@43628 138bc75d-0d04-0410-961f-82ee72b054a4

22 years agoFix ia64-linux bootstrap failure.
wilson [Thu, 28 Jun 2001 03:52:28 +0000 (03:52 +0000)]
Fix ia64-linux bootstrap failure.
* emit-rtl.c (gen_highpart): Call validize_mem.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@43627 138bc75d-0d04-0410-961f-82ee72b054a4

22 years agoinline pow fix/PTHREAD_*_INITIALIZER for Solaris/UW7 Byteorder.h search problem
korbb [Thu, 28 Jun 2001 03:13:49 +0000 (03:13 +0000)]
inline pow fix/PTHREAD_*_INITIALIZER for Solaris/UW7 Byteorder.h search problem

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@43623 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * objc/objc-act.c (handle_impent): Rewrite to be more portable
shebs [Thu, 28 Jun 2001 01:34:25 +0000 (01:34 +0000)]
    * objc/objc-act.c (handle_impent): Rewrite to be more portable
        and to use ASM_DECLARE_CLASS_REFERENCE.
        * config/darwin.h (ASM_DECLARE_CLASS_REFERENCE): Rename from
        undocumented DECLARE_CLASS_REFERENCE, add file argument.
        * doc/tm.texi (ASM_DECLARE_CLASS_REFERENCE): Document.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@43622 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * simplify-rtx.c (simplify_rtx): Canonicalize commutative expressions
law [Thu, 28 Jun 2001 00:14:23 +0000 (00:14 +0000)]
    * simplify-rtx.c (simplify_rtx): Canonicalize commutative expressions
        by putting complex operands first and constants second.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@43621 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * gnu/gcj/convert/IOConverter.java: Manually maintained alias now
tromey [Wed, 27 Jun 2001 21:56:08 +0000 (21:56 +0000)]
* gnu/gcj/convert/IOConverter.java: Manually maintained alias now
lowercase.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@43620 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago2001-06-27 Alexandre Petit-Bianco <apbianco@redhat.com>
apbianco [Wed, 27 Jun 2001 20:38:20 +0000 (20:38 +0000)]
2001-06-27  Alexandre Petit-Bianco  <apbianco@redhat.com>

* class.c (set_super_info): Call `set_class_decl_access_flags.'
(set_class_decl_access_flags): New function.
* java-tree.h (set_class_decl_access_flags): New prototype.
* jcf-parse.c (handle_innerclass_attribute): Read and set access flags.
(parse_class_file): New local `decl_max_locals.' Take wide types
into account to compute DECL_MAX_LOCALS.
* parse.y (type_import_on_demand_declaration:): Ignore duplicate
imports on demand.

(http://gcc.gnu.org/ml/gcc-patches/2001-06/msg01718.html )

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@43618 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * tm.texi: Remove merge conflicts.
neil [Wed, 27 Jun 2001 19:33:17 +0000 (19:33 +0000)]
* tm.texi: Remove merge conflicts.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@43617 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago2001-06-27 Gabriel Dos Reis <gdr@codesourcery.com>
gdr [Wed, 27 Jun 2001 18:03:03 +0000 (18:03 +0000)]
2001-06-27  Gabriel Dos Reis  <gdr@codesourcery.com>

* diagnostic.h: Add documentation. Make macros polymorphic.
* diagnostic.c (ideal_line_wrap_cutoff): Remove
definition. Replace with diagnostic_line_cutoff.
(prefixing_policy): Remove. Replace with diagnostic_prefixing_rule.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@43616 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * system.h (TARGET_ESC): Move to ...
neil [Wed, 27 Jun 2001 17:40:01 +0000 (17:40 +0000)]
* system.h (TARGET_ESC): Move to ...
* defaults.h (TARGET_ESC): ... here.
* target-def.h (TARGET_VALID_DECL_ATTRIBUTE,
TARGET_VALID_TYPE_ATTRIBUTE): Default to a no-op handler.
* tree.c (default_valid_attribute_p): New.
(valid_machine_attribute): Handlers can not be NULL.
* tree.h (default_valid_attribute_p): New.
* doc/tm.texi: Document TARGET_ESC.
* cp/decl2.c (import_export_class): Update.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@43615 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago2001-06-27 Phil Edwards <pme@sources.redhat.com>
pme [Wed, 27 Jun 2001 17:09:53 +0000 (17:09 +0000)]
2001-06-27  Phil Edwards  <pme@sources.redhat.com>

* include/backward/algo.h:  Add "GPL plus runtime exception" comment
block, this time for real.
* include/backward/algobase.h:  Likewise.
* include/backward/alloc.h:  Likewise.
* include/backward/bvector.h:  Likewise.
* include/backward/defalloc.h:  Likewise.
* include/backward/deque.h:  Likewise.
* include/backward/function.h:  Likewise.
* include/backward/hash_map.h:  Likewise.
* include/backward/hash_set.h:  Likewise.
* include/backward/hashtable.h:  Likewise.
* include/backward/heap.h:  Likewise.
* include/backward/iterator.h:  Likewise.
* include/backward/list.h:  Likewise.
* include/backward/map.h:  Likewise.
* include/backward/multimap.h:  Likewise.
* include/backward/multiset.h:  Likewise.
* include/backward/pair.h:  Likewise.
* include/backward/rope.h:  Likewise.
* include/backward/set.h:  Likewise.
* include/backward/slist.h:  Likewise.
* include/backward/stack.h:  Likewise.
* include/backward/strstream:  Likewise.
* include/backward/tempbuf.h:  Likewise.
* include/backward/tree.h:  Likewise.
* include/backward/vector.h:  Likewise.
* include/bits/pthread_allocimpl.h:  Likewise.
* include/bits/std_algorithm.h:  Likewise.
* include/bits/std_bitset.h:  Likewise.
* include/bits/std_deque.h:  Likewise.
* include/bits/std_functional.h:  Likewise.
* include/bits/std_iterator.h:  Likewise.
* include/bits/std_list.h:  Likewise.
* include/bits/std_map.h:  Likewise.
* include/bits/std_memory.h:  Likewise.
* include/bits/std_numeric.h:  Likewise.
* include/bits/std_queue.h:  Likewise.
* include/bits/std_set.h:  Likewise.
* include/bits/std_stack.h:  Likewise.
* include/bits/std_utility.h:  Likewise.
* include/bits/std_vector.h:  Likewise.
* include/bits/stl_algo.h:  Likewise.
* include/bits/stl_algobase.h:  Likewise.
* include/bits/stl_alloc.h:  Likewise.
* include/bits/stl_bvector.h:  Likewise.
* include/bits/stl_construct.h:  Likewise.
* include/bits/stl_deque.h:  Likewise.
* include/bits/stl_function.h:  Likewise.
* include/bits/stl_heap.h:  Likewise.
* include/bits/stl_iterator.h:  Likewise.
* include/bits/stl_iterator_base_funcs.h:  Likewise.
* include/bits/stl_iterator_base_types.h:  Likewise.
* include/bits/stl_list.h:  Likewise.
* include/bits/stl_map.h:  Likewise.
* include/bits/stl_multimap.h:  Likewise.
* include/bits/stl_multiset.h:  Likewise.
* include/bits/stl_numeric.h:  Likewise.
* include/bits/stl_pair.h:  Likewise.
* include/bits/stl_pthread_alloc.h:  Likewise.
* include/bits/stl_queue.h:  Likewise.
* include/bits/stl_raw_storage_iter.h:  Likewise.
* include/bits/stl_relops.h:  Likewise.
* include/bits/stl_set.h:  Likewise.
* include/bits/stl_stack.h:  Likewise.
* include/bits/stl_tempbuf.h:  Likewise.
* include/bits/stl_threads.h:  Likewise.
* include/bits/stl_tree.h:  Likewise.
* include/bits/stl_uninitialized.h:  Likewise.
* include/bits/stl_vector.h:  Likewise.
* include/bits/type_traits.h:  Likewise.
* include/ext/hash_map:  Likewise.
* include/ext/hash_set:  Likewise.
* include/ext/rope:  Likewise.
* include/ext/ropeimpl.h:  Likewise.
* include/ext/slist:  Likewise.
* include/ext/stl_hash_fun.h:  Likewise.
* include/ext/stl_hashtable.h:  Likewise.
* include/ext/stl_rope.h:  Likewise.
* src/bitset.cc:  Likewise.
* src/strstream.cc:  Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@43613 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * doc/c-tree.texi, doc/contrib.texi, doc/cpp.texi,
jsm28 [Wed, 27 Jun 2001 15:04:16 +0000 (15:04 +0000)]
* doc/c-tree.texi, doc/contrib.texi, doc/cpp.texi,
doc/cppinternals.texi, doc/extend.texi, doc/gcc.texi,
doc/gcov.texi, doc/install-old.texi, doc/install.texi,
doc/invoke.texi, doc/md.texi, doc/rtl.texi, doc/tm.texi: Replace
. at end of sentences preceded by a capital letter with @..

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@43611 138bc75d-0d04-0410-961f-82ee72b054a4