OSDN Git Service

pf3gnuchains/gcc-fork.git
22 years ago2001-07-18 Stephen M. Webb <stephen@bregmasoft..com>
bkoz [Wed, 18 Jul 2001 17:58:37 +0000 (17:58 +0000)]
2001-07-18  Stephen M. Webb  <stephen@bregmasoft..com>
            Roman Sulzhyk  <roman_sulzhyk@yahoo.com>

        libstdc++/3599
        * include/bits/ostream.tcc (ostream::put): Fixed error condition check.
        * testsuite/27_io/streambuf.cc (test07): Added new regression test.

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

22 years ago For PR java/2812:
tromey [Wed, 18 Jul 2001 17:18:55 +0000 (17:18 +0000)]
For PR java/2812:
* lex.h: Use HAVE_ICONV, not HAVE_ICONV_H.
* lex.c (java_new_lexer): Use ICONV_CONST.
(java_read_char): Likewise.
* Make-lang.in (jc1$(exeext)): Link against LIBICONV.
(jv-scan$(exeext)): Likewise.

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

22 years ago For PR java/2812:
tromey [Wed, 18 Jul 2001 17:17:03 +0000 (17:17 +0000)]
For PR java/2812:
* configure: Rebuilt.
* configure.in: Don't check for iconv.h or iconv(); use AM_ICONV
instead.
* aclocal.m4 (AM_ICONV): New macro from Bruno Haible.

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

22 years ago * flow.c (redirect_edge_and_branch): Bail out on complex edges.
hubicka [Wed, 18 Jul 2001 17:11:11 +0000 (17:11 +0000)]
* flow.c (redirect_edge_and_branch): Bail out on complex edges.
(try_optimize_cfg): Do not remove tail recursive labels before sibcall.
* jump.c (mark_jump_label): Do not forward branches.

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

22 years ago2001-07-17 Stephen M. Webb <stephen@bregmasoft.com>r
bkoz [Wed, 18 Jul 2001 17:09:02 +0000 (17:09 +0000)]
2001-07-17  Stephen M. Webb   <stephen@bregmasoft.com>r

All occurrences of the __value_type() and __distance_type()
functions, which were required to support the HP STL, have been
removed along with all the auxiliary forwarding functions that
were required to support their use.

The __iterator_category() function was pretty much left alone
because there was no benefit to removing it and its use made code
just a little more readable.

Incidences of distance() with nonstandard argument list were
replaced by calls to the standard function (only in the files
affected by the removal of the other HP functions).

The signature of the rotate() algorithm was changed to match the
standard.

Headers were reformatted under C++STYLE guidelines (indentation,
linebreaks, typename keyword).

* include/bits/stl_algo.h: replaced __value_type() and
__distance_type() with iterator_traits, eliminated auxiliary
support functions required to support said function usage.
Changed nonstandard distance() call to standard call.

* include/bits/stl_algobase.h: Same.
* include/bits/stl_heap.h: Same.
* include/bits/stl_numeric.h: Same.
* include/bits/stl_uninitialized.h: Same.
* include/bits/stl_iterator_base_types.h (__value_type()):
Removed.
(__distance_type()): Removed.
(value_type()): Gone.
(distance_type()): Done in.
(iterator_category()): Hasta la vista, baby.

* include/bits/stl_iterator_base_funcs.h (iterator_category()):
Replaced with __iterator_category().
* include/backward/iterator.h: moved definition of value_type(),
distance_type(), and iterator_category() out of std:: and into
here.
* testsuite/23_containers/vector_ctor.cc (test03): New testcases.
* testsuite/23_containers/vector_modifiers.cc (test03): New testcases.
* testsuite/25_algorithms/rotate.cc: New testcase.
* testsuite/25_algorithms/copy.cc: New testcase.
* testsuite/25_algorithms/sort.cc: Same.
* testsuite/25_algorithms/heap.cc: Same.
* testsuite/25_algorithms/partition.cc: Same.
* testsuite/25_algorithms/binary_search.cc: Same.
* testsuite/26_numerics/sum_diff.cc: Ditto.

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

22 years ago For PR java/2812:
tromey [Wed, 18 Jul 2001 17:06:24 +0000 (17:06 +0000)]
For PR java/2812:
* libgcj.spec.in (*lib): Added LIBICONV.
* configure: Rebuilt.
* configure.in: Call AM_ICONV.  Don't check for iconv function.
Add parameters to JV_HASH_SYNCHRONIZATION define.
* acinclude.m4 (AM_ICONV): New macro, from Bruno Haible.

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

22 years ago * cse.c (delete_trivially_dead_insns): Delete the libcall block
hubicka [Wed, 18 Jul 2001 16:36:33 +0000 (16:36 +0000)]
* cse.c (delete_trivially_dead_insns): Delete the libcall block
when return value is unused.

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

22 years ago * gcse.c (pre_insert_copy_insn): Call update_ld_motion_stores.
hubicka [Wed, 18 Jul 2001 16:29:50 +0000 (16:29 +0000)]
* gcse.c (pre_insert_copy_insn): Call update_ld_motion_stores.

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

22 years ago * g++.dg/vtgc1.C: Revert patch from 2001-04-26 since vtable-gc is
aj [Wed, 18 Jul 2001 16:26:45 +0000 (16:26 +0000)]
    * g++.dg/vtgc1.C: Revert patch from 2001-04-26 since vtable-gc is
        supported again.

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

22 years ago * libU77/configure.in (_XOPEN_SOURCE, _FILE_OFFSET_BITS): Move
ghazi [Wed, 18 Jul 2001 15:16:10 +0000 (15:16 +0000)]
* libU77/configure.in (_XOPEN_SOURCE, _FILE_OFFSET_BITS): Move
these defines before tests which might be affected by them.
(_XOPEN_SOURCE_EXTENDED): Define.

* libU77/configure, libU77/config.hin: Regenerate.

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

22 years agoSave a function call in common mutex locking/unlocking operations
nicola [Wed, 18 Jul 2001 11:55:24 +0000 (11:55 +0000)]
Save a function call in common mutex locking/unlocking operations

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

22 years agoSave a function call on mutex locking/unlocking
nicola [Wed, 18 Jul 2001 11:54:03 +0000 (11:54 +0000)]
Save a function call on mutex locking/unlocking

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

