Commit Graph

14124 Commits

Author SHA1 Message Date
Jeff Law
ae180d84fc 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
1997-09-05 11:41:24 -06:00
Jim Wilson
89cc6098e6 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
1997-09-05 09:36:39 -06:00
Jeff Law
e7fd975751 Add new pointer.
From-SVN: r15101
1997-09-05 09:18:14 -06:00
Jeffrey A Law
c74f7db87d * install.sh: Delete duplicate install script.
From-SVN: r15100
1997-09-05 09:06:54 -06:00
Jeffrey A Law
fa8adee65f * install-sh: Delete duplicate install script.
From-SVN: r15099
1997-09-05 09:05:56 -06:00
Richard Henderson
18c6629a2b * cbrt.c: Tweak to work on more targets.
From-SVN: r15098
1997-09-05 00:19:00 -06:00
Jeffrey A Law
af818dc87c Makefile.in (clean): Don't remove config.cache.
* Makefile.in (clean): Don't remove config.cache.
        (distclean): Do it here instead.

From-SVN: r15097
1997-09-05 00:16:30 -06:00
Stan Cox
914ec131d6 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
1997-09-04 23:14:46 -06:00
Jim Wilson
d5d1738a3a Fix mips-sgi-irix5.2 eh25 g++ testsuite failure.
* mips.md (nonlocal_goto_receiver): Define.

From-SVN: r15091
1997-09-04 19:36:53 -07:00
Jim Wilson
f4da78811e 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
1997-09-04 19:17:56 -07:00
Jim Wilson
c1090daa15 * i386/t-sol2 (TARGET_LIBGCC2_CFLAGS): Define to -fPIC.
From-SVN: r15088
1997-09-04 17:54:04 -06:00
Jason Merrill
71e10e8788 tweak
From-SVN: r15086
1997-09-04 19:10:35 -04:00
Jeff Law
fe181f78b3 Test commit.
From-SVN: r15085
1997-09-04 16:20:21 -06:00
Jeffrey A Law
da594c9448 * i386.h (CPP_CPU_DEFAULT): Avoid using #elif.
From-SVN: r15083
1997-09-04 14:50:19 -06:00
Michael Meissner
3e28fe4442 For phases starting with flow, print basic block information when doing dumps
From-SVN: r15082
1997-09-04 19:15:50 +00:00
Jim Wilson
417b0fa211 Fix minor bug reported by Jan Hubicka.
* toplev.c (main): Change #elif to #else/#ifdef

From-SVN: r15081
1997-09-04 12:06:02 -07:00
Jim Wilson
7053ca7275 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
1997-09-04 11:54:16 -07:00
Michael Meissner
f05a8b2501 ChangeLog entry for last bitmap change.
From-SVN: r15079
1997-09-04 11:17:09 -06:00
Michael Meissner
1cfabc1344 Add free declaration
From-SVN: r15078
1997-09-04 17:06:34 +00:00
Joel Sherrill
02d7a56981 * i960/i960.h: Added default for SUBTARGET_SWITCHES macro.
From-SVN: r15077
1997-09-04 09:59:54 -06:00
Jim Wilson
6030b6afe7 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
1997-09-04 09:54:24 -06:00
Fred Fish
d30e0541de * .cvsignore (*-install): Remove.
From-SVN: r15075
1997-09-04 09:49:02 -06:00
J"orn Rennecke
04da53bd68 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
1997-09-04 09:47:40 -06:00
Jeffrey A Law
780532a4c6 * version.c: Bump for snapshot.
From-SVN: r15072
1997-09-04 09:41:38 -06:00
Michael Meissner
22fa5b8add Add EXECUTE_IF_AND_IN_{BITMAP,REG_SET}, and bitmap_print
From-SVN: r15071
1997-09-04 15:12:20 +00:00
Jim Wilson
9b2c548ca6 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
1997-09-03 15:53:56 -07:00
Jason Merrill
c1bc6829b4 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
1997-09-03 16:01:18 -04:00
Jim Wilson
fa8b602464 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
1997-09-03 12:28:49 -07:00
Jason Merrill
03e7070558 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
1997-09-03 14:41:11 -04:00
Jim Wilson
57163df067 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
1997-09-03 10:42:21 -07:00
Klaus Espenlaub
3d015f466d 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
1997-09-03 09:54:14 -06:00
Joel Sherrill
8aa4e786fb 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
1997-09-03 09:42:45 -06:00
Jeffrey A Law
57f260dfbd * lib/libstdc++.exp: Remove libg++_link_flags.
From-SVN: r15057
1997-09-03 09:38:21 -06:00
Robert Lipe
feb211221a xm-sco5.h (sys_siglist): Define.
* xm-sco5.h (sys_siglist): Define.
        (SYS_SIGLIST_DECLARED): Likewise.
From Robert Lipe.

From-SVN: r15056
1997-09-03 09:04:27 -06:00
Jason Merrill
056c014d34 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
1997-09-03 04:26:52 -04:00
Jeffrey A Law
704af6a15f 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
1997-09-02 23:33:06 -06:00
Jeff Law
f04e7122c8 Tweak.
From-SVN: r15053
1997-09-02 23:02:58 -06:00
Jeffrey A Law
068f1cb8d7 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
1997-09-02 22:39:26 -06:00
Jeff Law
25faccf928 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
1997-09-02 22:25:26 -06:00
Torbjorn Granlund
127cd4056c 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
1997-09-02 20:08:35 -06:00
Jim Wilson
8cf02b4799 Fix alpha-linux -mieee bug reported by H.J. Lu.
* alpha.md (floatdisf2-1): New pattern.

From-SVN: r15045
1997-09-02 18:27:01 -07:00
Jeffrey A Law
49dad301f0 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
1997-09-02 18:46:39 -06:00
Doug Evans
b245293e3b * lib/gcc-dg.exp (gcc-dg-test): Fix typos setting compile_type.
From-SVN: r15042
1997-09-02 23:37:40 +00:00
Jim Wilson
a172951945 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
1997-09-02 14:40:31 -07:00
Jason Merrill
37dac03995 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
1997-09-02 17:33:28 -04:00
Jason Merrill
ca79f85d9d 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
1997-09-02 16:27:13 -04:00
H.J. Lu
290c8b1fb1 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
1997-09-02 12:53:50 -07:00
Jim Wilson
a6a503ed40 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
1997-09-02 12:37:05 -07:00
Paul N. Hilfinger
a94729bc72 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
1997-09-02 12:38:30 -06:00
Jeffrey A Law
2eddfed1f2 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
1997-09-01 23:33:19 -06:00