platform/upstream/gcc.git
26 years agoAdd patch from Edelsohn
David Edelsohn [Thu, 16 Oct 1997 01:37:11 +0000 (01:37 +0000)]
Add patch from Edelsohn

From-SVN: r15918

26 years agoalpha.c (final_prescan_insn): Gut, remove and transform to ...
Richard Henderson [Thu, 16 Oct 1997 01:23:23 +0000 (18:23 -0700)]
alpha.c (final_prescan_insn): Gut, remove and transform to ...

        * alpha.c (final_prescan_insn): Gut, remove and transform to ...
        (alpha_handle_trap_shadows): ... a new function.  Handle the entire
        function in one go.  Emit RTL for trapb, instead of printf directly.
        (alpha_reorg): New function.  Call alpha_handle_trap_shadows.
        (trap_pending): Kill global variable.
        (output_epilog): Don't call final_prescan_insn.
        (struct shadow_summary): Elide $31 and $f31; now it fits in a word.
        * alpha.h (FINAL_PRESCAN_INSN): Remove.
        (MACHINE_DEPENENT_REORG): Define.
        * alpha.md (jsr patterns with trapb): Stupid and useless.  Kill.
        (trapb): New insn.

From-SVN: r15917

26 years agoalpha.h (ISSUE_RATE): Define.
Richard Henderson [Thu, 16 Oct 1997 01:16:42 +0000 (18:16 -0700)]
alpha.h (ISSUE_RATE): Define.

        * alpha.h (ISSUE_RATE): Define.
        * alpha.c (alpha_adjust_cost): Handle EV5 mult delay; don't apply
        EV4 adjustments to EV5.
        * alpha.md: Remove all scaling from function unit delays.  Rework
        EV5 function units to match the CPU.
        (umuldi3_highpart): EV5 added the IMULH insn class.

From-SVN: r15916

26 years agoForgot to commit last night.
Richard Henderson [Wed, 15 Oct 1997 23:47:47 +0000 (17:47 -0600)]
Forgot to commit last night.

From-SVN: r15915

26 years agopa.c (following_call): Fail if the CALL_INSN is an indirect call.
Jeffrey A Law [Wed, 15 Oct 1997 23:41:10 +0000 (23:41 +0000)]
pa.c (following_call): Fail if the CALL_INSN is an indirect call.

        * pa.c (following_call): Fail if the CALL_INSN is an indirect
        call.
Brought over from devo.

From-SVN: r15914

26 years agorestore dwarf2 prototypes
Jason Merrill [Wed, 15 Oct 1997 17:19:40 +0000 (13:19 -0400)]
restore dwarf2 prototypes

From-SVN: r15912

26 years agosignal_.c (G77_signal_0): Make return type sig_pf as well.
Richard Henderson [Wed, 15 Oct 1997 16:02:53 +0000 (10:02 -0600)]
signal_.c (G77_signal_0): Make return type sig_pf as well.

        * libF77/signal_.c (G77_signal_0): Make return type sig_pf as well.
        * libI77/fio.h: Include <string.h> if STDC_HEADERS.
        * libU77/chmod_.c: Likewise.

From-SVN: r15911

26 years agoman.c (find_man_formatter): Don't cast getenv(), but provide a minimal declaration...
Richard Henderson [Wed, 15 Oct 1997 15:49:40 +0000 (08:49 -0700)]
man.c (find_man_formatter): Don't cast getenv(), but provide a minimal declaration at top level.

        * info/man.c (find_man_formatter): Don't cast getenv(), but provide
        a minimal declaration at top level.

        * makeinfo/makeinfo.c: Don't redefine alloca if it is already defined.

From-SVN: r15910

26 years agoRemove code accidentally added twice.
Jeff Law [Wed, 15 Oct 1997 15:44:05 +0000 (09:44 -0600)]
Remove code accidentally added twice.

From-SVN: r15909

26 years agoNo .Sanitize files in egcs.
Jeff Law [Wed, 15 Oct 1997 04:26:58 +0000 (22:26 -0600)]
No .Sanitize files in egcs.

From-SVN: r15908

26 years agoparse.y (unary_expr): Give a pedwarn if someone tries to use the &&label GNU extension.
Brendan Kehoe [Wed, 15 Oct 1997 01:26:06 +0000 (01:26 +0000)]
parse.y (unary_expr): Give a pedwarn if someone tries to use the &&label GNU extension.

* parse.y (unary_expr): Give a pedwarn if someone tries to use the
&&label GNU extension.

From-SVN: r15907

26 years agofix two typos
Brendan Kehoe [Tue, 14 Oct 1997 20:45:22 +0000 (16:45 -0400)]
fix two typos

