platform/upstream/linaro-gcc.git
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

23 years ago * cppinit.c (do_includes): Fix typo.
neil [Thu, 11 Jan 2001 22:20:51 +0000 (22:20 +0000)]
* cppinit.c (do_includes): Fix typo.

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

23 years agoFix constraints in 68HC11/HC12 port
ciceron [Thu, 11 Jan 2001 22:13:52 +0000 (22:13 +0000)]
Fix constraints in 68HC11/HC12 port

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

23 years ago * cppspec.c (DEFAULT_WORD_SWITCH_TAKES_ARG): Add -MQ.
neil [Thu, 11 Jan 2001 22:10:49 +0000 (22:10 +0000)]
    * cppspec.c (DEFAULT_WORD_SWITCH_TAKES_ARG): Add -MQ.

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

23 years ago2001-01-11 Neil Booth <neil@daikokuya.demon.co.uk>
neil [Thu, 11 Jan 2001 21:30:16 +0000 (21:30 +0000)]
2001-01-11  Neil Booth  <neil@daikokuya.demon.co.uk>

        * cppinit.c (cpp_start_read): If -fpreprocessed, ignore
-D, -U and -A, and don't initialize the builtins.
* cppmain.c (cb_define, cb_undef): Unconditionally process
the callback.
* tradcpp.c (main): Fix typo.

2000-01-11  Mark Elbrecht  <snowball3@bigfoot.com>

        * cppfiles.c (cpp_included, find_include_file, _cpp_execute_include)
          (read_name_map): Use IS_ABSOLUTE_PATH.
        * tradcpp.c (get_filename): Likewise.

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

23 years agoFix operand numbers in m68hc11.md
ciceron [Thu, 11 Jan 2001 21:10:39 +0000 (21:10 +0000)]
Fix operand numbers in m68hc11.md

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

23 years ago* config/sh/sh.c (barrier_align): Recognize branch around far
aoliva [Thu, 11 Jan 2001 20:03:09 +0000 (20:03 +0000)]
* config/sh/sh.c (barrier_align): Recognize branch around far
branch and redundant insn.

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

23 years ago * invoke.texi: Fix typo.
neil [Thu, 11 Jan 2001 18:37:17 +0000 (18:37 +0000)]
* invoke.texi: Fix typo.

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

23 years ago * invoke.texi: Restore documentation of the drivers' switches -MD
neil [Thu, 11 Jan 2001 18:28:14 +0000 (18:28 +0000)]
    * invoke.texi: Restore documentation of the drivers' switches -MD
and -MMD.

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

23 years ago2001-01-11 Joseph S. Myers <jsm28@cam.ac.uk>
bkoz [Thu, 11 Jan 2001 18:16:16 +0000 (18:16 +0000)]
2001-01-11   Joseph S. Myers  <jsm28@cam.ac.uk>

* include/c_std/bits/std_cstdio.h: Undef printf.

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

23 years ago * java/awt/Cursor.java (Cursor(String)): Set type to custom.
tromey [Thu, 11 Jan 2001 17:49:47 +0000 (17:49 +0000)]
* java/awt/Cursor.java (Cursor(String)): Set type to custom.
(Cursor(int), getPredefinedCursor): Throw exception if argument
invalid.

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

23 years ago* config/sh/sh.h (LABEL_ALIGN): Use UNSPECV_ALIGN instead of 1.
aoliva [Thu, 11 Jan 2001 17:15:13 +0000 (17:15 +0000)]
* config/sh/sh.h (LABEL_ALIGN): Use UNSPECV_ALIGN instead of 1.

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

