]> gcc.gnu.org Git - gcc.git/log
gcc.git
23 years agoc-common.c: Move format checking code to ...
Joseph Myers [Sat, 13 Jan 2001 23:30:02 +0000 (23:30 +0000)]
c-common.c: Move format checking code to ...

* 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.

From-SVN: r38998

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

From-SVN: r38997

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

* unroll.c (loop_iterations): If we cannot prove iteration variable
is set once in each iteration, punt.

From-SVN: r38996

23 years agoavr.md ("strlenhi"): Remove clobber of input address.
Denis Chertykov [Sat, 13 Jan 2001 21:42:07 +0000 (21:42 +0000)]
avr.md ("strlenhi"): Remove clobber of input address.

* config/avr/avr.md ("strlenhi"): Remove clobber of input address.
(*strlenhi): Remove clobber (which was buggy) of output address.

From-SVN: r38995

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

From-SVN: r38994

23 years agogcc_update: Add gcc/gcc.1 to generated files.
Joseph Myers [Sat, 13 Jan 2001 21:17:13 +0000 (21:17 +0000)]
gcc_update: Add gcc/gcc.1 to generated files.

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".

From-SVN: r38993

23 years agoggc-page.c (USING_MALLOC_PAGE_GROUPS): New; set if not using mmap.
Richard Henderson [Sat, 13 Jan 2001 20:36:56 +0000 (12:36 -0800)]
ggc-page.c (USING_MALLOC_PAGE_GROUPS): New; set if not using mmap.

        * 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.

From-SVN: r38992