From-SVN: r15906

26 years agoregen
Jason Merrill [Tue, 14 Oct 1997 19:19:35 +0000 (15:19 -0400)]
regen

From-SVN: r15905

26 years agodecl.c (pushtag): Unset DECL_ASSEMBLER_NAME before setting it, so as to avoid incorre...
Mark Mitchell [Tue, 14 Oct 1997 19:12:56 +0000 (19:12 +0000)]
decl.c (pushtag): Unset DECL_ASSEMBLER_NAME before setting it, so as to avoid incorrect manglings.

Tue Oct 14 12:01:00 1997  Mark Mitchell  <mmitchell@usa.net>

* decl.c (pushtag): Unset DECL_ASSEMBLER_NAME before setting it,
so as to avoid incorrect manglings.
* method.c (build_decl_overload_real): Don't mangle return types
for constructors.

From-SVN: r15904

26 years agocplus-dem.c (demangle_signature): Don't look for return types on constructors.
Mark Mitchell [Tue, 14 Oct 1997 19:12:27 +0000 (19:12 +0000)]
cplus-dem.c (demangle_signature): Don't look for return types on constructors.

* cplus-dem.c (demangle_signature): Don't look for return types on
constructors.  Handle member template constructors.

From-SVN: r15903

26 years agoand these
Jason Merrill [Tue, 14 Oct 1997 19:11:36 +0000 (15:11 -0400)]
and these

From-SVN: r15902

26 years agocplus-dem.c (demangle_signature): Don't look for return types on constructors.
Jason Merrill [Tue, 14 Oct 1997 19:10:45 +0000 (15:10 -0400)]
cplus-dem.c (demangle_signature): Don't look for return types on constructors.

Tue Oct 14 12:01:00 1997  Mark Mitchell  <mmitchell@usa.net>

* cplus-dem.c (demangle_signature): Don't look for return types on
constructors.  Handle member template constructors.

and update from devo.

From-SVN: r15901

26 years agocp-tree.h (scratchalloc, [...]): Define as macros for now.
Jason Merrill [Tue, 14 Oct 1997 18:59:03 +0000 (14:59 -0400)]
cp-tree.h (scratchalloc, [...]): Define as macros for now.

* cp-tree.h (scratchalloc, build_scratch_list, make_scratch_vec,
scratch_tree_cons): Define as macros for now.
* call.c, class.c, cvt.c, decl.c, decl2.c, except.c, expr.c, init.c,
lex.c, method.c, parse.y, pt.c, rtti.c, search.c, tree.c, typeck.c,
typeck2.c: Use them and the expression_obstack variants.

From-SVN: r15900

26 years agotree.h: Declare them.
Jason Merrill [Tue, 14 Oct 1997 18:52:33 +0000 (18:52 +0000)]
tree.h: Declare them.

* tree.h: Declare them.

Oop.

From-SVN: r15899

26 years ago* tree.c (expr_tree_cons, build_expr_list, expralloc): New fns.
Jason Merrill [Tue, 14 Oct 1997 18:43:16 +0000 (18:43 +0000)]
* tree.c (expr_tree_cons, build_expr_list, expralloc): New fns.

From-SVN: r15898

26 years agoBring over test cases
Benjamin Kosnik [Tue, 14 Oct 1997 18:41:30 +0000 (18:41 +0000)]
Bring over test cases

From-SVN: r15897

26 years agodecl.c (store_return_init): Allow classes with explicit ctors to be used with the...
Benjamin Kosnik [Tue, 14 Oct 1997 18:36:34 +0000 (18:36 +0000)]
decl.c (store_return_init): Allow classes with explicit ctors to be used with the named return values extension.

 * decl.c (store_return_init): Allow classes with explicit ctors to
  be used with the named return values extension.

From-SVN: r15896

26 years agonew test from egcs-bug archives.
Jeff Law [Tue, 14 Oct 1997 17:35:26 +0000 (11:35 -0600)]
new test from egcs-bug archives.

From-SVN: r15895

26 years agoMake-lang.in (g77*): Copied from cp/Make-lang.in g++*.
Richard Henderson [Mon, 13 Oct 1997 18:09:13 +0000 (11:09 -0700)]
Make-lang.in (g77*): Copied from cp/Make-lang.in g++*.

        * Make-lang.in (g77*): Copied from cp/Make-lang.in g++*.
        * g77spec.c: New file, mostly copied from g++spec.c
        * g77.c: Removed.

From-SVN: r15893

26 years agoBring over from devo.
Jeff Law [Mon, 13 Oct 1997 16:03:04 +0000 (10:03 -0600)]
Bring over from devo.

From-SVN: r15892

