platform/upstream/gcc.git
26 years ago(output_fp_move_quad): If TARGET_V9 and not TARGET_HARD_QUAD, use
Doug Evans [Fri, 17 Oct 1997 23:21:12 +0000 (23:21 +0000)]
(output_fp_move_quad): If TARGET_V9 and not TARGET_HARD_QUAD, use
fmovd so it works if a quad float ends up in one of the upper 32
float regs.

From-SVN: r15985

26 years agosparc.c (output_fp_move_quad): If TARGET_V9 and not TARGET_HARD_QUAD...
Doug Evans [Fri, 17 Oct 1997 23:20:03 +0000 (23:20 +0000)]
sparc.c (output_fp_move_quad): If TARGET_V9 and not TARGET_HARD_QUAD...

* sparc.c (output_fp_move_quad): If TARGET_V9 and not TARGET_HARD_QUAD, use
fmovd so it works if a quad float ends up in one of the upper 32
float regs.

From-SVN: r15984

26 years agosparc.md (pic_{lo_sum,sethi}_di): New patterns necessary for PIC support on sparc64.
David S. Miller [Fri, 17 Oct 1997 23:01:29 +0000 (23:01 +0000)]
sparc.md (pic_{lo_sum,sethi}_di): New patterns necessary for PIC support on sparc64.

* sparc/sparc.md (pic_{lo_sum,sethi}_di): New patterns
necessary for PIC support on sparc64.

From-SVN: r15982

26 years agoReorg sethi_{hi,si} patterns.
Doug Evans [Fri, 17 Oct 1997 22:45:15 +0000 (22:45 +0000)]
Reorg sethi_{hi,si} patterns.

From-SVN: r15979

26 years agoAdd some stuff.
Jeff Law [Fri, 17 Oct 1997 22:16:29 +0000 (16:16 -0600)]
Add some stuff.

From-SVN: r15978

26 years agosparc.c (output_double_int): Output DI mode values correctly when HOST_BITS_PER_WIDE_...
Doug Evans [Fri, 17 Oct 1997 21:59:06 +0000 (21:59 +0000)]
sparc.c (output_double_int): Output DI mode values correctly when HOST_BITS_PER_WIDE_INT is 64.

* sparc/sparc.c (output_double_int): Output DI mode values
correctly when HOST_BITS_PER_WIDE_INT is 64.

From-SVN: r15977

26 years agosparc.h (FUNCTION_PROFILER): Fix format string when TARGET_MEDANY.
David S. Miller [Fri, 17 Oct 1997 21:35:20 +0000 (21:35 +0000)]
sparc.h (FUNCTION_PROFILER): Fix format string when TARGET_MEDANY.

* sparc/sparc.h (FUNCTION_PROFILER): Fix format string when
TARGET_MEDANY.

From-SVN: r15974

26 years ago* sparc/sparc.c (dwarf2out_cfi_label): Extern no longer needed.
David S. Miller [Fri, 17 Oct 1997 21:21:12 +0000 (21:21 +0000)]
* sparc/sparc.c (dwarf2out_cfi_label): Extern no longer needed.

From-SVN: r15972

26 years ago* sparc/linux64.h (LINK_SPEC): Dynamic linker is ld-linux64.so.2.
David S. Miller [Fri, 17 Oct 1997 21:16:36 +0000 (21:16 +0000)]
* sparc/linux64.h (LINK_SPEC): Dynamic linker is ld-linux64.so.2.

From-SVN: r15971

26 years agoFirst pass at updating to current sparc v9 abi.
Doug Evans [Fri, 17 Oct 1997 20:41:17 +0000 (20:41 +0000)]
First pass at updating to current sparc v9 abi.

From-SVN: r15969

26 years agosp64-elf.h (TARGET_DEFAULT): Delete MASK_STACK_BIAS.
Doug Evans [Fri, 17 Oct 1997 20:39:37 +0000 (20:39 +0000)]
sp64-elf.h (TARGET_DEFAULT): Delete MASK_STACK_BIAS.

