platform/upstream/linaro-gcc.git
23 years ago2001-01-07 Alexandre Petit-Bianco <apbianco@cygnus.com>
apbianco [Mon, 15 Jan 2001 08:11:40 +0000 (08:11 +0000)]
2001-01-07  Alexandre Petit-Bianco  <apbianco@cygnus.com>

All files with updated copyright.
* prims.cc (class _Jv_PrimClass): Removed.
(init_prim_class): New function.
(DECLARE_PRIM_TYPE): Rewritten. `java::lang::Class' replaces
`_Jv_PrimClass' in primitive type declarations. Assign to the
value returned by `init_prim_class.'
* gcj/array.h: `java::lang::Class' replaces `_Jv_PrimClass' in
primitive type declarations.
(JvPrimClass): Cast to `jclass' removed.
* java/lang/Class.h (Class): New constructor.
(Class): New copy constructor.
(initializePrim): New prototype.
(_Jv_PrimClass): Field removed.
* java/lang/Object.h (struct _JvObjectPrefix): New virtuals
nacd_1 and nacd_2 (for compatibility with the new C++ ABI.)
(class java::lang::Object): `finalize' moved up front.
* java/lang/natClass.cc
(isAssignableFrom): Turned outline.
(isInstance): Likewise.
(isInterface): Likewise, fixed indentation.
(initializePrim): New function.

