Jim Wilson [Tue, 9 Sep 1997 20:21:58 +0000 (20:21 +0000)]
Add CYGWIN32 support.
* g77.c (pexecute, doit): Add checks for __CYGWIN32__.
From-SVN: r15183
Jeffrey A Law [Tue, 9 Sep 1997 15:12:06 +0000 (15:12 +0000)]
* haifa-sched.c (print_value): Fix last change.
From-SVN: r15181
Nick Clifton [Tue, 9 Sep 1997 15:06:54 +0000 (15:06 +0000)]
v850.h (ASM_SPEC): Pass on target processor.
* v850.h (ASM_SPEC): Pass on target processor.
(CPP_PREDEFINES): Only define if not already specified.
(TARGET_VERSION): Only define if not already specified.
(MASK_CPU, MASK_V850, MASK_DEFAULT): Bits to specify target
processor.
(EXTRA_SWITCHES): Extra entries in the switches array.
(TARGET_DEFAULT): Set default target processor.
From-SVN: r15180
Jim Wilson [Tue, 9 Sep 1997 01:34:17 +0000 (01:34 +0000)]
Fix m68k-hp-hpux8 problem for Manfred Holstein.
* m68k.h (MACHINE_STATE_SAVE, MACHINE_STATE_RESTORE): In MOTOROLA
cases, add %# and %/, and add : to make them into extended asms.
From-SVN: r15174
Weiwen Liu [Mon, 8 Sep 1997 16:12:05 +0000 (16:12 +0000)]
* libio.h: Fix typo.
From-SVN: r15170
Weiwen Liu [Mon, 8 Sep 1997 16:06:18 +0000 (16:06 +0000)]
alias.c (init_alias_analysis): Clean up incompatible pointer type warning in bzero.
* alias.c (init_alias_analysis): Clean up incompatible pointer
type warning in bzero.
* regmove.c (regmove_optimize): Ditto.
* haifa-sched.c (find_rgns): Ditto.
* haifa-sched.c (print_value): Clean up ptr->int cast
warnings.
From-SVN: r15169
Jeff Law [Mon, 8 Sep 1997 14:53:44 +0000 (08:53 -0600)]
Fix thinko.
From-SVN: r15168
Jody Goldberg [Mon, 8 Sep 1997 09:37:29 +0000 (09:37 +0000)]
decl.c (current_local_enum): Remove static.
Mon Sep 8 02:33:20 1997 Jody Goldberg <jodyg@idt.net>
* decl.c (current_local_enum): Remove static.
* pt.c (tsubst_enum): Save and restore value of current_local_enum
in case template is expanded in enum decl.
(instantiate_class_template) : Use new tsubst_enum signature.
(tsubst_expr): Likewise.
From-SVN: r15156
Mark Mitchell [Mon, 8 Sep 1997 09:28:51 +0000 (09:28 +0000)]
pt.c (begin_member_template_processing): Take a function as argument, not a set of template arguments.
Mon Sep 8 01:21:43 1997 Mark Mitchell <mmitchell@usa.net>
* pt.c (begin_member_template_processing): Take a function as
argument, not a set of template arguments. Use the template
parameters, rather than the arguments. Handle non-type parameters
correctly. Push a binding level for the parameters so that multiple
member templates using the same parameter names can be declared.
(end_member_template_processing): Pop the binding level.
(push_template_decl): Mark member templates as static when
appropriate.
* lex.c (do_pending_inlines): Pass the function, not its template
arguments, to begin_member_template_processing.
(process_next_inline): Likewise.
(do_pending_defargs): Likewise.
* error.c (dump_expr): Obtain the correct declaration for a
TEMPLATE_CONST_PARM.
* call.c (add_template_conv_candidate): New function.
(build_object_call): Handle member templates, as done in the other
build_ functions.
From-SVN: r15155
Jason Merrill [Mon, 8 Sep 1997 08:53:21 +0000 (08:53 +0000)]
dwarf2out.c (dwarf2out_frame_debug): Assume that in a PARALLEL prologue insn, only the first elt is significant.
* dwarf2out.c (dwarf2out_frame_debug): Assume that in a PARALLEL
prologue insn, only the first elt is significant.
(output_call_frame_info): For exception handling, always use 4-byte
fields as specified by the dwarf2 spec.
Don't skip trivial FDEs.
From-SVN: r15154
Fred Fish [Mon, 8 Sep 1997 05:17:48 +0000 (05:17 +0000)]
INSTALL: Change 'amigados' to 'amigaos' to match current usage.
* INSTALL: Change 'amigados' to 'amigaos' to match current usage.
* install.texi (Configurations): Ditto.
* config.sub: Ditto.
From-SVN: r15143
Jim Wilson [Mon, 8 Sep 1997 04:58:57 +0000 (04:58 +0000)]
linux.mt (LIBIOSTREAM_DEP): Change stdio.list to stmp-stdio.
* linux.mt (LIBIOSTREAM_DEP): Change stdio.list to stmp-stdio.
Should fix linux build problem.
From-SVN: r15142
Weiwen Liu [Mon, 8 Sep 1997 04:55:20 +0000 (04:55 +0000)]
* Makefile.in (sdbout.o): Depend on insn-config.h.
From-SVN: r15141
Jim Wilson [Mon, 8 Sep 1997 02:06:55 +0000 (19:06 -0700)]
Fix typo in last patch.
From-SVN: r15139
Jim Wilson [Mon, 8 Sep 1997 01:51:02 +0000 (01:51 +0000)]
Fix m68k-motorola-sysv (aka delta) build failure for Manfred Hollstein.
* m68k/m68k.h (TARGET_SWITCHES): For 68000, 68302, subtract MASK_68881.
For 68303, 68332, cpu32, subtract MASK_68040_ONLY.
From-SVN: r15138
Jeff Law [Sun, 7 Sep 1997 22:10:34 +0000 (16:10 -0600)]
version.c: Bump for snapshot.
* version.c: Bump for snapshot.
* expmed.c (expand_divmod): Make op1_is_pow2 depend on unsignedp
for negative constants. Promote EXACT_DIV_EXPR to TRUNC_DIV_EXPR
when op1_is_pow2.
* final.c (shorten_branches): During first pass, assume worst
possible alignment for ADDR_VEC and ADDR_VEC_DIFF insns.
* Makefile.in (distclean): Remove various things left around
by running the testsuite.
From-SVN: r15136
Jeff Law [Sun, 7 Sep 1997 19:45:33 +0000 (13:45 -0600)]
Makefile.in (distclean): Remove various things left around by running the testsuite.
* Makefile.in (distclean): Remove various things left around
by running the testsuite.
From-SVN: r15135
Manfred Hollstein [Sun, 7 Sep 1997 19:17:02 +0000 (19:17 +0000)]
configure.in (out_file): Emit definition to config.status in order to have a defined value for...
* configure.in (out_file): Emit definition to config.status in order
to have a defined value for configure.lang.
* configure: Re-built.
From-SVN: r15134
Jan-Jaap van der Heijden [Sun, 7 Sep 1997 16:00:47 +0000 (18:00 +0200)]
configure.in: Make symlink to as-new rather than as.new.
* configure.in: Make symlink to as-new rather than as.new. Similarly
for ld-new.
* configure: Rebuilt.
From-SVN: r15133
Mark Mitchell [Sat, 6 Sep 1997 20:10:05 +0000 (20:10 +0000)]
decl.c (replace_defag): Undo previous change.
Sat Sep 6 10:20:27 1997 Mark Mitchell <mmitchell@usa.net>
* decl.c (replace_defag): Undo previous change.
* lex.c (do_pending_defargs): Deal with member templates.
* pt.c (is_member_template): Avoid crashing when passed a
non-function argument.
From-SVN: r15131
Jason Merrill [Sat, 6 Sep 1997 08:10:07 +0000 (04:10 -0400)]
class.c (grow_method): Remove check for redeclaration.
* class.c (grow_method): Remove check for redeclaration.
Fri Sep 5 01:37:17 1997 Mark Mitchell <mmitchell@usa.net>
* cp-tree.h (INNERMOST_TEMPLATE_PARMS): New macro.
(DECL_INNERMOST_TEMPLATE_PARMS): Likewise.
(PRIMARY_TEMPLATE_P): Use it.
* call.c (build_overload_call_real): Use it.
* class.c (instantiate_type): Likewise.
* decl.c (decls_match): Likewise.
* method.c (build_overload_identifier): Likewise.
* pt.c (push_template_decl): Likewise.
(classtype_mangled_name): Likewise.
(lookup_template_class): Likewise.
* cp-tree.h (DECL_NTPARMS): Change name from DECL_NT_PARMS to
DECL_NTPARMS to conform to usage elsewhere.
* call.c (add_template_candidate): Likewise.
* class.c (instantiate_type): Likewise.
* pt.c (instantiate_template): Likewise.
(get_bindings): Likewise.
* class.c (grow_method): Use DECL_FUNCTION_TEMPLATE_P instead of
is_member_template.
* pt.c (unify): Undo changes to allow multiple levels of template
parameters.
(type_unification): Likewise.
(fn_type_unification): Likewise.
(get_class_bindings): Likewise.
* cp-tree.h (Likewise).
* decl.c (replace_defarg): Check that the type of the default
parameter does not invlove a template type before complaining
about the initialization.
* error.c (dump_expr): Deal with template constant parameters in
member templates correctly.
* pt.c (is_member_template): Deal with class specializations
correctly.
(tsubst): Handle "partial instantiation" of member templates
correctly.
Wed Sep 3 12:30:24 1997 Mark Mitchell <mmitchell@usa.net>
* pt.c (type_unification): Change calling squence to allow for
multiple levels of template parameters.
(tsubst_expr): Likewise.
(tsubst): Likewise.
(tsubst_copy): Likewise.
(instantiate_template): Likewise.
(unify): Likewise.
* call.c (build_overload_call_real): Use it.
(add_builtin_candidate): Use it.
(build_new_method_call): Use it.
* class.c (instantiate_type): Use it.
* decl.c (grokdeclarator): Use it.
* decl2.c (finish_file): Use it.
* method.c (build_overload_identifier): Use it.
* call.c (add_template_candidate): Add additional parameter for
the function return type. Call fn_type_unification istead of
type_unification.
(build_user_type_conversion_1): Handle member templates.
(build_new_function_call): Likewise.
(build_new_op): Likewise.
(build_new_method_call): Likewise.
* class.c (grow_method): Don't give an error message indicating
that two member templates with the same name are ambiguous.
(finish_struct): Treat member template functions just like member
functions.
* cp-tree.h (check_member_template): Add declaration.
(begin_member_template_processing): Likewise.
(end_member_template_processing): Likewise.
(fn_type_unification): Likewise.
(is_member_template): Likewise.
(tsubst): Change prototype.
(tsubst_expr): Likewise.
(tsubst_copy): Likewise.
(instantiate_template): Likewise.
(get_bindings): Likewise.
* decl.c (decls_match): Handle multiple levels of template
parameters.
(pushdecl): Handle template type params just like other type
declarations.
(push_class_level_binding): Return immediately if the
class_binding_level is NULL.
(grokfndecl): If check_classfn() returns a member_template, use
the result of the template, not the template itself.
* decl2.c (check_member_template): New function. Check to see
that the entity declared to be a member template can be one.
(check_classfn): Allow redeclaration of member template functions
with different types; the new functions can be specializations or
explicit instantiations.
* error.c (dump_decl): Handle multiple levels of template
parameters.
(dump_function_decl): Update to handle function templates.
* lex.c (do_pending_inlines): Set up template parameter context
for member templates.
(process_next_inline): Likewise.
* method. (build_overload_identifier): Adjust for multiple levels
of template parameters.
* parse.y (fn.def2): Add member templates.
(component_decl_1): Likewise.
* pt.c (begin_member_template_processing): New function.
(end_member_template_processing): Likewise.
(is_member_template): Likewise.
(fn_type_unification): Likewise.
(current_template_parms): Return a vector of all the template
parms, not just the innermost level of parms.
(push_template_decl): Deal with the possibility of member
templates.
(lookup_template_class): Likewise.
(uses_template_parms): Likewise.
(tsubst): Modify processing to TEMPLATE_TYPE_PARM and
TEMPLATE_CONST_PARM to deal with multiple levels of template
arguments. Add processing of TEMPLATE_DECL to produce new
TEMPLATE_DECLs from old ones.
(do_decl_instantiation): Handle member templates.
* search.c (lookup_fnfields_1): Handle member template conversion
operators.
* tree.c (cp_tree_equal): Check the levels, as well as the
indices, of TEMPLATE_CONST_PARMs.
* typeck.c (comptypes): Check the levels, as well as the indices,
fo TEMPLATE_TYPE_PARMs.
(build_x_function_call): Treat member templates like member
functions.
Member templates.
From-SVN: r15130
Brendan Kehoe [Sat, 6 Sep 1997 07:44:38 +0000 (03:44 -0400)]
Insert libio rewrite and its various changes from devo.
From-SVN: r15129
Jim Wilson [Sat, 6 Sep 1997 00:29:47 +0000 (00:29 +0000)]
Fix `make distclean' failure.
* Makefile.in (distclean): Do MULTICLEAN before deleting Makefile.
From-SVN: r15128
Jim Wilson [Fri, 5 Sep 1997 23:59:43 +0000 (23:59 +0000)]
Fix undefined reference to constructor with -O3 -fprofile-arcs.
* profile.c (output_func_start_profiler): Set DECL_EXTERNAL to zero.
From-SVN: r15127
Christian Kuehnke [Fri, 5 Sep 1997 23:17:19 +0000 (23:17 +0000)]
sparc.md: Add ultrasparc scheduling support.
* sparc/sparc.md: Add ultrasparc scheduling support.
* sparc/sparc.h (RTX_COSTS): For MULT give v9 a cost of 25 insns.
From-SVN: r15126
Joel Sherrill [Fri, 5 Sep 1997 23:15:09 +0000 (23:15 +0000)]
* configure.in (*-*-rtems*): Do not build libgloss for rtems.
From-SVN: r15125
Jeffrey A Law [Fri, 5 Sep 1997 21:37:51 +0000 (21:37 +0000)]
libio.exp (test_libio): Use libstdc++_{include,link}_flags instead of g++_{include,link}_flags.
* lib/libio.exp (test_libio): Use libstdc++_{include,link}_flags
instead of g++_{include,link}_flags.
From-SVN: r15123
Jim Wilson [Fri, 5 Sep 1997 20:06:11 +0000 (20:06 +0000)]
sdbout.c (plain_type_1, [...]): Verify that TYPE_DOMAIN has integer TYPE_{MAX,MIN}_VALUE before using them.
* sdbout.c (plain_type_1, case ARRAY_TYPE): Verify that TYPE_DOMAIN
has integer TYPE_{MAX,MIN}_VALUE before using them.
Bring over from the FSF.
From-SVN: r15117
Philippe De Muyter [Fri, 5 Sep 1997 20:03:37 +0000 (22:03 +0200)]
integrate.c (save_for_inline_copying): Use 0, not NULL_PTR, as initial value for real_label_map.
* integrate.c (save_for_inline_copying): Use 0, not NULL_PTR,
as initial value for real_label_map.
(copy_for_inline): Likewise.
Brought over from the FSF.
From-SVN: r15116
J"orn Rennecke [Fri, 5 Sep 1997 19:36:35 +0000 (19:36 +0000)]
* sched.c (update_flow_info) When looking if to set found_split_dest
or found_orig_dest, look at all parts of a PARALLEL.
* haifa-sched.c (update_flow_info): Likewise.
From-SVN: r15115
Jeffrey A Law [Fri, 5 Sep 1997 18:25:50 +0000 (18:25 +0000)]
* config.sub: Handle v850-elf.
From-SVN: r15114
Jeffrey A Law [Fri, 5 Sep 1997 17:43:51 +0000 (17:43 +0000)]
v850: New directory for v850 port.
* v850: New directory for v850 port.
* v850/lib1funcs.asm: New file.
* t-v850, v850.c, v850.h, v850.md, xm-v850.h: New files.
* ginclude/va-v850.h: New file.
* varargs.h, stdarg.h: Include va-mn10200.h.
* configure.in (mn10200-*-*): New target.
* Makefile.in (USER_H): Add va-mn10200.h.
From-SVN: r15104
Jeff Law [Fri, 5 Sep 1997 17:41:24 +0000 (11:41 -0600)]
v850: New directory for v850 port.
Fri Sep 5 10:08:44 1997 Jeffrey A Law (law@cygnus.com)
* v850: New directory for v850 port.
* v850/lib1funcs.asm: New file.
* t-v850, v850.c, v850.h, v850.md, xm-v850.h: New files.
* ginclude/va-v850.h: New file.
* varargs.h, stdarg.h: Include va-mn10200.h.
* configure.in (mn10200-*-*): New target.
* Makefile.in (USER_H): Add va-mn10200.h.
From-SVN: r15103
Jim Wilson [Fri, 5 Sep 1997 15:36:39 +0000 (15:36 +0000)]
m68k.h (MACHINE_STATE_SAVE, [...]): Add __HPUX_ASM__ versions.
* m68k/m68k.h (MACHINE_STATE_SAVE, MACHINE_STATE_RESTORE): Add
__HPUX_ASM__ versions.
Fixes build problems for m68k-hp-hpux*
From-SVN: r15102
Jeff Law [Fri, 5 Sep 1997 15:18:14 +0000 (09:18 -0600)]
Add new pointer.
From-SVN: r15101
Jeffrey A Law [Fri, 5 Sep 1997 15:06:54 +0000 (15:06 +0000)]
* install.sh: Delete duplicate install script.
From-SVN: r15100
Jeffrey A Law [Fri, 5 Sep 1997 15:05:56 +0000 (15:05 +0000)]
* install-sh: Delete duplicate install script.
From-SVN: r15099
Richard Henderson [Fri, 5 Sep 1997 06:19:00 +0000 (23:19 -0700)]
* cbrt.c: Tweak to work on more targets.
From-SVN: r15098
Jeffrey A Law [Fri, 5 Sep 1997 06:16:30 +0000 (06:16 +0000)]
Makefile.in (clean): Don't remove config.cache.
* Makefile.in (clean): Don't remove config.cache.
(distclean): Do it here instead.
From-SVN: r15097
Stan Cox [Fri, 5 Sep 1997 05:14:46 +0000 (05:14 +0000)]
reg-stack.c (subst_stack_regs): Pop the stack register for a computed goto which sets the same stack register.
* reg-stack.c (subst_stack_regs): Pop the stack register for a
computed goto which sets the same stack register.
* reg-stack.c (compare_for_stack_reg): Swap only if the source and
destination are both on the regstack.
(subst_stack_regs_pat): Put the destination at the top of the regstack.
Bring over regstack bugfixes from the FSF.
From-SVN: r15096
Jim Wilson [Fri, 5 Sep 1997 02:36:53 +0000 (02:36 +0000)]
Fix mips-sgi-irix5.2 eh25 g++ testsuite failure.
* mips.md (nonlocal_goto_receiver): Define.
From-SVN: r15091
Jim Wilson [Fri, 5 Sep 1997 02:17:56 +0000 (02:17 +0000)]
Fix another -fprofile-arcs bug from Joseph Myers <jsm28@cam.ac.uk>.
* profile.c (output_arc_profiler): Check next_insert_after for non
NULL before deferencing it.
From-SVN: r15090
Jim Wilson [Thu, 4 Sep 1997 23:54:04 +0000 (23:54 +0000)]
* i386/t-sol2 (TARGET_LIBGCC2_CFLAGS): Define to -fPIC.
From-SVN: r15088
Jason Merrill [Thu, 4 Sep 1997 23:10:35 +0000 (19:10 -0400)]
tweak
From-SVN: r15086
Jeff Law [Thu, 4 Sep 1997 22:20:21 +0000 (16:20 -0600)]
Test commit.
From-SVN: r15085
Jeffrey A Law [Thu, 4 Sep 1997 20:50:19 +0000 (20:50 +0000)]
* i386.h (CPP_CPU_DEFAULT): Avoid using #elif.
From-SVN: r15083
Michael Meissner [Thu, 4 Sep 1997 19:15:50 +0000 (19:15 +0000)]
For phases starting with flow, print basic block information when doing dumps
From-SVN: r15082
Jim Wilson [Thu, 4 Sep 1997 19:06:02 +0000 (19:06 +0000)]
Fix minor bug reported by Jan Hubicka.
* toplev.c (main): Change #elif to #else/#ifdef
From-SVN: r15081
Jim Wilson [Thu, 4 Sep 1997 18:54:16 +0000 (18:54 +0000)]
Fix minor bugs found by riscos build attempt.
* tlink.c: Include ctype.h.
* ginclude/va-mips.h: Add _VA_MIPS_H_ENUM ifdef/define/endif.
From-SVN: r15080
Michael Meissner [Thu, 4 Sep 1997 17:17:09 +0000 (11:17 -0600)]
ChangeLog entry for last bitmap change.
From-SVN: r15079
Michael Meissner [Thu, 4 Sep 1997 17:06:34 +0000 (17:06 +0000)]
Add free declaration
From-SVN: r15078
Joel Sherrill [Thu, 4 Sep 1997 15:59:54 +0000 (15:59 +0000)]
* i960/i960.h: Added default for SUBTARGET_SWITCHES macro.
From-SVN: r15077
Jim Wilson [Thu, 4 Sep 1997 15:54:24 +0000 (15:54 +0000)]
profile.c (output_arc_profiler): Verify next_insert_after is an INSN before and after skipping a stack pop.
* profile.c (output_arc_profiler): Verify next_insert_after is an
INSN before and after skipping a stack pop.
From-SVN: r15076
Fred Fish [Thu, 4 Sep 1997 15:49:02 +0000 (15:49 +0000)]
* .cvsignore (*-install): Remove.
From-SVN: r15075
J"orn Rennecke [Thu, 4 Sep 1997 15:47:40 +0000 (15:47 +0000)]
final.c (shorten_branches): Don't count the lengths of deleted instructions.
* final.c (shorten_branches): Don't count the lengths of deleted
instructions.
From-SVN: r15074
Jeffrey A Law [Thu, 4 Sep 1997 15:41:38 +0000 (15:41 +0000)]
* version.c: Bump for snapshot.
From-SVN: r15072
Michael Meissner [Thu, 4 Sep 1997 15:12:20 +0000 (15:12 +0000)]
Add EXECUTE_IF_AND_IN_{BITMAP,REG_SET}, and bitmap_print
From-SVN: r15071
Jim Wilson [Wed, 3 Sep 1997 22:53:56 +0000 (22:53 +0000)]
Fix srcdir==objdir build failure with multilibbed libiberty.
* Makefile.in (stamp-needed, stamp-config): Add MULTISRCTOP to
pathname for move-if-change.
From-SVN: r15067
Jason Merrill [Wed, 3 Sep 1997 20:01:18 +0000 (20:01 +0000)]
typeck.c (c_expand_return): Always convert_for_initialization before checking for returning a pointer to local.
* typeck.c (c_expand_return): Always convert_for_initialization
before checking for returning a pointer to local.
From-SVN: r15064
Jim Wilson [Wed, 3 Sep 1997 19:28:49 +0000 (19:28 +0000)]
Fix H.J. Lu's alpha-linux aliasing bug.
* alias.c (true_dependence): Address with AND can alias scalars.
(anti_dependence, output_dependence): Likewise.
From-SVN: r15063
Jason Merrill [Wed, 3 Sep 1997 18:41:11 +0000 (14:41 -0400)]
pt.c (type_unification): If strict and the function parm doesn't use template parms, just compare types.
* pt.c (type_unification): If strict and the function parm doesn't
use template parms, just compare types.
From-SVN: r15062
Jim Wilson [Wed, 3 Sep 1997 17:42:21 +0000 (17:42 +0000)]
Fix minor alias typo found while working on H.J. Lu's alpha-linux alias bug.
* alias.c (true_dependence): Test x for BLKmode, in addition to mem.
From-SVN: r15061
Klaus Espenlaub [Wed, 3 Sep 1997 15:54:14 +0000 (15:54 +0000)]
method.c (build_overloaded_value): Replace direct call to the floating point emulator with REAL_VALUE_TO_DECIMAL macro.
* method.c (build_overloaded_value): Replace direct call
to the floating point emulator with REAL_VALUE_TO_DECIMAL macro.
From-SVN: r15059
Joel Sherrill [Wed, 3 Sep 1997 15:42:45 +0000 (15:42 +0000)]
go32-rtems.h, [...] (subtarget_switches): Removed SUBTARGET_SWITCHES definitions.
* i386/go32-rtems.h, i386/rtems.h, i960/rtems.h, m68k/rtems.h,
mips/rtems64.h, pa/rtems.h, rs6000/rtems.h, sh/rtems.h,
sparc/rtems.h (subtarget_switches): Removed SUBTARGET_SWITCHES
definitions. Use -qrtems instead of -mrtems.
From-SVN: r15058
Jeffrey A Law [Wed, 3 Sep 1997 15:38:21 +0000 (15:38 +0000)]
* lib/libstdc++.exp: Remove libg++_link_flags.
From-SVN: r15057
Robert Lipe [Wed, 3 Sep 1997 15:04:27 +0000 (15:04 +0000)]
xm-sco5.h (sys_siglist): Define.
* xm-sco5.h (sys_siglist): Define.
(SYS_SIGLIST_DECLARED): Likewise.
From Robert Lipe.
From-SVN: r15056
Jason Merrill [Wed, 3 Sep 1997 08:26:52 +0000 (08:26 +0000)]
typeck.c (convert_arguments): Don't arbitrarily choose the first of a set of overloaded functions.
* typeck.c (convert_arguments): Don't arbitrarily choose the first
of a set of overloaded functions.
* lex.c (real_yylex): Don't elide __FUNCTION__.
From-SVN: r15055
Jeffrey A Law [Wed, 3 Sep 1997 05:33:06 +0000 (05:33 +0000)]
expr.c (convert_move): Handle truncation from TQFmode to QFmode.
* expr.c (convert_move): Handle truncation from TQFmode to QFmode.
From Christian Iseli.
From-SVN: r15054
Jeff Law [Wed, 3 Sep 1997 05:02:58 +0000 (23:02 -0600)]
Tweak.
From-SVN: r15053
Jeffrey A Law [Wed, 3 Sep 1997 04:39:26 +0000 (04:39 +0000)]
xm-svr4.h (SYS_SIGLIST_DECLARED): Define.
* xm-svr4.h (SYS_SIGLIST_DECLARED): Define.
* xm-news.h (SYS_SIGLIST_DECLARED): Likewise.
* gcc.texi: Note that if you define sys_siglist that you should
also define SYS_SIGLIST_DECLARED.
autoconf doesn't handle finding sys_siglist under different names.
From-SVN: r15052
Jeff Law [Wed, 3 Sep 1997 04:25:26 +0000 (22:25 -0600)]
Makefile.in (install, [...]): Make these phony targets.
* Makefile.in (install, install-info, installdirs, uninstall): Make
these phony targets.
So we don't overwrite a newer version of texinfo that might already be
installed on the system.
* makeinfo/makeinfo.c: Maybe include <stdlib.h> for malloc et al.
* util/install-info.c: Include <string*.h>.
(my_strerror): Use strerror if available.
Avoids alpha bug and redecl of sys_errlist problems.
From-SVN: r15051
Torbjorn Granlund [Wed, 3 Sep 1997 02:08:35 +0000 (04:08 +0200)]
except.c (eh_outer_context): Expand masking operation using expand_binop.
* except.c (eh_outer_context): Expand masking operation using
expand_binop.
From tege.
From-SVN: r15046
Jim Wilson [Wed, 3 Sep 1997 01:27:01 +0000 (01:27 +0000)]
Fix alpha-linux -mieee bug reported by H.J. Lu.
* alpha.md (floatdisf2-1): New pattern.
From-SVN: r15045
Jeffrey A Law [Wed, 3 Sep 1997 00:46:39 +0000 (00:46 +0000)]
mn10200.h (INITIALIZE_TRAMPOLINE): PC relative instructions are relative to the next instruction...
* mn10200.h (INITIALIZE_TRAMPOLINE): PC relative instructions
are relative to the next instruction, not the current instruction.
From-SVN: r15043
Doug Evans [Tue, 2 Sep 1997 23:37:40 +0000 (23:37 +0000)]
* lib/gcc-dg.exp (gcc-dg-test): Fix typos setting compile_type.
From-SVN: r15042
Jim Wilson [Tue, 2 Sep 1997 21:40:31 +0000 (21:40 +0000)]
Fix i386 code generation error reported by Mumit Khan.
* local-alloc.c (contains_replace_regs): New function.
(update_equiv_regs): When adding a REG_EQUIV note for a set of a MEM,
verify that there is no existing REG_EQUIV note, and add a call to
contains_place_regs.
From-SVN: r15041
Jason Merrill [Tue, 2 Sep 1997 21:33:28 +0000 (21:33 +0000)]
method.c (build_overload_value): Add in_template parm.
* method.c (build_overload_value): Add in_template parm.
(build_overload_int): Likewise.
(build_overload_identifier): Pass it.
* decl.c (duplicate_decls): Don't bash a previous template
definition with a redeclaration.
From-SVN: r15040
Jason Merrill [Tue, 2 Sep 1997 20:27:13 +0000 (16:27 -0400)]
pt.c (unify): float doesn't match double.
* pt.c (unify): float doesn't match double.
* pt.c (do_type_instantiation): Handle getting a _TYPE or a
TYPE_DECL. Handle getting non-template types.
* parse.y (explicit_instantiation): Use typespec instead of
aggr template_type.
Tue Sep 2 10:27:08 1997 Richard Henderson <rth@cygnus.com>
* typeck.c (build_ptrmemfunc1): Clean up ptr->int cast warnings.
From-SVN: r15037
H.J. Lu [Tue, 2 Sep 1997 19:53:50 +0000 (19:53 +0000)]
Patch from H.J. Lu for alpha-linux port.
* config/alpha/elf.h (CPP_PREDEFINES): Add -D__PIC__ -D__pic__.
(STARTFILE_SPEC): Always use crtbegin.o%s
(ENDFILE_SPEC): Always use crtend.o%s.
From-SVN: r15036
Jim Wilson [Tue, 2 Sep 1997 19:37:05 +0000 (19:37 +0000)]
Fix alpha-linux core dump reported by H.J. Lu.
* alpha/alpha.h (PREFERRED_RELOAD_CLASS): Return NO_REGS if NO_REGS
is passed in.
* emit-rtl.c (gen_lowpart_common): Add code to convert CONST_INT to
SFmode for 64 bit hosts.
From-SVN: r15035
Paul N. Hilfinger [Tue, 2 Sep 1997 18:38:30 +0000 (18:38 +0000)]
fixincludes: Permits spaces between # and define.
* fixincludes: Permits spaces between # and define. Discard C++
comments in sys/pci.h on HP/UX 10.20.
From-SVN: r15034
Jeffrey A Law [Tue, 2 Sep 1997 05:33:19 +0000 (05:33 +0000)]
pa.c (restore_unscaled_index_insn_codes): New function.
* pa.c (restore_unscaled_index_insn_codes): New function.
(record_unscaled_index_insn_codes): Likewise.
(output_function_prologue): Call restore_unscaled_index_insn_codes.
(output_function_epilogue): Free memory for unscaled_index_insn_codes.
(pa_reorg): Call record_unscaled_index_insn_codes.
From-SVN: r15028
Jeffrey A Law [Tue, 2 Sep 1997 04:12:45 +0000 (04:12 +0000)]
version.c: Bump for snapshot.
* version.c: Bump for snapshot.
Preparing for next snapshot.
* haifa-sched.c (move_insn): Handle notes correctly for insns
with SCHED_GROUP_P set.
Should fix some x86 failures with haifa enabled.
From-SVN: r15027
H.J. Lu [Tue, 2 Sep 1997 00:00:55 +0000 (00:00 +0000)]
Patch from H.J. Lu for minor alpha-linux problem.
* alpha/xm-linux.h (USE_BFD): Undef before define.
From-SVN: r15026
Jim Wilson [Mon, 1 Sep 1997 23:55:29 +0000 (23:55 +0000)]
Fix sunos4/rs6000/powerpc/etc build problems with multilibbed libraries.
* configure.in (target_subdir): Set to libraries if enable_multilib.
From-SVN: r15025
Jim Wilson [Mon, 1 Sep 1997 23:43:03 +0000 (23:43 +0000)]
Fix irix6 execute/921117-1.c c-torture failure.
* cse.c (cse_insn): Don't record BLKmode values.
From-SVN: r15024
Jason Merrill [Mon, 1 Sep 1997 21:01:30 +0000 (21:01 +0000)]
call.c (build_new_op): Strip leading REF_BIND from first operand to builtin operator.
* call.c (build_new_op): Strip leading REF_BIND from first operand
to builtin operator.
* decl2.c (mark_vtable_entries): Mark abort_fndecl as used when we
use its RTL.
From-SVN: r15023
Jason Merrill [Mon, 1 Sep 1997 20:07:22 +0000 (20:07 +0000)]
* call.c (null_ptr_cst_p): Remove support for (void*)0.
From-SVN: r15022
Stephen Williams [Mon, 1 Sep 1997 17:27:19 +0000 (17:27 +0000)]
* i960.h (LINK_SPEC): Handle "-mjX" and "-mrp" switches.
From-SVN: r15013
Jeffrey A Law [Mon, 1 Sep 1997 17:02:53 +0000 (17:02 +0000)]
cccp.c (sys_errlist): Remove special 4.4bsd declaration.
* cccp.c (sys_errlist): Remove special 4.4bsd declaration.
* collect2.c (sys_errlist): Likewise.
* cpplib.c (sys_errlist): Likewise.
* gcc.c (sys_errlist): Likewise.
* protoize (sys_errlist): Likewise.
* configure.in: Check for strerror.
* xm-freebsd.h (HAVE_STRERROR): Remove definition.
* xm-gnu.h (HAVE_STRERROR): Likewise.
* xm-linux.h (HAVE_STRERROR): Likewise.
* xm-netbsd.h (HAVE_STRERROR): Likewise.
* xm-bsd386.h (HAVE_STRERROR): Likewise.
* xm-cygwin32.h (HAVE_STRERROR): Likewise.
* xm-dos.h (HAVE_STRERROR): Likewise.
* xm-mingw32.h (HAVE_STRERROR): Likewise.
* xm-pa.h (HAVE_STRERROR): Likewise.
* xm-papro.h (HAVE_STRERROR): Likewise.
* xm-sysv4.h (HAVE_STRERROR): Likewise.
* configure, config.in: Rebuilt.
Remove the need to define HAVE_STRERROR for each host port.
From-SVN: r15011
Jeffrey A Law [Mon, 1 Sep 1997 16:08:40 +0000 (16:08 +0000)]
Makefile.in: Add several missing "else true" clauses.
* Makefile.in: Add several missing "else true" clauses.
Cater to broken "make" programs.
From-SVN: r15010
Jeffrey A Law [Mon, 1 Sep 1997 14:57:29 +0000 (14:57 +0000)]
collect2.c: Change DONT_DECLARE_SYS_SIGLIST to SYS_SIGLIST_DECLARED.
* collect2.c: Change DONT_DECLARE_SYS_SIGLIST to SYS_SIGLIST_DECLARED.
* mips-tfile.c: Likewise.
* gcc.texi: DONT_DECLARE_SYS_SIGLIST: Remove docs.
* xm-linux.h (DONT_DECLARE_SYS_SIGLIST): Delete definition.
* xm-freebsd.h, xm-bsd386.h, xm-sysv4.h, xm-sol2.h: Likewise.
* configure.in: Check for sys_siglist declaration.
* configure, config.in: Rebuilt.
Fix conflicting sys_siglist decls once and for all.
From-SVN: r15007
Joel Sherrill [Mon, 1 Sep 1997 14:14:30 +0000 (14:14 +0000)]
go32-rtems.h, [...] (subtarget_switches): Added -mrtems as a switch.
* i386/go32-rtems.h, i386/rtems.h, i960/rtems.h,
m68k/rtems.h, mips/rtems64.h, pa/rtems.h, rs6000/rtems.h,
sparc/rtems.h (subtarget_switches): Added -mrtems as a switch.
* i960/i960.h: Added SUBTARGET_SWITCHES macro.
* rs6000/sysv4.h (extra_subtarget_switches): Added new
macro EXTRA_SUBTARGET_SWITCHES.
* configure.in (sh*-*-rtems*): New target.
* sh/rtems.h: New file.
* sh/sh.h: Added SUBTARGET_SWITCHES macro.
* configure: Rebuilt.
From-SVN: r15006
Jim Wilson [Sun, 31 Aug 1997 05:57:40 +0000 (05:57 +0000)]
Fix alpha loop unrolling abort.
* unroll.c (calculate_giv_inc): Handle increment with code PLUS.
From-SVN: r15004
Karl Berry [Sun, 31 Aug 1997 01:48:33 +0000 (01:48 +0000)]
Fix Freedbsd build problem with patch from more recent texinfo sources.
* info/terminal.c (terminal_prep_terminal): Only use OCRNL and
ONLCR if they are defined. Reported by many people.
From-SVN: r15003
David Edelsohn [Sat, 30 Aug 1997 14:55:17 +0000 (14:55 +0000)]
Pay DF fused add ops pay attention to -mno-fused-add
From-SVN: r15002
Jim Wilson [Sat, 30 Aug 1997 02:21:34 +0000 (19:21 -0700)]
Fix i386-pc-solaris2.5.1 _sys_siglistp redeclaration error.
* i386/xm-sysv4.h (DONT_DECLARE_SYS_SIGLIST): Define.
From-SVN: r15001
Jeffrey A Law [Fri, 29 Aug 1997 22:14:07 +0000 (22:14 +0000)]
pa.md (reload_peepholes): Make sure operand is a REG before examining REGNO.
* pa.md (reload_peepholes): Make sure operand is a REG before
examining REGNO. Allow general registers too.
Fixes sporatic c-torture failure.
Remove last change to fold-const.c and c-decl.c
From-SVN: r15000
Jim Wilson [Fri, 29 Aug 1997 18:52:51 +0000 (18:52 +0000)]
Fix C++ template instantiation back end core dump.
* varasm.c (mark_constants): Don't look inside CONST_DOUBLEs.
From-SVN: r14999
Jeffrey A Law [Fri, 29 Aug 1997 18:47:40 +0000 (18:47 +0000)]
* execute/921007-1.c: Make strcmp static.
From-SVN: r14998