26 years ago(INCOMING_RETURN_ADDR_RTX,INCOMING_FRAME_SP_OFFSET): Move definitions
Doug Evans [Fri, 10 Oct 1997 22:33:24 +0000 (22:33 +0000)]
(INCOMING_RETURN_ADDR_RTX,INCOMING_FRAME_SP_OFFSET): Move definitions
to a more sane place.

From-SVN: r15891

26 years ago* sparc/t-sp64 (LIBGCC2_CFLAGS): Delete.
Doug Evans [Fri, 10 Oct 1997 20:49:12 +0000 (20:49 +0000)]
* sparc/t-sp64 (LIBGCC2_CFLAGS): Delete.

From-SVN: r15890

26 years agoconfigure.in: Handle --with-newlib.
Doug Evans [Fri, 10 Oct 1997 20:48:55 +0000 (20:48 +0000)]
configure.in: Handle --with-newlib.

* configure.in: Handle --with-newlib.
* Makefile.in (LIBGCC2_CFLAGS): Add @inhibit_libc@.

* sparc/t-sp64 (LIBGCC2_CFLAGS): Delete.

From-SVN: r15889

26 years ago* pt.c (instantiate_decl): Fix previous change.
Jason Merrill [Fri, 10 Oct 1997 19:22:04 +0000 (19:22 +0000)]
* pt.c (instantiate_decl): Fix previous change.

From-SVN: r15888

26 years agobastring.h: Use ibegin internally.
Jason Merrill [Fri, 10 Oct 1997 07:44:56 +0000 (07:44 +0000)]
bastring.h: Use ibegin internally.

* std/bastring.h: Use ibegin internally.  Return passed iterator
instead of recalculating it were appropriate.
* std/bastring.cc: Adjust for erase.

From Yotam Medini:
* std/bastring.h: Replace remove with erase.

From-SVN: r15887

26 years ago* tstring.cc (identitytest): s/remove/erase/.
Jason Merrill [Fri, 10 Oct 1997 07:43:28 +0000 (07:43 +0000)]
* tstring.cc (identitytest): s/remove/erase/.

From-SVN: r15886

26 years agostdexcepti.cc (__out_of_range): New fn.
Jason Merrill [Fri, 10 Oct 1997 06:56:56 +0000 (06:56 +0000)]
stdexcepti.cc (__out_of_range): New fn.

* stdexcepti.cc (__out_of_range): New fn.
(__length_error): New fn.

* std/bastring.h (OUTOFRANGE): Fix logic.  Use throwing functions.
(LENGTHERROR): Likewise.
Revert Oct 2 changes.
* string: Revert Oct 2 changes.

* std/{f,d,ld}complex.h: Replace guiding fns if not -ansi.

From-SVN: r15885

26 years agoadd GPL comment at the top
Brendan Kehoe [Fri, 10 Oct 1997 01:18:29 +0000 (21:18 -0400)]
add GPL comment at the top

From-SVN: r15884

26 years agoadd an initial very rough description of how `explicit' is handled
Brendan Kehoe [Fri, 10 Oct 1997 00:05:55 +0000 (20:05 -0400)]
add an initial very rough description of how `explicit' is handled

From-SVN: r15883

26 years agopt.c (tsubst): Fix thinko.
Jason Merrill [Thu, 9 Oct 1997 19:13:22 +0000 (19:13 +0000)]
pt.c (tsubst): Fix thinko.

* pt.c (tsubst): Fix thinko.
(instantiate_decl): Really use the original template.

* call.c (build_new_method_call): Use simple constructor_name for
error messages.

From-SVN: r15882

26 years agomethod.c (build_underscore_int): Don't use ANSI specific features.
Jeffrey A Law [Thu, 9 Oct 1997 04:45:14 +0000 (04:45 +0000)]
method.c (build_underscore_int): Don't use ANSI specific features.

        * method.c (build_underscore_int): Don't use ANSI specific
        features.

From-SVN: r15881

26 years agoFix typo.
Jeffrey A Law [Wed, 8 Oct 1997 20:37:08 +0000 (20:37 +0000)]
Fix typo.

From-SVN: r15880

26 years ago* version.c: Bump for snapshot.
Jeffrey A Law [Wed, 8 Oct 1997 14:55:00 +0000 (14:55 +0000)]
* version.c: Bump for snapshot.

From-SVN: r15878

26 years agodecl2.c (finish_prevtable_vardecl): Check DECL_REALLY_EXTERN for our key method;...
Jason Merrill [Wed, 8 Oct 1997 07:19:53 +0000 (07:19 +0000)]
decl2.c (finish_prevtable_vardecl): Check DECL_REALLY_EXTERN for our key method; it might have been inlined by -O3.