(New C++ ABI compatibility patch:
 http://sources.redhat.com/ml/java-patches/2001-q1/msg00065.html)

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

23 years ago2001-01-07 Alexandre Petit-Bianco <apbianco@cygnus.com>
apbianco [Mon, 15 Jan 2001 08:01:22 +0000 (08:01 +0000)]
2001-01-07  Alexandre Petit-Bianco  <apbianco@cygnus.com>

All files with updated copyright when applicable.
* Make-lang.in (JVGENMAIN_OBS): Removed java/mangle.o.
* class.c (mangle_class_field): Function removed.
(append_gpp_mangled_type, mangle_static_field, mangle_field): Likewise.
(utf8_cmp, cxx_keyword_p): Moved to lex.c.
(build_class_ref): Call `java_mangle_class_field' instead of
`mangle_class_field.'
(build_dtable_decl): Rewritten to call `java_mangle_vtable.'
(layout_class): Call `java_mangle_decl' instead of
`mangle_static_field.'
(cxx_keywords): Initialized static array moved to `lex.c.'
(layout_class_method): Changed leading comment. Simplified to
call `java_mangle_decl.' Local `ptr' moved in for loop body.
* decl.c (lang_mark_tree): Mark field `package_list.'
* java-tree.h (TYPE_PACKAGE_LIST): New macro.
(struct lang_type): New field `package_list.'
(unicode_mangling_length): Prototype removed.
(append_gpp_mangled_name, append_gpp_mangled_classtype,
emit_unicode_mangled_name): Likewise.
(cxx_keyword_p): New prototype.
(java_mangle_decl, java_mangle_class_field,
java_mangle_class_field_from_string, java_mangle_vtable): Likewise.
* jcf-parse.c (jcf_parse_source): Constify `file' argument to
`build_expr_wfl.'
* jvgenmain.c (main_method_prefix): Global variable removed.
(main_method_suffix): Likewise.
(do_mangle_classname): New function.
(main): Call it. Format changed to accomodate new mangling scheme.
* lex.c: (utf8_cmp): Conditionally prototyped.
(cxx_keywords): Moved from class.c, conditionally defined.
(utf8_cmp, cxx_keyword_p): Likewise.
* mangle.c (obstack.h, ggc.h): Included.
(mangle_field_decl): New function.
(mangle_method_decl, mangle_type, mangle_pointer_type,
mangle_array_type, mangle_record_type,
find_compression_pointer_match, find_compression_array_match,
find_compression_record_match,
find_compression_array_template_match, set_type_package_list,
entry_match_pointer_p, emit_compression_string, init_mangling,
finish_mangling, compression_table_add, mangle_member_name): Likewise.
(mangle_obstack): New global.
(MANGLE_RAW_STRING): New macro.
(unicode_mangling_length): Turned static.
(append_unicode_mangled_name): Renamed from
`emit_unicode_mangled_name.'  Turned static. `mangle_obstack'
replaces `obstack', removed from the parameter list.
(append_gpp_mangled_name): Turned static. `mangle_obstack'
replaces parameter `obstack', removed from the parameter list. Call
`append_unicode_mangled_name' instead of `emit_unicode_mangled_name.
(append_gpp_mangled_classtype): Removed.
(compression_table, compression_next): New static variables.
* parse.y (temporary_obstack): Extern declaration removed.

(This is the new C++ ABI compatibility patch:
  http://gcc.gnu.org/ml/gcc-patches/2001-01/msg01225.html)

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

23 years ago * java/net/URLDecoder.java: Thanks Edgar Villanueva (edgarvil@home.com)
mark [Mon, 15 Jan 2001 07:58:16 +0000 (07:58 +0000)]
   * java/net/URLDecoder.java: Thanks Edgar Villanueva (edgarvil@home.com)
   (decode): Merge comments with Classpath, don't throw Exception

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

23 years ago * gcc.dg/cpp/if-2.c: Comment out occasionally bogus test; we
neil [Mon, 15 Jan 2001 07:51:18 +0000 (07:51 +0000)]
    * gcc.dg/cpp/if-2.c: Comment out occasionally bogus test; we
        have an equivalent working one below it.

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

23 years ago * config/mips/linux.h (SUBTARGET_CPP_SPEC): Default ABI is 32; change
aj [Mon, 15 Jan 2001 05:56:14 +0000 (05:56 +0000)]
    * config/mips/linux.h (SUBTARGET_CPP_SPEC): Default ABI is 32; change
        SUBTARGET_CPP_SPEC apropriatly.

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

23 years ago2001-01-14 Jeffrey Oldham <oldham@codesourcery.com>
oldham [Mon, 15 Jan 2001 04:30:35 +0000 (04:30 +0000)]
2001-01-14  Jeffrey Oldham  <oldham@codesourcery.com>

* g++.old-deja/g++.ext/instantiate2.C: Add explanatory comment.
* g++.old-deja/g++.ext/instantiate3.C: Likewise.

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

23 years ago * varasm.c (make_decl_rtl): Fix typo in last change.
mmitchel [Mon, 15 Jan 2001 04:15:04 +0000 (04:15 +0000)]
* varasm.c (make_decl_rtl): Fix typo in last change.

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

23 years ago * MAINTAINERS: Add myself as Mercury front-end maintainer.
fjh [Mon, 15 Jan 2001 04:00:09 +0000 (04:00 +0000)]
* MAINTAINERS: Add myself as Mercury front-end maintainer.

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

23 years ago2001-01-14 Jeffrey Oldham <oldham@codesourcery.com>
oldham [Mon, 15 Jan 2001 03:56:07 +0000 (03:56 +0000)]
2001-01-14  Jeffrey Oldham  <oldham@codesourcery.com>

* g++.dg/special/ecos.exp (conpr-1.C): XFAIL if compile emits
message containing "init_priority".
(conpr-2.C): Likewise.
(conpr-3.C): Likewise.
* g++.old-deja/g++.ext/initp1.C: XFAIL for Irix.

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

23 years agogcc/ChangeLog:
oldham [Mon, 15 Jan 2001 03:33:56 +0000 (03:33 +0000)]
gcc/ChangeLog:
2001-01-14  Jeffrey Oldham  <oldham@codesourcery.com>

* defaults.h (SUPPORTS_INIT_PRIORITY): New macro to indicate the
linker supports the init_priority C++ attribute.
* tm.texi (SUPPORTS_INIT_PRIORITY): Documentation for new macro.
* config/mips/iris6.h (SUPPORTS_INIT_PRIORITY): Indicate Irix
linker does not support init_priority C++ attribute.

gcc/cp/ChangeLog:
2001-01-14  Jeffrey Oldham  <oldham@codesourcery.com>

* tree.c: Add defaults.h
(cp_valid_lang_attribute): Incorporate SUPPORTS_INIT_PRIORITY.
* Make-lang.in (cp/tree.o): Add defaults.h.

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

23 years ago 2001-01-14 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
sirl [Mon, 15 Jan 2001 00:29:53 +0000 (00:29 +0000)]
2001-01-14  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>

* gcc.c-torture/execute/20010114-2.c: New test.

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

23 years ago * Makefile.in (libgcc1-test.o): Depends on stmp-int-hdrs.
amylaar [Sun, 14 Jan 2001 22:38:22 +0000 (22:38 +0000)]
* Makefile.in (libgcc1-test.o): Depends on stmp-int-hdrs.

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

23 years ago * c-parse.in (finish_parse): Add comment about cpp_destroy.
neil [Sun, 14 Jan 2001 22:00:20 +0000 (22:00 +0000)]
    * c-parse.in (finish_parse): Add comment about cpp_destroy.
        * cp/lex.c (finish_parse): Similarly.
        * cppinit.c (cpp_cleanup): Rename cpp_destroy for clarity.
        Return the number of errors encountered.
        * cpplib.h (cpp_cleanup): Rename cpp_destroy, return int.
        * cppmain.c (main): Don't call cpp_destroy.

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

23 years ago Various patches to emit better messages on verification errors.
bothner [Sun, 14 Jan 2001 21:48:10 +0000 (21:48 +0000)]
Various patches to emit better messages on verification errors.

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

23 years agocontrib:
jsm28 [Sun, 14 Jan 2001 21:47:19 +0000 (21:47 +0000)]
contrib:
* texi2pod.pl: Require at least perl 5.6.0.

gcc:
* configure.in: Require at least perl 5.6.0 to regenerate
manpages.
* configure: Regenerate.

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

23 years ago * parse.y (java_complete_lhs case EXPR_WITH_FILE_LOCATION): If body is
bothner [Sun, 14 Jan 2001 20:46:32 +0000 (20:46 +0000)]
* parse.y (java_complete_lhs case EXPR_WITH_FILE_LOCATION): If body is
constant, return body without wrapper.  (Improves constant folding.)
* lex.c (build_wfl_node):  Clear TREE_TYPE from returned node.

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

23 years ago * genrecog.c (DT_veclen_ge): New.
rth [Sun, 14 Jan 2001 20:35:06 +0000 (20:35 +0000)]
    * genrecog.c (DT_veclen_ge): New.
        (add_to_sequence) [MATCH_PARALLEL]: Generate one.
        (maybe_both_true_2): Simplify DT_veclen vs DT_veclen_ge.
        (nodes_identical_1): Handle DT_veclen_ge.
        (write_cond, debug_decision_2): Likewise.

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

23 years ago* arm.md (ldmsi_postinc, ldmsi, stmsi_postinc, smsi): Delete. Replace
rearnsha [Sun, 14 Jan 2001 19:37:18 +0000 (19:37 +0000)]
* arm.md (ldmsi_postinc, ldmsi, stmsi_postinc, smsi): Delete.  Replace
with ...
(ldmsi_postinc[432], ldmsi[432], stmsi_postinc[432], stmsi[432]): New.

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

23 years ago * libio/libio.h: Add test for glibc 2.0.
aj [Sun, 14 Jan 2001 19:12:23 +0000 (19:12 +0000)]
* libio/libio.h: Add test for glibc 2.0.

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

23 years ago * expr.c (expand_java_field_op): Assigning to a final field outside
bothner [Sun, 14 Jan 2001 17:37:09 +0000 (17:37 +0000)]
* expr.c (expand_java_field_op):  Assigning to a final field outside
an initializer does not violate JVM spec, so should be warning, not
error.  (Sun's verifier does not complain - though MicroSoft's does.)

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

23 years ago * cppmain.c (do_preprocessing): New function; most of the old
neil [Sun, 14 Jan 2001 16:44:50 +0000 (16:44 +0000)]
    * cppmain.c (do_preprocessing): New function; most of the old
        main.
        (main): Call it to do most of the work.
        (cb): Move from global scope to set_callbacks ().
        (setup_callbacks): Get the callback pointer.
        (general_init, printer_init): Clean up code and comments.

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

23 years ago* config/arm/semi.h (ASM_SPEC): Pass -k to the assembler when
rearnsha [Sun, 14 Jan 2001 16:09:47 +0000 (16:09 +0000)]
* config/arm/semi.h (ASM_SPEC): Pass -k to the assembler when
compiling PIC.

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

23 years ago2001-01-14 Kazu Hirata <kazu@hxi.com>
kazu [Sun, 14 Jan 2001 15:36:42 +0000 (15:36 +0000)]
2001-01-14  Kazu Hirata  <kazu@hxi.com>

* config/h8300/h8300.c (get_shift_alg): Update comments.

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

23 years ago * gcc.c-torture/compile/20010114-1.c: New test.
jsm28 [Sun, 14 Jan 2001 11:38:49 +0000 (11:38 +0000)]
* gcc.c-torture/compile/20010114-1.c: New test.
* gcc.c-torture/compile/20010114-1.x: Xfail.
* gcc.c-torture/compile/20010114-2.c: New test.
* gcc.c-torture/execute/20010114-1.c: New test.
* gcc.dg/trunc-1.c: New test.
* gcc.dg/uninit-B.c: New test.

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

23 years ago * ggc-page.c (alloc_annon): Call perror and correctly call exit.
kenner [Sun, 14 Jan 2001 11:22:12 +0000 (11:22 +0000)]
* ggc-page.c (alloc_annon): Call perror and correctly call exit.
(alloc_page, ggc_alloc): Add casts to remove warnings.

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

23 years ago * combine.c (simplify_comparison): Don't change `code' when
geoffk [Sun, 14 Jan 2001 10:39:49 +0000 (10:39 +0000)]
* combine.c (simplify_comparison): Don't change `code' when
can't reverse comparison.

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

23 years ago * rtlanal.c (computed_jump_p_1): Rename from jmp_uses_reg_or_mem;
rth [Sun, 14 Jan 2001 10:19:01 +0000 (10:19 +0000)]
    * rtlanal.c (computed_jump_p_1): Rename from jmp_uses_reg_or_mem;
        update all call sites.  Return true for all non-label constants.

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

23 years ago * i386.c (ix86_expand_compare): Add bypass_test and second_test
hubicka [Sun, 14 Jan 2001 09:14:03 +0000 (09:14 +0000)]
* i386.c (ix86_expand_compare): Add bypass_test and second_test
parameters.
(ix86_expand_branch): Update.
(ix86_expand_setcc): Update to handle multiple test conditions.
(expand_int_movcc): Likewise.
(expand_fp_movcc): Likewise.
* i386-protos.h (ix86_expand_compare): New.
* i386.md (andqi_?_slp, orqi_?_slp): New.
(conditional trap expander): Update call to ix86_expand_compare.

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

23 years ago * config/vax/vax.h (RETURN_POPS_ARGS): Max at 255 arguments.
rth [Sun, 14 Jan 2001 09:08:51 +0000 (09:08 +0000)]
    * config/vax/vax.h (RETURN_POPS_ARGS): Max at 255 arguments.
        * config/vax/vax.md (call_pop): Turn into an expander.
        (call_value_pop): Likewise.
        (call, call_value): New.

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

23 years ago * config/vax/vax.md (indirect_jump): Use register_operand.
rth [Sun, 14 Jan 2001 09:03:20 +0000 (09:03 +0000)]
    * config/vax/vax.md (indirect_jump): Use register_operand.

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

23 years ago * config/vax/vax.md: Use nonimmediate_operand instead of
rth [Sun, 14 Jan 2001 08:59:18 +0000 (08:59 +0000)]
    * config/vax/vax.md: Use nonimmediate_operand instead of
        general_operand in destinations.

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

23 years agoDaily bump.
law [Sun, 14 Jan 2001 08:45:10 +0000 (08:45 +0000)]
Daily bump.

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

23 years ago * config/i386/i386.c (ix86_split_fp_branch): Remove unused
aj [Sun, 14 Jan 2001 07:30:29 +0000 (07:30 +0000)]
* config/i386/i386.c (ix86_split_fp_branch): Remove unused
variables.
(ix86_fp_compare_mode): Add unused attribute.
(ix86_expand_fp_movcc): Remove unused variable.
(ix86_expand_builtin): Make fcode unsigned.

* expr.c (MOVE_BY_PIECES_P): Cast MOVE_RATIO to unsigned.
(expand_expr): Add cast to avoid signed warning.
(store_field): Likewise.
(store_constructor_field): Likewise.
(store_constructor): Likewise.
(store_expr): Likewise.
(clear_storage): Likewise.
(emit_group_store): Likewise.
(emit_group_load): Likewise.

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

23 years agoExpext the bf64-1.c test to fail for the M*Core
nickc [Sun, 14 Jan 2001 00:28:08 +0000 (00:28 +0000)]
Expext the bf64-1.c test to fail for the M*Core

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

23 years ago * c-common.c: Move format checking code to ...
jsm28 [Sat, 13 Jan 2001 23:30:02 +0000 (23:30 +0000)]
* c-common.c: Move format checking code to ...
* c-format.c: ... here.  New file.  Reorder some functions and
declarations.
(decl_handle_format_attribute, decl_handle_format_arg_attribute):
New functions.
* c-common.h (decl_handle_format_attribute,
decl_handle_format_arg_attribute): Declare.
* Makefile.in (C_AND_OBJC_OBJS): Add c-format.o.
(c-common.o): Adjust dependencies.
(c-format.o): New list of dependencies.

cp:
* Make-lang.in (CXX_C_OBJS): Add c-format.o.

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

23 years ago * gcc.c-torture/compile/20010113-1.c: New test.
jsm28 [Sat, 13 Jan 2001 23:27:06 +0000 (23:27 +0000)]
* gcc.c-torture/compile/20010113-1.c: New test.

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

23 years ago * unroll.c (loop_iterations): If we cannot prove iteration variable
jakub [Sat, 13 Jan 2001 21:54:10 +0000 (21:54 +0000)]
* unroll.c (loop_iterations): If we cannot prove iteration variable
is set once in each iteration, punt.

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

23 years ago * config/avr/avr.md ("strlenhi"): Remove clobber of input address.
denisc [Sat, 13 Jan 2001 21:42:07 +0000 (21:42 +0000)]
* config/avr/avr.md ("strlenhi"): Remove clobber of input address.
(*strlenhi): Remove clobber (which was buggy) of output address.

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

23 years ago * gcc.c-torture/compile/20001212-1.c: New test.
jakub [Sat, 13 Jan 2001 21:35:00 +0000 (21:35 +0000)]
* gcc.c-torture/compile/20001212-1.c: New test.

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

23 years agocontrib:
jsm28 [Sat, 13 Jan 2001 21:17:13 +0000 (21:17 +0000)]
contrib:
* gcc_update: Add gcc/gcc.1 to generated files.
* texi2pod.pl: Handle @r and @gccoptlist.  Handle @gol.  Handle
discarding to end of sentence with @xref where the sentence has an
interior "." in markup, and handle discarding parentheses around
such a sentence.

gcc:
* Makefile.in (generated-manpages): Add gcc.1
($(srcdir)/gcc.1): New target.
(maintainer-clean): Delete $(srcdir)/gcc.1.
* gcc.texi: Add macros @gccoptlist and @gol.
* invoke.texi: Include option summary in manpage.  Mark up option
summary with @gccoptlist and @gol.  Use @r in one place where
appropriate.
* texinfo.tex: Update to version 2000-12-11.07 from ftp.gnu.org.
* gcc.1: Generate from invoke.texi.

gcc/cp:
* g++.1: Change to be ".so man1/gcc.1".

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

23 years ago * ggc-page.c (USING_MALLOC_PAGE_GROUPS): New; set if not using mmap.
rth [Sat, 13 Jan 2001 20:36:56 +0000 (20:36 +0000)]
    * ggc-page.c (USING_MALLOC_PAGE_GROUPS): New; set if not using mmap.
        (struct page_entry): Add group member.
        (struct page_group): New.
        (struct globals): Add page_groups member.
        (alloc_anon): Only define for using mmap; remove valloc call.
        (page_group_index): New.
        (set_page_group_in_use): New.
        (clear_page_group_in_use): New.
        (alloc_page): Implement USING_MALLOC_PAGE_GROUPS.
        (free_page, release_pages): Likewise.
        * configure.in (with-gc): Default to ggc-page always.

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

23 years ago* reload1.c (replace_pseudos_in_call_usage): Use
aoliva [Sat, 13 Jan 2001 20:18:20 +0000 (20:18 +0000)]
* reload1.c (replace_pseudos_in_call_usage): Use
reg_equiv_constant and reg_equiv_address, and don't try
regno_reg_rtx first.

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

23 years ago * ggc-page.c (alloc_page): Round up allocation size to one page.
rth [Sat, 13 Jan 2001 19:58:43 +0000 (19:58 +0000)]
    * ggc-page.c (alloc_page): Round up allocation size to one page.
        Set e->order on extra pages.

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

23 years ago * genrecog.c (nodes_identical): Expand commentary.
rth [Sat, 13 Jan 2001 19:31:07 +0000 (19:31 +0000)]
    * genrecog.c (nodes_identical): Expand commentary.
        (write_switch): Watch out for identical nodes.

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

23 years ago * gcc.dg/cpp/widestr1.c: Update.
neil [Sat, 13 Jan 2001 18:40:49 +0000 (18:40 +0000)]
    * gcc.dg/cpp/widestr1.c: Update.
        * gcc.dg/cpp/prag-imp.c: Remove.

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

23 years ago * cppfiles.c (_cpp_fake_include): New function.
neil [Sat, 13 Jan 2001 18:39:26 +0000 (18:39 +0000)]
    * cppfiles.c (_cpp_fake_include): New function.
        * cpphash.h (_cpp_fake_include): New.
        * cpplib.c (do_line): Call _cpp_fake_include when entering
        header files in preprocessed input.
        * cppmain.c (cb_pragma_implementation): Remove handling.
(setup_callbacks): Don't register pragmas.

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

23 years ago * extend.texi: Update for CPP.
neil [Sat, 13 Jan 2001 16:59:42 +0000 (16:59 +0000)]
* extend.texi: Update for CPP.

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

23 years ago * reload1.c: Add prototype for replace_pseudos_in_call_usage.
aj [Sat, 13 Jan 2001 14:43:27 +0000 (14:43 +0000)]
* reload1.c: Add prototype for replace_pseudos_in_call_usage.

* regmove.c: Add prototype for replace_in_call_usage.

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

23 years ago * cpplib.h (cpp_pool, mi_state, mi_ind, struct cpp_macro,
neil [Sat, 13 Jan 2001 14:32:59 +0000 (14:32 +0000)]
    * cpplib.h (cpp_pool, mi_state, mi_ind, struct cpp_macro,
        struct cpp_chunk, struct htab, struct toklist,
        struct cpp_context, CPP_STACK_MAX, struct lexer_state,
        struct spec_nodes, struct cpp_reader, CPP_OPTION, CPP_BUFFER,
        CPP_BUF_LINE, CPP_BUF_COL, CPP_BUF_COLUMN, U, ustrcmp, ustrncmp,
        ustrlen, uxstrdup, ustrchr, ufputs): Move to cpphash.h
        (struct macro_args): Delete.
        * cpphash.h: See above.

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

23 years ago * cppmain.c (struct printer): Remove no_line_dirs.
neil [Sat, 13 Jan 2001 14:24:34 +0000 (14:24 +0000)]
    * cppmain.c (struct printer): Remove no_line_dirs.
        (options, cb): New.
        (main, setup_callbacks, scan_buffer, printer_init, cb_define)
        : Use options rather than CPP_OPTION.
        (setup_callbacks): Use cb rather than pfile->cb.
        (main): No need to check for a buffer.  Use cpp_errors.
        (printer_init): Don't set no_line_dirs.
        (maybe_print_line): Use options not no_line_dirs.
        (cb_file_change): Don't call print_line if -P.

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

23 years ago * c-lex.c (init_c_lex): Use cpp_get_callbacks to set
neil [Sat, 13 Jan 2001 14:23:04 +0000 (14:23 +0000)]
    * c-lex.c (init_c_lex): Use cpp_get_callbacks to set
        callbacks.
        * c-parse.in (finish_parse): Use cpp_errors.
        (__yylex): Use return value of cpp_pop_buffer.
        * cp/lex.c (finish_parse): Use cpp_errors.
        * cp/spew.c (read_token): Use return value of cpp_pop_buffer.

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

23 years ago * README.AVR: URLs corrected.
denisc [Sat, 13 Jan 2001 14:07:43 +0000 (14:07 +0000)]
* README.AVR: URLs corrected.

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

23 years ago * c-decl.c (start_function): Don't warn if old prototype is builtin
kenner [Sat, 13 Jan 2001 12:34:02 +0000 (12:34 +0000)]
* c-decl.c (start_function): Don't warn if old prototype is builtin
that's not in C's namespace.
* libgcc2.c (_varargs): Update definition of __builtin_saveregs.
(_bb): Add prototype for ctime.
* config/alpha/osf.h (TRANSFER_FROM_TRAMPOLINE): Add missing protos.

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

23 years ago * i386.c (ix86_fp_comparison_arithmetics_cost,
hubicka [Sat, 13 Jan 2001 08:57:29 +0000 (08:57 +0000)]
* i386.c (ix86_fp_comparison_arithmetics_cost,
ix86_fp_comparison_fcomi_cost, ix86_fp_comparison_sahf_cost,
ix86_fp_comparison_cost): New functions.
(ix86_expand_fp_compare): Use the costs to choose best bethod; add
two new parameters SECOND_TEST and BYPASS_TEST; allow generating
two-branch sequences; make static.
(ix86_use_fcomi_compare): Do decision according to the costs.
(split_fp_branch): New.
* i386.md (compare-and-branch patterns): Use split_fp_branch.
* i386-protos.h (ix86_expand_fp_compare): Remove
(ix86_split_fp_branch): Declare.

* i386.h (PREDICATE_CODES): Update codes from fcmov_comparison_operand
and ix86_comparison_operator.

* i386.c (ix86_prepare_fp_compare_args): Try to rearange the comparison
to make it cheaper.

* i386.c (put_condition_code): Output properly the unordered/ordered
compares in fp case.
(ix86_expand_fp_movcc): Use ix86_expand_compare infrastructure.

* tm.texi (REVERSE_CONDITION): Document.
* i386.c (ix86_fp_compare_mode): Simplify; return always CCFPmode
in -ffast-math mode.
* i386.h (REVERSE_CONDITION, REVERSIBLE_CC_MODE): New macro.

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

23 years agoDaily bump.
law [Sat, 13 Jan 2001 08:45:10 +0000 (08:45 +0000)]
Daily bump.

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

23 years ago* config/sh/sh.c (sh_expand_epilogue): Use PR explicitly.
aoliva [Sat, 13 Jan 2001 08:09:48 +0000 (08:09 +0000)]
* config/sh/sh.c (sh_expand_epilogue): Use PR explicitly.

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

23 years ago* config/sh/sh.c (sh_expand_prologue): Let the second toggle_sz be
aoliva [Sat, 13 Jan 2001 07:21:35 +0000 (07:21 +0000)]
* config/sh/sh.c (sh_expand_prologue): Let the second toggle_sz be
optimized away.

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

23 years agoDon't omit century in list of copyright years
aoliva [Sat, 13 Jan 2001 05:11:58 +0000 (05:11 +0000)]
Don't omit century in list of copyright years

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

23 years ago* config/sh/sh.c (mova_p): Fix test for mova_const.
aoliva [Sat, 13 Jan 2001 03:30:38 +0000 (03:30 +0000)]
* config/sh/sh.c (mova_p): Fix test for mova_const.

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

23 years ago * fix-header.c (read_scan_file): s/pfile/scan_in/. Sorry!
neil [Sat, 13 Jan 2001 01:13:35 +0000 (01:13 +0000)]
* fix-header.c (read_scan_file): s/pfile/scan_in/.  Sorry!

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

23 years ago * fix-header.c (read_scan_file): Use cpp_get_callbacks and
neil [Sat, 13 Jan 2001 01:07:32 +0000 (01:07 +0000)]
    * fix-header.c (read_scan_file): Use cpp_get_callbacks and
        cpp_get_options rather than dereferencing pfile and using
        CPP_OPTION.
        * scan-decls.c (scan_decls): Use return value of
        cpp_pop_buffer rather than CPP_BUFFER.

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

23 years ago * cppinit.c (cpp_handle_option): help_only is now part of the
neil [Sat, 13 Jan 2001 01:00:01 +0000 (01:00 +0000)]
    * cppinit.c (cpp_handle_option): help_only is now part of the
        cpp_options structure.
        * cpplib.c (cpp_errors, cpp_get_options, cpp_get_callbacks,
        cpp_set_callbacks): New functions.
        * cpplib.h (cpp_callbacks): Break out as a named structure.
        (cpp_options): Move help_only here from cpp_reader.
        (CPP_FATAL_ERRORS): Update to use cpp_errors.
        (cpp_errors, cpp_get_options, cpp_get_callbacks,
        cpp_set_callbacks): New prototypes.
        * cppmain.c (main): Update for help_only.

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

23 years ago * Makefile.in (info, maintainer-clean, install-info, uninstall):
jsm28 [Sat, 13 Jan 2001 00:24:39 +0000 (00:24 +0000)]
* Makefile.in (info, maintainer-clean, install-info, uninstall):
Also build and remove and install and uninstall c-tree.info and
cppinternals.info.
($(srcdir)/gcc.info): Add dependency on contrib.texi.
($(srcdir)/cppinternals.info): New target.
* c-tree.texi: Change file name used when makeinfo used without -o
from ir.info to c-tree.info.  Add info directory entry.
* cppinternals.texi: Add info directory entry.
* .cvsignore: Update.

cp:
* Make-lang.in (c++.info, c++.install-info): Build and install g++
internals info.
(c++.uninstall, c++.maintainer-clean): Remove g++ internals info.
($(srcdir)/cp/g++int.info): New target.
* gxxint.texi: Add info directory entry.  Use @@ in email address.
* .cvsignore: Update.

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

23 years agoRemoved bogus ChangeLog entry
tromey [Sat, 13 Jan 2001 00:03:28 +0000 (00:03 +0000)]
Removed bogus ChangeLog entry

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

23 years ago * c-typeck.c (store_init_value): Don't require constant initializer
jakub [Fri, 12 Jan 2001 23:18:05 +0000 (23:18 +0000)]
* c-typeck.c (store_init_value): Don't require constant initializer
elements with -pedantic -std=c99.
(digest_init): Change error about non-constant initializer elements
into pedwarn.
(constructor_range_end): Remove.
(constructor_incremental, designator_depth,
designator_errorneous): New variables.
(struct constructor_stack): Remove range_end, add incremental.
(struct constructor_range_stack, constructor_range_stack): New.
(struct initializer_stack): Add constructor_range_stack.
(finish_init): Set it.
(start_init): Likewise.  require_constant_elements for non-static
trees only if not flag_isoc99.
(really_start_incremental_init): Remove constructor_range_end, add
constructor_incremental.
(pop_init_level): Likewise.
(push_init_level): Likewise.  If implicit and the subobject had some
value set already, preinitialize the level with it.
Warn about missing braces only if not pushing due to designators.
(set_designator, push_range_stack): New functions.
(set_init_label): Use them.
(set_init_index): Likewise.  Remove constructor_range_end.
Error if designator index is outside of array bounds.
(add_pending_init): Compare values of purpose index trees, not the
trees themselves.  Allow overwriting of already initialized element.
Issue a warning if it had side-effects.
(set_nonincremental_init, set_nonincremental_init_from_string): New
functions.
(pending_init_member): Rename to...
(find_init_member): ...this function.  Call set_nonincremental_init
if necessary.  Compare values of purpose index trees, not the trees
themselves.  Return the actual value, not just non-zero if something
is found.
(output_init_element): Remove checks for duplicates.
If field has zero size, only check the initializer for correctness.
Call set_nonincremental_init if necessary.  Push RECORD/ARRAY into AVL
if constructor_incremental is zero.  Change error about initializers
not computable at load time into pedwarn.
(output_pending_init_elements): Compare bit positions, not
FIELD_DECLs to take into account zero-sized fields.
(process_init_element): Use constructor_range_stack to fill all
ranges in the designator lists from current level up.
* extend.texi: Update documentation for labeled elements.

* gcc.c-torture/execute/20000801-3.x: Remove.
* gcc.dg/c90-init-1.c: New test.
* gcc.dg/c99-init-1.c: New test.
* gcc.dg/c99-init-2.c: New test.
* gcc.dg/gnu99-init-1.c: New test.

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

23 years ago * gnu/awt/gtk/natGtkComponentPeer.cc (getLocationOnScreen):
tromey [Fri, 12 Jan 2001 23:08:23 +0000 (23:08 +0000)]
* gnu/awt/gtk/natGtkComponentPeer.cc (getLocationOnScreen):
Wrote.
(setCursor): Wrote.
Include Cursor.h.
* gnu/awt/gtk/natGtkLabelPeer.cc: New file.
* gnu/awt/gtk/natGtkButtonPeer.cc: New file.
* gnu/awt/gtk/gtkcommon.h (class _Jv_GdkThreadLock): New class.
* gnu/awt/gtk/GtkLabelPeer.java: New file.
* gnu/awt/gtk/GtkButtonPeer.java: New file.

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

23 years agoReinstated part of the patch that is safe
aoliva [Fri, 12 Jan 2001 22:48:35 +0000 (22:48 +0000)]
Reinstated part of the patch that is safe

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

23 years agoReverted
aoliva [Fri, 12 Jan 2001 22:42:08 +0000 (22:42 +0000)]
Reverted

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

23 years ago* calls.c (emit_library_call_value_1): Add USEs and CLOBBERs
aoliva [Fri, 12 Jan 2001 21:58:56 +0000 (21:58 +0000)]
* calls.c (emit_library_call_value_1): Add USEs and CLOBBERs
to function usage for arguments passed by reference.  Optimize
callee-copied arguments.
* regmove.c (find_related_toplev): Find uses in function usage.
(replace_in_call_usage): New function.
(fixup_match_1): Call it.
* cse.c (cse_insn): Canonicalize registers in function usage.
* reload1.c (replace_pseudos_in_call_usage): New function.
(reload): Call it.

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

23 years ago* Makefile.in: Reverted yesterday's wrong patch. Installed the
aoliva [Fri, 12 Jan 2001 21:56:35 +0000 (21:56 +0000)]
* Makefile.in: Reverted yesterday's wrong patch.  Installed the
right version.

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

23 years ago2001-01-12 Benjamin Kosnik <bkoz@redhat.com>
bkoz [Fri, 12 Jan 2001 21:36:32 +0000 (21:36 +0000)]
2001-01-12  Benjamin Kosnik  <bkoz@redhat.com>

* config/os/djgpp/bits/*: Fix dates.

* include/bits/basic_string.h (_S_find(const _CharT* __beg, const
_CharT* __end, _CharT __c): Remove.
* include/bits/basic_string.tcc: Substitute traits::find for _S_find.
* include/bits/char_traits.h: Tweak.

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

23 years ago2001-01-12 Benjamin Kosnik <bkoz@redhat.com>
bkoz [Fri, 12 Jan 2001 21:24:15 +0000 (21:24 +0000)]
2001-01-12  Benjamin Kosnik  <bkoz@redhat.com>

* include/bits/basic_string.h (_S_find(const _CharT* __beg, const
_CharT* __end, _CharT __c): Remove.
* include/bits/basic_string.tcc: Substitute traits::find for _S_find.
* include/bits/char_traits.h: Tweak.

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

23 years ago * config/alpha/alpha.c (alpha_expand_block_move): GET_MODE of tmp,
jakub [Fri, 12 Jan 2001 20:44:15 +0000 (20:44 +0000)]
* config/alpha/alpha.c (alpha_expand_block_move): GET_MODE of tmp,
not XEXP (tmp, 0).

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

23 years ago* Makefile.in (bootstrap): rename stages to be mnemonic. Add
dj [Fri, 12 Jan 2001 19:52:29 +0000 (19:52 +0000)]
* Makefile.in (bootstrap): rename stages to be mnemonic.  Add
restageN, unstageN, bubblestrap, quickstrap, and cleanstrap
targets.

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

23 years ago* acinclude.m4 (GLIBCPP_CHECK_CTYPE_SUPPORT): check for DJGPP <ctype.h>
dj [Fri, 12 Jan 2001 19:39:07 +0000 (19:39 +0000)]
* acinclude.m4 (GLIBCPP_CHECK_CTYPE_SUPPORT): check for DJGPP <ctype.h>
(LIB_AC_PROG_CXX): replace [/\\] with [\\/] to work around older
bash bug.
* aclocal.m4: regenerated.
* configure.target: set os_include_dir to config/os/djgpp under DJGPP.
* configure: regenerated.
* config/os/djgpp, config/os/djgpp/bits: new directories.
* config/os/djgpp/bits/ctype_base.h,
config/os/djgpp/bits/ctype_inline.h,
config/os/djgpp/bits/ctype_noninline.h,
config/os/djgpp/bits/os_defines.h: new files.

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

23 years ago * java/lang/natSystem.cc: Include locale.h if it exists.
tromey [Fri, 12 Jan 2001 19:16:05 +0000 (19:16 +0000)]
* java/lang/natSystem.cc: Include locale.h if it exists.
* configure: Rebuilt.
* configure.in: Check for locale.h.

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

23 years ago * cpp.texi, extend.texi, gcc.texi, install.texi, invoke.texi,
jsm28 [Fri, 12 Jan 2001 18:51:27 +0000 (18:51 +0000)]
* cpp.texi, extend.texi, gcc.texi, install.texi, invoke.texi,
tm.texi: Consistently refer to ISO C instead of ANSI C.  Refer to
-std options alongside references to -ansi.  Update some
documentation for C99.
* cpp.1: Regenerate.

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

23 years agoUndo patch accidentally commited as part of change to remove
nickc [Fri, 12 Jan 2001 18:28:00 +0000 (18:28 +0000)]
Undo patch accidentally commited as part of change to remove
{save|restore}_machine_status

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

23 years ago * haifa-sched.c (restore_line_notes): Remove argument block B
aj [Fri, 12 Jan 2001 18:00:49 +0000 (18:00 +0000)]
* haifa-sched.c (restore_line_notes): Remove argument block B
since it's unused.
* sched-ebb.c (schedule_ebb): Change caller.
* sched-rgn.c (schedule_region): Likewise.
* sched-int.h (restore_line_notes): Adjust prototype.

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

23 years agoRevert:
mrs [Fri, 12 Jan 2001 17:58:36 +0000 (17:58 +0000)]
Revert:
* varasm.c (assemble_name): Ensure we output the stripped name.

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

23 years ago* loop.h: Remove wrong declaration of doloop_condition_get.
aj [Fri, 12 Jan 2001 17:41:23 +0000 (17:41 +0000)]
* loop.h: Remove wrong declaration of doloop_condition_get.

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

23 years agof:
jsm28 [Fri, 12 Jan 2001 17:28:23 +0000 (17:28 +0000)]
f:
* g77spec.c (lang_specific_driver): Update copyright year to 2001.

java:
* gjavah.c (version), jcf-dump.c (version): Update copyright year
to 2001.

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

23 years ago2001-01-12 Phil Edwards <pme@sources.redhat.com>
pme [Fri, 12 Jan 2001 17:07:51 +0000 (17:07 +0000)]
2001-01-12  Phil Edwards  <pme@sources.redhat.com>

* extend.texi:  Move C++-extension-related node from the C section
  into the C++ section.

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

23 years ago * objc-features.texi: Use @email.
jsm28 [Fri, 12 Jan 2001 17:06:15 +0000 (17:06 +0000)]
* objc-features.texi: Use @email.

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

23 years ago * extend.texi: Refer to an array of pointers to functions instead
jsm28 [Fri, 12 Jan 2001 16:58:51 +0000 (16:58 +0000)]
* extend.texi: Refer to an array of pointers to functions instead
of one of functions.

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

23 years ago* lib/f-torture.exp (f_torture_compile): Prune the warnings before
rearnsha [Fri, 12 Jan 2001 16:11:34 +0000 (16:11 +0000)]
* lib/f-torture.exp (f_torture_compile): Prune the warnings before
testing that no relevant ones were found.

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

23 years ago * combine.c (reversed_comparison): Fix typo in last patch.
hubicka [Fri, 12 Jan 2001 11:12:34 +0000 (11:12 +0000)]
  * combine.c (reversed_comparison): Fix typo in last patch.
Check X for NULL.
  (combine_reversed_comparison_code): Make static to follow
  prototype declaration.

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

23 years agocp:
nathan [Fri, 12 Jan 2001 09:47:23 +0000 (09:47 +0000)]
cp:
* typeck.c (build_c_cast): Do template processing earlier.
Always pedwarn on array casts.
testsuite:
* g++.old-deja/g++.pt/cast2.C: New test.

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

23 years ago2001-01-12 Phil Edwards <pme@sources.redhat.com>
pme [Fri, 12 Jan 2001 09:25:56 +0000 (09:25 +0000)]
2001-01-12  Phil Edwards  <pme@sources.redhat.com>

* install.texi:  Remove misplaced duplicate entry.

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

23 years agocp:
nathan [Fri, 12 Jan 2001 09:13:16 +0000 (09:13 +0000)]
cp:
* friend.c (make_friend_class): Make sure a templated class is
actually a template.
testsuite:
* g++.old-deja/g++.pt/friend47.C: New test.

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

23 years agoDaily bump.
law [Fri, 12 Jan 2001 08:45:08 +0000 (08:45 +0000)]
Daily bump.

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

23 years agoUpdate.
drepper [Fri, 12 Jan 2001 05:29:26 +0000 (05:29 +0000)]
Update.

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

23 years agoDefine FLT_EVAL_METHOD and DECIMAL_DIG for C99.
drepper [Fri, 12 Jan 2001 05:28:26 +0000 (05:28 +0000)]
Define FLT_EVAL_METHOD and DECIMAL_DIG for C99.

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

23 years ago * final.c: (leaf_function_p): Fix typo.
wehle [Fri, 12 Jan 2001 05:02:00 +0000 (05:02 +0000)]
* final.c: (leaf_function_p): Fix typo.

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

23 years ago2001-01-11 Zack Weinberg <zack@wolery.stanford.edu>
zack [Fri, 12 Jan 2001 04:54:42 +0000 (04:54 +0000)]
2001-01-11  Zack Weinberg  <zack@wolery.stanford.edu>

* aclocal.m4 (AC_FUNC_MMAP_ANYWHERE): Completely rewritten.
Now defines HAVE_MMAP_DEV_ZERO and/or HAVE_MMAP_ANON depending
which you have.
(AC_FUNC_MMAP_FILE): Don't AC_REQUIRE AC_FUNC_MMAP_ANYWHERE.
* configure.in: Set GGC to ggc-page if any of mmap_dev_zero,
mmap_anon, and valloc is available.
* ggc-page.c: Restructure ifdef logic to match new autoconf
spec.  Don't throw away the test page in init_ggc.

* configure, config.in: Regenerate.

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

23 years ago * loop.h (total_biv_increment): Constify iv_class pointer.
m.hayes [Fri, 12 Jan 2001 04:09:43 +0000 (04:09 +0000)]
* loop.h (total_biv_increment): Constify iv_class pointer.
(struct induction): Replace `mem_mode' with `mem' rtx.
* unroll.c (total_biv_increment): Constify iv_class pointer.
* loop.c (loop_giv_reduce_benefit): Derive mem mode from mem rtx.
(find_mem_givs, combine_givs_p): Likewise.
(debug_ivs, debug_iv_class, loop_ivs_dump, loop_iv_class_dump): New.

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

23 years ago* gthr-win32.h (__gthread_objc_thread_get_data): Save and restore Win32
cgf [Fri, 12 Jan 2001 01:23:46 +0000 (01:23 +0000)]
* gthr-win32.h (__gthread_objc_thread_get_data): Save and restore Win32
LastError.
(__gthread_getspecific): Ditto.

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

23 years ago * sendmsg.c (__objc_print_dtable_stats): Don't use #ifdef inside
jsm28 [Fri, 12 Jan 2001 00:30:53 +0000 (00:30 +0000)]
* sendmsg.c (__objc_print_dtable_stats): Don't use #ifdef inside
printf.

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

23 years ago * i386.c (ix86_comparison_operator, fcmov_comparison_operator,
hubicka [Thu, 11 Jan 2001 23:10:30 +0000 (23:10 +0000)]
* i386.c (ix86_comparison_operator, fcmov_comparison_operator,
put_condition_code): Convert fp comparison codes to integer
before handling.
(ix86_expand_fp_compare): Postnote the fp comparison code converison
to final.

* i386.c (unsigned_comparison, no_comparison_operator): Kill.
* i386-protos.h (no_comparison_operator): Kill.

* i386.c (ix86_expand_fp_compare): Fix ordered/unordered confussion.

* combine.c (REVERSIBLE_CC_MODE): Remove.
(reversible_comparison_p): Remove.
(combine_reversed_comparison_code): New.
(reversed_comparison): New.
(combine_simplify_rtx): Use
combine_reversed_comparison_code/reversed_comparison instead
of reversible_comparison_p.
(simplify_if_then_else): Likewise.
(simplify_set): Likewise.
(simplify_logical): Likewise.
(if_then_else_cond): Likewise.
(known_cond): Likewise.
(simplify_comparison): Likewise.

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

23 years ago*** empty log message ***
alehotsky [Thu, 11 Jan 2001 23:01:40 +0000 (23:01 +0000)]
*** empty log message ***

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