gcc.git
22 years agotree.c (lvalue_p_1): Add argument for whether casts of lvalues are allowable.
Matt Austern [Sun, 25 Aug 2002 04:57:16 +0000 (04:57 +0000)]
tree.c (lvalue_p_1): Add argument for whether casts of lvalues are allowable.

2002-08-24  Matt Austern  <austern@apple.com>

        * tree.c (lvalue_p_1): Add argument for whether casts of lvalues
        are allowable.
        (real_lvalue_p): Update caller.
        (lvalue_p): Ditto.
        (non_cast_lvalue_or_else): New.
        * tree.h: Declare it.
        * typeck.c (build_unary_op): Use non_cast_lvalue_or_else.

2002-08-24  Matt Austern  <austern@apple.com>

        * g++.dg/ext/lvaddr.C: New test.
        * g++.dg/ext/lvcast.C: New test.

From-SVN: r56560

22 years agoDavid Billinghurst (David.Billinghurst@riotinto.com>
Andre Leis [Sun, 25 Aug 2002 00:59:31 +0000 (00:59 +0000)]
David Billinghurst (David.Billinghurst@riotinto.com>

2002-08-25  Andre Leis <a.leis@gmx.net>
            David Billinghurst (David.Billinghurst@riotinto.com>

        * sysdep.c (__gnat_ttyname): include <termios.h> on cygwin

Co-Authored-By: David Billinghurst <David.Billinghurst@riotinto.com>
From-SVN: r56558

22 years agoMakefile.am (libgcj_la_SOURCES): Remove name-finder.cc.
Mark Wielaard [Sat, 24 Aug 2002 22:46:19 +0000 (22:46 +0000)]
Makefile.am (libgcj_la_SOURCES): Remove name-finder.cc.

        * Makefile.am (libgcj_la_SOURCES): Remove name-finder.cc.
        (core_java_source_files): Add VMThrowable.java and NameFinder.java
        (nat_source_files): Remove natThrowable.cc, add natVMThrowable.cc
        and natNameFinder.cc.
        * Makefile.in: Regenerate.
        * prims.cc: Use trace_enabled from VMThrowable.
        * name-finder.cc: Removed.
        * gcj/javaprims.h: Add class VMThrowable.
        * gnu/gcj/runtime/NameFinder.java: New file.
        * gnu/gcj/runtime/natNameFinder.cc: Likewise.
        * include/name-finder.h: Removed.
        * java/lang/Throwable.java (printStackTrace (PrintStream)): Use new
        method stackTraceString().
        (printStackTrace (PrintWriter)): Likewise.
        (stackTraceString): Complete rewrite of old printStackTrace using
        StringBuffer.
        (stackTraceStringBuffer): New helper method for stackTraceString().
        (fillInStackTrace): Delegate to VMTrowable.
        (getStackTrace): Likewise.
        (getStackTrace0): Removed.
        (trace_enabled, stackTraceBytes): Moved to new VMThrowable.java.
        (setStackTrace): Copy given array.
        * java/lang/natThrowable.cc: Removed (replaced by natVMThrowable).
        * java/lang/VMThrowable.java: New class.
        * java/lang/natVMThrowable.cc: New file.

From-SVN: r56556

22 years ago* MAINTAINERS: Change my mailing address.
Geoffrey Keating [Sat, 24 Aug 2002 22:30:51 +0000 (22:30 +0000)]
* MAINTAINERS: Change my mailing address.

From-SVN: r56555

22 years agoDaily bump.
GCC Administrator [Sat, 24 Aug 2002 07:17:09 +0000 (07:17 +0000)]
Daily bump.

From-SVN: r56554

22 years agoggc-page.c (compute_inverse): Short circuit calculation for object sizes larger than...
Zack Weinberg [Sat, 24 Aug 2002 03:20:33 +0000 (03:20 +0000)]
ggc-page.c (compute_inverse): Short circuit calculation for object sizes larger than half a page.

* ggc-page.c (compute_inverse): Short circuit calculation for
object sizes larger than half a page.

From-SVN: r56548

22 years agoMakefile.am (check-abi): Specify current directory.
Phil Edwards [Fri, 23 Aug 2002 19:33:41 +0000 (19:33 +0000)]
Makefile.am (check-abi): Specify current directory.

2002-08-23  Phil Edwards  <pme@gcc.gnu.org>

* Makefile.am (check-abi):  Specify current directory.
* acinclude.m4 (GLIBCPP_CONFIGURE_TESTSUITE):  Fix shell syntax, use
abi_baseline_triplet in baseline_file.
* Makefile.in, aclocal.m4, configure:  Regenerate.
* configure.target:  Add abi_baseline_triplet with default.
* testsuite/abi_check.cc:  More error checking.

From-SVN: r56545

22 years agors6000.c (rs6000_elf_select_section): Treat DEFAULT_ABI == ABI_AIX like PIC.
David Edelsohn [Fri, 23 Aug 2002 18:02:22 +0000 (18:02 +0000)]
rs6000.c (rs6000_elf_select_section): Treat DEFAULT_ABI == ABI_AIX like PIC.

        * config/rs6000/rs6000.c (rs6000_elf_select_section): Treat
        DEFAULT_ABI == ABI_AIX like PIC.  Test PIC & reloc for readonly
        default.
        (rs6000_elf_unique_section): Likewise.

From-SVN: r56544

22 years agons32k.c (ns32k_globalize_label): Delete.
Kaveh R. Ghazi [Fri, 23 Aug 2002 17:35:23 +0000 (17:35 +0000)]
ns32k.c (ns32k_globalize_label): Delete.

* ns32k.c (ns32k_globalize_label): Delete.
* ns32k.h (ASM_OUTPUT_LABEL, TARGET_ASM_GLOBALIZE_LABEL): Delete.

From-SVN: r56543

22 years agolinker-map.gnu: Verbose comments, clean up spacing.
Phil Edwards [Fri, 23 Aug 2002 16:52:29 +0000 (16:52 +0000)]
linker-map.gnu: Verbose comments, clean up spacing.

2002-08-23  Phil Edwards  <pme@gcc.gnu.org>

* config/linker-map.gnu:  Verbose comments, clean up spacing.
* include/bits/stl_alloc.h:  Fix indentation of 'if' bodies, return
statements.
__allocator:  Change class declaration to struct.
* docs/html/17_intro/C++STYLE:  Fix typo.
* include/bits/stl_deque.h, include/bits/stl_list.h,
include/bits/stl_map.h, include/bits/stl_multimap.h,
include/bits/stl_vector.h:  Fix fallout from typo.

From-SVN: r56540

22 years agoDaily bump.
GCC Administrator [Fri, 23 Aug 2002 07:17:10 +0000 (07:17 +0000)]
Daily bump.

From-SVN: r56538

22 years agoURLConnection.java, [...]: Added implementation of getHeaderFields().
Michael Koch [Fri, 23 Aug 2002 04:54:03 +0000 (04:54 +0000)]
URLConnection.java, [...]: Added implementation of getHeaderFields().

2003-08-23  Michael Koch  <konqueror@gmx.de>

       * java/net/URLConnection.java,
       java/netJarURLConnection.java,
       gnu/gcj/protocol/core/Connection.java,
       gnu/gcj/protocol/file/Connection.java,
       gnu/gcj/protocol/http/Connection.java: Added implementation of
       getHeaderFields().

From-SVN: r56532

22 years agoacinclude.m4 (GLIBCPP_CONFIGURE_TESTSUITE): Set GLIBCPP_BUILD_ABI_CHECK based on...
Benjamin Kosnik [Fri, 23 Aug 2002 03:39:51 +0000 (03:39 +0000)]
acinclude.m4 (GLIBCPP_CONFIGURE_TESTSUITE): Set GLIBCPP_BUILD_ABI_CHECK based on cross compiling, build, host variables.

2002-08-22  Benjamin Kosnik  <bkoz@redhat.com>

* acinclude.m4 (GLIBCPP_CONFIGURE_TESTSUITE): Set
GLIBCPP_BUILD_ABI_CHECK based on cross compiling, build, host
variables.
* aclocal.m4: Regenerate.
* testsuite/Makefile.am (noinst_PROGRAMS): Make conditional on
native compiling.
* testsuite/Makefile.in: Regenerate.

From-SVN: r56531

22 years ago* testsuite/abi_check.cc: Support older binutils/readelf.
Loren J. Rittle [Fri, 23 Aug 2002 02:57:11 +0000 (02:57 +0000)]
* testsuite/abi_check.cc: Support older binutils/readelf.

From-SVN: r56530

22 years agoabi_check.cc: Enhance shell portability.
Loren J. Rittle [Fri, 23 Aug 2002 01:50:15 +0000 (01:50 +0000)]
abi_check.cc: Enhance shell portability.

* testsuite/abi_check.cc: Enhance shell portability.
* config/abi/i386-unknown-freebsd4.6: Add.
* config/abi/i386-unknown-freebsd4.6/baseline_symbols.txt: New file.

From-SVN: r56527

22 years agors6000.c (output_mi_thunk): Don't determine insns for loading delta with num_insns_co...
Alan Modra [Fri, 23 Aug 2002 01:18:06 +0000 (01:18 +0000)]
rs6000.c (output_mi_thunk): Don't determine insns for loading delta with num_insns_constant_wide.

* config/rs6000/rs6000.c (output_mi_thunk): Don't determine insns
for loading delta with num_insns_constant_wide.  Calculate
delta_low, delta_high without using a conditional.

From-SVN: r56525

22 years agotypeck.c (build_class_member_access_expr): Handle COMPOUND_EXPR and COND_EXPR special...
Mark Mitchell [Fri, 23 Aug 2002 00:28:29 +0000 (00:28 +0000)]
typeck.c (build_class_member_access_expr): Handle COMPOUND_EXPR and COND_EXPR specially; fix error message output.

* typeck.c (build_class_member_access_expr): Handle COMPOUND_EXPR
and COND_EXPR specially; fix error message output.

* testsuite/g++.dg/inherit/cond1.C: New test.

From-SVN: r56524

22 years agoc-common.h (RETURN_STMT_EXPR): Rename from RETURN_EXPR.
Jason Merrill [Thu, 22 Aug 2002 23:22:53 +0000 (19:22 -0400)]
c-common.h (RETURN_STMT_EXPR): Rename from RETURN_EXPR.

        * c-common.h (RETURN_STMT_EXPR): Rename from RETURN_EXPR.
        * c-common.def: Adjust.
        * c-dump.c (c_dump_tree): Adjust.
        * c-semantics.c (genrtl_return_stmt): Adjust.
        * c-pretty-print.c (pp_c_statement): Adjust.
        * tree-inline.c (copy_body_r): Adjust.

2002-08-22  Jason Merrill  <jason@redhat.com>

        * pt.c (tsubst_expr): RETURN_EXPR is now RETURN_STMT_EXPR.
        * semantics.c (nullify_returns_r): Likewise.

From-SVN: r56523

22 years agogij.cc (help): Document -cp and -classpath.
Tom Tromey [Thu, 22 Aug 2002 22:44:26 +0000 (22:44 +0000)]
gij.cc (help): Document -cp and -classpath.

* gij.cc (help): Document -cp and -classpath.
(main): Handle -classpath.

From-SVN: r56522

22 years ago* gcj.texi (Invoking gij): Document -cp and -classpath.
Tom Tromey [Thu, 22 Aug 2002 22:44:20 +0000 (22:44 +0000)]
* gcj.texi (Invoking gij): Document -cp and -classpath.

From-SVN: r56521

22 years agoindex.html: Add Loren James Rittle and Paolo Carlini to the list of v3 maintainers.
Paolo Carlini [Thu, 22 Aug 2002 20:30:13 +0000 (22:30 +0200)]
index.html: Add Loren James Rittle and Paolo Carlini to the list of v3 maintainers.

2002-08-22  Paolo Carlini  <pcarlini@unitus.it>

* docs/html/faq/index.html: Add Loren James Rittle and
Paolo Carlini to the list of v3 maintainers.
* docs/html/faq/index.txt: Ditto.
* docs/html/17_intro/RELEASE-NOTES: Ditto.

From-SVN: r56516

22 years agoMakefile.am (check-abi): New rule.
Benjamin Kosnik [Thu, 22 Aug 2002 20:06:01 +0000 (20:06 +0000)]
Makefile.am (check-abi): New rule.

2002-08-22  Benjamin Kosnik  <bkoz@redhat.com>
    Phil Edwards  <pme@gcc.gnu.org>
    Ulrich Drepper  <drepper@redhat.com>

* Makefile.am (check-abi): New rule.
* Makefile.in: Regenerate.
* acinclude.m4 (GLIBCPP_CONFIGURE_TESTSUITE): Export baseline_file.
* aclocal.m4: Regenerate.
* configure: Regenerate.
* testsuite/Makefile.am (noinst_PROGRAMS): Add abi_check.
(abi_check_SOURCES): Add.
* testsuite/Makefile.in: Regenerate.
* testsuite/abi_check.cc: New file.
* config/abi: Add.
* config/abi/i686-pc-linux-gnu: Add.
* config/abi/i686-pc-linux-gnu/baseline_symbols.txt: New file.

Co-Authored-By: Phil Edwards <pme@gcc.gnu.org>
Co-Authored-By: Ulrich Drepper <drepper@redhat.com>
From-SVN: r56515

22 years ago* gcc.dg/noncompile/incomplete-1.c: New test.
Geoffrey Keating [Thu, 22 Aug 2002 20:05:52 +0000 (20:05 +0000)]
* gcc.dg/noncompile/incomplete-1.c: New test.

From-SVN: r56514

22 years agoggc-page.c: Avoid division in ggc_set_mark.
Zack Weinberg [Thu, 22 Aug 2002 19:17:04 +0000 (19:17 +0000)]
ggc-page.c: Avoid division in ggc_set_mark.

* ggc-page.c: Avoid division in ggc_set_mark.
(DIV_MULT, DIV_SHIFT, OFFSET_TO_BIT, inverse_table,
compute_inverse): New.
(ggc_set_mark, ggc_marked_p): Use OFFSET_TO_BIT.
(init_ggc): Initialize inverse_table.

From-SVN: r56512

22 years ago* doc/install.texi (Configuration): Document --datadir.
Tom Tromey [Thu, 22 Aug 2002 17:46:35 +0000 (17:46 +0000)]
* doc/install.texi (Configuration): Document --datadir.

From-SVN: r56511

22 years agoDaily bump.
GCC Administrator [Thu, 22 Aug 2002 07:17:37 +0000 (07:17 +0000)]
Daily bump.

From-SVN: r56509

22 years ago* Makefile.in ($(BUILD_PREFIX_1)varray.o): Depend on $(GGC_H).
Alexandre Oliva [Thu, 22 Aug 2002 04:29:34 +0000 (04:29 +0000)]
* Makefile.in ($(BUILD_PREFIX_1)varray.o): Depend on $(GGC_H).

From-SVN: r56503

22 years agowhere.h (struct _ffewhere_file_): Mark GTY.
Hans-Peter Nilsson [Thu, 22 Aug 2002 02:20:43 +0000 (02:20 +0000)]
where.h (struct _ffewhere_file_): Mark GTY.

* where.h (struct _ffewhere_file_): Mark GTY.
(ffewhere_file_kill): Remove prototype.
* where.c: Include ggc.h.
(struct _ffewhere_ll_, struct _ffewhere_root_ll_): Mark GTY.
(ffewhere_root_ll_): Ditto.  Change type from struct
_ffewhere_root_ll_ to struct _ffewhere_root_ll_*.  All uses
changed.
(ffewhere_file_kill): Remove.
(ffewhere_file_new): Use GC to allocate ffewhereFile objects.
(ffewhere_file_set): Use GC to allocate ffewhereLL_ objects.
(ffewhere_init_1): Use GC to allocate ffewhere_root_ll_ sentinel.
Include gt-f-where.h.
* lex.c (ffelex_current_wf_, ffelex_include_wherefile_): Mark GTY.
Include gt-f-lex.h.
* std.c (ffestd_S3P4): Don't call ffewhere_file_kill.
* config-lang.in (gtfiles): Add f/where.h f/where.c and f/lex.c.
* Make-lang.in (gt-f-lex.h gt-f-where.h): Add to dependents of
s-gtype.
(f/lex.o): Depend on gt-f-lex.h.
(f/where.o): Depend on gt-f-where.h.

From-SVN: r56502

22 years ago* gengtype-lex.l (ID): Allow underscore as first character.
Hans-Peter Nilsson [Thu, 22 Aug 2002 02:17:08 +0000 (02:17 +0000)]
* gengtype-lex.l (ID): Allow underscore as first character.

From-SVN: r56501

22 years agors6000.c (rs6000_xcoff_asm_globalize_label): New function.
David Edelsohn [Thu, 22 Aug 2002 01:53:30 +0000 (01:53 +0000)]
rs6000.c (rs6000_xcoff_asm_globalize_label): New function.

        * config/rs6000/rs6000.c (rs6000_xcoff_asm_globalize_label): New
        function.
        (rs6000_xcoff_asm_named_section): Rename.
        * config/rs6000/xcoff.h (TARGET_ASM_GLOBALIZE_LABEL): Define.

From-SVN: r56500

22 years agore PR libgcj/7633 ($(prefix)/share used rather than $(datadir))
Tom Tromey [Thu, 22 Aug 2002 00:52:20 +0000 (00:52 +0000)]
re PR libgcj/7633 ($(prefix)/share used rather than $(datadir))

* Make-lang.in (java/jcf-path.o): Use $(datadir), not
$(prefix)/share.  For PR libgcj/7633.

From-SVN: r56499

22 years agoFor PR java/6005 and PR java/7611:
Tom Tromey [Thu, 22 Aug 2002 00:42:40 +0000 (00:42 +0000)]
For PR java/6005 and PR java/7611:

* fold-const.c (fold_truthop): Use can_use_bit_fields_p.
(fold): Likewise.
* langhooks.c (lhd_can_use_bit_fields_p): New function.
* langhooks-def.h (lhd_can_use_bit_fields_p): Declare.
(LANG_HOOKS_CAN_USE_BIT_FIELDS_P): New define.
(LANG_HOOKS_INITIALIZER): Use it.
* langhooks.h (struct lang_hooks) [can_use_bit_fields_p]: New
field.

From-SVN: r56498

22 years agoFor PR java/6005 and PR java/7611:
Tom Tromey [Thu, 22 Aug 2002 00:41:28 +0000 (00:41 +0000)]
For PR java/6005 and PR java/7611:

* lang.c (LANG_HOOKS_CAN_USE_BITFIELDS_P): New define.
(java_can_use_bit_fields_p): New function.

From-SVN: r56497

22 years agotree.c (finish_vector_type): Fix a typo in a comment.
Stan Shebs [Wed, 21 Aug 2002 23:24:14 +0000 (23:24 +0000)]
tree.c (finish_vector_type): Fix a typo in a comment.

        * tree.c (finish_vector_type): Fix a typo in a comment.
        * Makefile.in: Fix "the the" stutters in comments.
        * genautomata.c: Ditto.
        * ifcvt.c: Ditto.
        * regrename.c: Ditto.
        * config/alpha/alpha.c: Ditto.
        * config/alpha/vms-crt0-64.c: Ditto.
        * config/alpha/vms-crt0.c: Ditto.
        * config/alpha/vms-psxcrt0-64.c: Ditto.
        * config/alpha/vms-psxcrt0.c: Ditto.
        * config/d30v/d30v.h: Ditto.
        * config/fr30/fr30.h: Ditto.
        * config/rs6000/rs6000.c: Ditto.
        * config/stormy16/stormy16.h: Ditto.
        * doc/md.texi: Ditto.

From-SVN: r56496

22 years agoMakefile.in: Rebuilt.
Tom Tromey [Wed, 21 Aug 2002 18:54:07 +0000 (18:54 +0000)]
Makefile.in: Rebuilt.

* Makefile.in: Rebuilt.
* Makefile.am (ordinary_java_source_files): Added
SocketAddress.java, InetSocketAddress.java.
* java/net/PortUnreachableException.java: Merged with Classpath.
* java/net/SocketTimeoutException.java: Likewise.
* java/net/URISyntaxException.java: Likewise.
* java/net/SocketAddress.java: New class from Classpath.
* java/net/InetSocketAddress.java: Likewise.

From-SVN: r56494

22 years ago* cppinit.c (remove_dup_nonsys_dirs): Fix warning and return value.
John David Anglin [Wed, 21 Aug 2002 17:07:26 +0000 (17:07 +0000)]
* cppinit.c (remove_dup_nonsys_dirs): Fix warning and return value.

From-SVN: r56493

22 years agore PR c/4319 (short accepted on typedef'd char)
Joseph Myers [Wed, 21 Aug 2002 16:31:36 +0000 (17:31 +0100)]
re PR c/4319 (short accepted on typedef'd char)

* c-decl.c (grokdeclarator): Make invalid combinations with long,
short, signed or unsigned into hard errors.  Fixes PR c/4319.
Also make duplicate modifiers such as "short short" into hard
errors.

testsuite:
* gcc.dg/typespec-1.c: New test.

From-SVN: r56492

22 years agoMAINTAINERS (Write After Approval): Remove myself.
Paolo Carlini [Wed, 21 Aug 2002 15:29:04 +0000 (17:29 +0200)]
MAINTAINERS (Write After Approval): Remove myself.

2002-08-21  Paolo Carlini  <pcarlini@unitus.it>

* MAINTAINERS (Write After Approval): Remove myself.
(Various Maintainers: c++ runtime libs): Add myself.

From-SVN: r56490

22 years agotm.texi (TARGET_ASM_GLOBALIZE_LABEL): Move '@end deftypefn' to the actual end.
Andrew Pinski [Wed, 21 Aug 2002 14:33:54 +0000 (14:33 +0000)]
tm.texi (TARGET_ASM_GLOBALIZE_LABEL): Move '@end deftypefn' to the actual end.

* doc/tm.texi (TARGET_ASM_GLOBALIZE_LABEL): Move '@end deftypefn'
to the actual end.  Add '@end table' and '@table @code'.

Co-Authored-By: Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
From-SVN: r56488

22 years agoDaily bump.
GCC Administrator [Wed, 21 Aug 2002 07:17:17 +0000 (07:17 +0000)]
Daily bump.

From-SVN: r56487

22 years agoAuthenticator.java: updated JDK 1.4
Michael Koch [Wed, 21 Aug 2002 05:34:45 +0000 (05:34 +0000)]
Authenticator.java: updated JDK 1.4

2003-08-21  Michael Koch  <konqueror@gmx.de>

* java/net/Authenticator.java: updated JDK 1.4
* java/net/ContentHandler.java: updated JDK 1.4

From-SVN: r56481

22 years ago* doc/tm.texi (Label Output): Add missing '@end deftypefn'.
Geoffrey Keating [Wed, 21 Aug 2002 04:42:30 +0000 (04:42 +0000)]
* doc/tm.texi (Label Output): Add missing '@end deftypefn'.

From-SVN: r56480

22 years agounroll.c (biv_total_increment): Don't try to compute the total increment for FP BIVs.
Geoffrey Keating [Wed, 21 Aug 2002 04:33:48 +0000 (04:33 +0000)]
unroll.c (biv_total_increment): Don't try to compute the total increment for FP BIVs.

* unroll.c (biv_total_increment): Don't try to compute the total
increment for FP BIVs.

From-SVN: r56479

22 years agoalpha.c (TARGET_ASM_GLOBALIZE_LABEL): Define for unicosmk.
Kaveh R. Ghazi [Wed, 21 Aug 2002 02:41:51 +0000 (02:41 +0000)]
alpha.c (TARGET_ASM_GLOBALIZE_LABEL): Define for unicosmk.

* alpha.c (TARGET_ASM_GLOBALIZE_LABEL): Define for unicosmk.
* alpha/elf.h (ASM_OUTPUT_EXTERNAL_LIBCALL,
ASM_OUTPUT_ALIGNED_BSS): Use target hook.
* alpha/osf.h (ASM_OUTPUT_WEAK_ALIAS): Likewise.
* alpha/unicosmk.h (ASM_GLOBALIZE_LABEL): Delete.
* arm/aof.h (ASM_GLOBALIZE_LABEL): Likewise.
(GLOBAL_ASM_OP): Define.
* arm.c (aof_globalize_label): New function.
(TARGET_ASM_GLOBALIZE_LABEL): Define for AOF.
* arm/unknown-elf.h (ASM_OUTPUT_ALIGNED_BSS): Use target hook.
* c4x.c (c4x_globalize_label): New function.
(TARGET_ASM_GLOBALIZE_LABEL): Define for c4x.
* c4x.h (ASM_GLOBALIZE_LABEL): Delete.
(GLOBAL_ASM_OP): Define.
* cris/aout.h (ASM_OUTPUT_EXTERNAL_LIBCALL): Use target hook.
* darwin-protos.h (darwin_globalize_label): Declare.
* darwin.c (darwin_globalize_label): New function.
* darwin.h (ASM_DECLARE_CLASS_REFERENCE): Use target hook.
(ASM_GLOBALIZE_LABEL): Delete.
(GLOBAL_ASM_OP, TARGET_ASM_GLOBALIZE_LABEL): Define.
* dsp16xx.c (asm_output_common): Use target hook.
* elfos.h (ASM_OUTPUT_EXTERNAL_LIBCALL): Likewise.
* frv.h (ASM_GLOBALIZE_LABEL): Delete.
(GLOBAL_ASM_OP): Define.
* i370.c (i370_globalize_label): New function.
(TARGET_ASM_GLOBALIZE_LABEL): Define for i370.
* i370.h (ASM_GLOBALIZE_LABEL): Delete.
* i386.c (ix86_asm_file_end): Use target hook.
* i386/sco5.h (ASM_GLOBALIZE_LABEL): Don't undef.
(ASM_OUTPUT_EXTERNAL_LIBCALL): Use target hook.
* ia64.c (ia64_asm_output_external): Likewise.
* ia64/sysv4.h: Update comment.
* m32r.h (ASM_OUTPUT_ALIGNED_BSS): Use target hook.
* mips/elf.h (ASM_OUTPUT_ALIGNED_BSS): Likewise.
* mips/iris5.h (ASM_OUTPUT_WEAK_ALIAS): Use target hook.
* mips/linux.h (ASM_OUTPUT_ALIGNED_BSS): Likewise.
* mips.h (ASM_OUTPUT_ALIGNED_DECL_COMMON): Use target hook.
* mmix-protos.h (mmix_asm_globalize_label): Delete.
* mmix.c (mmix_asm_globalize_label): Likewise.
* mmix.h (ASM_GLOBALIZE_LABEL): Likewise.
(GLOBAL_ASM_OP): Define.
* ns32k.c (ns32k_globalize_label): New function.
* ns32k.h (TARGET_ASM_GLOBALIZE_LABEL): Define for ns32k.
(ASM_GLOBALIZE_LABEL): Delete.
* pa/pa-linux.h (ASM_GLOBALIZE_LABEL): Don't undef.
(TARGET_ASM_GLOBALIZE_LABEL): Undefine.
* pa.c (pa_globalize_label): New function.
* pa.h (ASM_GLOBALIZE_LABEL): Delete.
(TARGET_ASM_GLOBALIZE_LABEL): Define for pa.
* rs6000/darwin.h (ASM_GLOBALIZE_LABEL): Delete.
(GLOBAL_ASM_OP): Define.
(TARGET_ASM_GLOBALIZE_LABEL): Undef.
* rs6000/sysv4.h (ASM_OUTPUT_ALIGNED_BSS): Use target hook.
* rs6000/xcoff.h (ASM_GLOBALIZE_LABEL): Delete.
(GLOBAL_ASM_OP): Define.
* v850.c (v850_output_aligned_bss): Use target hook.
* vax.c (vms_globalize_label): New function.
(TARGET_ASM_GLOBALIZE_LABEL): Define for vms.
* vax/vms.h (ASM_GLOBALIZE_LABEL): Delete.
(GLOBAL_ASM_OP): Define.
* defaults.h (ASM_GLOBALIZE_LABEL): Delete.
* doc/tm.texi: Update docs.
* dwarf2out.c (default_eh_frame_section, output_die_symbol): Use
target hook.
* final.c (output_alternate_entry_point): Likewise.
* hooks.c (hook_FILEptr_constcharptr_void): New function.
* hooks.h (hook_FILEptr_constcharptr_void): Declare.
* output.h (assemble_global): Delete.
(default_globalize_label): Declare.
* system.h (ASM_GLOBALIZE_LABEL): Poison.
* target-def.h (TARGET_ASM_GLOBALIZE_LABEL): Define.
(TARGET_ASM_OUT): Add TARGET_ASM_GLOBALIZE_LABEL.
* target.h (gcc_target): Add globalize_label member.
* varasm.c (asm_output_bss, asm_output_aligned_bss,
globalize_decl): Use target hook.
(assemble_global): Delete.
(default_globalize_label): New function.

From-SVN: r56478

22 years ago* dsp16xx.h (dsp16xx_umulhi3_libcall): Delete.
Kaveh R. Ghazi [Wed, 21 Aug 2002 02:34:28 +0000 (02:34 +0000)]
* dsp16xx.h (dsp16xx_umulhi3_libcall): Delete.

From-SVN: r56477

22 years agotree.c (get_qualified_type): Add TYPE_CONTEXT check.
Devang Patel [Wed, 21 Aug 2002 01:01:14 +0000 (18:01 -0700)]
tree.c (get_qualified_type): Add TYPE_CONTEXT check.

2002-08-20  Devang Patel  <dpatel@apple.com>
        * tree.c (get_qualified_type): Add TYPE_CONTEXT check.

testsuite:
* objc.dg/proto-hier-2.m: New test.

From-SVN: r56475

22 years agoMAINTAINERS (Write After Approval): Remove myself.
Loren J. Rittle [Wed, 21 Aug 2002 01:00:21 +0000 (01:00 +0000)]
MAINTAINERS (Write After Approval): Remove myself.

* MAINTAINERS (Write After Approval): Remove myself.
(Various Maintainers: c++ runtime libs): Add myself.

From-SVN: r56474

22 years agoarc.c (output_shift): Use stdio instead of asm_fprintf.
Kaveh R. Ghazi [Tue, 20 Aug 2002 23:27:03 +0000 (23:27 +0000)]
arc.c (output_shift): Use stdio instead of asm_fprintf.

* arc.c (output_shift): Use stdio instead of asm_fprintf.
* arm.c (thumb_output_function_prologue): Likewise.
* avr.c (print_operand): Likewise.
* c4x.c (c4x_print_operand): Likewise.
* c4x.h (ASM_OUTPUT_INTERNAL_LABEL, TRAMPOLINE_TEMPLATE,
ASM_OUTPUT_REG_PUSH, ASM_OUTPUT_REG_POP): Likewise.
* cris.c (cris_target_asm_function_prologue,
cris_asm_output_mi_thunk): Likewise.
* h8300.c (print_operand): Likewise.
* h8300.h (ASM_OUTPUT_ADDR_VEC_ELT): Likewise.
* ip2k.c (print_operand): Likewise.  Fix format specifier.
* m68hc11.c (asm_print_register, print_operand,
print_operand_address): Use stdio instead of asm_fprintf.
(print_operand_address): Fix format specifier.
* m68hc11.h (FUNCTION_PROFILER, ASM_OUTPUT_ADDR_DIFF_ELT,
ASM_OUTPUT_ADDR_VEC_ELT, ASM_OUTPUT_ALIGN): Use stdio instead of
asm_fprintf.
* m68k/amix.h (ASM_OUTPUT_INTERNAL_LABEL): Likewise.
* m68k/atari.h (ASM_OUTPUT_INTERNAL_LABEL): Likewise.
* m68k.c (m68k_output_function_prologue,
m68k_output_function_epilogue, print_operand): Likewise.
* mmix.c (mmix_asm_output_mi_thunk, mmix_asm_weaken_label):
Likewise.  Fix format specifier.
* mn10200.h (ASM_OUTPUT_ADDR_VEC_ELT): Likewise.
* mn10300.h (ASM_OUTPUT_ADDR_VEC_ELT): Likewise.
* v850.h (ASM_OUTPUT_ADDR_VEC_ELT): Likewise.

From-SVN: r56472

22 years agoconfig.sub: Import from master repository.
Eric Christopher [Tue, 20 Aug 2002 21:53:28 +0000 (21:53 +0000)]
config.sub: Import from master repository.

2002-08-15  Eric Christopher  <echristo@redhat.com>

        * config.sub: Import from master repository.
        * config.guess: Ditto.
2002-08-15  Eric Christopher  <echristo@redhat.com>
    Jeff Knaggs  <jknaggs@redhat.com>

* config.gcc (mipsisa64sr71k-elf): New target.
* config/mips/sr71k.md: New file.
* config/mips/mips.md: Use it.
(rot*): Add sr71k specifics.
* config/mips/t-sr71k: New file.
* config/mips/mips.h (sr71k): New cpu.
(TARGET_SR71K): Use it.
(TUNE_SR71K): Ditto.
(GENERATE_BRANCHLIKELY): Ditto.
(ISA_HAS_MULHI, ISA_HAS_MULS, ISA_HAS_MSAC, ISA_HAS_MACC,
ISA_HAS_ROTR_SIISA_HAS_ROTR_DI): Ditto.
* config/mips/mips.c (sr71k): New cpu.
(mips_use_dfa_pipeline_interface): Use.

2002-08-15  Eric Christopher  <echristo@redhat.com>
            Richard Sandiford <rsandifo@redhat.com>
    Aldy Hernandez  <aldyh@redhat.com>
    Graham Stott    <grahams@redhat.com>
    Michael Meissner  <meissner@redhat.com>
    Gavin Romig-Koch  <gavin@redhat.com>
    Ken Raeburn  <raeburn@cygnus.com>
    Alexandre Oliva <aoliva@redhat.com>

* config.gcc (mips64vr-elf): New target.
* config/mips/5400.md: New file.
* config/mips/5500.md: Ditto.
* config/mips/mips.md: Use them.
(frsqrt): New.
* config/mips/mips.c (vr4111, vr4121, vr4320, vr5400, vr5500): New
cpus.
(mips_issue_rate): Use them.
(mips_use_dfa_pipeline_interface): New function. Use for 5400 and 5500.
(TARGET_SCHEDUSE_DFA_PIPELINE_INTERFACE): Define. Use above.
* config/mips/mips.h (vr4111, vr4121, vr4320, vr5400, vr5500): New
cpus.
(TARGET_MIPSx): Use them.
(TUNE_MIPSx): Ditto.
(GETNATE_MULT3_SI): Ditto.
(ISA_HAS_BRANCHLIKELY): Ditto.
(ISA_HAS_CONDMOVE): Ditto.
(ISA_HAS_NMADD_NMSUB): Ditto.
(ISA_HAS_MULHI): New. Ditto.
(ISA_HAS_MULS): Ditto.
(ISA_HAS_MSAC): Ditto.
(ISA_HAS_MACC): Ditto.
(ISA_HAS_ROTR_SI): Ditto.
(ISA_HAS_ROTR_DI): Ditto.
(RTX_COSTS): Use.

From-SVN: r56471

22 years ago* where.c (ffewhere_track): Remove impossible if-then clause.
Kaveh R. Ghazi [Tue, 20 Aug 2002 20:50:57 +0000 (20:50 +0000)]
* where.c (ffewhere_track): Remove impossible if-then clause.

From-SVN: r56469

22 years agocppinit.c (remove_dup_dir): Add head_ptr argument to handle removal at head.
John David Anglin [Tue, 20 Aug 2002 19:56:30 +0000 (19:56 +0000)]
cppinit.c (remove_dup_dir): Add head_ptr argument to handle removal at head.

* cppinit.c (remove_dup_dir): Add head_ptr argument to handle removal
at head.
(remove_dup_nonsys_dirs): New function.
(remove_dup_dirs): Change argument head to head_ptr.  Remove warnings.
(merge_include_chains): Remove non-system include directories from
quote and bracket include chains when they duplicate equivalent system
directories.
* doc/cpp.texi (-I): Update.
        * doc/cppopts.texi (-I): Update.
        * doc/install.texi (--with-local-prefix): Further document usage of
this option.
* doc/invoke.texi (-I): Update.

From-SVN: r56468

22 years agoexpr.c (TARGET_MEM_FUNCTIONS): Transform to boolean.
Richard Henderson [Tue, 20 Aug 2002 09:47:18 +0000 (02:47 -0700)]
expr.c (TARGET_MEM_FUNCTIONS): Transform to boolean.

        * expr.c (TARGET_MEM_FUNCTIONS): Transform to boolean.
        (emit_block_move): Split out subroutines.
        (emit_block_move_via_movstr): New.
        (emit_block_move_via_libcall): New.  Emit bcopy via normal call also.
        (emit_block_move_libcall_fn): New.  Construct function prototype for
        bcopy as well.
        (clear_storage): Split out subroutines.
        (clear_storage_via_clrstr): New.
        (clear_storage_via_libcall): New. Emit bzero as a normal call also.
        (clear_storage_libcall_fn): New.  Construct function prototype for
        bzero as well.
        (emit_push_insn): Use emit_block_move.
        (expand_assignment): Booleanize TARGET_MEM_FUNCTIONS.
        (store_constructor): Likewise.

From-SVN: r56464

22 years agoconfigure.in (libtool_VERSION): Update to 5:1:0.
Benjamin Kosnik [Tue, 20 Aug 2002 07:32:10 +0000 (07:32 +0000)]
configure.in (libtool_VERSION): Update to 5:1:0.

2002-08-19  Benjamin Kosnik  <bkoz@redhat.com>

* configure.in (libtool_VERSION): Update to 5:1:0.
* configure: Regenerate.

From-SVN: r56462

22 years agoDaily bump.
GCC Administrator [Tue, 20 Aug 2002 07:17:52 +0000 (07:17 +0000)]
Daily bump.

From-SVN: r56461

22 years agoobjc-act.c (building_objc_message_expr): Rename to current_objc_message_selector.
Ziemowit Laski [Tue, 20 Aug 2002 01:51:13 +0000 (01:51 +0000)]
objc-act.c (building_objc_message_expr): Rename to current_objc_message_selector.

 2002-08-19  Ziemowit Laski  <zlaski@apple.com>

       * objc/objc-act.c (building_objc_message_expr): Rename to
       current_objc_message_selector.

From-SVN: r56453

22 years agoURISyntaxException.java: New file.
Michael Koch [Tue, 20 Aug 2002 01:33:15 +0000 (01:33 +0000)]
URISyntaxException.java: New file.

2002-08-20  Michael Koch  <konqueror@gmx.de>

* java/net/URISyntaxException.java: New file.
* java/net/SocketTimeoutException.java: New file.
* java/net/PortUnreachableException.java: New file.
* Makefile.am: Updated.
* Makefile.in: Rebuilt.

From-SVN: r56452

22 years agoobjc-act.c (build_ivar_chain): Remove.
Ziemowit Laski [Tue, 20 Aug 2002 01:27:39 +0000 (01:27 +0000)]
objc-act.c (build_ivar_chain): Remove.

[gcc]
2002-08-19  Ziemowit Laski  <zlaski@apple.com>

        * objc/objc-act.c (build_ivar_chain): Remove.
        (objc_copy_list): Likewise.
        (get_class_ivars): Inline call to removed build_ivar_chain
        function.  Save off a clean copy of ivars in the CLASS_OWN_IVARS
        slot; use that slot (rather than CLASS_IVARS) when accessing
        ivars for base classes.  Call copy_list and chainon instead of
        objc_copy_list.
        (build_private_template): Call get_class_ivars instead of
        build_ivar_chain.
        (start_class): Allocate room for the CLASS_OWN_IVARS slot.
        (continue_class): Call get_class_ivars instead of
        build_ivar_chain.
        (encode_field_decl): Check for DECL_BIT_FIELD_TYPE instead
        of DECL_BIT_FIELD (which may have been cleared).
        * objc/objc-act.h (CLASS_OWN_IVARS): New accessor macro.

[gcc/testsuite]
2002-08-19  Ziemowit Laski  <zlaski@apple.com>

        * objc.dg/bitfield-1.m: New test.
        * objc.dg/bitfield-2.m: New test.

From-SVN: r56451

22 years agogenautomata.c (output_translate_vect, [...]): Mark variable with ATTRIBUTE_UNUSED...
Kaveh R. Ghazi [Tue, 20 Aug 2002 00:55:22 +0000 (00:55 +0000)]
genautomata.c (output_translate_vect, [...]): Mark variable with ATTRIBUTE_UNUSED in output file.

* genautomata.c (output_translate_vect, output_state_ainsn_table,
output_min_issue_delay_table): Mark variable with ATTRIBUTE_UNUSED
in output file.
(output_internal_min_issue_delay_func): Initialize variable in
output file.

From-SVN: r56450

22 years agoconfigopts.html, [...]: Conform to HTML 4.01 standard.
Jonathan Wakely [Tue, 20 Aug 2002 00:44:19 +0000 (00:44 +0000)]
configopts.html, [...]: Conform to HTML 4.01 standard.

2002-08-19  Jonathan Wakely  <jw@kayari.org>

* docs/html/configopts.html, docs/html/documentation.html,
docs/html/install.html, docs/html/22_locale/codecvt.html,
docs/html/22_locale/ctype.html, docs/html/22_locale/howto.html,
docs/html/22_locale/locale.html,
docs/html/22_locale/messages.html: Conform to HTML 4.01 standard.

From-SVN: r56449

22 years agoMakefile.in (GCC_FOR_TARGET): Prepend STAGE_CC_WRAPPER.
Alexandre Oliva [Mon, 19 Aug 2002 20:39:32 +0000 (20:39 +0000)]
Makefile.in (GCC_FOR_TARGET): Prepend STAGE_CC_WRAPPER.

* Makefile.in (GCC_FOR_TARGET): Prepend STAGE_CC_WRAPPER.
(stage2_build, stage3_build, stage4_build): Likewise, to CC.

From-SVN: r56447

22 years agoMakefile.in (GCC_FOR_TARGET): Prepend STAGE_CC_WRAPPER.
Alexandre Oliva [Mon, 19 Aug 2002 20:38:15 +0000 (20:38 +0000)]
Makefile.in (GCC_FOR_TARGET): Prepend STAGE_CC_WRAPPER.

* Makefile.in (GCC_FOR_TARGET): Prepend STAGE_CC_WRAPPER.
* configure.in (CC_FOR_TARGET, GCJ_FOR_TARGET, CXX_FOR_TARGET,
CXX_FOR_TARGET_FOR_RECURSIVE_MAKE): Likewise.

From-SVN: r56446

22 years agomachmode.h (SCALAR_INT_MODE_P): New macro to test for scaler integer mode (MODE_INT...
Geoffrey Keating [Mon, 19 Aug 2002 18:18:12 +0000 (18:18 +0000)]
machmode.h (SCALAR_INT_MODE_P): New macro to test for scaler integer mode (MODE_INT or MODE_PARTIAL_INT).

* machmode.h (SCALAR_INT_MODE_P): New macro to test for
scaler integer mode (MODE_INT or MODE_PARTIAL_INT).
* explow.c (trunc_int_for_mode): Abort when the mode is not
a scaler integer mode.
* combine.c (expand_compound_operation): Don't expand Vector
or Complex modes into shifts.
(expand_field_assignment): Don't do bitwise arithmatic and
shifts on Vector or Complex modes.
(simplify_comparison): Don't call trunc_int_for_mode
for VOIDmode.
* recog.c (general_operand): Likewise.
(immediate_operand): Likewise.
(nonmemory_operand): Likewise.

Co-Authored-By: Steve Ellcey <sje@cup.hp.com>
From-SVN: r56443

22 years ago- Fix typo in argument ordering.
David Edelsohn [Mon, 19 Aug 2002 16:59:04 +0000 (12:59 -0400)]
- Fix typo in argument ordering.

From-SVN: r56440

22 years agors6000.c (rs6000_emit_set_const): Inline multi-instruction SImode constant.
David Edelsohn [Mon, 19 Aug 2002 16:32:54 +0000 (16:32 +0000)]
rs6000.c (rs6000_emit_set_const): Inline multi-instruction SImode constant.

        * config/rs6000/rs6000.c (rs6000_emit_set_const): Inline
        multi-instruction SImode constant.  Add REG_EQUAL note.
        * config/rs6000/rs6000.md (movsi splitter): Use
        rs6000_emit_set_const.

From-SVN: r56439

22 years agotree-inline.c (initialize_inlined_parameters): Wrap variable in the macro test contro...
Kaveh R. Ghazi [Mon, 19 Aug 2002 15:26:35 +0000 (15:26 +0000)]
tree-inline.c (initialize_inlined_parameters): Wrap variable in the macro test controlling its use.

* tree-inline.c (initialize_inlined_parameters): Wrap variable in
the macro test controlling its use.

From-SVN: r56438

22 years agoadd loop and switch variants
Jason Merrill [Mon, 19 Aug 2002 10:48:15 +0000 (06:48 -0400)]
add loop and switch variants

From-SVN: r56437

22 years agoDaily bump.
GCC Administrator [Mon, 19 Aug 2002 07:17:42 +0000 (07:17 +0000)]
Daily bump.

From-SVN: r56436

22 years agoconfig.gcc (*-*-linux*): Set extra_parts="crtbegin.o crtbeginS.o crtbeginT.o crtend...
H.J. Lu [Sun, 18 Aug 2002 22:20:28 +0000 (22:20 +0000)]
config.gcc (*-*-linux*): Set extra_parts="crtbegin.o crtbeginS.o crtbeginT.o crtend.o crtendS.o"...

2002-08-18  H.J. Lu  (hjl@gnu.org)

* config.gcc (*-*-linux*): Set extra_parts="crtbegin.o
crtbeginS.o crtbeginT.o crtend.o crtendS.o", gas=yes and
gnu_ld=yes.
(alpha*-*-linux*, cris-*-linux*, i370-*-linux*,
i[34567]86-*-linux*, x86_64-*-linux*, mips*-*-linux*,
s390-*-linux*, s390x-*-linux*, sparc-*-linux*, sparc64-*-linux*,
xtensa-*-linux*): Remove setting extra_parts, gas, and gnu_ld
here.
(cris-*-linux*): Remove setting thread_file here.

From-SVN: r56428

22 years agoThanks to Vladimir Puskas <vpuskas@eunet.yu>
Mark Wielaard [Sun, 18 Aug 2002 18:30:09 +0000 (18:30 +0000)]
Thanks to Vladimir Puskas <vpuskas@eunet.yu>

Thanks to Vladimir Puskas <vpuskas@eunet.yu>
* gnu/java/security/provider/MD5.java: Extends MessageDigest, not
MessageDigestSpi (fixes Classpath bug #783).

From-SVN: r56425

22 years agoDaily bump.
GCC Administrator [Sun, 18 Aug 2002 07:17:22 +0000 (07:17 +0000)]
Daily bump.

From-SVN: r56423

22 years agore PR preprocessor/7602 (C++ header files found in CPLUS_INCLUDE_PATH treated as...
Neil Booth [Sun, 18 Aug 2002 06:26:11 +0000 (06:26 +0000)]
re PR preprocessor/7602 (C++ header files found in CPLUS_INCLUDE_PATH treated as C headers)

PR preprocessor/7602
* cppinit.c (path_include): Treat the system environment
variables as being cxx_aware.

From-SVN: r56416

22 years agotreelang fixes to accommodate chaqnges elsewhere.
Tim Josling [Sat, 17 Aug 2002 23:13:12 +0000 (23:13 +0000)]
treelang fixes to accommodate chaqnges elsewhere.

From-SVN: r56412

22 years agoc-decl.c (flexible_array_type_p): New function.
Joseph Myers [Sat, 17 Aug 2002 14:48:28 +0000 (15:48 +0100)]
c-decl.c (flexible_array_type_p): New function.

* c-decl.c (flexible_array_type_p): New function.
(grokdeclarator, finish_struct): Use it.
* doc/extend.texi: Document constraints on use of structures with
flexible array members.

testsuite:
* gcc.dg/c90-flex-array-1.c, gcc.dg/c99-flex-array-3.c,
gcc.dg/c99-flex-array-4.c: New tests.

From-SVN: r56411

22 years agot-coff, [...] (MULTILIB_MATCHES): Define.
Richard Sandiford [Sat, 17 Aug 2002 13:04:39 +0000 (13:04 +0000)]
t-coff, [...] (MULTILIB_MATCHES): Define.

* config/mips/t-coff, config/mips/t-elf, config/mips/t-isa3264,
config/mips/t-r3900 (MULTILIB_MATCHES): Define.
* config/mips/mips.h (ASM_SPEC): Use %(endian_spec).

From-SVN: r56410

22 years agoFix PR/7621
Gabriel Dos Reis [Sat, 17 Aug 2002 12:26:01 +0000 (12:26 +0000)]
Fix PR/7621

        Fix PR/7621
        * typeck.c (finish_class_member_access_expr): Diagnose cases where
        name lookup finds nothing.

From-SVN: r56409

22 years agoDaily bump.
GCC Administrator [Sat, 17 Aug 2002 07:17:10 +0000 (07:17 +0000)]
Daily bump.

From-SVN: r56408

22 years agosemantics.c (finish_then_clause): Remove redundant assignment.
Jason Merrill [Sat, 17 Aug 2002 01:17:24 +0000 (21:17 -0400)]
semantics.c (finish_then_clause): Remove redundant assignment.

        * semantics.c (finish_then_clause): Remove redundant assignment.
        (finish_if_stmt, begin_switch_stmt, finish_switch_stmt): Move the
        extra binding level outside the if/switch statement.
        (finish_while_cond, finish_for_cond): Rewrite complex condition
        into the loop body.

From-SVN: r56402

22 years agoc-common.c (cb_register_builds): Define __NEXT_RUNTIME__ for ObjC with -fnext-runtime.
Stan Shebs [Fri, 16 Aug 2002 23:31:06 +0000 (23:31 +0000)]
c-common.c (cb_register_builds): Define __NEXT_RUNTIME__ for ObjC with -fnext-runtime.

* c-common.c (cb_register_builds): Define __NEXT_RUNTIME__
for ObjC with -fnext-runtime.
* doc/cpp.texi: Document it.

* objc/execute/selector-1.m: Add __NEXT_RUNTIME__ case.

From-SVN: r56390

22 years agogcj.texi (Class Initialization): Mention class initialization of arrays.
Tom Tromey [Fri, 16 Aug 2002 21:49:33 +0000 (21:49 +0000)]
gcj.texi (Class Initialization): Mention class initialization of arrays.

* gcj.texi (Class Initialization): Mention class initialization of
arrays.

From-SVN: r56386

22 years agoinstall.texi (Final installation): Replace links to individual build status pages...
Janis Johnson [Fri, 16 Aug 2002 21:27:31 +0000 (21:27 +0000)]
install.texi (Final installation): Replace links to individual build status pages with a link to a common page...

2002-08-16  Janis Johnson  <janis187@us.ibm.com>

* doc/install.texi (Final installation): Replace links to individual
build status pages with a link to a common page that lists them all.

From-SVN: r56385

22 years agoinvoke.texi: Fix typo.
Sylvain Pion [Fri, 16 Aug 2002 21:18:14 +0000 (21:18 +0000)]
invoke.texi: Fix typo.

2002-08-16  Sylvain Pion <pion@cs.nyu.edu>

* doc/invoke.texi: Fix typo.

From-SVN: r56384

22 years agolibjava.exp (gcc_version): Removed.
H.J. Lu [Fri, 16 Aug 2002 18:19:00 +0000 (18:19 +0000)]
libjava.exp (gcc_version): Removed.

2002-08-16  H.J. Lu <hjl@gnu.org>

* lib/libjava.exp (gcc_version): Removed.
(libgcj_jar): New.
(libjava_init): Set libgcj_jar with tcl glob.
(libjava_arguments): Use libgcj_jar.

From-SVN: r56382

22 years ago* doc/install.texi (*-ibm-aix*): Explain AIX shared object versioning.
David Edelsohn [Fri, 16 Aug 2002 17:24:33 +0000 (13:24 -0400)]
* doc/install.texi (*-ibm-aix*): Explain AIX shared object versioning.

From-SVN: r56380

22 years agoMAINTAINERS: Add self to rs6000 vector extensions.
Aldy Hernandez [Fri, 16 Aug 2002 17:10:21 +0000 (17:10 +0000)]
MAINTAINERS: Add self to rs6000 vector extensions.

2002-08-16  Aldy Hernandez  <aldyh@redhat.com>

* MAINTAINERS: Add self to rs6000 vector extensions.

From-SVN: r56379

22 years agoMake-lang.in (java-tree-inline.o): New.
Andrew Haley [Fri, 16 Aug 2002 10:32:30 +0000 (10:32 +0000)]
Make-lang.in (java-tree-inline.o): New.

2002-07-30  Andrew Haley  <aph@cambridge.redhat.com>

        * Make-lang.in (java-tree-inline.o): New.
        (JAVA_OBJS): Add java-tree-inline.o.
        * parse.y (source_end_java_method): Call java_optimize_inline.
        (java_expand_method_bodies): Save method's tree in
        DECL_SAVED_TREE.
        (add_stmt_to_compound): Keep track of the number of statments.
        * lang.c (java_init): Enable flag_inline_trees.
        (java_post_options): If flag_inline_functions is on, enable
        flag_inline_trees instread.
        (decl_constant_value): New.
        (java_tree_inlining_walk_subtrees): New.
        * java-tree.h (DECL_NUM_STMTS): New macro.
        (java_optimize_inline): Declare.
        * expr.c (java_expand_expr): Allow a BLOCK to return a value.
        Handle a LABEL_EXPR.
        * decl.c (build_result_decl): If we already have a DECL_RESULT
        don't make another.
        (dump_function): New.
        (java_optimize_inline): New.
        (dump_function): New.

From-SVN: r56377

22 years agotree-inline.c: Add includes for Java inliner.
Andrew Haley [Fri, 16 Aug 2002 10:29:45 +0000 (10:29 +0000)]
tree-inline.c: Add includes for Java inliner.

2002-07-30  Andrew Haley  <aph@redhat.com>

        * tree-inline.c: Add includes for Java inliner.
        (remap_decl): Don't handle anonymous types for Java.
        (remap_block): Add handling for Java trees.
        (copy_scope_stmt): Conditionalize for non-Java use only.
        (copy_body_r): Handle Java trees.  Add handling for
        LABELED_BLOCK_EXPR, EXIT_BLOCK_EXPR, Java blocks.
        (initialize_inlined_parameters):  Handle Java trees.
        (declare_return_variable): Likewise.
        (expand_call_inline): Handle Java trees.
        (walk_tree): Likewise.
        (copy_tree_r): Don't handle SCOPE_STMTs for Java.
        (add_stmt_to_compound): New function.

From-SVN: r56376

22 years agoDaily bump.
GCC Administrator [Fri, 16 Aug 2002 07:17:08 +0000 (07:17 +0000)]
Daily bump.

From-SVN: r56375

22 years agore PR libstdc++/7445 (poor performance of std::locale::classic() in multi-threaded...
Benjamin Kosnik [Thu, 15 Aug 2002 22:25:39 +0000 (22:25 +0000)]
re PR libstdc++/7445 (poor performance of std::locale::classic() in multi-threaded applications)

2002-08-15  Benjamin Kosnik  <bkoz@redhat.com>

* include/ext/stdio_filebuf.h (stdio_filebuf): Explicitly set
_M_buf_size_opt to zero when unbuffering.
* include/bits/fstream.tcc (filebuf::showmanyc): Simplify.
Consistency checks for _M_buf_size_opt.

Revert PR libstdc++/7445
* src/locale.cc (locale::classic): Revert.

* docs/html/17_intro/TODO: Add.

From-SVN: r56365

22 years agoMakefile.in (LOOSE_WARN): Remove -fno-common.
Richard Henderson [Thu, 15 Aug 2002 21:45:47 +0000 (14:45 -0700)]
Makefile.in (LOOSE_WARN): Remove -fno-common.

        * Makefile.in (LOOSE_WARN): Remove -fno-common.
        (NOCOMMON_FLAG): New substitution point.
        (GCC_WARN_CFLAGS): Include it.
        * configure.in (ac_checking): Set nocommon_flag.
        (nocommon_flag): New substitution point.

From-SVN: r56362

22 years ago* libiberty/configure: Reverted unintended yesterday's check in.
Alexandre Oliva [Thu, 15 Aug 2002 21:24:00 +0000 (21:24 +0000)]
* libiberty/configure: Reverted unintended yesterday's check in.

From-SVN: r56361

22 years agotypeof-1.c: New test.
Jakub Jelinek [Thu, 15 Aug 2002 21:17:16 +0000 (23:17 +0200)]
typeof-1.c: New test.

* gcc.dg/typeof-1.c: New test.
* g++.dg/ext/typeof2.C: New test.

From-SVN: r56360

22 years agoparse.y (sizeof, [...]): New non-terminals to increment skip_evaluation.
Alexandre Oliva [Thu, 15 Aug 2002 21:16:52 +0000 (21:16 +0000)]
parse.y (sizeof, [...]): New non-terminals to increment skip_evaluation.

* parse.y (sizeof, alignof, typeof): New non-terminals to
increment skip_evaluation.  Replace terminals with them and
decrement skip_evaluation at the end of rules using them.
* decl2.c (mark_used): Don't assemble_external if
skipping evaluation.

From-SVN: r56359

22 years agoc-tree.h (skip_evaluation): Move declaration...
Alexandre Oliva [Thu, 15 Aug 2002 21:16:23 +0000 (21:16 +0000)]
c-tree.h (skip_evaluation): Move declaration...

* c-tree.h (skip_evaluation): Move declaration...
* c-common.h: ... here.
* c-typeck.c (build_external_ref): Don't assemble_external nor
mark a tree as used if skip_evaluation is set.
* c-parse.in (typeof): New non-terminal to set skip_evaluation
around TYPEOF.
(typespec_nonreserved_nonattr): Use it.

From-SVN: r56358

22 years agodocumentation.html: Update doxygen links for 3.2.
Phil Edwards [Thu, 15 Aug 2002 20:19:11 +0000 (20:19 +0000)]
documentation.html: Update doxygen links for 3.2.

2002-08-15  Phil Edwards  <pme@gcc.gnu.org>

* docs/html/documentation.html:  Update doxygen links for 3.2.

From-SVN: r56357

22 years agodbxout.c (dbx_debug_hooks): Update end_prologue, end_epilogue.
Douglas B Rupp [Thu, 15 Aug 2002 19:59:29 +0000 (19:59 +0000)]
dbxout.c (dbx_debug_hooks): Update end_prologue, end_epilogue.

* dbxout.c (dbx_debug_hooks): Update end_prologue, end_epilogue.
(xcoff_debug_hooks): Update end_prologue.
* debug.c (do_nothing_debug_hooks): Update end_prologue, end_epilogue.
* debug.h (end_prologue): Add file arg.
(end_epilogue): Add line and file args.
(dwarf2out_end_epilogue): Add line and file args.
(vmsdbgout_after_prologue): Remove.
* dwarf2out.c (dwarf2out_end_epilogue): Add line and file args.
(dwarf2_debug_hooks): Update end_prologue.
* dwarfout.c (dwarfout_end_epilogue): Add line and file args.
(dwarfout_end_prologue): Add file arg.
* final.c (vmsdbgout_after_prologue): Remove
(final_end_function): Update end_epilogue call.
(final_scan_insn): Update end_prologue call.
* sdbout.c (sdbout_end_epilogue): Add line and file args.
(sdbout_end_prologue): Add file arg.
(sdb_debug_hooks): Update end_prologue.
(sdb_begin_prologue): Update sdbout_end_prologue call.
* vmsdbgout.c (vmsdbg_debug_hooks): Add vmsdbgout_end_prologue,
vmsdbgout_end_function.
(vmsdbgout_end_prologue): New function renamed from
vmsdbgout_after_prologue. Call vmsdbgout_source_line.
(vmsdbgout_end_function): New function.
(vmsdbgout_end_epilogue): Add line and file args. Call
vmsdbgout_source_line.
(write_pclines): Write only valid line numbers.
(write_srccorr): Don't write source correlation records if 0 lines.
* xcoffout.c (xcoffout_end_epilogue): Add line and file args.

From-SVN: r56356

22 years agounwind-cxx.h (__cxa_exception): Change catchTemp type from void* to _Unwind_Ptr.
Steve Ellcey [Thu, 15 Aug 2002 18:05:41 +0000 (18:05 +0000)]
unwind-cxx.h (__cxa_exception): Change catchTemp type from void* to _Unwind_Ptr.

* libstdc++-v3/libsupc++/unwind-cxx.h (__cxa_exception):
Change catchTemp type from void* to _Unwind_Ptr.
* libstdc++-v3/libsupc++/eh_personality.cc (PERSONALITY_FUNCTION):
Do not cast landing_pad or base_of_encoded_value to (void *).
* libstdc++-v3/libsupc++/eh_throw.cc (__gxx_exception_cleanup):
Accept _URC_NO_REASON as a valid reason code.

From-SVN: r56352

22 years agounwind.h (_Unwind_Ptr): Make 64 bits on IA64 HP-UX.
Steve Ellcey [Thu, 15 Aug 2002 18:01:30 +0000 (18:01 +0000)]
unwind.h (_Unwind_Ptr): Make 64 bits on IA64 HP-UX.

* gcc/unwind.h (_Unwind_Ptr): Make 64 bits on IA64 HP-UX.
(_Unwind_Internal_Ptr): 32 bit version for use in
read_encoded_value_with_base.
* gcc/unwind-pe.h (read_encoded_value_with_base): Use
_Unwind_Internal_Ptr instead of _Unwind_Ptr in order to get the
right size.

From-SVN: r56351

22 years agoloop.c (scan_loop, [...]): Cast to avoid signed/unsigned warnings.
Kaveh R. Ghazi [Thu, 15 Aug 2002 17:44:10 +0000 (17:44 +0000)]
loop.c (scan_loop, [...]): Cast to avoid signed/unsigned warnings.

* loop.c (scan_loop, move_movables, count_one_set): Cast to avoid
signed/unsigned warnings.

* regclass.c (init_reg_sets_1, choose_hard_reg_mode,
record_reg_classes): Likewise.

* reload.c (reload_inner_reg_of_subreg, push_reload,
find_reloads_address_1): Likewise.

From-SVN: r56350

22 years agors6000.c (output_mi_thunk): Return to function section on TARGET_ELF.
David Edelsohn [Thu, 15 Aug 2002 14:51:00 +0000 (14:51 +0000)]
rs6000.c (output_mi_thunk): Return to function section on TARGET_ELF.

        * rs6000.c (output_mi_thunk): Return to function section on
        TARGET_ELF.

        * rs6000-c.c (rs6000_cpu_cpp_builtins): Define __PPC405__ if PPC405.

From-SVN: r56348

22 years ago*** empty log message ***
Gabriel Dos Reis [Thu, 15 Aug 2002 11:42:51 +0000 (11:42 +0000)]
*** empty log message ***

From-SVN: r56347