* sparc/sp64-elf.h (TARGET_DEFAULT): Delete MASK_STACK_BIAS.
* sparc/sparc.h (PROMOTE_MODE): Promote small ints if arch64.
(PROMOTE_FUNCTION_ARGS,PROMOTE_FUNCTION_RETURN): Define.
(SPARC_FIRST_FP_REG, SPARC_FP_REG_P): New macros.
(SPARC_{OUTGOING,INCOMING}_INT_ARG_FIRST): New macros.
(SPARC_FP_ARG_FIRST): New macro.
(CONDITIONAL_REGISTER_USAGE): All v9 fp regs are volatile now.
(REG_ALLOC_ORDER,REG_LEAF_ALLOC_ORDER): Reorganize fp regs.
(NPARM_REGS): There are 32 fp argument registers now.
(FUNCTION_ARG_REGNO_P): Likewise.
(FIRST_PARM_OFFSET): Update to new v9 abi.
(REG_PARM_STACK_SPACE): Define for arch64.
(enum sparc_arg_class): Delete.
(sparc_arg_count,sparc_n_named_args): Delete.
(struct sparc_args): Redefine and use for arch32 as well as arch64.
(GET_SPARC_ARG_CLASS,ROUND_REG,ROUND_ADVANCE): Delete.
(FUNCTION_ARG_ADVANCE): Rewrite.
(FUNCTION_ARG,FUNCTION_INCOMING_ARG): Rewrite.
(FUNCTION_ARG_{PARTIAL_NREGS,PASS_BY_REFERENCE}): Rewrite.
(FUNCTION_ARG_CALLEE_COPIES): Delete.
(FUNCTION_ARG_{PADDING,BOUNDARY}): Define.
(STRICT_ARGUMENT_NAMING): Define.
(doublemove_string): Declare.
* sparc/sparc.c (sparc_arg_count,sparc_n_named_args): Delete.
(single_move_string): Use GEN_INT, and HOST_WIDE_INT.
(doublemove_string): New function.
(output_move_quad): Clean up some of the arch64 support.
(compute_frame_size): Add REG_PARM_STACK_SPACE if arch64.
Don't add 8 bytes of reserved space if arch64.
(sparc_builtin_saveregs): Combine arch32/arch64 versions.
(init_cumulative_args): New function.
(function_arg_slotno): New static function.
(function_arg,function_arg_partial_nregs): New functions.
(function_arg_{pass_by_reference,advance}): New functions.
(function_arg_padding): New function.
First pass at updating to current v9 abi.

From-SVN: r15968

26 years agoFix from Joern.
Jeff Law [Fri, 17 Oct 1997 15:54:01 +0000 (09:54 -0600)]
Fix from Joern.

From-SVN: r15955

26 years agoregclass.c (record_address_regs): Look at REG_OK_FOR_{BASE,INDEX}_P for hard regs...
Christian Iseli [Fri, 17 Oct 1997 15:46:57 +0000 (17:46 +0200)]
regclass.c (record_address_regs): Look at REG_OK_FOR_{BASE,INDEX}_P for hard regs to determine base and index...

        * regclass.c (record_address_regs): Look at REG_OK_FOR_{BASE,INDEX}_P
        for hard regs to determine base and index registers.

From-SVN: r15954

26 years agoreload.c (debug_reload_to_stream): New function.
Christian Iseli [Fri, 17 Oct 1997 15:40:52 +0000 (17:40 +0200)]
reload.c (debug_reload_to_stream): New function.

        * reload.c (debug_reload_to_stream): New function.  Specify stream
        into which to write debug info.
        (debug_reload): Modify to call debug_reload_to_stream with stderr.
Thanks.  Installed.

From-SVN: r15953

26 years agocombine.c (can_combine_p): Don't combine with an asm whose output is a hard register.
Richard Henderson [Thu, 16 Oct 1997 22:06:43 +0000 (15:06 -0700)]
combine.c (can_combine_p): Don't combine with an asm whose output is a hard register.

        * combine.c (can_combine_p): Don't combine with an asm whose
        output is a hard register.

From-SVN: r15940

26 years agoc-decl.c (start_struct): Ensure that structs with forward declarations are in fact...
Mike Stump [Thu, 16 Oct 1997 21:45:24 +0000 (21:45 +0000)]
c-decl.c (start_struct): Ensure that structs with forward declarations are in fact packed when...

        * c-decl.c (start_struct): Ensure that structs with forward
        declarations are in fact packed when -fpack-struct is given.

        * stor-layout.c (layout_record): Ignore STRUCTURE_SIZE_BOUNDARY if
        we are packing a structure.  This allows a structure with only
        bytes to be aligned on a byte boundary and have no padding on a
        m68k.

From-SVN: r15939

26 years agopt.c (determine_explicit_specialization): Initialize "dummy" to keep Purify quiet.
Judy Goldberg [Thu, 16 Oct 1997 21:33:36 +0000 (21:33 +0000)]
pt.c (determine_explicit_specialization): Initialize "dummy" to keep Purify quiet.

        * pt.c (determine_explicit_specialization): Initialize "dummy"
        to keep Purify quiet.

From-SVN: r15938

26 years agors6000.h (ROUND_TYPE_ALIGN): Don't blow up if no fields in record.
Richard Kenner [Thu, 16 Oct 1997 21:16:09 +0000 (21:16 +0000)]
rs6000.h (ROUND_TYPE_ALIGN): Don't blow up if no fields in record.

        * rs6000.h (ROUND_TYPE_ALIGN): Don't blow up if no fields in record.
Bring over from gcc2.