* decl2.c (finish_prevtable_vardecl): Check DECL_REALLY_EXTERN
for our key method; it might have been inlined by -O3.

From-SVN: r15877

26 years ago[multiple changes]
Jason Merrill [Wed, 8 Oct 1997 06:04:28 +0000 (02:04 -0400)]
[multiple changes]

Tue Oct  7 23:00:12 1997  Mark Mitchell  <mmitchell@usa.net>

* decl.c (make_typename_type): Do not try to call lookup_field for
non-aggregate types.

Tue Oct  7 22:52:10 1997  Jason Merrill  <jason@yorick.cygnus.com>

* typeck.c (build_reinterpret_cast): Tweak.

Tue Oct  7 22:45:31 1997  Alexandre Oliva  <oliva@dcc.unicamp.br>

* typeck.c (build_reinterpret_cast): converting a void pointer
to function pointer with a reinterpret_cast produces a warning
if -pedantic is issued

Tue Oct  7 22:43:43 1997  Bruno Haible  <bruno@linuix.mathematik.uni-karlsruhe.de>

* typeck.c (c_expand_return): Don't warn about returning a
reference-type variable as a reference.

From-SVN: r15876

26 years agoOne more thinko.
Jeff Law [Wed, 8 Oct 1997 05:23:19 +0000 (23:23 -0600)]
One more thinko.

From-SVN: r15875

26 years agoFix thinko in last change.
Jeff Law [Wed, 8 Oct 1997 05:18:17 +0000 (23:18 -0600)]
Fix thinko in last change.

From-SVN: r15874

26 years agomethod.c (build_static_name): Fix typo.
Jason Merrill [Wed, 8 Oct 1997 04:26:17 +0000 (00:26 -0400)]
method.c (build_static_name): Fix typo.

* method.c (build_static_name): Fix typo.

1997-10-07  Brendan Kehoe  <brendan@lisa.cygnus.com>

* decl.c (duplicate_decls): Make sure DECL_LANG_SPECIFIC is set on
OLDDECL before we try to do DECL_USE_TEMPLATE.

From-SVN: r15873

26 years agoMakefile.in (CGFLAGS): Don't force -g0.
Richard Henderson [Wed, 8 Oct 1997 00:20:24 +0000 (17:20 -0700)]
Makefile.in (CGFLAGS): Don't force -g0.

        * Makefile.in (CGFLAGS): Don't force -g0.
        * libF77/Makefile.in, libI77/Makefile.in, libU77/Makefile.in: Likewise.

From-SVN: r15872

26 years agoUndo last incorrect change.
Jeff Law [Tue, 7 Oct 1997 23:21:42 +0000 (17:21 -0600)]
Undo last incorrect change.

From-SVN: r15871

26 years agoRemove include of <std>
Jeff Law [Tue, 7 Oct 1997 22:41:18 +0000 (16:41 -0600)]
Remove include of <std>

From-SVN: r15870

26 years agocp-tree.h (JOINER): Define to '_' if no '$' or '.' characters are allowed.
Manfred Hollstein [Tue, 7 Oct 1997 22:38:40 +0000 (22:38 +0000)]
cp-tree.h (JOINER): Define to '_' if no '$' or '.' characters are allowed.

* cp-tree.h (JOINER): Define to '_' if no '$' or '.' characters
are allowed.

From-SVN: r15869

26 years agoaclocal.m4: Substitute INSTALL.
Manfred Hollstein [Tue, 7 Oct 1997 22:26:56 +0000 (22:26 +0000)]
aclocal.m4: Substitute INSTALL.

        * aclocal.m4: Substitute INSTALL.
        * configure: Re-built.

From-SVN: r15868

26 years agoHandle std.h -> std rename.
Jeff Law [Tue, 7 Oct 1997 22:20:35 +0000 (16:20 -0600)]
Handle std.h -> std rename.

From-SVN: r15867

26 years agointegrate.c (save_for_inline_copying): Avoid undefined pointer operations.
Jeffrey A Law [Tue, 7 Oct 1997 21:43:02 +0000 (21:43 +0000)]
integrate.c (save_for_inline_copying): Avoid undefined pointer operations.

        * integrate.c (save_for_inline_copying): Avoid undefined pointer
        operations.
        (expand_inline_function): Likewise.

From-SVN: r15866

26 years agodwarf2out.c (output_call_frame_info): Reinstate last change using flag_debug_asm...
Jeffrey A Law [Tue, 7 Oct 1997 21:35:54 +0000 (21:35 +0000)]
dwarf2out.c (output_call_frame_info): Reinstate last change using flag_debug_asm check instead of flag_verbose_asm.

        * dwarf2out.c (output_call_frame_info): Reinstate last change
        using flag_debug_asm check instead of flag_verbose_asm.

