Stephen Williams
f3e0ca6c2d
* i960.h (LINK_SPEC): Handle "-mjX" and "-mrp" switches.
...
From-SVN: r15013
1997-09-01 11:27:19 -06:00
Jeffrey A Law
a63d08e606
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
1997-09-01 11:02:53 -06:00
Jeffrey A Law
db814993ae
Makefile.in: Add several missing "else true" clauses.
...
* Makefile.in: Add several missing "else true" clauses.
Cater to broken "make" programs.
From-SVN: r15010
1997-09-01 10:08:40 -06:00
Jeffrey A Law
e3512ac291
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
1997-09-01 08:57:29 -06:00
Joel Sherrill
5d84b57e6f
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
1997-09-01 08:14:30 -06:00
Jim Wilson
2599dcc74a
Fix alpha loop unrolling abort.
...
* unroll.c (calculate_giv_inc): Handle increment with code PLUS.
From-SVN: r15004
1997-08-30 22:57:40 -07:00
Karl Berry
4f122a21ab
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
1997-08-30 18:48:33 -07:00
David Edelsohn
3b7e5ef4c7
Pay DF fused add ops pay attention to -mno-fused-add
...
From-SVN: r15002
1997-08-30 14:55:17 +00:00
Jim Wilson
5cd5f4a7b2
Fix i386-pc-solaris2.5.1 _sys_siglistp redeclaration error.
...
* i386/xm-sysv4.h (DONT_DECLARE_SYS_SIGLIST): Define.
From-SVN: r15001
1997-08-29 19:21:34 -07:00
Jeffrey A Law
63e7fe9ba4
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
1997-08-29 16:14:07 -06:00
Jim Wilson
eb7b11fd07
Fix C++ template instantiation back end core dump.
...
* varasm.c (mark_constants): Don't look inside CONST_DOUBLEs.
From-SVN: r14999
1997-08-29 11:52:51 -07:00
Jeffrey A Law
9aef2966e9
* execute/921007-1.c: Make strcmp static.
...
From-SVN: r14998
1997-08-29 12:47:40 -06:00
Philipp Thomas
c760091a0c
dwarfout2.c (build_abbrev_table): Use xrealloc, not xmalloc to reallocate abbrev_die_table.
...
* dwarfout2.c (build_abbrev_table): Use xrealloc, not xmalloc
to reallocate abbrev_die_table.
From-SVN: r14997
1997-08-29 09:33:54 -06:00
Jim Wilson
575833386f
m68k.md (iorsi_zexthi_ashl16): Disable.
...
* m68k/m68k.md (iorsi_zexthi_ashl16): Disable.
Fixes m68k codegen problem.
From-SVN: r14996
1997-08-29 09:19:58 -06:00
Andreas Schwab
4f91a0f87a
* Makefile.in (config.status): Depend on version.c
...
From-SVN: r14995
1997-08-29 09:10:18 -06:00
Andreas Schwab
eae4b97034
expr.h (insn_gen_function): Reenable prototype.
...
* expr.h (insn_gen_function): Reenable prototype.
* expr.c (move_by_pieces_1, clear_by_pieces_1): Fix prototype of
first parameter.
From-SVN: r14994
1997-08-29 09:02:03 -06:00
Jeff Law
ec83e9d31f
Fix typo.
...
From-SVN: r14993
1997-08-29 01:03:53 -06:00
Jim Wilson
00fc09e149
Fix x86 libio -O2 miscompilation problem.
...
* i386.c (ix86_expand_epilogue): Emit blockage instruction when pic.
From-SVN: r14992
1997-08-28 13:04:19 -07:00
Jeffrey A Law
2601ebca41
version.c: Bump for latest snapshot.
...
* version.c: Bump for latest snapshot.
* bc-optab.c: Conditionally include stdlib.h.
(free): Provide a declaration if NEED_DECLARATION_FREE.
* tree.c (free): Provide a declaration if NEED_DECLARATION_FREE.
* rtl.h (free): Remove declaration.
* tree.h (free): Remvoe declaration.
* configure: Rebuilt.
From-SVN: r14989
1997-08-28 07:08:54 -06:00
Jeff Law
d5d23425d0
Filename change in latest g77 update.
...
From-SVN: r14988
1997-08-28 06:59:07 -06:00
Jeffrey A Law
e5eb27e51f
flags.h (flag_move_all_movables): Declare.
...
* flags.h (flag_move_all_movables): Declare.
(flag_reduce_all_givs): Likewise.
* loop.c (move_movables): Handle flag_move_all_movables.
(strength_reduce): Handle flag_reduce_all_givs.
* toplev.c (flag_move_all_movables): Define.
(flag_reduce_all_givs): Likewise.
(f_options): Add -fmove-all-movables and -freduce-all-givs.
* invoke.texi: Document new options, including alias stuff that
wasn't included last time.
Two of the "Tooning" options :-)
From-SVN: r14987
1997-08-27 21:35:22 -06:00
Jeff Law
73624c403d
New file in g77 front end.
...
From-SVN: r14986
1997-08-27 21:21:33 -06:00
Jeff Law
795232f720
Update to Aug 26 g77 front end and runtime.
...
From-SVN: r14985
1997-08-27 21:21:05 -06:00
Bob Manson
d995a6dc49
t-h8300: Use TARGET_LIBGCC2_CFLAGS instead of LIBGCC2_CFLAGS.
...
* t-h8300: Use TARGET_LIBGCC2_CFLAGS instead of LIBGCC2_CFLAGS.
* t-mn10200: Ditto.
* t-vxsparc: Ditto.
* t-vxworks68: Ditto.
* t-vxworks960: Ditto.
* t-vx29k: Ditto.
From-SVN: r14984
1997-08-27 18:18:03 -06:00
Richard Henderson
ba64ca335a
Patch from Richard Henderson to fix alpha-linux alloca redefinition problems.
...
* alpha/xm-alpha.h (alloca): Define alloca to builtin_alloca for GNUC
if not already defined, and USE_C_ALLOCA not defined.
From-SVN: r14977
1997-08-27 16:50:04 -07:00
Jim Wilson
7818d6fcb2
Make the gcc config.guess exec the toplevel config.guess.
...
Make the gcc config.guess exec the toplevel config.guess. Update the toplevel
config.guess from the gcc config.guess.
From-SVN: r14976
1997-08-27 16:20:52 -07:00
Jim Wilson
ca20876d33
alpha linux glibc2 patch from H.J. Lu
...
alpha linux glibc2 patch from H.J. Lu
* config/alpha/elf.h (DEFAULT_VTABLE_THUNKS): New. Defined as 1
if USE_GNULIBC_1 is not defined.
From-SVN: r14975
1997-08-27 16:09:53 -07:00
Richard Henderson
704a63062f
Patch from Richard Henderson to fix alpha-linux support.
...
* alpha/elf.h (LINK_SPEC): Conditionalize on USE_GNULIBC_1.
* config.guess: Recognize alpha-linux-gnulibc1.
* configure.in (alpha-*-linux-gnulibc1): New target.
(alpha-*-linux-gnu*): Don't build crtbegin/end.
From-SVN: r14974
1997-08-27 16:02:19 -07:00
Jeffrey A Law
f345de42fc
reorg.c (dbr_schedule): Allow current_function_return_rtx to be something other than a REG.
...
* reorg.c (dbr_schedule): Allow current_function_return_rtx
to be something other than a REG.
* function.c (expand_function_end): Fix current_function_return_rtx
if it was a pseudo.
Brought over from the fsf/devo.
From-SVN: r14972
1997-08-27 13:59:51 -06:00
Jim Wilson
67f68fd265
Fix newlib coldfire build failure.
...
* m68k.md (iorsi3_internal): Readd ! TARGET_5200 check lost in
last change.
From-SVN: r14969
1997-08-27 11:54:11 -07:00
Doug Evans
3dedc65a1f
c-decl.c (grokdeclarator): If array index or size calculations overflow, issue an error.
...
* c-decl.c (grokdeclarator): If array index or size calculations
overflow, issue an error.
* fold-const.c (int_const_binop): New static function.
(const_binop, size_binop): Call it.
Brought over from the fsf.
From-SVN: r14967
1997-08-27 10:58:02 -06:00
Doug Evans
88016fb7ef
loop.c (combine_movables): Earlier insns don't match later ones.
...
* loop.c (combine_movables): Earlier insns don't match later ones.
Brought over from the fsf.
From-SVN: r14966
1997-08-27 10:43:23 -06:00
H.J. Lu
33d2808ba7
Remove last change to alpha/linux.
...
Remove last change to alpha/linux. It was incorrect according to Richard
Henderson.
From-SVN: r14964
1997-08-27 09:24:31 -06:00
Jeffrey A Law
bdcaf7735e
* typeck.c (expand_target_expr): Make definition match declaration.
...
From-SVN: r14962
1997-08-27 02:07:16 -06:00
Jeffrey A Law
5ddc28a51f
class.c (get_basefndecls): Make definition match declaration.
...
* class.c (get_basefndecls): Make definition match declaration.
Something caught by the sunos compiler.
From-SVN: r14961
1997-08-27 02:03:41 -06:00
H.J. Lu
bba17b29e1
linux.h (CC1_SPEC): Define it only if not defined.
...
* config/linux.h (CC1_SPEC): Define it only if not defined.
* config/m68k/linux.h (CC1_SPEC): Undefine it before include
<linux.h>
* config/linux.h (DEFAULT_VTABLE_THUNKS): New. Defined as 1 if
USE_GNULIBC_1 is not defined.
* config/alpha/linux.h (DEFAULT_VTABLE_THUNKS): New. Defined
as 1.
* config/rs6000/linux.h (DEFAULT_VTABLE_THUNKS): Ditto.
* config/sparc/linux.h (DEFAULT_VTABLE_THUNKS): New. Defined
as 1 if USE_GNULIBC_1 is not defined.
Linux patches from HJ.
From-SVN: r14960
1997-08-27 01:26:22 -06:00
Jeffrey A Law
ed4044e070
t-freebsd (USER_H): Include EXTRA_HEADERS and LANG_EXTRA_HEADERS.
...
* t-freebsd (USER_H): Include EXTRA_HEADERS and LANG_EXTRA_HEADERS.
* x-netbsd: Likewise
* x-dgux (USER_H): Include EXTRA_HEADERS and LANG_EXTRA_HEADERS
(INSTALL_HEADERS): Delete.
* x-dguxbcs: Likewise.
* x-hp3bsd44: Likewise
* x-pa: Likewise.
From-SVN: r14959
1997-08-27 00:51:37 -06:00
Bernd Schmidt
47d3640028
i386.md (pop): pop increments the stack pointer.
...
* i386.md (pop): pop increments the stack pointer.
(prologue_set_stack_ptr): New pattern.
* i386.c (ix86_expand_prologue): Use prologue_set_stack_ptr
instead of subsi3.
Fixes problem with scheduling on the x86.
From-SVN: r14956
1997-08-27 00:29:59 -06:00
Alexandre Oliva
b9e6eb36ff
Makefile.in: create correct multiple links to shared libstdc++.
...
* Makefile.in: create correct multiple links to
shared libstdc++.
From-SVN: r14953
1997-08-27 00:04:41 -06:00
Robert Lipe
d7ce9ac718
* hostnm_.c: Include errno.h
...
From-SVN: r14949
1997-08-26 20:13:32 -06:00
Jim Wilson
fc79eafee8
reload.c (find_reloads, case '0'): Reject matching a non-offsettable address where an offsettable address is required.
...
* reload.c (find_reloads, case '0'): Reject matching a non-offsettable
address where an offsettable address is required.
Fixes 68k bootstrap problem.
From-SVN: r14948
1997-08-26 18:49:59 -06:00
Michael P. Hayes
c5da853fcd
loop.c (check_final_value): Don't miss a biv increment in a parallel.
...
* loop.c (check_final_value): Don't miss a biv increment in a
parallel.
From-SVN: r14947
1997-08-26 18:44:25 -06:00
H.J. Lu
cf7c222f5d
Makefile.in (check): Don't depend on site.exp.
...
* testsuite/Makefile.in (check): Don't depend on site.exp.
(just-check): Depend on site.exp.
Fixes problems with SMP "make check".
From-SVN: r14945
1997-08-26 12:28:26 -06:00
Jim Wilson
d4ef15f2ca
dwarfout.c (dwarfout_file_scope_decl, [...]): Check TYPE_DECL_IS_STUB instead of DECL_NAME.
...
* dwarfout.c (dwarfout_file_scope_decl, case TYPE_DECL): Check
TYPE_DECL_IS_STUB instead of DECL_NAME.
From-SVN: r14944
1997-08-26 12:05:23 -06:00
Jeff Law
d40431299d
Fix stupid typo in last change.
...
From-SVN: r14943
1997-08-26 12:04:44 -06:00
Jeffrey A Law
823a059627
* libtxi/Makefile.in: Add dependencies for memcpy, memmove and strdup.
...
From-SVN: r14939
1997-08-26 11:18:19 -06:00
Jim Wilson
10549cbd85
H.J. Lu's SMP patch.
...
From-SVN: r14924
1997-08-25 23:36:27 -07:00
Jason Merrill
818045b6d8
input.c (sub_getch): Eventually give up and release the input file.
...
* input.c (sub_getch): Eventually give up and release the input file.
* decl.c (cp_finish_decl): If #p i/i, put inline statics in the
right place.
From-SVN: r14923
1997-08-25 21:34:48 -04:00
Jason Merrill
3e68fa8311
[multiple changes]
...
Mon Aug 25 14:26:45 1997 Jason Merrill <jason@yorick.cygnus.com>
* Makefile.in (CXXFLAGS): Add -Weffc++.
Sat Aug 23 21:25:37 1997 Mark Mitchell <mmitchell@usa.net>
* bastring.h: Enable reverse_iterator and its ilk.
* bastring.h: Provide specializations of member function templates
for const_iterator.
From-SVN: r14922
1997-08-25 20:27:06 -04:00
Jason Merrill
922ddba49f
call.c (joust): Tweak message.
...
* call.c (joust): Tweak message.
Sat Aug 23 18:02:59 1997 Mark Mitchell <mmitchell@usa.net>
* error.c (type_as_string): Put const/volatile on template type
parameters where appropriate.
From-SVN: r14919
1997-08-25 17:30:44 -04:00