23 years ago* Makefile.in (check-gcc//%, check-g++//%, check-g77//%,
aoliva [Thu, 11 Jan 2001 17:11:28 +0000 (17:11 +0000)]
* Makefile.in (check-gcc//%, check-g++//%, check-g77//%,
check-objc//%): Support parallel testing of multilibs.
(TESTSUITEDIR): Set to testsuite by default, but override for
parallel testing.
(check-gcc, check-g++, check-g77, check-objc): Enter
$(TESTSUITEDIR).

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

23 years agoPartially undo a previous patch
bernds [Thu, 11 Jan 2001 17:02:44 +0000 (17:02 +0000)]
Partially undo a previous patch

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

23 years agoUpdate for 2.95.3
bernds [Thu, 11 Jan 2001 15:57:59 +0000 (15:57 +0000)]
Update for 2.95.3

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

23 years ago* encoding.c (STRUCTURE_SIZE_BOUNDARY): Redefine in a way that
rearnsha [Thu, 11 Jan 2001 14:01:45 +0000 (14:01 +0000)]
* encoding.c (STRUCTURE_SIZE_BOUNDARY): Redefine in a way that
determines the value dynamically.

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

23 years agocp:
nathan [Thu, 11 Jan 2001 13:34:00 +0000 (13:34 +0000)]
cp:
* decl2.c (get_guard): Set linkage from guarded decl.

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

23 years agotestsuite:
nathan [Thu, 11 Jan 2001 12:50:28 +0000 (12:50 +0000)]
testsuite:
* g++.old-deja/g++.pt/instantiate13.C: New test.

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

23 years agocp:
nathan [Thu, 11 Jan 2001 12:29:20 +0000 (12:29 +0000)]
cp:
* call.c (convert_default_arg): Check for unprocessed
DEFAULT_ARG.
* cp-tree.h (replace_defarg): Move to spew.c.
(maybe_snarf_defarg, add_defarg_fn, do_pending_defargs): Move to
spew.c, which is where they really are.
(done_pending_defargs): Declare.
(unprocessed_defarg_fn): Declare.
* decl.c (replace_defarg): Move to spew.c
* parse.y (structsp): Call done_pending_defargs.
* spew.c (defarg_fns): Rearrange list structure.
(defarg_fnsdone): New static variable.
(defarg_depfns): New static variable.
(init_spew): Adjust.
(add_defarg_fn): Store the type in TREE_TYPE.
(do_pending_defargs): Detect and deal with ordering constraints
and circularity.
(done_pending_defargs): New function.
(unprocessed_defarg_fn): New function.
(replace_defarg): Moved from decl.c. Robustify. Don't save
if circularity detected.
testsuite:
* g++.old-deja/g++.other/defarg7.C: New test.
* g++.old-deja/g++.other/defarg8.C: New test.

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

23 years agocp:
nathan [Thu, 11 Jan 2001 11:45:03 +0000 (11:45 +0000)]
cp:
* pt.c (unify): Check array has a domain, before checking
whether it is variable sized.
testsuite:
* g++.old-deja/g++.pt/crash64.C: New test.

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

23 years agocp:
nathan [Thu, 11 Jan 2001 11:37:15 +0000 (11:37 +0000)]
cp:
* decl.c (grokparms): Unobfuscate and get correct diagnostic for
parameters with pointers to arrays of unknown bound.

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

23 years agocp:
nathan [Thu, 11 Jan 2001 11:29:06 +0000 (11:29 +0000)]
cp:
* parse.y (template_parm_header, template_spec_header): New
reductions. Split out from ...
(template_header): ... here. Use them.
(template_template_parm): Use template_parm_header.
* semantics.c (finish_template_template_parm): Add assert.
testsuite:
* g++.old-deja/g++.pt/crash63.C: New test.

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

23 years ago * flow.c (flow_call_edges_add): New.
m.hayes [Thu, 11 Jan 2001 09:13:02 +0000 (09:13 +0000)]
* flow.c (flow_call_edges_add): New.
* basic_block.h (flow_call_edges_add): New.

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

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

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

23 years ago * gcc.dg/cpp/if-2.c: Fix bogus update.
neil [Thu, 11 Jan 2001 08:11:29 +0000 (08:11 +0000)]
* gcc.dg/cpp/if-2.c: Fix bogus update.

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

23 years ago * gcc.dg/cpp/if-2.c: Add wide char test without sign extension.
neil [Thu, 11 Jan 2001 07:53:41 +0000 (07:53 +0000)]
* gcc.dg/cpp/if-2.c: Add wide char test without sign extension.

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

23 years ago2001-01-10 Benjamin Kosnik <bkoz@redhat.com>
bkoz [Thu, 11 Jan 2001 07:27:50 +0000 (07:27 +0000)]
2001-01-10  Benjamin Kosnik  <bkoz@redhat.com>

* src/ios.cc: Fix typo: change cout->wcout.

* src/Makefile.am (targetincludep): Fix for version-specific-libs.
* src/Makefile.in: Regenerate.

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

23 years ago * mangle.c (write_builtin_type): Fix thinko.
mmitchel [Thu, 11 Jan 2001 03:15:49 +0000 (03:15 +0000)]
* mangle.c (write_builtin_type): Fix thinko.

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

23 years ago * pt.c (copy_default_args_to_explicit_spec_1): New function.
mmitchel [Thu, 11 Jan 2001 03:10:12 +0000 (03:10 +0000)]
* pt.c (copy_default_args_to_explicit_spec_1): New function.
(copy_default_args_to_explicit_spec): Likewise.
(check_explicit_specialization): Use it.

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

23 years ago * parse.y (resolve_expression_name): Permit instance variables from
bryce [Thu, 11 Jan 2001 03:00:56 +0000 (03:00 +0000)]
* parse.y (resolve_expression_name): Permit instance variables from
enclosing context in super constructor call.
(resolve_qualified_expression_name): Permit enclosing class's
qualified "this" in super constructor call.

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

23 years ago* reload1.c (move2add_note_store): Update reg_set_luid even if
aoliva [Thu, 11 Jan 2001 02:57:52 +0000 (02:57 +0000)]
* reload1.c (move2add_note_store): Update reg_set_luid even if
base reg remains the same.

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

23 years ago * Makefile.am: Re-enable dependencies.
bryce [Thu, 11 Jan 2001 02:50:47 +0000 (02:50 +0000)]
* Makefile.am: Re-enable dependencies.
* Makefile.in: Rebuilt.

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

23 years agoRotate ChangeLog entries.
law [Thu, 11 Jan 2001 02:12:48 +0000 (02:12 +0000)]
Rotate ChangeLog entries.

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

23 years agoInitialise machine_function structure to zero.
nickc [Thu, 11 Jan 2001 01:47:23 +0000 (01:47 +0000)]
Initialise machine_function structure to zero.

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

23 years ago * c-common.h (CTI_VOID_LIST): Remove.
mmitchel [Thu, 11 Jan 2001 00:08:45 +0000 (00:08 +0000)]
* c-common.h (CTI_VOID_LIST): Remove.
(void_list_node): Likewise.
* tree.h (TI_VOID_LIST_NODE): New enumeral.
(void_list_node): New macro.
* config/arm/arm.c (arm_init_builtins): Use void_list_node.
* config/i386/i386.c (ix86_init_builtins): Likewise.
* config/ia64a/ia64.c (ia64_init_builtins): Likewise.

* class.c (finish_struct_1):  Remove last argument in call to
make_decl_rtl; use make_function_rtl instead of make_decl_rtl.
* decl.c (builtin_function): Likewise.
(build_cp_library_fn): Likewise.
(check_initializer): Likewise.
(make_rtl_for_nonlocal_decl): Likewise.
(cp_finish_decl): Likewise.
(start_function): Likewise.
* decl2.c (finish_anon_union): Likewise.
* friend.c (do_friend): Likewise.
* init.c (build_java_class_ref): Likewise.
* method.c (make_thunk): Likewise.
* pt.c (tsubst_friend_function): Likewise.
* semantics.c (expand_body): Likewise.

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

23 years ago*** empty log message ***
alehotsky [Wed, 10 Jan 2001 23:57:55 +0000 (23:57 +0000)]
*** empty log message ***

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

23 years ago * Makefile.in (tradcpp0): Depend on mkdeps.h. Link mkdeps.o
neil [Wed, 10 Jan 2001 23:28:00 +0000 (23:28 +0000)]
    * Makefile.in (tradcpp0): Depend on mkdeps.h.  Link mkdeps.o
        * cppinit.c (cpp_start_read): Update comment, remove unneeded
        if statement.
        * tradcpp.c: Include mkdeps.h.
        (deps, print_deps_phony_targets, deps_append, output_deps,
        init_dependency_output, output_deps): New.
        (deps_buffer, deps_allocated_size, deps_size, deps_column,
        deps_output): Delete.
        (print_deps_missing_files): Rename deps_missing_files.
        (inhibit_output): Make global.
        (main): Delete inhibit_output, deps_stream, deps_target.
        Use mkdeps functionality in the same way as cpplib.  Remove
        -g3 handling.  Handle -MF, -MP, -MQ, -MT.  Update handling of
        -M and -MM.  Remove old handling of deps via deps_out, and
        old reading of environment variables.
        (get_filename): Update to use deps_add_dep.

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

23 years ago * output.h (make_function_rtl): Remove prototype.
mmitchel [Wed, 10 Jan 2001 23:06:30 +0000 (23:06 +0000)]
* output.h (make_function_rtl): Remove prototype.
(make_decl_rtl): Likewise.
* varasm.c (make_function_rtl): Remove.
(make_decl_rtl): Determine top-levelness from DECL_CONTEXT, rather
than from a third parameter.
* tree.h (make_decl_rtl): Remove last parameter.
* c-decl.c (builtin_function): Remove last argument in call to
make_decl_rtl; use make_function_rtl instead of make_decl_rtl.
(start_function): Likewise.
* except.c (call_get_eh_context): Likewise.
* expr.c (emit_block_move): Likewise.
(clear_storage): Likewise.
* profile.c (output_func_start_profiler): Likewise.
* toplev.c (rest_of_decl_compilation): Likewise.
* objc/objc-act.c (create_builtin_decl): Likewise.
(synth_module_prologue): Likewise.
(generate_static_reference): Likewise.
(build_selector_reference_decl): Likewise.
(build_class_reference_decl): Likewise.
(build_objc_string_decl): Likewise.
(build_protocol_reference): Likewise.

* class.c (finish_struct_1):  Remove last argument in call to
make_decl_rtl; use make_function_rtl instead of make_decl_rtl.
* decl.c (builtin_function): Likewise.
(build_cp_library_fn): Likewise.
(check_initializer): Likewise.
(make_rtl_for_nonlocal_decl): Likewise.
(cp_finish_decl): Likewise.
(start_function): Likewise.
* decl2.c (finish_anon_union): Likewise.
* friend.c (do_friend): Likewise.
* init.c (build_java_class_ref): Likewise.
* method.c (make_thunk): Likewise.
* pt.c (tsubst_friend_function): Likewise.
* semantics.c (expand_body): Likewise.

* com.c (ffecom_init_zero_):  Remove last argument in call to
make_decl_rtl; use make_function_rtl instead of make_decl_rtl.
(ffecom_lookup_label_): Likewise.
(builtin_function): Likewise.
(start_function): Likewise.

* class.c (build_utf8_ref): Remove last argument in call to
make_decl_rtl; use make_function_rtl instead of make_decl_rtl.
(build_class_ref): Likewise.
(build_static_field_ref): Likewise.
(get_dispatch_table): Likewise.
(layout_class_method): Likewise.
(emit_register_classes): Likewise.
* constants.c (build_constant_data_ref): Likewise.
* decl.c (builtin_function): Likewise.
(create_primitive_vtable): Likewise.
* expr.c (build_known_method_def): Likewise.
(build_jni_stub): Likewise.
(java_lang_expand_expr): Likewise.

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

23 years ago * hwint.h: Revert yesterday's change.
rth [Wed, 10 Jan 2001 22:27:40 +0000 (22:27 +0000)]
    * hwint.h: Revert yesterday's change.

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

23 years agoRemove {save|restore}_machine_status.
nickc [Wed, 10 Jan 2001 21:40:14 +0000 (21:40 +0000)]
Remove {save|restore}_machine_status.
Document {init|mark|free}_machine_status.

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

23 years ago * cppinit.c (OPT_g): Remove.
neil [Wed, 10 Jan 2001 21:32:15 +0000 (21:32 +0000)]
    * cppinit.c (OPT_g): Remove.
        (cpp_handle_option): Update for removed -g3.
        (print_help): Update.
        * cpplib.h (struct cpp_options): Remove debug_output.
        * cppmain.c (setup_callbacks, cb_define): Update.
        * gcc.c (cpp_options): Translate -g3 to -dD.

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

23 years agofix constraint for i960.md
aldyh [Wed, 10 Jan 2001 21:14:04 +0000 (21:14 +0000)]
fix constraint for i960.md

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

23 years agofix constraint
aldyh [Wed, 10 Jan 2001 21:12:28 +0000 (21:12 +0000)]
fix constraint

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

23 years ago2001-01-10 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
bkoz [Wed, 10 Jan 2001 20:55:03 +0000 (20:55 +0000)]
2001-01-10  Peter Schmid  <schmid@snake.iap.physik.tu-darmstadt.de>

         * include/bits/std_complex.h: Fix a typo.

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

23 years ago * config/alpha/alpha.c (alpha_free_machine_status): New.
rth [Wed, 10 Jan 2001 19:59:23 +0000 (19:59 +0000)]
    * config/alpha/alpha.c (alpha_free_machine_status): New.
        (override_options): Install it.
        (alpha_mark_machine_status): Verify machine non-null.
        * config/i386/i386.c (ix86_free_machine_status): New.
        (override_options): Install it.
        (ix86_init_machine_status): Use xcalloc.
        (ix86_mark_machine_status): Verify machine non-null.
        * config/ia64/ia64.c (ia64_free_machine_status): New.
        (ia64_override_options): Install it.
        (ia64_mark_machine_status): Verify machine non-null.

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

23 years ago * cp-tree.h (DECL_CLONED_FUNCTION_P): Avoid wild reads by not
mmitchel [Wed, 10 Jan 2001 19:55:03 +0000 (19:55 +0000)]
* cp-tree.h (DECL_CLONED_FUNCTION_P): Avoid wild reads by not
looking at DECL_CLONED_FUNCTION for non-functions.

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

23 years ago2001-01-07 Alexandre Petit-Bianco <apbianco@cygnus.com>
apbianco [Wed, 10 Jan 2001 19:20:52 +0000 (19:20 +0000)]
2001-01-07  Alexandre Petit-Bianco  <apbianco@cygnus.com>

        * decl2.c (acceptable_java_type): Allow references too.
        * init.c (build_java_class_ref): When using the new ABI, search
        `class$' and have it mangled with `mangle_decl.'
        * mangle.c (write_java_integer_type_codes): New function.
        (write_builtin_type): Detect and mangle Java integer and real
        types.

(http://gcc.gnu.org/ml/gcc-patches/2001-01/msg00756.html)

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

23 years ago * jvspec.c (jvgenmain_spec): Omit -fencoding from cc1 invocation.
tromey [Wed, 10 Jan 2001 19:13:10 +0000 (19:13 +0000)]
* jvspec.c (jvgenmain_spec): Omit -fencoding from cc1 invocation.

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

23 years ago * function.c (instantiate_virtual_regs): Instantiate virtual
law [Wed, 10 Jan 2001 18:35:50 +0000 (18:35 +0000)]
    * function.c (instantiate_virtual_regs): Instantiate virtual
        registers found in CALL_INSN_FUNCTION_USAGE.

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