22 years agoFixed bug in gthr-posix.h - buggy backend thread functions for objective-c
nicola [Wed, 18 Jul 2001 11:22:37 +0000 (11:22 +0000)]
Fixed bug in gthr-posix.h - buggy backend thread functions for objective-c

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

22 years agoFixed backend function of objc_mutex_trylock which was broken
nicola [Wed, 18 Jul 2001 11:21:20 +0000 (11:21 +0000)]
Fixed backend function of objc_mutex_trylock which was broken

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

22 years agoDaily bump.
gccadmin [Wed, 18 Jul 2001 07:16:08 +0000 (07:16 +0000)]
Daily bump.

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

22 years ago * gcc.dg/iftrap-1.c: Fix target line.
aj [Wed, 18 Jul 2001 07:13:09 +0000 (07:13 +0000)]
* gcc.dg/iftrap-1.c: Fix target line.

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

22 years ago * integrate.c (output_inline_function): Correct type of debug_hooks.
aj [Wed, 18 Jul 2001 06:35:24 +0000 (06:35 +0000)]
* integrate.c (output_inline_function): Correct type of debug_hooks.

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

22 years ago2001-07-18 Toon Moene <toon@moene.indiv.nluug.nl>
toon [Wed, 18 Jul 2001 05:26:38 +0000 (05:26 +0000)]
2001-07-18  Toon Moene  <toon@moene.indiv.nluug.nl>

* combine.c (combine_simplify_rtx): DIV can be treated
associatively for floats if unsafe math optimisations are enabled.

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

22 years ago * reload.c (push_secondary_reload): Accept empty-string for ALL_REGS.
rth [Wed, 18 Jul 2001 03:32:46 +0000 (03:32 +0000)]
    * reload.c (push_secondary_reload): Accept empty-string for ALL_REGS.

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

22 years ago * calls.c (prepare_call_address): New parameter SIBCALLP. If true,
rth [Wed, 18 Jul 2001 03:24:53 +0000 (03:24 +0000)]
    * calls.c (prepare_call_address): New parameter SIBCALLP.  If true,
        don't force the function address into a register.
        (expand_call, emit_library_call_value_1): Update callers.
        * builtins.c (expand_builtin_apply): Likewise.
        * expr.h (prepare_call_address): Update decl.

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

22 years ago * config.gcc: For *-*-chorusos triplet, get chorus.h file from
cchavva [Wed, 18 Jul 2001 03:10:10 +0000 (03:10 +0000)]
    * config.gcc: For *-*-chorusos triplet, get chorus.h file from
        config directory.
        * config/i386/chorus.h: Move up.
        * config/sparc/chorus.h: Likewise.
        * config/rs6000/chorus.h: Likewise.
        * config/chorus.h: Moved here

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

22 years ago2001-07-13 Alexandre Petit-Bianco <apbianco@redhat.com>
apbianco [Tue, 17 Jul 2001 23:59:07 +0000 (23:59 +0000)]
2001-07-13  Alexandre Petit-Bianco  <apbianco@redhat.com>