From-SVN: r15865

26 years agoRemove incorrect change from Manfred Hollstein.
Jim Wilson [Tue, 7 Oct 1997 19:58:36 +0000 (19:58 +0000)]
Remove incorrect change from Manfred Hollstein.

* dwarf2out.c (output_call_frame_info): Remove last change.

From-SVN: r15864

26 years agoframe.c (__frame_state_for): Execute the FDE insns until the current pc value is...
Andreas Schwab [Tue, 7 Oct 1997 18:42:54 +0000 (18:42 +0000)]
frame.c (__frame_state_for): Execute the FDE insns until the current pc value is strictly bigger than the...

       * frame.c (__frame_state_for): Execute the FDE insns until the
        current pc value is strictly bigger than the target pc value.

From-SVN: r15863

26 years agoregclass.c (init_reg_modes): If we can't find a mode for the register, use the previo...
Jason Merrill [Tue, 7 Oct 1997 18:36:48 +0000 (18:36 +0000)]
regclass.c (init_reg_modes): If we can't find a mode for the register, use the previous one.

* regclass.c (init_reg_modes): If we can't find a mode for the
register, use the previous one.

From-SVN: r15862

26 years ago* toplev.c (rest_of_compilation): Defer all non-nested inlines.
Jason Merrill [Tue, 7 Oct 1997 18:04:33 +0000 (18:04 +0000)]
* toplev.c (rest_of_compilation): Defer all non-nested inlines.

From-SVN: r15861

26 years agoREG_BR_PRED docs.
Jeff Law [Tue, 7 Oct 1997 17:15:27 +0000 (11:15 -0600)]
REG_BR_PRED docs.

From-SVN: r15860

26 years agohaifa-sched.c (print_block_visualization): Call fprintf directly, don't sprintf throu...
Richard Henderson [Tue, 7 Oct 1997 16:53:16 +0000 (09:53 -0700)]
haifa-sched.c (print_block_visualization): Call fprintf directly, don't sprintf through an alloca'ed buffer.

        * haifa-sched.c (print_block_visualization): Call fprintf directly,
        don't sprintf through an alloca'ed buffer.

From-SVN: r15859

26 years ago* reload.c (decompose): Always initialize val.base.
Thomas Koenig [Tue, 7 Oct 1997 16:50:13 +0000 (16:50 +0000)]
* reload.c (decompose): Always initialize val.base.

From-SVN: r15858

26 years agoman.c (SIGCHLD): Define to SIGCLD if <sys/signal.h> fails to provide it.
Manfred Hollstein [Tue, 7 Oct 1997 16:22:48 +0000 (16:22 +0000)]
man.c (SIGCHLD): Define to SIGCLD if <sys/signal.h> fails to provide it.

        * info/man.c (SIGCHLD): Define to SIGCLD if <sys/signal.h>
        fails to provide it.

From-SVN: r15857

26 years agomot3300.h (ASM_OUTPUT_ALIGN): Accept any alignment instead of aborting.
Manfred Hollstein [Tue, 7 Oct 1997 16:20:44 +0000 (16:20 +0000)]
mot3300.h (ASM_OUTPUT_ALIGN): Accept any alignment instead of aborting.

        * m68k/mot3300.h (ASM_OUTPUT_ALIGN): Accept any alignment
        instead of aborting.
        * dwarf2out.c (output_call_frame_info): Call app_enable and
        app_disable to let GNU as accept the generated comments.

From-SVN: r15856

26 years agoDeclare get_file_function_name
Michael Meissner [Tue, 7 Oct 1997 16:07:46 +0000 (16:07 +0000)]
Declare get_file_function_name

From-SVN: r15855

26 years agoMakefile.in (program_transform_name): Let autoconf substitute the correct value.
Chip Salzenberg [Tue, 7 Oct 1997 15:59:26 +0000 (15:59 +0000)]
Makefile.in (program_transform_name): Let autoconf substitute the correct value.

        * Makefile.in (program_transform_name): Let autoconf substitute
        the correct value.

From-SVN: r15854

26 years agohaifa-sched.c (schedule_block): If the first real insn in a block has any special...
Jeffrey A Law [Tue, 7 Oct 1997 15:52:32 +0000 (15:52 +0000)]
haifa-sched.c (schedule_block): If the first real insn in a block has any special notes attached to it, remove them.

        * haifa-sched.c (schedule_block): If the first real insn in a
        block has any special notes attached to it, remove them.
Fixes bug reported by Weiwen Liu.

From-SVN: r15853