23 years agoreload1.c (replace_pseudos_in_call_usage): Use reg_equiv_constant and reg_equiv_addre...
Alexandre Oliva [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.

* reload1.c (replace_pseudos_in_call_usage): Use
reg_equiv_constant and reg_equiv_address, and don't try
regno_reg_rtx first.

From-SVN: r38991

23 years agoggc-page.c (alloc_page): Round up allocation size to one page.
Richard Henderson [Sat, 13 Jan 2001 19:58:43 +0000 (11:58 -0800)]
ggc-page.c (alloc_page): Round up allocation size to one page.

        * ggc-page.c (alloc_page): Round up allocation size to one page.
        Set e->order on extra pages.

From-SVN: r38990

23 years agogenrecog.c (nodes_identical): Expand commentary.
Richard Henderson [Sat, 13 Jan 2001 19:31:07 +0000 (11:31 -0800)]
genrecog.c (nodes_identical): Expand commentary.

        * genrecog.c (nodes_identical): Expand commentary.
        (write_switch): Watch out for identical nodes.

From-SVN: r38989

23 years agowidestr1.c: Update.
Neil Booth [Sat, 13 Jan 2001 18:40:49 +0000 (18:40 +0000)]
widestr1.c: Update.

        * gcc.dg/cpp/widestr1.c: Update.
        * gcc.dg/cpp/prag-imp.c: Remove.

From-SVN: r38988

23 years agocppfiles.c (_cpp_fake_include): New function.
Neil Booth [Sat, 13 Jan 2001 18:39:26 +0000 (18:39 +0000)]
cppfiles.c (_cpp_fake_include): New function.

        * 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.

From-SVN: r38987

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

From-SVN: r38986

23 years agoreload1.c: Add prototype for replace_pseudos_in_call_usage.
Andreas Jaeger [Sat, 13 Jan 2001 14:43:27 +0000 (15:43 +0100)]
reload1.c: Add prototype for replace_pseudos_in_call_usage.

* reload1.c: Add prototype for replace_pseudos_in_call_usage.

* regmove.c: Add prototype for replace_in_call_usage.

From-SVN: r38985

23 years agocpplib.h (cpp_pool, [...]): Move to cpphash.h (struct macro_args): Delete.
Neil Booth [Sat, 13 Jan 2001 14:32:59 +0000 (14:32 +0000)]
cpplib.h (cpp_pool, [...]): Move to cpphash.h (struct macro_args): Delete.

        * 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.

From-SVN: r38984

23 years agocppmain.c (struct printer): Remove no_line_dirs.
Neil Booth [Sat, 13 Jan 2001 14:24:34 +0000 (14:24 +0000)]
cppmain.c (struct printer): Remove no_line_dirs.

        * 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.

From-SVN: r38983

23 years agoc-lex.c (init_c_lex): Use cpp_get_callbacks to set callbacks.
Neil Booth [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-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.

From-SVN: r38982

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

From-SVN: r38981

23 years agoc-decl.c (start_function): Don't warn if old prototype is builtin that's not in C...
Richard 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.

* 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.

From-SVN: r38980

23 years agoi386.c (ix86_fp_comparison_arithmetics_cost, [...]): New functions.
Jan Hubicka [Sat, 13 Jan 2001 08:57:29 +0000 (09:57 +0100)]
i386.c (ix86_fp_comparison_arithmetics_cost, [...]): New functions.

* 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.

From-SVN: r38979

23 years agoDaily bump.
Jeff Law [Sat, 13 Jan 2001 08:45:10 +0000 (01:45 -0700)]
Daily bump.

From-SVN: r38978

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

From-SVN: r38977

23 years agosh.c (sh_expand_prologue): Let the second toggle_sz be optimized away.
Alexandre Oliva [Sat, 13 Jan 2001 07:21:35 +0000 (07:21 +0000)]
sh.c (sh_expand_prologue): Let the second toggle_sz be optimized away.

* config/sh/sh.c (sh_expand_prologue): Let the second toggle_sz be
optimized away.

From-SVN: r38976

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

From-SVN: r38975

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

From-SVN: r38974

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

From-SVN: r38973

23 years agofix-header.c (read_scan_file): Use cpp_get_callbacks and cpp_get_options rather than...
Neil Booth [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...

        * 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.

From-SVN: r38972

23 years agocppinit.c (cpp_handle_option): help_only is now part of the cpp_options structure.
Neil Booth [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.

        * 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.

From-SVN: r38971

23 years agoMakefile.in (info, [...]): Also build and remove and install and uninstall c-tree...
Joseph Myers [Sat, 13 Jan 2001 00:24:39 +0000 (00:24 +0000)]
Makefile.in (info, [...]): Also build and remove and install and uninstall c-tree.info and cppinternals.info.

* 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.

From-SVN: r38970

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

From-SVN: r38969

23 years agoc-typeck.c (store_init_value): Don't require constant initializer elements with ...
Jakub Jelinek [Fri, 12 Jan 2001 23:18:05 +0000 (00:18 +0100)]
c-typeck.c (store_init_value): Don't require constant initializer elements with -pedantic -std=c99.

* 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.

From-SVN: r38968

23 years agonatGtkComponentPeer.cc (getLocationOnScreen): Wrote.
Tom Tromey [Fri, 12 Jan 2001 23:08:23 +0000 (23:08 +0000)]
natGtkComponentPeer.cc (getLocationOnScreen): Wrote.

* 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.

From-SVN: r38967

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

From-SVN: r38966

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

From-SVN: r38965

23 years agocalls.c (emit_library_call_value_1): Add USEs and CLOBBERs to function usage for...
Alexandre Oliva [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.

* 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.

From-SVN: r38964

23 years agoMakefile.in: Reverted yesterday's wrong patch.
Alexandre Oliva [Fri, 12 Jan 2001 21:56:35 +0000 (21:56 +0000)]
Makefile.in: Reverted yesterday's wrong patch.

* Makefile.in: Reverted yesterday's wrong patch.  Installed the
right version.

From-SVN: r38963

23 years ago*: Fix dates.
Benjamin Kosnik [Fri, 12 Jan 2001 21:36:32 +0000 (21:36 +0000)]
*: Fix dates.

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.

From-SVN: r38962

23 years agobasic_string.h (_S_find(const _CharT* __beg, const _CharT* __end, _CharT __c): Remove.
Benjamin Kosnik [Fri, 12 Jan 2001 21:24:15 +0000 (21:24 +0000)]
basic_string.h (_S_find(const _CharT* __beg, const _CharT* __end, _CharT __c): Remove.

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.

From-SVN: r38961

23 years agoalpha.c (alpha_expand_block_move): GET_MODE of tmp, not XEXP (tmp, 0).
Jakub Jelinek [Fri, 12 Jan 2001 20:44:15 +0000 (21:44 +0100)]
alpha.c (alpha_expand_block_move): GET_MODE of tmp, not XEXP (tmp, 0).

* config/alpha/alpha.c (alpha_expand_block_move): GET_MODE of tmp,
not XEXP (tmp, 0).

From-SVN: r38960

23 years agoMakefile.in (bootstrap): rename stages to be mnemonic.
DJ Delorie [Fri, 12 Jan 2001 19:52:29 +0000 (14:52 -0500)]
Makefile.in (bootstrap): rename stages to be mnemonic.

* Makefile.in (bootstrap): rename stages to be mnemonic.  Add
restageN, unstageN, bubblestrap, quickstrap, and cleanstrap
targets.

From-SVN: r38959

23 years agoacinclude.m4 (GLIBCPP_CHECK_CTYPE_SUPPORT): check for DJGPP <ctype.h>
Laurynas Biveinis [Fri, 12 Jan 2001 19:39:07 +0000 (19:39 +0000)]
acinclude.m4 (GLIBCPP_CHECK_CTYPE_SUPPORT): check for DJGPP <ctype.h>

* 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.

From-SVN: r38958

23 years agonatSystem.cc: Include locale.h if it exists.
Tom Tromey [Fri, 12 Jan 2001 19:16:05 +0000 (19:16 +0000)]
natSystem.cc: Include locale.h if it exists.

* java/lang/natSystem.cc: Include locale.h if it exists.
* configure: Rebuilt.
* configure.in: Check for locale.h.

From-SVN: r38957

23 years agocpp.texi, [...]: Consistently refer to ISO C instead of ANSI C.
Joseph Myers [Fri, 12 Jan 2001 18:51:27 +0000 (18:51 +0000)]
cpp.texi, [...]: Consistently refer to ISO C instead of ANSI C.

* 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.

From-SVN: r38956

23 years agoUndo patch accidentally commited as part of change to remove
Nick Clifton [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

From-SVN: r38955

23 years agohaifa-sched.c (restore_line_notes): Remove argument block B since it's unused.
Andreas Jaeger [Fri, 12 Jan 2001 18:00:49 +0000 (19:00 +0100)]
haifa-sched.c (restore_line_notes): Remove argument block B since it's unused.

* 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.

From-SVN: r38954

23 years agorevert: varasm.c (assemble_name): Ensure we output the stripped name.
Mike Stump [Fri, 12 Jan 2001 17:58:36 +0000 (17:58 +0000)]
revert: varasm.c (assemble_name): Ensure we output the stripped name.

Revert:
* varasm.c (assemble_name): Ensure we output the stripped name.

From-SVN: r38953

23 years agoloop.h: Remove wrong declaration of doloop_condition_get.
Andreas Jaeger [Fri, 12 Jan 2001 17:41:23 +0000 (18:41 +0100)]
loop.h: Remove wrong declaration of doloop_condition_get.

* loop.h: Remove wrong declaration of doloop_condition_get.

Co-Authored-By: Jan Hubicka <jh@suse.cz>
From-SVN: r38952

23 years agog77spec.c (lang_specific_driver): Update copyright year to 2001.
Joseph Myers [Fri, 12 Jan 2001 17:28:23 +0000 (17:28 +0000)]
g77spec.c (lang_specific_driver): Update copyright year to 2001.

f:
* g77spec.c (lang_specific_driver): Update copyright year to 2001.

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

From-SVN: r38951

23 years agoextend.texi: Move C++-extension-related node from the C section into the C++ section.
Phil Edwards [Fri, 12 Jan 2001 17:07:51 +0000 (17:07 +0000)]
extend.texi: Move C++-extension-related node from the C section into the C++ section.

2001-01-12  Phil Edwards  <pme@sources.redhat.com>

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

From-SVN: r38950

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

From-SVN: r38949

23 years agoextend.texi: Refer to an array of pointers to functions instead of one of functions.
Joseph Myers [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.

* extend.texi: Refer to an array of pointers to functions instead
of one of functions.

From-SVN: r38948

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

* lib/f-torture.exp (f_torture_compile): Prune the warnings before
testing that no relevant ones were found.

From-SVN: r38944

23 years agocombine.c (reversed_comparison): Fix typo in last patch.
Andreas Jaeger [Fri, 12 Jan 2001 11:12:34 +0000 (12:12 +0100)]
combine.c (reversed_comparison): Fix typo in last patch.

  * combine.c (reversed_comparison): Fix typo in last patch.
Check X for NULL.
  (combine_reversed_comparison_code): Make static to follow
  prototype declaration.

Co-Authored-By: Jan Hubicka <jh@suse.cz>
From-SVN: r38942

23 years agotypeck.c (build_c_cast): Do template processing earlier.
Nathan Sidwell [Fri, 12 Jan 2001 09:47:23 +0000 (09:47 +0000)]
typeck.c (build_c_cast): Do template processing earlier.

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.

From-SVN: r38941

23 years agoinstall.texi: Remove misplaced duplicate entry.
Phil Edwards [Fri, 12 Jan 2001 09:25:56 +0000 (09:25 +0000)]
install.texi: Remove misplaced duplicate entry.

2001-01-12  Phil Edwards  <pme@sources.redhat.com>

* install.texi:  Remove misplaced duplicate entry.

From-SVN: r38940

23 years agofriend.c (make_friend_class): Make sure a templated class is actually a template.
Nathan Sidwell [Fri, 12 Jan 2001 09:13:16 +0000 (09:13 +0000)]
friend.c (make_friend_class): Make sure a templated class is actually a template.

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.

From-SVN: r38939

23 years agoDaily bump.
Jeff Law [Fri, 12 Jan 2001 08:45:08 +0000 (01:45 -0700)]
Daily bump.

From-SVN: r38938

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

From-SVN: r38937

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

From-SVN: r38936

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

From-SVN: r38935

23 years agoaclocal.m4 (AC_FUNC_MMAP_ANYWHERE): Completely rewritten.
Zack Weinberg [Fri, 12 Jan 2001 04:54:42 +0000 (04:54 +0000)]
aclocal.m4 (AC_FUNC_MMAP_ANYWHERE): Completely rewritten.

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.

From-SVN: r38934

23 years agoloop.h (total_biv_increment): Constify iv_class pointer.
Michael Hayes [Fri, 12 Jan 2001 04:09:43 +0000 (04:09 +0000)]
loop.h (total_biv_increment): Constify iv_class pointer.

* 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.

From-SVN: r38933

23 years agogthr-win32.h (__gthread_objc_thread_get_data): Save and restore Win32 LastError.
Thomas Pfaff [Fri, 12 Jan 2001 01:23:46 +0000 (01:23 +0000)]
gthr-win32.h (__gthread_objc_thread_get_data): Save and restore Win32 LastError.

* gthr-win32.h (__gthread_objc_thread_get_data): Save and restore Win32
LastError.
(__gthread_getspecific): Ditto.

From-SVN: r38932

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

* sendmsg.c (__objc_print_dtable_stats): Don't use #ifdef inside
printf.

From-SVN: r38931

23 years agoi386.c (ix86_comparison_operator, [...]): Convert fp comparison codes to integer...
Jan Hubicka [Thu, 11 Jan 2001 23:10:30 +0000 (00:10 +0100)]
i386.c (ix86_comparison_operator, [...]): Convert fp comparison codes to integer before handling.

* 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.

From-SVN: r38930

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

From-SVN: r38929

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

From-SVN: r38928

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

From-SVN: r38927

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

From-SVN: r38926

23 years ago[multiple changes]
Neil Booth [Thu, 11 Jan 2001 21:30:16 +0000 (21:30 +0000)]
[multiple changes]

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.

From-SVN: r38925

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

From-SVN: r38924

23 years agosh.c (barrier_align): Recognize branch around far branch and redundant insn.
Alexandre Oliva [Thu, 11 Jan 2001 20:03:09 +0000 (20:03 +0000)]
sh.c (barrier_align): Recognize branch around far branch and redundant insn.

* config/sh/sh.c (barrier_align): Recognize branch around far
branch and redundant insn.

From-SVN: r38923

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

From-SVN: r38922

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

        * invoke.texi: Restore documentation of the drivers' switches -MD
and -MMD.

From-SVN: r38920

23 years agostd_cstdio.h: Undef printf.
Joseph Myers [Thu, 11 Jan 2001 18:16:16 +0000 (18:16 +0000)]
std_cstdio.h: Undef printf.

2001-01-11   Joseph S. Myers  <jsm28@cam.ac.uk>

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

From-SVN: r38917

23 years agoCursor.java (Cursor(String)): Set type to custom.
Tom Tromey [Thu, 11 Jan 2001 17:49:47 +0000 (17:49 +0000)]
Cursor.java (Cursor(String)): Set type to custom.

* java/awt/Cursor.java (Cursor(String)): Set type to custom.
(Cursor(int), getPredefinedCursor): Throw exception if argument
invalid.

From-SVN: r38911

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

From-SVN: r38910

23 years agoMakefile.in (check-gcc//%, [...]): Support parallel testing of multilibs.
Alexandre Oliva [Thu, 11 Jan 2001 17:11:28 +0000 (17:11 +0000)]
Makefile.in (check-gcc//%, [...]): Support parallel testing of multilibs.

* 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).

From-SVN: r38909

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

From-SVN: r38908

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

From-SVN: r38907

23 years agoencoding.c (STRUCTURE_SIZE_BOUNDARY): Redefine in a way that determines the value...
Richard Earnshaw [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.

* encoding.c (STRUCTURE_SIZE_BOUNDARY): Redefine in a way that
determines the value dynamically.

From-SVN: r38906

23 years agodecl2.c (get_guard): Set linkage from guarded decl.
Nathan Sidwell [Thu, 11 Jan 2001 13:34:00 +0000 (13:34 +0000)]
decl2.c (get_guard): Set linkage from guarded decl.

cp:
* decl2.c (get_guard): Set linkage from guarded decl.

From-SVN: r38905

23 years agoinstantiate13.C: New test.
Nathan Sidwell [Thu, 11 Jan 2001 12:50:28 +0000 (12:50 +0000)]
instantiate13.C: New test.

testsuite:
* g++.old-deja/g++.pt/instantiate13.C: New test.

From-SVN: r38904

23 years agocall.c (convert_default_arg): Check for unprocessed DEFAULT_ARG.
Nathan Sidwell [Thu, 11 Jan 2001 12:29:20 +0000 (12:29 +0000)]
call.c (convert_default_arg): Check for unprocessed DEFAULT_ARG.

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.

From-SVN: r38903

23 years agopt.c (unify): Check array has a domain, before checking whether it is variable sized.
Nathan Sidwell [Thu, 11 Jan 2001 11:45:03 +0000 (11:45 +0000)]
pt.c (unify): Check array has a domain, before checking whether it is variable sized.

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.

From-SVN: r38902

23 years agodecl.c (grokparms): Unobfuscate and get correct diagnostic for parameters with pointe...
Nathan Sidwell [Thu, 11 Jan 2001 11:37:15 +0000 (11:37 +0000)]
decl.c (grokparms): Unobfuscate and get correct diagnostic for parameters with pointers to arrays...

cp:
* decl.c (grokparms): Unobfuscate and get correct diagnostic for
parameters with pointers to arrays of unknown bound.

From-SVN: r38901

23 years agoparse.y (template_parm_header, [...]): New reductions.
Nathan Sidwell [Thu, 11 Jan 2001 11:29:06 +0000 (11:29 +0000)]
parse.y (template_parm_header, [...]): New reductions.

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.

From-SVN: r38900

23 years agoflow.c (flow_call_edges_add): New.
Michael Hayes [Thu, 11 Jan 2001 09:13:02 +0000 (09:13 +0000)]
flow.c (flow_call_edges_add): New.

* flow.c (flow_call_edges_add): New.
* basic_block.h (flow_call_edges_add): New.

From-SVN: r38899

23 years agoDaily bump.
Jeff Law [Thu, 11 Jan 2001 08:45:08 +0000 (01:45 -0700)]
Daily bump.

From-SVN: r38898

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

From-SVN: r38897

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

From-SVN: r38896

23 years agoios.cc: Fix typo: change cout->wcout.
Benjamin Kosnik [Thu, 11 Jan 2001 07:27:50 +0000 (07:27 +0000)]
ios.cc: Fix typo: change cout->wcout.

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.

From-SVN: r38895

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

From-SVN: r38894

23 years agopt.c (copy_default_args_to_explicit_spec_1): New function.
Mark Mitchell [Thu, 11 Jan 2001 03:10:12 +0000 (03:10 +0000)]
pt.c (copy_default_args_to_explicit_spec_1): New function.

* pt.c (copy_default_args_to_explicit_spec_1): New function.
(copy_default_args_to_explicit_spec): Likewise.
(check_explicit_specialization): Use it.

From-SVN: r38893

23 years agoparse.y (resolve_expression_name): Permit instance variables from enclosing context...
Bryce McKinlay [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.

* 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.

From-SVN: r38892

23 years agoreload1.c (move2add_note_store): Update reg_set_luid even if base reg remains the...
J"orn Rennecke [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.

* reload1.c (move2add_note_store): Update reg_set_luid even if
base reg remains the same.

From-SVN: r38891

23 years agoMakefile.am: Re-enable dependencies.
Bryce McKinlay [Thu, 11 Jan 2001 02:50:47 +0000 (02:50 +0000)]
Makefile.am: Re-enable dependencies.

* Makefile.am: Re-enable dependencies.
* Makefile.in: Rebuilt.

From-SVN: r38890

23 years agoRotate ChangeLog entries.
Jeff Law [Thu, 11 Jan 2001 02:12:48 +0000 (19:12 -0700)]
Rotate ChangeLog entries.

From-SVN: r38889

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

From-SVN: r38888

23 years agoc-common.h (CTI_VOID_LIST): Remove.
Mark Mitchell [Thu, 11 Jan 2001 00:08:45 +0000 (00:08 +0000)]
c-common.h (CTI_VOID_LIST): Remove.

* 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.

From-SVN: r38887

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