* include/i386-signal.h (HANDLE_DIVIDE_OVERFLOW): Removed unused
local `_ebp.'

(http://gcc.gnu.org/ml/java-patches/2001-q3/msg00070.html )

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

22 years ago * config.gcc: For *-*-chorusos triplet, get chorus.h file from
cchavva [Tue, 17 Jul 2001 21:54:37 +0000 (21:54 +0000)]
    * config.gcc: For *-*-chorusos triplet, get chorus.h file from
        config directory.
        * config/i386/chorus.h: Move up.
        * config/sparc/chorus.h: Likewise.
        * config/rs6000/chorus.h: Likewise.
        * config/chorus.h: Moved here.

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

22 years ago * configure.in (assembler eh_frame optimization): Handle big
schwab [Tue, 17 Jul 2001 21:51:19 +0000 (21:51 +0000)]
* configure.in  (assembler eh_frame optimization): Handle big
endian.
* configure: Regenerated.

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

22 years ago * expr.c (epxand_expr): Convert divisions into multiplications by
hubicka [Tue, 17 Jul 2001 21:44:57 +0000 (21:44 +0000)]
* expr.c (epxand_expr): Convert divisions into multiplications by
reciprocals if -ffast-math.

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

22 years ago * dbxout.c (dbxout_really_begin_function): Rename to
neil [Tue, 17 Jul 2001 19:47:58 +0000 (19:47 +0000)]
* dbxout.c (dbxout_really_begin_function): Rename to
dbxout_begin_function.
(dbx_debug_hooks, xcoff_debug_hooks): Update.
(dbxout_begin_function): Remove.
(dbxout_function): Update.
(dbxout_source_line): Update prototype.
* dbxout.h (dbxout_begin_function): Remove.
* debug.c (do_nothing_debug_hooks): Update.
(debug_nothing_tree): Update.
(debug_nothing_charstar_rtx): Remove.
* debug.h (union tree_node): Declare.
(struct rtx_def): Remove.
(gcc_debug_hooks): New hooks begin_prologue, end_prologue,
begin_function.  Change source_line prototype.
(debug_nothing_tree): New.
(debug_nothing_charstar_rtx): Delete.
(dwarf2out_begin_prologue): Moved from ...
* tree.h: ... here.
* dwarf2out.c (dwarf2_debug_hooks): Update.
(dwarf2out_begin_prologue): Update prototype.  If genuine dwarf2
debug info, call dwarf2out_source_line.
(dwarf2out_souce_line): Update prototype.
* dwarfout.c (dwarfout_begin_function): Rename dwarfout_end_prologue.
Change prototype, make static.
(dwarfout_source_line): Update prototype.
(dwarf_debug_hooks): Update.
* dwarfout.h (dwarfout_begin_function): Remove.
* final.c (final_start_function, final_scan_insn): Use appropriate
debug hooks, update to use notice_source_line.
(output_source_line): Rename notice_source_line.  Don't call the
source_line debug hook.
* sdbout.c (sdbout_begin_function): Rename sdbout_begin_prologue,
make static, update prototype.
(sdbout_mark_begin_function): Rename sdbout_begin_function, update
prototype.
(sdbout_end_prologue): New.
(sdbout_source_line): Update prototype.
(sdbout_debug_hooks): Update.
(sdbout_symbol): Remove unused var.
* sdbout.h (sdbout_begin_function, sdbout_mark_begin_function):
Delete.
* varasm.c: Include debug.h.
(assemble_start_function): Use begin_function debug_hook.
* xcoffout.c (xcoffout_begin_prologue): Rename xcoffout_begin_function,
update with prototype.
(xcoffout_source_line): Update prototype.
* xcoffout.h (xcoffout_begin_prologue): Rename xcoffout_begin_function,
update prototype.
(xcoffout_source_line): Update prototype.

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

22 years ago * c-typeck.c (build_binary_op): Do not shorten unsigned
rth [Tue, 17 Jul 2001 19:01:54 +0000 (19:01 +0000)]
    * c-typeck.c (build_binary_op): Do not shorten unsigned
        right shift after sign extension.

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

22 years ago2001-07-17 Benjamin Kosnik <bkoz@redhat.com>
bkoz [Tue, 17 Jul 2001 18:47:34 +0000 (18:47 +0000)]
2001-07-17  Benjamin Kosnik  <bkoz@redhat.com>

* testsuite/README: Add notes on naming test cases.
* testsuite/22_locale/members.cc: Mark as xfail.
* testsuite/22_locale/numpunct_char_members.cc: Same.

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

22 years ago2001-07-17 Benjamin Kosnik <bkoz@redhat.com>
bkoz [Tue, 17 Jul 2001 18:43:28 +0000 (18:43 +0000)]
2001-07-17  Benjamin Kosnik  <bkoz@redhat.com>

* testsuite/README: Add notes on naming test cases.
* testsuite/22_locale/members.cc: Mark as xfail.
* testsuite/22_locale/numpunct_char_members.cc: Same.

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

22 years ago * combine.c (combine_simplify_rtx): Attempt to simplify
hubicka [Tue, 17 Jul 2001 15:11:56 +0000 (15:11 +0000)]
* combine.c (combine_simplify_rtx): Attempt to simplify
a*(b/c) as (a*b)/c for floats in unsafe_math mode.

* simplify-rtx.c (avoid_constatn_pool_reference): New static function.
(simplify_binary_operation, simplify_unary_operation,
 simplify_relational_operation): Use it.

* combine.c (combine_simplify_rtx): Don't do associative law
on divisions; allow associative law on floats.

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

22 years ago * c-pragma.h (HANDLE_PRAGMA_WEAK): Define iff ASM_WEAKEN_LABEL and
ro [Tue, 17 Jul 2001 12:55:19 +0000 (12:55 +0000)]
* c-pragma.h (HANDLE_PRAGMA_WEAK): Define iff ASM_WEAKEN_LABEL and
ASM_OUTPUT_WEAK_ALIAS are defined.
* defaults.h (ASM_OUTPUT_WEAK_ALIAS): Define if possible.
* config/mips/iris6.h (ASM_OUTPUT_WEAK_ALIAS, ASM_WEAKEN_LABEL):
Moved ...
* config/mips/iris5.h: ... here.
(HANDLE_SYSV_PRAGMA): Defined as 1.
* varasm.c (weak_finish): Use ASM_OUTPUT_WEAK_ALIAS.
* doc/tm.texi (ASM_OUTPUT_WEAK_ALIAS): Support the undefined weak
symbol.

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

22 years ago * c-parse.in (all_prefix_attributes): New variable.
jsm28 [Tue, 17 Jul 2001 11:58:54 +0000 (11:58 +0000)]
* c-parse.in (all_prefix_attributes): New variable.
(PUSH_DECLSPEC_STACK, POP_DECLSPEC_STACK): New macros.
(maybe_resetattrs): New production.
(c_parse_init, datadef, fndef, datadecl, setspecs, setattrs, decl,
maybe_type_quals_setattrs, initdecls, notype_initdecls, initdcl,
notype_initdcl, nested_function, notype_nested_function,
component_decl, components, components_notype,
component_declarator, component_notype_declarator,
absdcl_maybe_attribute, parm, firstparm, setspecs_fp, ivar_decl,
ivars, mydecl, myparm): Update.  Avoid prefix attributes just
after a comma being applied to more than one declarator.
* doc/extend.texi (Attribute Syntax): Update.  Remove
documentation of bugs that are no longer present.

testsuite:
* gcc.c-torture/compile/20010714-1.c, gcc.dg/format/attr-4.c: New
tests.

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

22 years ago2001-07-17 Toon Moene <toon@moene.indiv.nluug.nl>
toon [Tue, 17 Jul 2001 10:42:57 +0000 (10:42 +0000)]
2001-07-17  Toon Moene  <toon@moene.indiv.nluug.nl>

* com.c (lang_print_error_function): Argument context
is unused.

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

22 years ago2001-07-16 Eric Christopher <echristo@redhat.com>
echristo [Tue, 17 Jul 2001 10:29:18 +0000 (10:29 +0000)]
2001-07-16  Eric Christopher  <echristo@redhat.com>

* config/mips/mips.h: Change TUNE_MIPS* options to use
mips_tune.
(EXTRA_SPECS): Add cc1_cpu_spec.
* config/mips/mips.md (muldf3): Fix typo.

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

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

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

22 years ago * config/m68k/m68k.c: Include expr.h and reload.h.
rth [Tue, 17 Jul 2001 06:54:45 +0000 (06:54 +0000)]
    * config/m68k/m68k.c: Include expr.h and reload.h.
        (print_operand_address) [16 bit int]: Cast INTVAL to int for %d.
        [general int]: Use HOST_WIDE_INT_PRINT_DEC.

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

22 years ago * cse.c (set_live_p): Take INSN argument for cc0; update callers.
rth [Tue, 17 Jul 2001 06:44:57 +0000 (06:44 +0000)]
    * cse.c (set_live_p): Take INSN argument for cc0; update callers.
        (insn_live_p): Fix fall off end of function.
        (dead_libcall_p): Remove COUNTS argument; update callers.
        (delete_trivially_dead_insns): Remove unused variables.

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

22 years agoFix typo in my last entry.
aj [Tue, 17 Jul 2001 05:09:29 +0000 (05:09 +0000)]
Fix typo in my last entry.

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

22 years ago * config/i386/unix.h (ASM_OUTPUT_MI_THUNK): Fix output format for
aj [Tue, 17 Jul 2001 04:55:25 +0000 (04:55 +0000)]
    * config/i386/unix.h (ASM_OUTPUT_MI_THUNK): Fix output format for
        x86-64 pic support.

        * lcm.c (optimize_mode_switching): Avoid warning for unused
        variable if !NORMAL_MODE

        * flow.c (try_crossjump_to_edge): Remove unused variable.

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

22 years agoregenerate
korbb [Tue, 17 Jul 2001 04:00:12 +0000 (04:00 +0000)]
regenerate

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

22 years agoupdate the sample output
korbb [Tue, 17 Jul 2001 03:59:18 +0000 (03:59 +0000)]
update the sample output

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

22 years ago* g++.old-deja/g++.robertl/eb130.C: Include the correct header file.
ljrittle [Tue, 17 Jul 2001 03:26:34 +0000 (03:26 +0000)]
* g++.old-deja/g++.robertl/eb130.C: Include the correct header file.

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

22 years agoHPUX-es vsnprintf and Ultrix-es atexit declaration
korbb [Tue, 17 Jul 2001 03:02:52 +0000 (03:02 +0000)]
HPUX-es vsnprintf and Ultrix-es atexit declaration

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

22 years ago * java/util/LinkedList.java (clone): Clear the copy list with clear(),
bryce [Tue, 17 Jul 2001 01:56:38 +0000 (01:56 +0000)]
* java/util/LinkedList.java (clone): Clear the copy list with clear(),
not by setting its size field.

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

22 years ago * basic-block.h (CLEANUP_PRE_SIBCALL): New constant.
hubicka [Mon, 16 Jul 2001 20:54:44 +0000 (20:54 +0000)]
* basic-block.h (CLEANUP_PRE_SIBCALL): New constant.
* except.c (finish_eh_generation): Update call of cleanup_cfg;
do rebuild_jump_labels instead of jump_optimize
* sibcall.c (optimize_sibling_and_tail_recursive_call): Likewise.
* toplev.c (rest_of_compulation): Likewise for -Wreturn_type.
* flow.c (try_optimize_cfg): Remove unneeded code_labels.

* flow.c: Include timevar.h
(find_basic_block): Push/pop timevar;
(cleanup_cfg): Likewise.
* timevar.def (TV_CFG, TV_CLEANUP_CFG): New.
* Makefile: Add dependencies on timevar.h

* integrate.c (save_for_inline): Kill all BASIC_BLOCK notes.
(copy_insn_list): Avoid killing of BASIC_BLOCK notes.

* rtl.h (delete_trivially_dead_insns): Add new parameter.
* toplev.c (rest_of_compilation): Update calls.
* cse.c (set_live_p, insn_live_p, dead_libcall_p): Break out from ...
(delete_trivially_dead_insns): ... here; accept new argument
preserve_basic_blocks; preserve basic blocks if set.

* reg-stack.c (stack_regs_mentioned): Return 0 if
stack_regs_mentioned_data is not initialized.
(reg_to_stack): Make stack_regs_mentioned survive after the
reg-stack is completted; do not call cleanup_cfg.
* toplev.c (rest_of_compilation): Do cleanup_cfg before bb-reorder;
make cleanup_cfg after bb-reorder to output to debug file.

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

22 years ago * gcse.c: Update comment at top.
law [Mon, 16 Jul 2001 20:02:08 +0000 (20:02 +0000)]
    * gcse.c: Update comment at top.
        Update comment on mem handling.
        mem_last_set, mem_first_set, mem_set_in_block: gone.
        Declaration of reg_set_info: gone.
        (oprs_unchanged_p): Don't use mem_*set_* anymore. They are
        pointless with load_killed_in_block_p (they are *more*
        conservative then it, not less, and less accurate).
        (oprs_not_set_p): Ditto.
        (alloc_gcse_mem): Don't allocate mem_set_in_block
        (free_gcse_mem): Don't free it, either.
        (record_last_mem_set_info): Update comment in front, remove
        mem_*set_* stuff. Note the reason we don't handle stores directly
        here.
        (compute_hash_table): Update comments to reflect reality. Remove
        mem_*set_* references.
        (reset_opr_set_tables): Remove mem_*set_* references.
        (mark_call): Ditto.
        (mark_set): Ditto.  Also remove double sets of bitmaps for REG's.
        (mark_clobber): Ditto (on both parts, we double set here too).
        (expr_killed_p): Remove mem_set_in_block test.
        (compute_transp): Remove mem_set_in_block test.

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

22 years ago * regclass.c (init_reg_sets): Use only 32 bits per initializer
rth [Mon, 16 Jul 2001 17:57:11 +0000 (17:57 +0000)]
    * regclass.c (init_reg_sets): Use only 32 bits per initializer
        from int_reg_class_contents.

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

22 years ago * hard-reg-set.h (regs_invalidated_by_call): Declare.
rth [Mon, 16 Jul 2001 17:54:34 +0000 (17:54 +0000)]
    * hard-reg-set.h (regs_invalidated_by_call): Declare.
        * regclass.c (regs_invalidated_by_call): Move from cse.c.
        (init_reg_sets_1): Move initialization from cse_main.
        * cse.c (regs_invalidated_by_call): Move to regclass.c.
        (cse_main): Move its initialization also.
        * df.c (df_insn_refs_record): Use regs_invalidated_by_call.
        * flow.c (propagate_one_insn): Likewise.
        * gcse.c (compute_hash_table): Likewise.
        (compute_kill_rd, compute_store_table): Likewise.
        * sched-deps.c (sched_analyze_1): Likewise.

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

22 years ago2001-07-16 Stephen M. Webb <stephen@bregmasoft.com>
pme [Mon, 16 Jul 2001 17:43:54 +0000 (17:43 +0000)]
2001-07-16  Stephen M. Webb  <stephen@bregmasoft.com>

* acinclude.m4 (GLIBCPP_ENABLE_CHEADERS):  Use glibcpp_srcdir when
setting C_INCLUDE_DIR.
* configure.in:  Revert yesterday's LN_S change.
* aclocal.m4:  Regenerate.
* configure:  Regenerate.

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

22 years ago * gcc.c-torture/execute/20001229-1.c: Include <sys/proc.h> for
ro [Mon, 16 Jul 2001 17:20:58 +0000 (17:20 +0000)]
* gcc.c-torture/execute/20001229-1.c: Include <sys/proc.h> for
UAC_SIGBUS, UAC_NOPRINT definitions.

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

22 years ago * gcse.c (pre_insert_copy_insn): Use gen_move_insn instead of
amylaar [Mon, 16 Jul 2001 17:18:48 +0000 (17:18 +0000)]
* gcse.c (pre_insert_copy_insn): Use gen_move_insn instead of
gen_rtx_SET.

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

22 years ago * src/x86/sysv.S: Avoid gas-only .balign directive.
ro [Mon, 16 Jul 2001 17:12:14 +0000 (17:12 +0000)]
* src/x86/sysv.S: Avoid gas-only .balign directive.
Use C style comments.

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

22 years ago * src/alpha/ffi.c (ffi_prep_closure): Avoid gas-only mnemonic.
ro [Mon, 16 Jul 2001 16:53:43 +0000 (16:53 +0000)]
* src/alpha/ffi.c (ffi_prep_closure): Avoid gas-only mnemonic.
Fixes PR bootstrap/3563.

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

22 years ago * dominance.c (calc_dfs_tree_nonrec): Reverse order of tests
law [Mon, 16 Jul 2001 16:48:31 +0000 (16:48 +0000)]
    * dominance.c (calc_dfs_tree_nonrec): Reverse order of tests
        in if statement so we don't access undefined memory.

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

22 years ago * ssa-ccp.c: (optimize_unexecutable_edges): Add note about removal
law [Mon, 16 Jul 2001 16:23:40 +0000 (16:23 +0000)]
    * ssa-ccp.c: (optimize_unexecutable_edges): Add note about removal
        of edge, and removal of phi alternative to dump file.
        (ssa_ccp_substitute_constants): Add note about register now being
        constant, and which uses were replaced in what insns to dump file.

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

22 years agoAdded two new objc tests
nicola [Mon, 16 Jul 2001 11:38:13 +0000 (11:38 +0000)]
Added two new objc tests

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

22 years agoNew tests
nicola [Mon, 16 Jul 2001 11:37:23 +0000 (11:37 +0000)]
New tests

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

22 years agoFixed object_is_class and object_is_metaclass
nicola [Mon, 16 Jul 2001 11:36:24 +0000 (11:36 +0000)]
Fixed object_is_class and object_is_metaclass

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

22 years ago2001-07-16 Aldy Hernandez <aldyh@redhat.com>
aldyh [Mon, 16 Jul 2001 10:02:53 +0000 (10:02 +0000)]
2001-07-16  Aldy Hernandez  <aldyh@redhat.com>

        * config.sub: Fix mips64vr5000el typo in CPU-COMPANY.

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

22 years ago * gcov.c (output_data): Use HOST_WIDEST_INT_PRINT_DEC to output
aj [Mon, 16 Jul 2001 09:16:04 +0000 (09:16 +0000)]
* gcov.c (output_data): Use HOST_WIDEST_INT_PRINT_DEC to output
variables of type HOST_WIDEST_INT.

* libgcc2.c (__bb_exit_func): Handle gcov_type as long long.
(__bb_exit_func): Correct type of count_max to avoid overflow.
(num_digits): Handle long long argument.

* combine.c (gen_lowpart_for_combine): Remove unused variable.

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

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

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

22 years ago * output.h (sdb_begin_function_line): Restore as an extern
neil [Mon, 16 Jul 2001 06:01:40 +0000 (06:01 +0000)]
* output.h (sdb_begin_function_line): Restore as an extern
variable.
* sdbout.c (sdb_begin_function_line): Make extern.

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

22 years ago * machmode.def (Pmode): Redefine if GENERATOR_FILE.
rth [Mon, 16 Jul 2001 00:28:20 +0000 (00:28 +0000)]
    * machmode.def (Pmode): Redefine if GENERATOR_FILE.
        * genrecog.c (maybe_both_true_mode): New.
        (maybe_both_true_2): Use it.
        (write_switch): Don't put Pmode in a switch.
        * rtl.c (mode arrays): Don't explicitly size them.

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

22 years ago2001-07-15 Phil Edwards <pme@sources.redhat.com>
pme [Sun, 15 Jul 2001 22:17:43 +0000 (22:17 +0000)]
2001-07-15  Phil Edwards  <pme@sources.redhat.com>

* configure.in:  Temporarily force LN_S to copy instead of symlink.
* configure:  Regenerate.

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

22 years ago * toplev.c (rest_of_compilation): Fix register_life_up_to_date
hubicka [Sun, 15 Jul 2001 16:59:06 +0000 (16:59 +0000)]
* toplev.c (rest_of_compilation): Fix register_life_up_to_date
handling; move unconditional splitting before mode switching.

* i386.md (type): Add fistp type.
(i387, length_attr, scheduling definitions): Handle this type.
(fix_trunc?f?i2): Revamp to use mode switching.
(fix_trunct?f?i_nonmemory, fix_trunc?f?i_memory): New patterns.
* i386.h (fp_cw_mode): New enum
(OPTIMIZE_MODE_SWITCHING, NUM_MODES_FOR_MODE_SWITCHING, MODE_NEEDED,
MODE_PRIORITY_TO_MODE, ENUM_MODE_SET): New macros.

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

22 years ago * Makefile.in (integrate.o): Add debug.h.
kenner [Sun, 15 Jul 2001 16:50:41 +0000 (16:50 +0000)]
* Makefile.in (integrate.o): Add debug.h.
* integrate.c (debug.h): Add.
(output_inline_function): Save, reset, and restore debug_hooks.

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

22 years ago * config/alpha/alpha.c (alpha_emit_xfloating_compare): Use CCmode
rth [Sun, 15 Jul 2001 15:56:46 +0000 (15:56 +0000)]
    * config/alpha/alpha.c (alpha_emit_xfloating_compare): Use CCmode
        instead of COMPARE for the EQUIV expression.

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

22 years ago * flow.c (redirect_edge_and_branch_force): Initialize
rth [Sun, 15 Jul 2001 15:47:05 +0000 (15:47 +0000)]
    * flow.c (redirect_edge_and_branch_force): Initialize
        global_live_at_start and global_live_at_end.
        (allocate_bb_life_data): Export.
        * basic-block.h (allocate_bb_life_data): Declare it.
        * toplev.c (rest_of_compilation): Call it.

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

22 years ago * config/alpha/alpha.c (alpha_tablejump_addr_vec): New.
rth [Sun, 15 Jul 2001 15:38:52 +0000 (15:38 +0000)]
    * config/alpha/alpha.c (alpha_tablejump_addr_vec): New.
        (alpha_tablejump_best_label): New.
        * config/alpha/alpha-protos.h: Declare them.
        * config/alpha/alpha.md: Use braced strings for code blocks.
        (tablejump_osf): Break out add with r29.
        (tablejump_osf_internal): Remove.
        (tablejump_osf_nt_internal): Rename from tablejump_nt_internal,
        use alpha_tablejump_addr_vec and alpha_tablejump_best_label.

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

22 years ago2001-01-15 Toon Moene <toon@moene.indiv.nluug.nl>
toon [Sun, 15 Jul 2001 15:30:04 +0000 (15:30 +0000)]
2001-01-15  Toon Moene  <toon@moene.indiv.nluug.nl>

* g77.f-torture/execute/f90-intrinsic-numeric.f: Fix pasto.
* g77.f-torture/execute/f90-intrinsic-mathematical.f: Fix pasto.

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

22 years ago2001-01-15 David Billinghurst <David.Billinghurst@riotinto.com>
toon [Sun, 15 Jul 2001 12:50:14 +0000 (12:50 +0000)]
2001-01-15  David Billinghurst <David.Billinghurst@riotinto.com>

* g77.f-torture/execute/f90-intrinsic-numeric.f: New test.
* g77.f-torture/execute/f90-intrinsic-mathematical.f: New test.

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

22 years ago * loop.c (scan_loop): Add USEs inside PARALLELs into dependencies
hubicka [Sun, 15 Jul 2001 12:00:34 +0000 (12:00 +0000)]
* loop.c (scan_loop): Add USEs inside PARALLELs into dependencies
of the movable.

* toplev.c (rest_of_compilation): Allow new pseudoes for mode switching.

* i386-protos.h (ix86_split_fp_branch): Update prototype.
(ix86_fp_jump_nontrivial_p): New.
* i386.md (fp_jcc_?): Update call of split_fp_branch;
use ix86_fp_jump_nontrivial_p.
* i386.c (ix86_fp_jump_nontrivial_p): New.
(ix86_split_fp_branch): Accept code instead of rtx.
(ix86_expand_compare): Expand comparison early in case
doing so is resonably cheap.

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

22 years agoAssert 'endian' not 'machine' in endian specs
nickc [Sun, 15 Jul 2001 10:22:51 +0000 (10:22 +0000)]
Assert 'endian' not 'machine' in endian specs

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

22 years ago * dbxout.c (dbxout_source_line): Make static, update prototype.
neil [Sun, 15 Jul 2001 08:34:46 +0000 (08:34 +0000)]
* dbxout.c (dbxout_source_line): Make static, update prototype.
(dbx_debug_hooks, xcoff_debug_hooks): Add new hooks.
(dbxout_init, dbxout_finish, dbxout_source_line,
dbxout_begin_block, dbxout_end_block): Update for new prototypes.
* dbxout.h (dbxout_source_line): Delete.
* debug.c (debug_nothing_file, debug_nothing_file_int,
debug_nothing_file_charstar_rtx): New.
(do_nothing_debug_hooks): Update.
(debug_nothing_void, debug_nothing_charstar_rtx,
dwarf2out_end_epilogue): New.
(debug_nothing_file_charstar, debug_nothing_file_int_int): Rename.
* debug.h (struct rtx_def): Declare.
(gcc_debug_hooks): New hooks source_line, end_epilogue
and end_function.
(debug_nothing_void, debug_nothing_charstar_rtx,
dwarf2out_end_epilogue): New.
(debug_nothing_file_charstar, debug_nothing_file_int_int): Rename.
* dwarf2out.c (dwarf2out_source_line): Make static, update prototype.
(dwarf2_debug_hooks): Update.
(dwarf2out_init, dwarf2out_finish, dwarf2out_source_line,
dwarf2out_begin_block, dwarf2out_end_block): Update for new prototypes.
* dwarf2out.h (dwarf2out_source_line): Remove.
* dwarfout.c (dwarfout_end_epilogue, dwarfout_end_function):
Make static, update prototype.
(dwarfout_init, dwarfout_finish, dwarfout_source_line,
dwarfout_begin_block, dwarfout_end_block): Update for new prototypes.
(dwarf_debug_hooks): Update.
* dwarfout.h (dwarfout_end_epilogue, dwarfout_source_line,
dwarfout_end_function): Remove.
* final.c (profile_function): Use debug hooks for ending functions
and epilogues.
(output_source_line, final_end_function): Update prototype,
use debug hooks.
(final_start_function, final_scan_insn): Update.
* output.h (sdb_begin_function_line): Remove.
(final_end_function): Update prototype.
* sdbout.c (sdb_begin_function_line): Make static.
(PUT_SDB_EPILOGUE_END): Move to sdbout_end_epilogue.
(sdbout_source_line): New.
(sdbout_end_epilogue, sdbout_end_function): Make static, update
prototypes.
(sdb_debug_hooks): Update.
(sdbout_init, sdbout_source_line,
sdbout_begin_block, sdbout_end_block): Update for new prototypes.
* sdbout.h (sdbout_end_epilogue, sdbout_end_function): Remove.
* toplev.c (compile_file, rest_of_compilation): Update.
* tree.h (dwarf2out_end_epilogue): Move to debug.h.
* xcoffout.c (xcoffout_source_line, xcoffout_begin_block,
xcoffout_end_block, xcoffout_end_epilogue, xcoffout_end_function):
Update for prototype changes.
* xcoffout.h (xcoffout_source_line, xcoffout_begin_block,
xcoffout_end_block, xcoffout_end_epilogue): Update prototypes.

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

22 years ago * config/alpha/alpha.h (TARGET_ABI_OSF): New.
rth [Sun, 15 Jul 2001 07:17:29 +0000 (07:17 +0000)]
    * config/alpha/alpha.h (TARGET_ABI_OSF): New.
        (TARGET_ABI_WINDOWS_NT, TARGET_ABI_OPEN_VMS): Rename; update users.
        * config/alpha/alpha-protos.h: Update TARGET_ABI_* users.
        * config/alpha/alpha.c: Likewise.
        * config/alpha/alpha.md: Likewise.
        * config/alpha/alpha32.h: Likewise.
        * config/alpha/vms.h: Likewise.
        (OPEN_VMS): Remove.

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

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

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

22 years ago * config/alpha/alpha.md: Use define_constants for unspec values.
rth [Sun, 15 Jul 2001 06:25:01 +0000 (06:25 +0000)]
    * config/alpha/alpha.md: Use define_constants for unspec values.
        Substitute throughout.

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

22 years ago * tree.def (EXPON_EXPR) remove. Never supported anyway.
rth [Sun, 15 Jul 2001 02:16:35 +0000 (02:16 +0000)]
* tree.def (EXPON_EXPR) remove. Never supported anyway.

* f/com.c (ffecom_overlap_): Remove references to EXPON_EXPR.
(ffecom_tree_canonize_ref_): Likewise.

* java/check-init.c (check_init): Remove references to EXPON_EXPR.

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

22 years ago * pa.md: Remove unused constraints from define_split's.
danglin [Sun, 15 Jul 2001 00:54:21 +0000 (00:54 +0000)]
* pa.md: Remove unused constraints from define_split's.

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

22 years ago * ifcvt.c (find_cond_trap): Test for exit block.
rth [Sun, 15 Jul 2001 00:00:56 +0000 (00:00 +0000)]
    * ifcvt.c (find_cond_trap): Test for exit block.

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

22 years ago Re-install recently reverted patch.
hubicka [Sat, 14 Jul 2001 22:52:50 +0000 (22:52 +0000)]
Re-install recently reverted patch.
* emit-rtl.c (try_split): Update mark_jump_label call.
* flow.c (find_sub_basic_blocks): Likewise.
* jump.c (cross_jump_death_matters, find_cross_jump, do_cross_jump,
jump_back_p): Kill.
(mark_all_labels): Kill second parameter.
(jump_optimize, jump_optimize_1): Kill cross_jump parameter.
(rebuild_jump_labels, jump_optimize_minimal): Update call
of jump_optimize_1.
(jump_optimize_1): Kill crossjumping code.
(mark_jump_label): Kill cross_jump parameter.
* rtl.h (mark_jump_label, jump_optimize): Update prototypes.
(JUMP_CROSS_JUMP, JUMP_CROSS_JUMP_DEATH_MATTERS): Kill.
* reg-stack.c (reg_to_stack): Do not rebuild if not needed; do
 splitting.
* toplev.c (enum dump_file_index): Kill DFI_jump2; put DFI_stack before
DFI_bpro.
(dump_file_info): Likewise.
(rest_of_compilation): Update calls to jump_optimize; kill jump2 pass;
reorganize passes to do reg-stack first, bb-reorder second.
* invoke.texi (-d letters doc): Remove the jump2 pass.

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

22 years ago * ifcvt.c (find_cond_trap): New.
rth [Sat, 14 Jul 2001 18:39:16 +0000 (18:39 +0000)]
    * ifcvt.c (find_cond_trap): New.
        (find_if_header): Call it.
        (merge_if_block): Relax existing jump sanity check.
        * jump.c (jump_optimize_1): Remove conditional trap handling.

* gcc.dg/iftrap-1.c: New.

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

22 years agoDaily bump.
gccadmin [Sat, 14 Jul 2001 07:16:10 +0000 (07:16 +0000)]
Daily bump.

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

22 years ago * config/pa/pa.c (emit_hpdiv_const): Return reg is r2 for 64-bit
amodra [Sat, 14 Jul 2001 02:39:39 +0000 (02:39 +0000)]
* config/pa/pa.c (emit_hpdiv_const): Return reg is r2 for 64-bit
millicode.
(insn_refs_are_delayed): Correct comment.
* config/pa/pa.h (INSN_REFERENCES_ARE_DELAYED): Likewise.
* config/pa/pa.md (mulsi3): If TARGET_64BIT, clobber r2
instead of r31.  Make associated insn !TARGET_64BIT, and
provide an additional 64-bit insn that clobbers r2.
(divsi3): Likewise.
(udivsi3): Likewise.
(modsi3): Likewise.
(umodsi3): Likewise.

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

22 years ago * bb-reorder.c (skip_insn_after_block): Get past the line number notes.
hubicka [Sat, 14 Jul 2001 01:06:42 +0000 (01:06 +0000)]
* bb-reorder.c (skip_insn_after_block): Get past the line number notes.

* flow.c (redirect_edge_and_branch_force, split_edge,
try_crossjump_to_edge): Use set_block_for_new_insns.
* bb-reorder.c (emit_jump_to_block_after): Call set_block_for_new_insns.

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

22 years ago2001-07-13 H.J. Lu (hjl@gnu.org)
hjl [Fri, 13 Jul 2001 23:33:37 +0000 (23:33 +0000)]
2001-07-13  H.J. Lu  (hjl@gnu.org)

* config/elfos.h (UNIQUE_SECTION): Enable .bss section with
the correct patch.

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

22 years ago * jvspec.c (jvgenmain_spec): Remove -ffilelist-file from cc1
tromey [Fri, 13 Jul 2001 23:17:41 +0000 (23:17 +0000)]
* jvspec.c (jvgenmain_spec): Remove -ffilelist-file from cc1
invocation.

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

22 years ago Revert H.J. Lu's UNIQUE_SECTION patch of 2001-07-13.
geoffk [Fri, 13 Jul 2001 21:55:10 +0000 (21:55 +0000)]
Revert H.J. Lu's UNIQUE_SECTION patch of 2001-07-13.

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

22 years ago2001-07-13 Phil Edwards <pme@sources.redhat.com>
pme [Fri, 13 Jul 2001 20:50:03 +0000 (20:50 +0000)]
2001-07-13  Phil Edwards  <pme@sources.redhat.com>

* include/bits/std_sstream.h (basic_stringbuf::basic_stringbuf(string):
Initialize _M_string with pointer-and-size constructor, not just
pointer.  Fix some comments.
* testsuite/21_strings/ctor_copy_dtor.cc (test03):  New test.
* testsuite/27_io/stringbuf.cc (test02):  Remove unused variable.
(test03):  Add embedded-NUL tests.

* mkcheck.in:  When printing totals, match the order of the tests.
* include/bits/stringfwd.h:  Use same declaration keywords.
* include/bits/std_iosfwd.h:  Cosmetic spacing.

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

22 years ago * c-common.c (decl_attributes): Take a pointer to the node to
jsm28 [Fri, 13 Jul 2001 20:40:43 +0000 (20:40 +0000)]
* c-common.c (decl_attributes): Take a pointer to the node to
which attributes are to be attached, and a flags argument.
* c-common.h (enum attribute_flags): New.
(decl_attributes): Update prototype.
* c-decl.c (start_decl, push_parm_decl, finish_struct,
finish_enum, start_function): Update calls to decl_attributes.
* c-parse.in (component_declarator, component_notype_declarator,
label): Update calls to decl_attributes.

cp:
* decl2.c (cplus_decl_attributes): Take a pointer to the node to
which attributes are to be attached, and a flags argument.  Update
call to decl_attributes.
(grokfield): Update call to decl_attributes.
* class.c (finish_struct): Update call to cplus_decl_attributes.
* cp-tree.h (cplus_decl_attributes): Update prototype.
* decl.c (start_decl, grokdeclarator, start_function): Update
calls to decl_attributes and cplus_decl_attributes.
* friend.c (do_friend): Update call to cplus_decl_attributes.
* parse.y (parse_bitfield): Update call to cplus_decl_attributes.

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

22 years ago2001-07-12 Alexandre Petit-Bianco <apbianco@redhat.com>
apbianco [Fri, 13 Jul 2001 19:45:05 +0000 (19:45 +0000)]
2001-07-12  Alexandre Petit-Bianco  <apbianco@redhat.com>

* libjava.compile/anon_ctor_itf_arg.java: Moved to `libjava.lang.'
* libjava.compile/anon_ctor_itf_arg.out: Likewise
* libjava.lang/invoke_from_inner.java: New file.
* libjava.lang/invoke_from_inner.out: Likewise.