26 years ago* alpha.h (FLOAT_STORE_FLAG_VALUE): It's 2.0 not 0.5.
Richard Henderson [Tue, 7 Oct 1997 15:45:43 +0000 (08:45 -0700)]
* alpha.h (FLOAT_STORE_FLAG_VALUE): It's 2.0 not 0.5.

From-SVN: r15852

26 years agodecl.c (duplicate_decls): Don't warn about template instances.
Jason Merrill [Tue, 7 Oct 1997 07:50:21 +0000 (03:50 -0400)]
decl.c (duplicate_decls): Don't warn about template instances.

* decl.c (duplicate_decls): Don't warn about template instances.

* typeck.c (mark_addressable): Lose ancient code that unsets
DECL_EXTERNAL.

* pt.c (do_decl_instantiation): Lose support for instantiating
non-templates.

* call.c (build_new_function_call): Fix handling of null explicit
  template args.
(build_new_method_call): Likewise.

Mon Oct  6 23:44:34 1997  Mark Mitchell  <mmitchell@usa.net>

* method.c (build_underscore_int): Fix typo.

From-SVN: r15851

26 years agoadd missing tests, put in various test adjustments from devo
Brendan Kehoe [Tue, 7 Oct 1997 00:08:46 +0000 (20:08 -0400)]
add missing tests, put in various test adjustments from devo

From-SVN: r15850

26 years agotree.c (print_lang_statistics): #if 0 call to print_inline_obstack_statistics until...
Brendan Kehoe [Mon, 6 Oct 1997 21:09:49 +0000 (17:09 -0400)]
tree.c (print_lang_statistics): #if 0 call to print_inline_obstack_statistics until its definition is checked in.

        * tree.c (print_lang_statistics): #if 0 call to
        print_inline_obstack_statistics until its definition is checked in.

the definition of the fn's not checked in yet by jason

From-SVN: r15849

26 years agotree.c (print_lang_statistics): #if 0 call to print_inline_obstack_statistics until...
Brendan Kehoe [Mon, 6 Oct 1997 21:09:23 +0000 (17:09 -0400)]
tree.c (print_lang_statistics): #if 0 call to print_inline_obstack_statistics until its definition is checked in.

* tree.c (print_lang_statistics): #if 0 call to
print_inline_obstack_statistics until its definition is checked in.

the definition of the fn's not checked in yet by jason

From-SVN: r15848

26 years ago* Makefile.in (distclean): Do a better job at cleaning up.
Jeffrey A Law [Mon, 6 Oct 1997 20:14:47 +0000 (20:14 +0000)]
* Makefile.in (distclean): Do a better job at cleaning up.

From-SVN: r15847

26 years agoMake-lang.in (f77.mostlyclean): Clean up stuff in the object tree too.
Jeffrey A Law [Mon, 6 Oct 1997 20:13:30 +0000 (20:13 +0000)]
Make-lang.in (f77.mostlyclean): Clean up stuff in the object tree too.

        * Make-lang.in (f77.mostlyclean): Clean up stuff in the
        object tree too.
        (f77.clean, f77.distclean, f77.maintainer-clean): Likewise.

From-SVN: r15846

26 years ago* m88k.c (m88k_begin_prologue): Remove superfluous backslash.
Manfred Hollstein [Mon, 6 Oct 1997 18:45:32 +0000 (18:45 +0000)]
* m88k.c (m88k_begin_prologue): Remove superfluous backslash.

From-SVN: r15845

26 years agoInitial revision
Jeff Law [Mon, 6 Oct 1997 18:08:35 +0000 (12:08 -0600)]
Initial revision

From-SVN: r15841

26 years agoMakefile.in (check-g77): New test target.
Jeffrey A Law [Mon, 6 Oct 1997 18:02:25 +0000 (18:02 +0000)]
Makefile.in (check-g77): New test target.

        * Makefile.in (check-g77): New test target.
        (CHECK-TARGETS): Add check-g77.

From-SVN: r15840

26 years ago* lib/g77.exp, lib/f-torture.exp: New files.
Jeffrey A Law [Mon, 6 Oct 1997 18:00:04 +0000 (18:00 +0000)]
* lib/g77.exp, lib/f-torture.exp: New files.

From-SVN: r15839

26 years agopt.c (instantiate_decl): Look for the original template.
Jason Merrill [Mon, 6 Oct 1997 16:37:44 +0000 (16:37 +0000)]
pt.c (instantiate_decl): Look for the original template.

Mon Oct  6 09:27:29 1997  Jason Merrill  <jason@yorick.cygnus.com>

* pt.c (instantiate_decl): Look for the original template.
(tsubst): Set DECL_IMPLICIT_INSTANTIATION on partial instantiations
of member templates.