From-SVN: r15937

26 years agoalpha.c (alpha_return_addr_rtx): New variable.
Richard Henderson [Thu, 16 Oct 1997 18:37:59 +0000 (11:37 -0700)]
alpha.c (alpha_return_addr_rtx): New variable.

        * alpha.c (alpha_return_addr_rtx): New variable.
        (alpha_save_machine_status): New; save it.
        (alpha_restore_machine_status): New; restore it.
        (alpha_init_expanders): New; clear it.
        (alpha_return_addr): New; set it.
        (alpha_ra_ever_killed): New; if alpha_return_addr_rtx, regs_ever_live
        is overly conservative, so search the insns explicitly.
        (alpha_sa_mask [VMS]): Check alpha_ra_ever_killed.
        (alpha_sa_size [VMS && !VMS]): Likewise.
        * alpha.h (RETURN_ADDR_RTX): Call alpha_return_addr.
        (INIT_EXPANDERS): New definition.

        * alpha.c: Move REG_PV, REG_RA somewhere more visible in the file.
        (output_prolog [!VMS]): Use them.

        * alpha.c (output_prolog [!VMS]): Move gp detection to ...
        (alpha_does_function_need_gp): ... a new function.  Refine the
        CALL_INSN test to just TYPE_JSR.
        * alpha.md (most call insns): Fix some jsr/ibr type transpositions.

From-SVN: r15936

26 years ago* version.c: Bump for snapshot.
Jeffrey A Law [Thu, 16 Oct 1997 15:39:00 +0000 (15:39 +0000)]
* version.c: Bump for snapshot.

From-SVN: r15932

26 years agoconfigure.in: Create compatibility code in bits/libc-lock.h file.
Jeff Law [Thu, 16 Oct 1997 15:30:26 +0000 (09:30 -0600)]
configure.in: Create compatibility code in bits/libc-lock.h file.

        * configure.in: Create compatibility code in bits/libc-lock.h file.

        * libio.h (_IO_LOCK_T): Handle glibc 2 when _IO_MTSAFE_IO is
        not defined.

        * filedoalloc.c (_IO_file_doallocate): Don't call
        _IO_cleanup_registration_needed if __linux__ is defined.

        * iofclose.c (fclose): Make it weak alias of _IO_fclose if
        __ELF__ is defined.

        * iovsprintf.c (vsprintf): Make it weak alias of _IO_vsprintf
        if __ELF__ is defined.

        * iovsscanf.c (vsscanf): Make it weak alias of _IO_vsscanf if
        __ELF__ is defined.

        * config/linuxlibc1.mt (MT_CFLAGS): Defined as -D_G_HAVE_MMAP.
        (IO_OBJECTS): Add filedoalloc.o fileops.o genops.o iofclose.o
        iovsprintf.o iovsscanf.o strops.o.

From-SVN: r15931

26 years agoMake-lang.in (stmp-f2c.h): Don't configure the runtime directory if LANGUAGES does...
Paul Koning [Thu, 16 Oct 1997 08:02:09 +0000 (08:02 +0000)]
Make-lang.in (stmp-f2c.h): Don't configure the runtime directory if LANGUAGES does not include f77.

        * Make-lang.in (stmp-f2c.h): Don't configure the runtime
        directory if LANGUAGES does not include f77.

From-SVN: r15930

26 years agoasprintf.c: Consistently use either stdarg or varargs.
Ian Lance Taylor [Thu, 16 Oct 1997 07:39:03 +0000 (07:39 +0000)]
asprintf.c: Consistently use either stdarg or varargs.

        * asprintf.c: Consistently use either stdarg or varargs.

Bring over from devo.

From-SVN: r15929

26 years agomethod.c (build_overload_value): Handle TEMPLATE_CONST_PARMs here.
Jason Merrill [Thu, 16 Oct 1997 07:20:46 +0000 (03:20 -0400)]
method.c (build_overload_value): Handle TEMPLATE_CONST_PARMs here.

* method.c (build_overload_value): Handle TEMPLATE_CONST_PARMs here.
(build_overload_int): Not here.

Wed Oct 15 00:35:28 1997  Mike Stump  <mrs@wrs.com>

* class.c (build_type_pathname): Remove.
(prepare_fresh_vtable): Fix problem with complex MI vtable names.

From-SVN: r15928

26 years agopa.c (move_operand): Respect -mdisable-indexing.
Richard Kenner [Thu, 16 Oct 1997 03:37:28 +0000 (03:37 +0000)]
pa.c (move_operand): Respect -mdisable-indexing.

        * pa.c (move_operand): Respect -mdisable-indexing.
        * pa.h (GO_IF_LEGITIMATE_ADDRESS): Likewise.
Bring over from gcc2.  Fixes ada -O2 bootstrap.

From-SVN: r15927

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