(http://gcc.gnu.org/ml/java-patches/2001-q3/msg00061.html )

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

22 years ago2001-07-12 Alexandre Petit-Bianco <apbianco@redhat.com>
apbianco [Fri, 13 Jul 2001 19:43:54 +0000 (19:43 +0000)]
2001-07-12  Alexandre Petit-Bianco  <apbianco@redhat.com>

* parse.y (patch_method_invocation): Don't override primary if one
is already provided, but let this$<n> be built. Fixed comment.

2001-07-12  Alexandre Petit-Bianco  <apbianco@redhat.com>

* parse.y (empty_statement:): Report empty statement error only
when found at class declaration level.
Fixes PR java/3635

(http://gcc.gnu.org/ml/gcc-patches/2001-07/msg00885.html )

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

22 years ago * config/avr/avr.md (strlenhi): PARALLEL keyword removed.
denisc [Fri, 13 Jul 2001 19:13:55 +0000 (19:13 +0000)]
* config/avr/avr.md (strlenhi): PARALLEL keyword removed.
* config/avr/avr.c (legitimate_address_p): Return value changed
from letter to register classes. For better debugging.

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

22 years ago2001-07-13 Kazu Hirata <kazu@hxi.com>
kazu [Fri, 13 Jul 2001 18:32:30 +0000 (18:32 +0000)]
2001-07-13  Kazu Hirata  <kazu@hxi.com>

* jump.c (reversed_comparison_code_parts): Fix comment typos.

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

22 years ago2001-07-13 H.J. Lu (hjl@gnu.org)
hjl [Fri, 13 Jul 2001 18:28:10 +0000 (18:28 +0000)]
2001-07-13  H.J. Lu  (hjl@gnu.org)

* config/elfos.h (UNIQUE_SECTION): Enable .bss section.

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

22 years ago2001-07-13 Marc Espie <espie@cvs.openbsd.org>
espie [Fri, 13 Jul 2001 18:12:22 +0000 (18:12 +0000)]
2001-07-13  Marc Espie  <espie@cvs.openbsd.org>

* config.gcc (*-*-openbsd*):  Add fragment to compile libgcc
correctly for shared configurations.
* config/t-libgcc-pic:  New.
* config/{i386,m68k,sparc}/t-openbsd:  New.
* config/openbsd.h:  Include cpu_spec in cpp_spec where needed.
Support -shared.  Support debugging libraries with -g.
* config/i386/openbsd.h:  Correct ASM_COMMENT_START.  Ensure dwarf2
frame information does not emit pointer diffs.
* config/sparc/openbsd.h:  Ensure dwarf2 frame information does not
emit pointer diffs.

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

22 years ago Revert Jan Hubicka's patch of Fri Jul 13 14:46:21 CEST 2001.
geoffk [Fri, 13 Jul 2001 17:24:48 +0000 (17:24 +0000)]
Revert Jan Hubicka's patch of Fri Jul 13 14:46:21 CEST 2001.

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

22 years ago2001-07-13 Stephen M. Webb <stephen@bregmasoft.com>
pme [Fri, 13 Jul 2001 16:47:56 +0000 (16:47 +0000)]
2001-07-13  Stephen M. Webb  <stephen@bregmasoft.com>
            Loren J. Rittle  <ljrittle@acm.org>
            Phil Edwards  <pme@sources.redhat.com>

* include/Makefile.am:  New file encapsulating header generation rules.
* Makefile.am (SUBDIRS):  Prepend 'include' directory.
* acinclude.m4:  Moved/removed rules for building various headers.
* configure.in (AC_OUTPUT):  Add include/Makefile.
* mkc++config:  Removed.

* testsuite_flags.in:  Changed build-includes to match new scheme.
* mknumeric_limits:  Likewise.
* libio/Makefile.am:  Changed INCLUDES to maatch new header scheme.
* libmath/Makefile.am:  Likewise.
* libsupc++/Makefile.am:  Likewise.
* src/Makefile.am:  Likewise; removed rules to build headers.
* libmath/mathconf.h:  Changed #include'd header names to match.
* libmath/stubs.c:  Likewise.
* src/gen-num-limits.cc:  Likewise.

* configure:  Regenerated.
* config.h.in:  Regenerated.
* aclocal.m4:  Regenerated.
* Makefile.in:  Regenerated.
* include/Makefile.in:  Regenerated.
* libio/Makefile.in:  Regenerated.
* libmath/Makefile.in:  Regenerated.
* libsupc++/Makefile.in:  Regenerated.
* src/Makefile.in:  Regenerated.
* testsuite/Makefile.in:  Regenerated.

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

22 years ago * combine.c (try_combine): Ensure const_int pow2 is positive.
dje [Fri, 13 Jul 2001 15:05:51 +0000 (15:05 +0000)]
* combine.c (try_combine): Ensure const_int pow2 is positive.

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

22 years agoAdded myself in the list of people who can write to CVS after approval
nicola [Fri, 13 Jul 2001 13:33:23 +0000 (13:33 +0000)]
Added myself in the list of people who can write to CVS after approval

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