Fixes tstring.

From-SVN: r15838

26 years agoCast alloca return value for char *
Michael Meissner [Fri, 3 Oct 1997 19:51:50 +0000 (19:51 +0000)]
Cast alloca return value for char *

From-SVN: r15837

26 years agoiostream.cc, libio.h: Convert other uses of #ifdef _G_HAVE_PRINTF_FP to #if.
Jason Merrill [Fri, 3 Oct 1997 17:14:05 +0000 (13:14 -0400)]
iostream.cc, libio.h: Convert other uses of #ifdef _G_HAVE_PRINTF_FP to #if.

* iostream.cc, libio.h: Convert other uses of #ifdef
_G_HAVE_PRINTF_FP to #if.

From-SVN: r15836

26 years agoPatch from Richard Henderson to make __builtin_return_address(0) work.
Richard Henderson [Fri, 3 Oct 1997 04:15:56 +0000 (21:15 -0700)]
Patch from Richard Henderson to make __builtin_return_address(0) work.

* i386.h (RETURN_ADDR_RTX): New definition that works for
__builtin_return_address(0) and -fomit-frame-pointer.

From-SVN: r15835

26 years agoiostream.cc (operator<<): Use `#if _G_HAVE_PRINTF_FP', not ifdef.
Brendan Kehoe [Thu, 2 Oct 1997 22:52:19 +0000 (22:52 +0000)]
iostream.cc (operator<<): Use `#if _G_HAVE_PRINTF_FP', not ifdef.

* iostream.cc (operator<<): Use `#if _G_HAVE_PRINTF_FP', not ifdef.

... since it comes in defined, either 0 or 1

From-SVN: r15834

26 years ago[multiple changes]
Jason Merrill [Thu, 2 Oct 1997 17:39:40 +0000 (13:39 -0400)]
[multiple changes]

Thu Oct  2 10:36:49 1997  Jason Merrill  <jason@yorick.cygnus.com>

* gen-params: Fix __printf_fp test.
* config/linuxlibc1.mt (gxx_includedir): Don't define.

Thu Oct  2 10:36:26 1997  Ulrich Drepper  <drepper@rtl.cygnus.com>

* config/linuxlibc1.mt (_G_CONFIG_H): Don't define.
* gen-params: Add test for __printf_fp.

Getting closer...

From-SVN: r15833

26 years agobastring.h: Move exception stuff after definition of string.
Jason Merrill [Thu, 2 Oct 1997 17:26:16 +0000 (17:26 +0000)]
bastring.h: Move exception stuff after definition of string.

* std/bastring.h: Move exception stuff after definition of string.
Move typedef of string here.
* string: From here.

From-SVN: r15832

26 years agoFix 961223-1.c irix6 c-torture failure.
Jim Wilson [Wed, 1 Oct 1997 20:49:25 +0000 (20:49 +0000)]
Fix 961223-1.c irix6 c-torture failure.

* mips.c (function_arg): Handle passing a struct
containing a double in a DFmode register without the PARALLEL.

From-SVN: r15830

26 years agotweak
Jason Merrill [Wed, 1 Oct 1997 17:56:23 +0000 (13:56 -0400)]
tweak

From-SVN: r15828

26 years agoMakefile.in (g++FAQ.*): New rules.
Jason Merrill [Wed, 1 Oct 1997 17:50:03 +0000 (17:50 +0000)]
Makefile.in (g++FAQ.*): New rules.

* Makefile.in (g++FAQ.*): New rules.
(CONFLICTS): Update.
* g++FAQ.texi: Moved from libg++.

* parse.y (PFUNCNAME): Only specify the type once.

From-SVN: r15827

26 years agolex.c (real_yylex): Clean up the code to fully behave the way the c-lex.c parser...
Brendan Kehoe [Wed, 1 Oct 1997 16:56:13 +0000 (16:56 +0000)]
lex.c (real_yylex): Clean up the code to fully behave the way the c-lex.c parser does for complex...

* lex.c (real_yylex): Clean up the code to fully behave the way
the c-lex.c parser does for complex and real numbers.

From-SVN: r15826

26 years agopexecute.c: Use spawn if __CYGWIN32__.
Ian Lance Taylor [Wed, 1 Oct 1997 15:15:06 +0000 (15:15 +0000)]
pexecute.c: Use spawn if __CYGWIN32__.

        * pexecute.c: Use spawn if __CYGWIN32__.

        * pexecute.c: Include "config.h" first, as per autoconf manual
(from Paul Eggert  <eggert@twinsun.com>).

From-SVN: r15825

26 years agoFix typo.
Jeff Law [Wed, 1 Oct 1997 13:52:31 +0000 (07:52 -0600)]
Fix typo.

From-SVN: r15824

26 years agosys_clock_.c: File renamed from system_clock_.c.
Philippe De Muyter [Wed, 1 Oct 1997 07:43:22 +0000 (09:43 +0200)]
sys_clock_.c: File renamed from system_clock_.c.

        * libU77/sys_clock_.c: File renamed from system_clock_.c.
        libU77/Makefile.in, Makefile.in : Reference sys_clock_.*, not
        system_clock_.*.
        * libU77/dtime_.c (clk_tck): Try also HZ macro.
        * libU77/access.c (G77_access_0): Check malloc return value against 0,
        not NULL.
        libU77/getlog_.c, libU77/ttynam_.c, libU77/chdir_.c: Ditto.
        libU77/chmod_.c, libU77/rename_.c: Ditto.

From-SVN: r15821

26 years ago* g77.c (pexecute, main): Use unlink, not remove.
Philippe De Muyter [Wed, 1 Oct 1997 07:42:36 +0000 (01:42 -0600)]
* g77.c (pexecute, main): Use unlink, not remove.

From-SVN: r15820

26 years agox-mot3300 (XCFLAGS): Disable as's long/short jump optimisation for f/expr.o and f...
Philippe De Muyter [Wed, 1 Oct 1997 07:41:57 +0000 (09:41 +0200)]
x-mot3300 (XCFLAGS): Disable as's long/short jump optimisation for f/expr.o and f/stb.o.

        * config/m68k/x-mot3300 (XCFLAGS): Disable as's long/short jump
        optimisation for f/expr.o and f/stb.o.

From-SVN: r15819

26 years agoUpdate to 0.5.22-19970929.
Jeff Law [Wed, 1 Oct 1997 07:28:03 +0000 (01:28 -0600)]
Update to 0.5.22-19970929.

From-SVN: r15818

26 years ago* cccp.c (expand_to_temp_buffer): Initialize all members of obuf.
Thomas Koenig [Wed, 1 Oct 1997 06:22:46 +0000 (06:22 +0000)]
* cccp.c (expand_to_temp_buffer): Initialize all members of obuf.

From-SVN: r15817

26 years ago* cse.c (this_insn_cc0_mode): Initialize.
Jeffrey A Law [Wed, 1 Oct 1997 05:46:27 +0000 (05:46 +0000)]
* cse.c (this_insn_cc0_mode): Initialize.

From-SVN: r15816

26 years ago* haifa-sched.c: (get_block_head_tail) Remove unneeded initialization.
Thomas Koenig [Wed, 1 Oct 1997 05:08:31 +0000 (05:08 +0000)]
* haifa-sched.c: (get_block_head_tail) Remove unneeded initialization.

From-SVN: r15815

26 years agoalpha.md (beq): For registers and ints 0-255...
Richard Henderson [Wed, 1 Oct 1997 05:04:30 +0000 (22:04 -0700)]
alpha.md (beq): For registers and ints 0-255...

        * alpha.md (beq): For registers and ints 0-255, use cmpeq+bne, since
        that pair will dual-issue on the 21164 and plus+beq won't.
        (bne): Likewise for cmpeq+beq.

From-SVN: r15814

26 years agoFix error in immediately preceeding patch.
Jim Wilson [Tue, 30 Sep 1997 23:15:58 +0000 (23:15 +0000)]
Fix error in immediately preceeding patch.

* except.c (find_exception_handler_labels): Correct argument to free.

From-SVN: r15812

26 years agoadjust date to be the old form, instead of the emacs 20.x shortened style,
Brendan Kehoe [Tue, 30 Sep 1997 19:15:20 +0000 (15:15 -0400)]
adjust date to be the old form, instead of the emacs 20.x shortened style,

for now.

From-SVN: r15811

26 years agoexcept.c (find_exception_handler_labels): Free LABELS when we're done.
Brendan Kehoe [Tue, 30 Sep 1997 18:25:09 +0000 (18:25 +0000)]
except.c (find_exception_handler_labels): Free LABELS when we're done.

* except.c (find_exception_handler_labels): Free LABELS when we're
done.

fixes memory leak

From-SVN: r15808

26 years agoadd -Wold-style-cast
Jason Merrill [Tue, 30 Sep 1997 17:49:34 +0000 (13:49 -0400)]
add -Wold-style-cast

From-SVN: r15807

26 years agorevert gratuitous whitespace changes
Jason Merrill [Tue, 30 Sep 1997 17:47:48 +0000 (13:47 -0400)]
revert gratuitous whitespace changes

From-SVN: r15806